/* ============================================
   RetroSix Live — Styles
   Retro CRT aesthetic with modern layout
   ============================================ */

/* === Reset & Custom Properties === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --cyan: #00acec;
    --cyan-glow: rgba(0, 172, 236, 0.4);
    --cyan-dim: rgba(0, 172, 236, 0.15);
    --magenta: #e91e8c;
    --magenta-glow: rgba(233, 30, 140, 0.4);
    --magenta-dim: rgba(233, 30, 140, 0.15);
    --green: #00ff88;
    --green-glow: rgba(0, 255, 136, 0.3);
    --yellow: #ffff00;
    --red: #ff3b3b;
    --red-glow: rgba(255, 59, 59, 0.4);
    --kofi-red: #FF5E5B;

    /* Backgrounds */
    --bg-primary: #0a0a12;
    --bg-secondary: #0e0e1a;
    --bg-card: rgba(16, 16, 32, 0.7);
    --bg-card-hover: rgba(20, 20, 45, 0.85);
    --bg-card-solid: #10102a;

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.6);
    --text-muted: rgba(240, 240, 245, 0.35);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 172, 236, 0.3);

    /* Layout */
    --card-radius: 16px;
    --max-width: 1100px;
    --nav-height: 64px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--magenta);
}

/* === CRT Overlay Effects === */
.crt-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

.crt-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

.crt-scanbar {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 172, 236, 0.03) 45%,
        rgba(0, 172, 236, 0.06) 50%,
        rgba(0, 172, 236, 0.03) 55%,
        transparent 100%
    );
    background-size: 100% 220px;
    animation: scanbar-cyan 12s linear infinite;
    will-change: background-position;
}

.crt-scanbar-secondary {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(233, 30, 140, 0.02) 45%,
        rgba(233, 30, 140, 0.04) 50%,
        rgba(233, 30, 140, 0.02) 55%,
        transparent 100%
    );
    background-size: 100% 140px;
    animation: scanbar-magenta 18s linear infinite reverse;
    will-change: background-position;
}

.crt-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 50%,
        rgba(0, 0, 0, 0.3) 80%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

@keyframes scanbar-cyan {
    0% { background-position: 0 0; }
    100% { background-position: 0 220px; }
}

@keyframes scanbar-magenta {
    0% { background-position: 0 0; }
    100% { background-position: 0 140px; }
}

/* === Particle Canvas === */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* === Custom Cursor === */
*, *::before, *::after {
    cursor: none !important;
}

/* === Mouse Glow === */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform;
}

.mouse-glow.visible {
    opacity: 1;
}

.mouse-glow-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 172, 236, 0.9);
    box-shadow: 0 0 8px rgba(0, 172, 236, 0.6), 0 0 16px rgba(0, 172, 236, 0.3);
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mouse-glow.hovering .mouse-glow-dot {
    transform: translate(-50%, -50%) scale(1.8);
    background: rgba(233, 30, 140, 0.9);
    box-shadow: 0 0 12px rgba(233, 30, 140, 0.6), 0 0 24px rgba(233, 30, 140, 0.3);
}

.mouse-glow-outer {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 172, 236, 0.06) 0%,
        rgba(233, 30, 140, 0.03) 40%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
}

.mouse-glow-inner {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 172, 236, 0.1) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
}

