:root {
    --yeet-pink: #ec4899;
    --yeet-magenta: #d946ef;
    --yeet-purple: #a855f7;
    --yeet-violet: #8b5cf6;
    --yeet-blue: #38bdf8;
    --yeet-cyan: #06b6d4;
    --yeet-gold: #fbbf24;
    --yeet-glow: rgba(217, 70, 239, 0.45);
    --bg-dark: #07080c;
    --bg-card: #121620;
    --border-card: #202738;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-dark);
    color: #f1f5f9;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-overflow-scrolling: touch;
}

.bg-clip-text, [class*="bg-clip-text"] {
    text-shadow: none !important;
    -webkit-text-stroke: 0px !important;
}

.text-neon-glow, .text-yeet-glow {
    text-shadow: none !important;
    filter: drop-shadow(0 2px 10px rgba(217, 70, 239, 0.45));
}

.text-blue-glow {
    text-shadow: none !important;
    filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.45));
}

.text-gold-glow {
    text-shadow: none !important;
    filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.5));
}

.animated-bg-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: #06070a;
}

.bg-cyber-base {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(217, 70, 239, 0.15) 0%, rgba(139, 92, 246, 0.08) 35%, transparent 70%),
                radial-gradient(circle at 10% 40%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 90% 60%, rgba(6, 182, 212, 0.07) 0%, transparent 50%),
                linear-gradient(to bottom, #06070a 0%, #0a0c13 35%, #0e111a 70%, #06070a 100%);
}

.bg-aurora-1 {
    position: absolute;
    top: -20%;
    left: 15%;
    width: 75vw;
    height: 60vh;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(217, 70, 239, 0.22) 0%, rgba(236, 72, 153, 0.1) 40%, transparent 70%);
    filter: blur(95px);
    animation: auroraWave1 16s ease-in-out infinite alternate;
}

.bg-aurora-2 {
    position: absolute;
    top: 30%;
    right: -15%;
    width: 65vw;
    height: 65vh;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.18) 0%, rgba(139, 92, 246, 0.08) 45%, transparent 70%);
    filter: blur(100px);
    animation: auroraWave2 20s ease-in-out infinite alternate;
}

.bg-aurora-3 {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 60vw;
    height: 55vh;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.14) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 70%);
    filter: blur(90px);
    animation: auroraWave3 18s ease-in-out infinite alternate;
}

@keyframes auroraWave1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: translate(60px, 45px) scale(1.1) rotate(8deg); opacity: 1; }
    100% { transform: translate(-45px, 70px) scale(0.95) rotate(-6deg); opacity: 0.85; }
}

@keyframes auroraWave2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.85; }
    50% { transform: translate(-70px, -50px) scale(1.08) rotate(-10deg); opacity: 1; }
    100% { transform: translate(35px, 60px) scale(0.92) rotate(6deg); opacity: 0.75; }
}

@keyframes auroraWave3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(75px, -55px) scale(1.06); opacity: 0.95; }
    100% { transform: translate(-40px, -30px) scale(0.94); opacity: 0.75; }
}

.bg-cyber-grid {
    position: absolute;
    inset: 0;
    background-size: 44px 44px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 25%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 25%, transparent 85%);
    animation: gridSlowDrift 40s linear infinite;
}

@keyframes gridSlowDrift {
    0% { background-position: 0 0; }
    100% { background-position: 44px 44px; }
}

.spark-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.neon-spark {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkFloat linear infinite;
}

