﻿/* CONCEPT: ENERGETIC / YOUTH / HYPE */
:root {
    --accent: #ccff00; /* Electric Lime - High Energy */
    --cursor-size: 24px;
}

body {
    cursor: none;
    background-color: #0a0a0a;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Typography Overrides - Increased specificity to override Tailwind defaults */
body h1, body h2, body h3, body .serif {
    font-family: 'Syne', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em; /* Tight & Punchy */
}

body .uppercase, body .tracking-widest, body .text-xs, body button, body nav, body .font-sans {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* NEON ACCENTS */
.text-accent { color: var(--accent); }
.bg-accent { background-color: var(--accent); }
.border-accent { border-color: var(--accent); }

.btn-energetic {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-energetic:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: black;
    transform: scale(1.05);
}

/* CUSTOM CURSOR - Energetic Blob */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, transform 0.1s;
    mix-blend-mode: exclusion;
}

#cursor.hovered {
    width: 80px;
    height: 80px;
    mix-blend-mode: difference;
    background-color: white;
}

/* MARQUEE ANIMATION - UPDATED FOR GSAP */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative; /* FIXED: Changed from absolute to relative to prevent parent collapse */
    width: 100%;
    z-index: 10;
    display: flex;
}
.marquee-content {
    display: inline-block;
    padding-left: 0;
    flex-shrink: 0;
    min-width: 100%;
}

/* CSS MARQUEE ANIMATION */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.animate-marquee {
    display: flex;
    white-space: nowrap;
    /* animation: marquee 25s linear infinite; */
}
.animate-marquee-reverse {
    display: flex;
    white-space: nowrap;
    /* animation: marquee 35s linear infinite reverse; */
}

/* HERO MARQUEE: position across the seam between hero and next section */
.hero-marquee {
    /* Sit right at the bottom edge of the hero, overlapping the next section */
    bottom: 40px !important;
    
    /* Increase vertical size so the rotated strip covers the gap on both sides */
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;

    /* Pull it down so it bleeds well into the next section */
    margin-bottom: -60px;

    /* Stay on top of the next section */
    z-index: 30 !important;

    /* Prevent hairline gaps on some GPUs */
    transform-origin: center;
    will-change: transform;
}

/* LANGUAGE TOGGLE UTILITIES */
[data-lang="cn"] { display: none !important; }
body.lang-cn [data-lang="en"] { display: none !important; }
body.lang-cn [data-lang="cn"] { display: inline !important; }

/* Modern Glass Nav */
.glass-nav {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Reset rounded corners to be smooth again for this style */
.rounded-full { border-radius: 9999px !important; }
.rounded-xl { border-radius: 24px !important; }