/* === Layout === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    contain: layout style;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: background var(--transition-medium), box-shadow var(--transition-medium);
}

.nav.scrolled {
    background: rgba(10, 10, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    height: var(--nav-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10000;
    pointer-events: none;
}

.nav-logo-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    pointer-events: auto;
    perspective: 600px;
}

.nav-logo-spacer {
    display: flex;
    align-items: center;
    width: 140px;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 28px;
    width: auto;
    opacity: 0.7;
    filter: drop-shadow(0 0 4px rgba(255, 26, 140, 0.3));
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-logo-inner:hover .nav-logo-img {
    opacity: 1;
    filter:
        drop-shadow(0 0 12px rgba(255, 26, 140, 0.7))
        drop-shadow(0 0 24px rgba(255, 26, 140, 0.4));
    animation: navLogoHover 4s ease-in-out infinite;
}

.nav-logo-inner:hover .nav-logo-live {
    background: rgba(255, 59, 59, 0.25);
    text-shadow: 0 0 8px rgba(255, 59, 59, 0.5);
}

@keyframes navLogoHover {
    0%   { transform: rotateY(0deg)   scale(1); }
    25%  { transform: rotateY(-8deg)  scale(1.03); }
    50%  { transform: rotateY(8deg)   scale(1.05); }
    75%  { transform: rotateY(-5deg)  scale(1.03); }
    100% { transform: rotateY(0deg)   scale(1); }
}

.nav-logo-live {
    font-size: 0.6em;
    font-weight: 700;
    color: var(--red);
    background: rgba(255, 59, 59, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 0.1em;
    animation: livePulse 2s ease-in-out infinite;
    transition: background 0.3s ease, text-shadow 0.3s ease;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--cyan);
    background: var(--cyan-dim);
}

/* === Hero === */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 ratio — always covers height */
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(10, 10, 18, 0.7) 0%, rgba(10, 10, 18, 0.85) 70%, rgba(10, 10, 18, 0.95) 100%),
        linear-gradient(180deg, rgba(10, 10, 18, 0.3) 0%, rgba(10, 10, 18, 0.6) 50%, rgba(10, 10, 18, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero-badge:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.hero-badge:hover .live-dot {
    background: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green-glow);
    animation: dotPulse 2s ease-in-out infinite;
}

.live-dot.offline {
    background: var(--text-muted);
    box-shadow: none;
    animation: none;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    margin-bottom: 16px;
}

/* 3D Logo in Hero */
.hero-logo-3d {
    display: flex;
    justify-content: center;
}

.logo-3d-scene {
    perspective: 1000px;
    perspective-origin: 50% 50%;
    position: relative;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-logo-3d:hover .logo-3d-scene {
    transform: scale(1.35);
}

.logo-3d-wrapper {
    position: relative;
    transform-style: preserve-3d;
    animation:
        logo3dIntro 1s cubic-bezier(0.22, 1, 0.36, 1) both,
        logo3dFloat 7s ease-in-out 1s infinite;
    will-change: transform;
}

@keyframes logo3dIntro {
    0%   { transform: rotateX(70deg) rotateY(-25deg) scale(0.4) translateZ(-200px); opacity: 0; }
    65%  { transform: rotateX(-6deg) rotateY(5deg) scale(1.04) translateZ(0); opacity: 1; }
    82%  { transform: rotateX(3deg) rotateY(-2deg) scale(0.98); }
    100% { transform: rotateX(0deg) rotateY(0deg) scale(1); }
}

@keyframes logo3dFloat {
    0%   { transform: rotateX(0deg)  rotateY(0deg)   translateY(0px); }
    20%  { transform: rotateX(5deg)  rotateY(-10deg) translateY(-8px); }
    50%  { transform: rotateX(-4deg) rotateY(12deg)  translateY(-12px); }
    80%  { transform: rotateX(6deg)  rotateY(-7deg)  translateY(-5px); }
    100% { transform: rotateX(0deg)  rotateY(0deg)   translateY(0px); }
}

.logo-3d-depth {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: block;
}

.logo-3d-depth:nth-child(1) { transform: translateZ(-4px);  filter: brightness(0.7) saturate(1.2); opacity: 0.9; }
.logo-3d-depth:nth-child(2) { transform: translateZ(-8px);  filter: brightness(0.55) saturate(1.3); opacity: 0.85; }
.logo-3d-depth:nth-child(3) { transform: translateZ(-12px); filter: brightness(0.4) saturate(1.4); opacity: 0.8; }
.logo-3d-depth:nth-child(4) { transform: translateZ(-16px); filter: brightness(0.25) saturate(1.5); opacity: 0.75; }
.logo-3d-depth:nth-child(5) { transform: translateZ(-20px); filter: brightness(0.15) saturate(1.5); opacity: 0.7; }

.logo-3d-front-wrap {
    position: relative;
    display: block;
    width: clamp(300px, 50vw, 500px);
}

.logo-3d-front {
    display: block;
    width: 100%;
    height: auto;
    filter:
        drop-shadow(0 0 18px rgba(255, 26, 140, 0.55))
        drop-shadow(0 8px 24px rgba(255, 26, 140, 0.3))
        drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    animation: logo3dGlow 7s ease-in-out 1s infinite;
    will-change: filter;
}

@keyframes logo3dGlow {
    0%,100% {
        filter:
            drop-shadow(0 0 18px rgba(255, 26, 140, 0.55))
            drop-shadow(0 8px 24px rgba(255, 26, 140, 0.3))
            drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    }
    50% {
        filter:
            drop-shadow(0 0 30px rgba(255, 26, 140, 0.8))
            drop-shadow(0 10px 32px rgba(255, 26, 140, 0.5))
            drop-shadow(0 2px 8px rgba(0,0,0,0.35));
    }
}

.logo-3d-shine {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-3d-live {
    display: block;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.35em;
    color: var(--red);
    text-shadow: 0 0 20px rgba(255, 59, 59, 0.6), 0 0 40px rgba(255, 59, 59, 0.3);
    margin-top: 8px;
    animation: livePulse 2s ease-in-out infinite;
}

.logo-3d-shadow {
    width: 70%;
    height: 24px;
    background: radial-gradient(ellipse, rgba(255,26,140,0.35) 0%, transparent 70%);
    margin: 0 auto;
    margin-top: -20px;
    filter: blur(10px);
    animation: logo3dShadow 7s ease-in-out 1s infinite;
    will-change: transform, opacity;
}

@keyframes logo3dShadow {
    0%,100% { transform: scaleX(1);   opacity: 0.35; }
    50%     { transform: scaleX(0.8); opacity: 0.18; }
}

.logo-3d-sparkle {
    position: absolute;
    border-radius: 50%;
    animation: logo3dSparkle 3.5s ease-in-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

.logo-3d-sparkle:nth-child(3) { width:10px; height:10px; background:#FF1A8C; top:10%; right:5%;  animation-delay:0s;   animation-duration:2.8s; }
.logo-3d-sparkle:nth-child(4) { width:7px;  height:7px;  background:#2E2ECC; top:75%; left:4%;   animation-delay:0.9s; animation-duration:3.3s; }
.logo-3d-sparkle:nth-child(5) { width:6px;  height:6px;  background:#ff88d0; top:20%; left:8%;   animation-delay:1.7s; animation-duration:2.5s; }
.logo-3d-sparkle:nth-child(6) { width:8px;  height:8px;  background:#FF1A8C; bottom:15%; right:10%; animation-delay:0.4s; animation-duration:3.6s; }
.logo-3d-sparkle:nth-child(7) { width:5px;  height:5px;  background:#2E2ECC; top:55%; right:3%;  animation-delay:2.1s; animation-duration:2.9s; }

@keyframes logo3dSparkle {
    0%,100% { transform: scale(0) translateY(0);    opacity: 0; }
    25%     { transform: scale(1.5) translateY(-4px);  opacity: 1; }
    60%     { transform: scale(0.9) translateY(-12px); opacity: 0.5; }
    85%     { transform: scale(0)   translateY(-20px); opacity: 0; }
}

.hero-tagline {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    transition: color 0.3s ease, text-shadow 0.3s ease, letter-spacing 0.3s ease;
}

.hero-tagline:hover {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 172, 236, 0.4);
    letter-spacing: 0.3em;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.hero-subtitle:hover {
    color: var(--text-primary);
}

/* Hero 3D logo hover - intensify glow */
.hero-logo-3d:hover .logo-3d-front {
    filter:
        drop-shadow(0 0 30px rgba(255, 26, 140, 0.9))
        drop-shadow(0 10px 40px rgba(255, 26, 140, 0.6))
        drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.hero-logo-3d:hover .logo-3d-live {
    text-shadow: 0 0 30px rgba(255, 59, 59, 0.8), 0 0 60px rgba(255, 59, 59, 0.4);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), background var(--transition-medium), border-color var(--transition-medium), color var(--transition-medium), filter var(--transition-medium);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), #0088cc);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 172, 236, 0.3);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 172, 236, 0.5), 0 0 40px rgba(0, 172, 236, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 172, 236, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.3), 0 0 40px rgba(233, 30, 140, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border: 1px solid rgba(0, 172, 236, 0.3);
}

.btn-outline:hover {
    background: var(--cyan-dim);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 172, 236, 0.3), 0 0 40px rgba(0, 172, 236, 0.15);
}

.btn-twitch {
    background: #9146ff;
    color: #fff;
}

.btn-twitch:hover {
    color: #fff;
    background: #a970ff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(145, 70, 255, 0.5), 0 0 40px rgba(145, 70, 255, 0.3);
}

.btn-discord {
    background: #5865f2;
    color: #fff;
    width: 100%;
    justify-content: center;
}

.btn-discord:hover {
    color: #fff;
    background: #6b77f5;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5), 0 0 40px rgba(88, 101, 242, 0.3);
}

.btn-kofi {
    background: var(--kofi-red);
    color: #fff;
    font-size: 0.9rem;
    padding: 14px 32px;
}

.btn-kofi:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 94, 91, 0.5), 0 0 40px rgba(255, 94, 91, 0.3);
    filter: brightness(1.1);
}

.btn-shop {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    flex: 1;
    justify-content: center;
    font-size: 0.75rem;
}

.btn-shop:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 172, 236, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 172, 236, 0.3), 0 0 40px rgba(0, 172, 236, 0.15);
}

.shop-flag {
    font-size: 1.1em;
}

/* === Streams Grid === */
.streams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stream-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: border-color var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    contain: layout style;
}

.stream-card:hover {
    color: inherit;
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 172, 236, 0.15);
}

.stream-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-card-solid);
}