.neon-spark:nth-child(1)  { width: 4px; height: 4px; left: 12%; background: #ec4899; box-shadow: 0 0 8px #ec4899; animation-duration: 14s; animation-delay: 0s; }
.neon-spark:nth-child(2)  { width: 5px; height: 5px; left: 28%; background: #d946ef; box-shadow: 0 0 10px #d946ef; animation-duration: 17s; animation-delay: 2s; }
.neon-spark:nth-child(3)  { width: 3px; height: 3px; left: 45%; background: #38bdf8; box-shadow: 0 0 8px #38bdf8; animation-duration: 15s; animation-delay: 4s; }
.neon-spark:nth-child(4)  { width: 6px; height: 6px; left: 62%; background: #fbbf24; box-shadow: 0 0 12px #fbbf24; animation-duration: 19s; animation-delay: 1s; }
.neon-spark:nth-child(5)  { width: 4px; height: 4px; left: 78%; background: #ec4899; box-shadow: 0 0 9px #ec4899; animation-duration: 16s; animation-delay: 3s; }
.neon-spark:nth-child(6)  { width: 5px; height: 5px; left: 91%; background: #a855f7; box-shadow: 0 0 10px #a855f7; animation-duration: 18s; animation-delay: 5s; }
.neon-spark:nth-child(7)  { width: 3px; height: 3px; left: 20%; background: #06b6d4; box-shadow: 0 0 7px #06b6d4; animation-duration: 21s; animation-delay: 6s; }
.neon-spark:nth-child(8)  { width: 5px; height: 5px; left: 55%; background: #d946ef; box-shadow: 0 0 11px #d946ef; animation-duration: 13s; animation-delay: 7s; }
.neon-spark:nth-child(9)  { width: 4px; height: 4px; left: 83%; background: #fbbf24; box-shadow: 0 0 8px #fbbf24; animation-duration: 20s; animation-delay: 8s; }
.neon-spark:nth-child(10) { width: 4px; height: 4px; left: 36%; background: #ec4899; box-shadow: 0 0 9px #ec4899; animation-duration: 16s; animation-delay: 9s; }

@keyframes sparkFloat {
    0% {
        transform: translateY(105vh) translateX(0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.85;
    }
    85% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(-8vh) translateX(35px) scale(1.15);
        opacity: 0;
    }
}

.peek-mascot-box {
    position: absolute;
    bottom: 100%;
    margin-bottom: -2px;
    left: 50%;
    transform: translateX(-50%) translateY(22px) scale(0.82);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease-out;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 62px;
    width: 76px;
    overflow: hidden;
}

.group\/lb-btn:hover .peek-mascot-box,
.group\/yt-btn:hover .peek-mascot-box {
    transform: translateX(-50%) translateY(0px) scale(1);
    opacity: 1;
}

.btn-cyber-primary, .btn-yeet-primary {
    position: relative;
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #8b5cf6 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(217, 70, 239, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.btn-cyber-primary::before, .btn-yeet-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.55s ease;
}

.btn-cyber-primary:hover::before, .btn-yeet-primary:hover::before {
    left: 100%;
}

.btn-cyber-primary:hover, .btn-yeet-primary:hover {
    box-shadow: 0 0 35px rgba(217, 70, 239, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
}

.btn-cyber-secondary, .btn-yeet-secondary {
    background: #121622;
    border: 1.5px solid rgba(217, 70, 239, 0.35);
    color: #e2e8f0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cyber-secondary:hover, .btn-yeet-secondary:hover {
    border-color: #ec4899 !important;
    background: #231634 !important;
    box-shadow: 0 0 25px rgba(217, 70, 239, 0.55), inset 0 0 15px rgba(236, 72, 153, 0.22) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-yeet-solid-cta {
    background: #141724 !important;
    border: 1.5px solid rgba(217, 70, 239, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-yeet-solid-cta:hover {
    background: linear-gradient(135deg, #2b163a 0%, #3e1948 100%) !important;
    border-color: #ec4899 !important;
    box-shadow: 0 0 30px rgba(217, 70, 239, 0.65), inset 0 0 15px rgba(236, 72, 153, 0.25) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.nav-btn-active {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25) 0%, rgba(139, 92, 246, 0.18) 100%);
    border: 1px solid rgba(217, 70, 239, 0.75) !important;
    color: #f472b6 !important;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.35), inset 0 0 10px rgba(217, 70, 239, 0.15);
}

@keyframes pulseGlowSmooth {
    0%, 100% {
        filter: drop-shadow(0 0 18px rgba(217, 70, 239, 0.7)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.45));
        transform: translateY(0px) scale(1);
    }
    50% {
        filter: drop-shadow(0 0 28px rgba(217, 70, 239, 0.95)) drop-shadow(0 0 50px rgba(56, 189, 248, 0.7));
        transform: translateY(-6px) scale(1.03);
    }
}

.logo-hero-glow {
    animation: pulseGlowSmooth 4.5s ease-in-out infinite;
    will-change: transform, filter;
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinSlowReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.orbit-ring {
    animation: spinSlow 24s linear infinite;
}

.orbit-ring-reverse {
    animation: spinSlowReverse 28s linear infinite;
}

.podium-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-radius: 1.5rem;
}

.podium-card:hover {
    transform: translateY(-8px);
}

.podium-1st {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.18) 0%, rgba(20, 24, 34, 0.96) 35%, rgba(13, 16, 24, 0.99) 100%);
    border: 1.5px solid rgba(236, 72, 153, 0.75);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 40px rgba(217, 70, 239, 0.3), inset 0 1px 20px rgba(236, 72, 153, 0.18);
}

.podium-1st:hover {
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 55px rgba(217, 70, 239, 0.5), inset 0 1px 30px rgba(236, 72, 153, 0.28);
    border-color: #f43f5e;
}

.podium-2nd {
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.15) 0%, rgba(18, 22, 32, 0.95) 35%, rgba(12, 15, 22, 0.98) 100%);
    border: 1px solid rgba(168, 85, 247, 0.55);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.2);
}

.podium-2nd:hover {
    border-color: rgba(168, 85, 247, 0.85);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 40px rgba(168, 85, 247, 0.35);
}

.podium-3rd {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.15) 0%, rgba(18, 22, 32, 0.95) 35%, rgba(12, 15, 22, 0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.55);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.2);
}

.podium-3rd:hover {
    border-color: rgba(245, 158, 11, 0.85);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.35);
}

@keyframes spinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes coinFlip360Y {
    0%, 75% {
        transform: perspective(600px) rotateY(0deg);
    }
    87% {
        transform: perspective(600px) rotateY(180deg) scale(1.08);
    }
    100% {
        transform: perspective(600px) rotateY(360deg) scale(1);
    }
}

.podium-tier-flip {
    transform-origin: center center;
    transform-style: preserve-3d;
    backface-visibility: visible;
    will-change: transform;
}

.podium-tier-flip-1 {
    animation: coinFlip360Y 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 1s;
}

.podium-tier-flip-2 {
    animation: coinFlip360Y 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 3.5s;
}

.podium-tier-flip-3 {
    animation: coinFlip360Y 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 6s;
}

@keyframes shineSweepBeamSlow {
    0% {
        transform: translateX(-160%) translateY(-160%) rotate(45deg);
        opacity: 0;
    }
    2% {
        opacity: 0;
    }
    5% {
        opacity: 0.95;
    }
    20% {
        transform: translateX(160%) translateY(160%) rotate(45deg);
        opacity: 0.95;
    }
    21%, 100% {
        transform: translateX(160%) translateY(160%) rotate(45deg);
        opacity: 0;
    }
}

.avatar-spin-ring-1st {
    position: absolute;
    inset: -5px;
    border-radius: 9999px;
    background: conic-gradient(from 0deg, #fbbf24 0%, #ec4899 35%, #d946ef 65%, #fbbf24 100%);
    animation: spinClockwise 20s linear infinite;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.75));
}

.avatar-spin-ring-inner-1st {
    position: absolute;
    inset: -11px;
    border-radius: 9999px;
    border: 1.5px dashed rgba(236, 72, 153, 0.7);
    animation: spinCounterClockwise 28s linear infinite;
}

.avatar-spin-ring-2nd {
    position: absolute;
    inset: -4px;
    border-radius: 9999px;
    background: conic-gradient(from 0deg, #c084fc 0%, #e2e8f0 35%, #8b5cf6 70%, #c084fc 100%);
    animation: spinClockwise 22s linear infinite;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.65));
}

.avatar-spin-ring-inner-2nd {
    position: absolute;
    inset: -9px;
    border-radius: 9999px;
    border: 1.5px dashed rgba(168, 85, 247, 0.65);
    animation: spinCounterClockwise 30s linear infinite;
}

.avatar-spin-ring-3rd {
    position: absolute;
    inset: -4px;
    border-radius: 9999px;
    background: conic-gradient(from 0deg, #f59e0b 0%, #fed7aa 35%, #b45309 70%, #f59e0b 100%);
    animation: spinClockwise 24s linear infinite;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.65));
}

.avatar-spin-ring-inner-3rd {
    position: absolute;
    inset: -9px;
    border-radius: 9999px;
    border: 1.5px dashed rgba(245, 158, 11, 0.65);
    animation: spinCounterClockwise 32s linear infinite;
}

.avatar-shine-sweep {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 15;
    border-radius: 9999px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-160%) translateY(-160%) rotate(45deg);
    background: linear-gradient(135deg, transparent 25%, rgba(255, 255, 255, 0.9) 50%, transparent 75%);
    width: 220%;
    height: 220%;
    left: -60%;
    top: -60%;
    animation: shineSweepBeamSlow 8.5s ease-in-out infinite;
    animation-fill-mode: both;
}

.avatar-shine-sweep-delay1 {
    animation-delay: 2.8s;
}

.avatar-shine-sweep-delay2 {
    animation-delay: 5.6s;
}

.rank-row {
    background: linear-gradient(90deg, rgba(18, 22, 32, 0.92) 0%, rgba(13, 16, 24, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.rank-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ec4899, #8b5cf6);
    opacity: 0.35;
    transition: all 0.25s ease;
}

.rank-row:hover {
    transform: translateX(4px) scale(1.005);
    border-color: rgba(217, 70, 239, 0.45);
    background: linear-gradient(90deg, rgba(217, 70, 239, 0.08) 0%, rgba(18, 23, 34, 0.98) 45%, rgba(13, 16, 24, 0.98) 100%);
    box-shadow: 0 8px 25px -6px rgba(0, 0, 0, 0.7), 0 0 22px rgba(217, 70, 239, 0.18);
}

.rank-row:hover::before {
    opacity: 1;
    box-shadow: 0 0 12px #d946ef;
}

.timer-box {
    background: linear-gradient(180deg, rgba(19, 24, 36, 0.92) 0%, rgba(11, 14, 22, 0.96) 100%);
    border: 1px solid rgba(217, 70, 239, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 12px rgba(217, 70, 239, 0.08);
    position: relative;
}

.timer-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ec4899, transparent);
    box-shadow: 0 0 10px #ec4899;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #07080c;
}

::-webkit-scrollbar-thumb {
    background: #202738;
    border-radius: 4px;
    border: 1px solid rgba(217, 70, 239, 0.25);
}

::-webkit-scrollbar-thumb:hover {
    background: #d946ef;
}

.navbar-glow-line {
    position: relative;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, #ec4899 20%, #d946ef 45%, #8b5cf6 55%, #38bdf8 80%, transparent 100%);
    background-size: 250% 100%;
    animation: navLineShimmer 5s ease-in-out infinite alternate;
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.75), 0 0 30px rgba(139, 92, 246, 0.45);
}

@keyframes navLineShimmer {
    0% {
        background-position: 0% 50%;
        opacity: 0.75;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
        filter: drop-shadow(0 0 8px #d946ef);
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.75;
    }
}

@keyframes characterFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

.anim-char-float {
    animation: characterFloat 6s ease-in-out infinite;
}

.anim-char-float-delayed {
    animation: characterFloat 7s ease-in-out infinite;
    animation-delay: -3s;
}