@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&display=swap');

:root {
    --hunter-green: #355E3B;
    --hunter-green-dark: #1e3621;
    --hunter-green-light: #eef3ef;
    --text-main: #2d3748;
    --text-light: #718096;
    --bg-color: #f4f7f5;
    --white: #ffffff;
    --ease-out-expo: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* --- FOOLPROOF LIVE BACKGROUND DIRECTLY ON BODY --- */
body {
    background: linear-gradient(-45deg, #f4f7f5, #d2e3d6, #eaf0eb, #c3d9c8);
    background-size: 400% 400%;
    animation: bodyGradientBreathe 15s ease infinite;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; 
}

@keyframes bodyGradientBreathe {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- CUSTOM CURSOR (Desktop Only) --- */
@media (pointer: fine) {
    body, a, button, .fan-card, .back-to-top { cursor: none !important; }
    
    #cursor-dot, #cursor-ring {
        position: fixed;
        top: 0; left: 0;
        pointer-events: none;
        z-index: 9999;
        border-radius: 50%;
    }
    #cursor-dot {
        width: 6px; height: 6px;
        background: var(--hunter-green);
        transition: width 0.2s, height 0.2s, opacity 0.2s;
    }
    #cursor-ring {
        width: 36px; height: 36px;
        border: 1px solid var(--hunter-green);
        transition: transform 0.15s ease-out, width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
    }
    
    body.hovering #cursor-dot { opacity: 0; }
    body.hovering #cursor-ring {
        width: 60px; height: 60px;
        background: rgba(53, 94, 59, 0.1);
        border-color: rgba(53, 94, 59, 0.4);
        backdrop-filter: blur(2px);
    }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, var(--hunter-green-dark), #0f2012, var(--hunter-green), #1c3d22);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding: 2rem;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-img-container {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    z-index: 5; 
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s var(--ease-out-expo) forwards 0.2s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    will-change: transform;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    z-index: 5;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s var(--ease-out-expo) forwards 0.4s;
}

.hero h3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--hunter-green-light);
    margin-top: 1rem;
    z-index: 5;
}

.stagger-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s var(--ease-out-expo) forwards;
    animation-delay: var(--delay);
    margin-right: 0.3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    z-index: 5;
    animation: pulseFade 2s infinite, heroFadeUp 1s var(--ease-out-expo) forwards 1.4s;
}

.floating-icon {
    position: absolute;
    font-size: clamp(2rem, 5vw, 4rem);
    color: rgba(255, 255, 255, 0.15); 
    z-index: 1;
    pointer-events: none;
    transition: opacity 2s ease-in-out; 
    opacity: 0;
    will-change: opacity, left, top, transform;
    animation: floatSpin 20s linear infinite;
}

@keyframes floatSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseFade {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* --- SECTION 2: ABOUT ME & SOCIALS --- */
.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* --- GLASSMORPHISM CARDS --- */
.card, .h-card {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
    
    transform: scale(var(--cinematic-scale, 1)) translateY(0);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.card:hover, .h-card:hover {
    transform: scale(var(--cinematic-scale, 1)) translateY(-8px);
    box-shadow: 0 20px 40px rgba(53, 94, 59, 0.12);
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--hunter-green);
}

.card-header i { font-size: 1.8rem; margin-right: 1rem; }
.card-header h2 { font-size: 1.5rem; font-weight: 600; }
p { color: var(--text-light); }
strong { color: var(--text-main); }

.bio-card {
    grid-column: span 2; 
    background: rgba(53, 94, 59, 0.85);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    justify-content: center;
}

.bio-card p, .bio-card strong, .bio-card a { color: rgba(255,255,255,0.9); }
.bio-card a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 4px; transition: color 0.2s; }
.bio-card a:hover { color: var(--white); text-decoration-color: var(--white); }
.bio-card .card-header { color: var(--white); }

.socials-card {
    grid-column: span 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(238, 243, 239, 0.75);
    padding: 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem;
    width: 100%;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    color: var(--hunter-green);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100px; 
}

.social-btn i, .social-btn svg {
    font-size: 2rem; 
    width: 32px; 
    height: 32px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s var(--ease-out-expo);
    fill: currentColor;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 100%; left: 0; width: 100%; height: 100%;
    background: var(--hunter-green);
    transition: top 0.3s var(--ease-out-expo);
    z-index: -1;
}