.stream-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.stream-card:hover .stream-thumbnail img {
    transform: scale(1.05);
}

.stream-thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stream-card:hover .stream-thumbnail-overlay {
    opacity: 1;
}

.stream-play-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 172, 236, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.stream-views {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.stream-info {
    padding: 14px 16px;
}

.stream-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stream-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.streams-more {
    text-align: center;
}

/* Skeleton loading */
.skeleton .skeleton-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, var(--bg-card-solid) 25%, rgba(255,255,255,0.04) 50%, var(--bg-card-solid) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton .skeleton-text {
    height: 14px;
    background: linear-gradient(90deg, var(--bg-card-solid) 25%, rgba(255,255,255,0.04) 50%, var(--bg-card-solid) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton .skeleton-text.short {
    width: 60%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === Live / Twitch Section === */
.live-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.live-status {
    text-align: center;
}

.live-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
}

.live-status-indicator.is-live {
    color: var(--red);
    border-color: rgba(255, 59, 59, 0.3);
    background: rgba(255, 59, 59, 0.1);
}

.live-status-indicator.is-live .live-dot {
    background: var(--red);
    box-shadow: 0 0 8px var(--red-glow);
}

.twitch-embed-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.twitch-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.twitch-offline {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px;
    text-align: center;
}

.twitch-offline-icon {
    color: var(--text-muted);
    opacity: 0.5;
}

.twitch-offline h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.twitch-offline p {
    color: var(--text-muted);
    max-width: 400px;
}

.twitch-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.twitch-chat-wrapper {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.twitch-chat-wrapper.visible {
    display: block;
}

.twitch-chat {
    width: 100%;
    height: 400px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    background: var(--bg-card);
}

.hidden {
    display: none !important;
}

/* === Community Grid === */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.community-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-medium), transform var(--transition-medium);
    contain: layout style;
}

.community-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.community-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.discord-icon {
    background: rgba(88, 101, 242, 0.15);
    color: #5865f2;
}

.shop-icon {
    background: var(--cyan-dim);
    color: var(--cyan);
}

.community-card-title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.community-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex: 1;
}

/* Discord Stats */
.discord-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.discord-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.discord-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.discord-stat-dot.online {
    background: var(--green);
    box-shadow: 0 0 6px var(--green-glow);
}

.discord-stat-dot.members {
    background: var(--text-muted);
}

/* Social Links */
.socials-card {
    text-align: center;
    align-items: center;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: auto;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: color var(--transition-medium), border-color var(--transition-medium), background var(--transition-medium);
    text-decoration: none;
    min-width: 72px;
}

.social-link span {
    font-size: 0.65rem;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
}

.social-link.youtube:hover {
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.1);
}

