* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Merriweather', serif;
    background: #0d0d0d;
    color: #e0e0e0;
    overflow-x: hidden;
}

body {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 2rem 0 2rem;
}

.photo-section {
    flex-shrink: 0;
}

.content {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
}

.profile-photo {
    width: auto;
    height: 90vh;
    object-fit: contain;
    display: block;
}

.text-section {
    flex: 1;
    max-width: 600px;
    align-self: center;
}

.name-header {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
}

.animated-text {
    display: inline;
    cursor: default;
}

.animated-text span {
    display: inline;
    animation-fill-mode: forwards;
}

.animated-text span.animate {
    animation: colorFade 3s ease-in-out forwards;
}

.subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #b3b3b3;
    max-width: 550px;
}

a {
    color: #6bb6ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover,
a:active,
a:focus {
    color: #92cbff;
    text-shadow: 0 0 8px rgba(107, 182, 255, 0.4);
}

/* Enhanced mobile touch */
@media (hover: none) and (pointer: coarse) {
    a:active {
        background-color: rgba(107, 182, 255, 0.1);
        border-radius: 4px;
        padding: 2px 4px;
        margin: -2px -4px;
    }
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #6bb6ff;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

.link-livesport {
    font-weight: 700;
}

.link-little-explorer {
    font-style: italic;
}

.footer {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-family: 'Rubik', sans-serif;
    font-size: 0.75rem;
    color: #555;
    font-weight: 300;
}

.footer p {
    margin: 0;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .profile-photo {
        height: 70vh;
    }
    
    .content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        min-height: auto;
    }
    
    .content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .photo-section {
        align-self: center;
        position: relative;
    }
    
    .profile-photo {
        width: 250px;
        height: 300px;
        -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
        max-width: none;
    }
    
}

@media (max-width: 480px) {
    .profile-photo {
        width: 200px;
        height: 250px;
        -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
}

/* Enhanced hover animations */
@keyframes colorFade {
    0% { color: #f0f0f0; }
    25% { color: #6bb6ff; }
    50% { color: #ff6b6b; }
    75% { color: #c77dff; }
    100% { color: #f0f0f0; }
}

/* Beautiful deep gradient */
body {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16161d 100%);
    background-attachment: fixed;
}