.social-btn:hover::before { top: 0; }
.social-btn:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.social-btn:hover i, .social-btn:hover svg { transform: scale(1.1); }

.hover-text { display: none; font-size: 0.75rem; word-break: break-word; line-height: 1.3; }
.social-btn:hover .default-text { display: none; }
.social-btn:hover .hover-text { display: block; }

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1rem 0.5rem 0 0;
    backdrop-filter: blur(5px);
}

.email-badge { text-decoration: none !important; transition: background-color 0.3s ease; }
.email-badge:hover { background-color: rgba(255,255,255,0.3) !important; }

/* --- SECTION 3: HORIZONTAL SCROLL --- */
.horizontal-scroll-wrapper {
    height: 600vh; 
    position: relative;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-header { padding: 0 4rem; margin-bottom: 2rem; }
.horizontal-header h2 { font-size: 2.5rem; color: var(--hunter-green-dark); }

.horizontal-track {
    display: flex;
    gap: 2rem;
    padding: 0 4rem;
    width: max-content;
    will-change: transform; 
}

.h-card {
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    justify-content: flex-start;
}

.h-card .card-header { margin-bottom: 2rem; }
.h-card i.main-icon { font-size: 3rem; color: var(--hunter-green); margin-bottom: 1.5rem; }
.h-card svg.main-icon { width: 3rem; height: 3rem; fill: currentColor; color: var(--hunter-green); margin-bottom: 1.5rem; }
.h-card a { color: var(--hunter-green); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; transition: opacity 0.2s; }
.h-card a:hover { opacity: 0.7; }
.lemonade-logo { height: 1.2em; vertical-align: middle; margin-left: 4px; }

/* --- SECTION 4: MY BOARD OF DIRECTORS --- */
.board-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.board-header { text-align: center; margin-bottom: 6rem; }
.board-header h2 { font-size: 2.5rem; color: var(--hunter-green-dark); }

.fan-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.fan-card {
    width: 220px;
    height: 340px;
    border-radius: 16px;
    background-color: var(--hunter-green-dark);
    color: var(--white);
    position: relative;
    transition: transform 0.4s var(--ease-out-expo), z-index 0s, box-shadow 0.4s;
    box-shadow: -15px 0 30px rgba(0, 0, 0, 0.15);
    margin-left: -120px; 
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.fan-card:first-child { margin-left: 0; }

.fan-card:nth-child(1) { --neon: rgba(50, 205, 50, 0.6); transform: rotate(-18deg) translateY(50px); z-index: 1; }
.fan-card:nth-child(2) { --neon: rgba(30, 144, 255, 0.6); transform: rotate(-14deg) translateY(32px); z-index: 2; }
.fan-card:nth-child(3) { --neon: rgba(255, 69, 0, 0.6); transform: rotate(-10deg) translateY(18px); z-index: 3; }
.fan-card:nth-child(4) { --neon: rgba(255, 215, 0, 0.6); transform: rotate(-6deg) translateY(8px); z-index: 4; }
.fan-card:nth-child(5) { --neon: rgba(138, 43, 226, 0.6); transform: rotate(-2deg) translateY(2px); z-index: 5; } 
.fan-card:nth-child(6) { --neon: rgba(255, 99, 71, 0.6); transform: rotate(2deg) translateY(2px); z-index: 6; }
.fan-card:nth-child(7) { --neon: rgba(0, 250, 154, 0.6); transform: rotate(6deg) translateY(8px); z-index: 7; }
.fan-card:nth-child(8) { --neon: rgba(255, 20, 147, 0.6); transform: rotate(10deg) translateY(18px); z-index: 8; }
.fan-card:nth-child(9) { --neon: rgba(0, 191, 255, 0.6); transform: rotate(14deg) translateY(32px); z-index: 9; }
.fan-card:nth-child(10) { --neon: rgba(218, 165, 32, 0.6); transform: rotate(18deg) translateY(50px); z-index: 10; }

.fan-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(80%);
    transition: opacity 0.4s, filter 0.4s;
}

.fan-card:hover, .fan-card:focus, .fan-card:active {
    transform: translateY(-50px) rotate(0deg) scale(1.08) !important;
    z-index: 20 !important; 
    box-shadow: 0 0 40px var(--neon), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.fan-card:hover img, .fan-card:focus img, .fan-card:active img { opacity: 1; filter: grayscale(0%); }

.fan-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 2rem 1rem 1.5rem 1rem;
    background: linear-gradient(to top, rgba(30,54,33,1) 0%, rgba(30,54,33,0.8) 50%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
    text-align: center;
}

.fan-card:hover .fan-info, .fan-card:focus .fan-info, .fan-card:active .fan-info { transform: translateY(0); }
.fan-info h4 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.fan-info p { margin: 0 0 0.2rem 0; font-size: 0.75rem; color: var(--hunter-green-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* --- FOOTER & BACK TO TOP --- */
.site-footer {
    background-color: var(--hunter-green-dark);
    color: var(--hunter-green-light);
    text-align: center;
    padding: 4rem 1.5rem 3rem 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.back-to-top {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: rgba(238, 243, 239, 0.6);
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}

.back-to-top:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: floatUpIcon 2s infinite ease-in-out;
}

.back-to-top span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

@keyframes floatUpIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.site-footer p {
    color: rgba(238, 243, 239, 0.7);
    margin: 0;
}

/* --- MOBILE OVERRIDES --- */
@media (max-width: 1024px) {
    .container { grid-template-columns: 1fr; }
    .bio-card { grid-column: span 1; }
    .socials-card { grid-column: span 1; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .horizontal-header { padding: 0 2rem; }
    .horizontal-track { padding: 0 2rem; } 
    
    .h-card { 
        width: 85vw; 
        max-width: 320px;
        height: auto; 
        min-height: 420px;
        padding: 1.5rem; 
    }
    .h-card i.main-icon { font-size: 2rem; margin-bottom: 1rem; }
    .h-card svg.main-icon { width: 2rem; height: 2rem; margin-bottom: 1rem; }
    .h-card .card-header { margin-bottom: 1rem; }
    .h-card .card-header h2 { font-size: 1.3rem; }
    .h-card p { font-size: 0.95rem; }

    .board-section { padding: 4rem 0; } 
    .board-header { margin-bottom: 2rem; padding: 0 1rem; }
    .board-header h2 { font-size: 1.8rem; white-space: nowrap; letter-spacing: -0.5px; }

    .fan-container { 
        height: 280px; 
        justify-content: flex-start; 
        overflow-x: auto; 
        padding: 3rem 2rem 1rem 2rem; 
        -ms-overflow-style: none; 
        scrollbar-width: none; 
    }
    .fan-container::-webkit-scrollbar { display: none; } 
    
    .fan-card { width: 160px; height: 240px; margin-left: -60px; border-radius: 12px; flex-shrink: 0; }
    .fan-card:first-child { margin-left: 0; }
    .fan-card:last-child { margin-right: 2rem; } 

    .fan-card:nth-child(n) { transform: none; }
    .fan-card:nth-child(1) { z-index: 1; }
    .fan-card:nth-child(2) { z-index: 2; }
    .fan-card:nth-child(3) { z-index: 3; }
    .fan-card:nth-child(4) { z-index: 4; }
    .fan-card:nth-child(5) { z-index: 5; }
    .fan-card:nth-child(6) { z-index: 6; }
    .fan-card:nth-child(7) { z-index: 7; }
    .fan-card:nth-child(8) { z-index: 8; }
    .fan-card:nth-child(9) { z-index: 9; }
    .fan-card:nth-child(10) { z-index: 10; }

    .fan-info { padding: 1rem 0.8rem; }
    .fan-info h4 { font-size: 1rem; }
    .fan-info p { font-size: 0.7rem; margin-bottom: 0.2rem; }

    .fan-card:hover, .fan-card:focus, .fan-card:active {
        transform: translateY(-30px) scale(1.05) !important;
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 3rem; }
    .board-header h2 { font-size: 1.6rem; } 
    .fan-card { width: 140px; height: 210px; margin-left: -50px; }
    .fan-info h4 { font-size: 0.9rem; }
}