.social-link.twitch:hover {
    color: #9146ff;
    border-color: rgba(145, 70, 255, 0.3);
    background: rgba(145, 70, 255, 0.1);
}

.social-link.tiktok:hover {
    color: var(--magenta);
    border-color: var(--magenta-dim);
    background: var(--magenta-dim);
}

.social-link.instagram:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.3);
    background: rgba(225, 48, 108, 0.1);
}

.social-link.facebook:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.3);
    background: rgba(24, 119, 242, 0.1);
}

/* Shop Links */
.shop-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

/* === Support / Ko-fi Section === */
.support-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 48px 36px;
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.support-card:hover {
    border-color: rgba(255, 94, 91, 0.3);
    box-shadow: 0 8px 40px rgba(255, 94, 91, 0.1);
}

.support-icon {
    display: inline-flex;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255, 94, 91, 0.12);
    color: var(--kofi-red);
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.support-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.support-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.support-note {
    display: block;
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Orbitron', monospace;
}

/* === Contact Form === */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-dim);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.85rem;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-status {
    text-align: center;
    margin-top: 16px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    min-height: 24px;
}

.form-status.success {
    color: var(--green);
}

.form-status.error {
    color: var(--red);
}

/* === Footer === */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0;
    background: var(--bg-primary);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* === Music Toggle === */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-medium), color var(--transition-medium), box-shadow var(--transition-medium);
    backdrop-filter: blur(10px);
}

.music-toggle:hover {
    border-color: var(--border-hover);
    color: var(--cyan);
}

.music-toggle.playing {
    color: var(--cyan);
    border-color: var(--cyan);
    animation: musicPulse 2s ease-in-out infinite;
}

.music-toggle .music-icon-off {
    display: none;
}

.music-toggle.muted .music-icon-on {
    display: none;
}

.music-toggle.muted .music-icon-off {
    display: block;
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--cyan-glow); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

/* === Responsive === */
@media (max-width: 900px) {
    .streams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 90vh;
        padding: 100px 20px 60px;
    }

    .section {
        padding: 60px 0;
    }

    .streams-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .support-card {
        padding: 32px 24px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        padding: 10px;
        min-width: 60px;
    }

    .shop-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .discord-stats {
        flex-direction: column;
        gap: 8px;
    }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .crt-scanbar,
    .crt-scanbar-secondary {
        display: none;
    }

    html {
        scroll-behavior: auto;
    }
}
