/* ==========================================================================
   THE SOCIAL CLUB .COMMUNITY - OFFICIAL STYLESHEET
   Style & Aesthetic: Cozy Neon Lounge, Midnight Glow & Chill Gaming Vibes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Pacifico&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    /* Color Palette derived from the Social Club Artwork */
    --bg-dark: #0a0815;
    --bg-darker: #06040d;
    --bg-card: rgba(22, 17, 39, 0.75);
    --bg-card-hover: rgba(33, 26, 58, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);

    /* Neon Accents */
    --neon-purple: #9d4edd;
    --neon-pink: #ff3388;
    --neon-cyan: #00d4ff;
    --neon-blue: #3a86ff;
    --neon-gold: #ffb703;
    --neon-amber: #fb8500;
    --neon-green: #38b000;
    --neon-tactical: #00ff9d;

    /* Text Colors */
    --text-main: #f3f0ff;
    --text-muted: #a99ec9;
    --text-highlight: #ffffff;

    /* Glows */
    --glow-purple: 0 0 20px rgba(157, 78, 221, 0.6), 0 0 40px rgba(157, 78, 221, 0.3);
    --glow-pink: 0 0 20px rgba(255, 51, 136, 0.6), 0 0 40px rgba(255, 51, 136, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3);
    --glow-gold: 0 0 15px rgba(255, 183, 3, 0.7), 0 0 35px rgba(255, 183, 3, 0.4);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-script: 'Pacifico', cursive;
    --font-fun: 'Fredoka', cursive;
    --font-tech: 'Space Grotesk', sans-serif;

    /* Transitions & Radii */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(157, 78, 221, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(0, 212, 255, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 51, 136, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 75% 85%, rgba(255, 183, 3, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 90%, rgba(58, 134, 255, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Typography & Overflow Safety */
body, p, span, h1, h2, h3, h4, h5, h6, li, a, button, input, select, textarea, label {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    -webkit-hyphens: manual;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* Background Ambient Dust & Fairy Lights */
.ambient-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.fairy-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: gentleGlow 4s infinite ease-in-out alternate;
}

@keyframes gentleGlow {
    0% { opacity: 0.3; transform: scale(0.9); }
    100% { opacity: 0.9; transform: scale(1.1); }
}

/* Containers */
.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(10, 8, 21, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.25);
    transform: translateZ(0);
    transition: var(--transition);
}

.site-nav.scrolled {
    padding: 9px 0;
    background: rgba(6, 4, 13, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-bottom-color: rgba(255, 51, 136, 0.3);
}

.site-nav .container {
    max-width: 1480px;
    width: 100%;
    padding: 0 20px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap !important;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-highlight);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    position: relative;
    flex-shrink: 0;
}

/* 3D Model Box in Navbar Brand (Top Left) - Prominent & clean without wrapping */
.nav-brand-3d-box {
    width: 235px;
    max-width: 35vw;
    height: 68px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-brand:hover .nav-brand-3d-box {
    transform: scale(1.05);
}

.nav-brand-3d-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    outline: none;
}

.nav-brand-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition);
}

.nav-brand:hover .nav-brand-logo {
    transform: scale(1.05);
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff3388, #9d4edd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--glow-purple);
    overflow: hidden;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-script);
    font-size: 1.3rem;
    background: linear-gradient(90deg, #ffffff, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 209, 102, 0.3);
}

.brand-sub {
    font-size: 0.7rem;
    font-family: var(--font-tech);
    letter-spacing: 2.5px;
    color: var(--neon-cyan);
    text-transform: uppercase;
}

.site-nav nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 7px 12px;
    border-radius: 8px;
    white-space: nowrap !important;
    letter-spacing: 0.2px;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(255, 51, 136, 0.18) 0%, rgba(157, 78, 221, 0.22) 100%) !important;
    border: 1px solid rgba(255, 51, 136, 0.45) !important;
    box-shadow: 0 0 16px rgba(255, 51, 136, 0.28), inset 0 0 12px rgba(157, 78, 221, 0.18);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff3388, #9d4edd, #00d4ff);
    box-shadow: 0 0 10px #ff3388, 0 0 16px #9d4edd;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 82%;
}

/* ==========================================================================
   EVENT NAV DROPDOWN MENU (HOVER TO REVEAL EVENT KALENDER BUTTON)
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link-event {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-caret {
    font-size: 0.72rem;
    color: var(--text-muted);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    display: inline-block;
    line-height: 1;
}

.nav-item-dropdown:hover .nav-dropdown-caret {
    transform: rotate(180deg);
    color: var(--neon-cyan);
}

.nav-event-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(8, 11, 20, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 212, 255, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    min-width: 230px;
}

/* Invisible bridge so mouse hover doesn't break when moving into dropdown */
.nav-event-dropdown::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-item-dropdown:hover .nav-event-dropdown,
.nav-item-dropdown:focus-within .nav-event-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-event-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-event-dropdown-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.16) 0%, rgba(157, 78, 221, 0.22) 100%);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
    transform: translateY(-1px);
}

.nav-event-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

.nav-event-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nav-event-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.nav-event-sub {
    font-size: 0.72rem;
    color: var(--neon-cyan);
    font-family: var(--font-tech);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-event-arrow {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    transition: transform 0.2s ease;
}

.nav-event-dropdown-btn:hover .nav-event-arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   CENTERPIECE ROG ARMA REFORGER BUTTON IN MAIN NAVIGATION
   Flanked smoothly by navigation menu links on both sides
   ========================================================================== */
.nav-item-rog-center {
    display: flex;
    align-items: center;
    margin: 0 4px;
    flex-shrink: 0;
}

.btn-nav-rog-arma {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 15px;
    background: linear-gradient(135deg, rgba(6, 26, 18, 0.95) 0%, rgba(12, 45, 30, 0.9) 100%);
    border: 1px solid rgba(0, 255, 157, 0.55);
    border-radius: var(--radius-full);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.22), inset 0 0 12px rgba(0, 255, 157, 0.08);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    white-space: nowrap !important;
    position: relative;
    cursor: pointer;
}

.btn-nav-rog-arma:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(135deg, rgba(8, 36, 25, 0.98) 0%, rgba(16, 58, 38, 0.95) 100%);
    border-color: #00ff9d;
    box-shadow: 0 0 26px rgba(0, 255, 157, 0.6), 0 0 45px rgba(0, 255, 157, 0.25);
    color: #ffffff !important;
}

.btn-nav-rog-arma:hover .rog-nav-icon {
    transform: translateX(3px);
    color: #ffffff;
}

.btn-nav-rog-arma:active {
    transform: translateY(0) scale(0.98);
}

.rog-nav-radar-ping {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff9d;
    box-shadow: 0 0 10px #00ff9d, 0 0 18px rgba(0, 255, 157, 0.8);
    animation: tacticalRadarPing 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes tacticalRadarPing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.45; }
}

.rog-nav-badge {
    background: rgba(0, 255, 157, 0.18);
    border: 1px solid rgba(0, 255, 157, 0.45);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: 'Share Tech Mono', monospace, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #00ff9d;
    letter-spacing: 1px;
    line-height: 1.2;
    flex-shrink: 0;
}

.rog-nav-title {
    font-family: 'Chakra Petch', var(--font-heading), sans-serif;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.8px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.35);
}

.rog-nav-icon {
    font-size: 0.7rem;
    color: #00ff9d;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ff3388 0%, #9d4edd 100%);
    color: #ffffff;
    box-shadow: var(--glow-pink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 51, 136, 0.8), 0 0 60px rgba(157, 78, 221, 0.5);
    color: #fff;
}

.btn-tactical {
    background: linear-gradient(135deg, #0f2d1e 0%, #0a462a 100%);
    border: 1px solid var(--neon-tactical);
    color: var(--neon-tactical);
    font-family: var(--font-tech);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.25);
}

.btn-tactical:hover {
    background: var(--neon-tactical);
    color: #06150e;
    box-shadow: 0 0 35px rgba(0, 255, 157, 0.7);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.btn-discord:hover {
    background: #4752C4;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(88, 101, 242, 0.85);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Audio Player Button */
.btn-lofi {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.4);
    color: var(--neon-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-lofi:hover {
    background: rgba(255, 183, 3, 0.35);
    box-shadow: var(--glow-gold);
    transform: scale(1.08);
}

.btn-lofi.playing {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff9d 50%, #ffb703 100%);
    color: #06040d;
    border-color: #00ff9d;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.7), 0 0 35px rgba(0, 255, 157, 0.5);
    animation: modernReggaePulse 0.732s ease-in-out infinite alternate;
}

@keyframes modernReggaePulse {
    0% { transform: scale(1.0); box-shadow: 0 0 14px rgba(0, 212, 255, 0.6), 0 0 25px rgba(0, 255, 157, 0.35); }
    100% { transform: scale(1.12); box-shadow: 0 0 26px rgba(0, 255, 157, 0.9), 0 0 45px rgba(255, 183, 3, 0.6); }
}

/* Compact Nav Discord Logo Button */
.btn-nav-discord-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.btn-nav-discord-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    transition: transform 0.25s ease, filter 0.25s ease;
    display: block;
}

.btn-nav-discord-icon:hover {
    background: linear-gradient(135deg, #6c78ff 0%, #5865F2 100%);
    box-shadow: 0 0 28px rgba(88, 101, 242, 0.85), 0 0 12px rgba(255, 255, 255, 0.5);
    transform: scale(1.08) translateY(-1px);
    color: #ffffff !important;
}

.btn-nav-discord-icon:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

.btn-nav-discord-icon:active {
    transform: scale(0.96);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
    overflow: visible;
}

.hero-banner-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(157, 78, 221, 0.25);
    margin-bottom: 40px;
    background: #110d24;
    transform: translateZ(0);
    contain: layout paint;
}

.hero-banner-img {
    width: 100%;
    height: 760px;
    min-height: 560px;
    max-height: 860px;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.8s ease;
}

.hero-banner-video {
    width: 100%;
    height: 760px;
    min-height: 560px;
    max-height: 860px;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: translateZ(0);
}

.hero-banner-container:hover .hero-banner-img {
    transform: scale(1.02);
}

/* Hero Overlay with subtle neon gradients & vignette */
.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 8, 21, 0.1) 0%,
        rgba(10, 8, 21, 0.35) 60%,
        rgba(10, 8, 21, 0.95) 100%
    );
    pointer-events: none;
}

/* ==========================================================================
   AUTHENTIC ASYNCHRONOUS NEON TUBE SIGNS (HERO BANNER)
   Completely out-of-sync flickering, independent voltage spikes & gas-discharge glows
   ========================================================================== */

/* Neon Sign 1 (Top-Left): Cyan Neon Gas Tube ("HIGH VIBES • MULTIGAMING") */
.neon-sign-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(10, 8, 21, 0.94);
    border: 1.5px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 
        0 0 16px rgba(0, 212, 255, 0.7),
        0 0 35px rgba(0, 212, 255, 0.35),
        inset 0 0 10px rgba(0, 212, 255, 0.2);
    text-shadow: 
        0 0 8px rgba(0, 212, 255, 0.9),
        0 0 20px rgba(0, 212, 255, 0.45);
    z-index: 5;
    transform: translateZ(0);
    will-change: opacity;
    animation: neonTubeFlickerCyan 7.3s infinite ease-in-out;
    user-select: none;
}

@keyframes neonTubeFlickerCyan {
    0%, 17.2%, 17.8%, 19.2%, 20.6%, 61.2%, 61.8%, 63.4%, 88.2%, 89.4%, 100% {
        opacity: 1;
    }
    17.3%, 17.7% {
        opacity: 0.42;
    }
    18.0%, 19.0% {
        opacity: 0.65;
    }
    19.1% {
        opacity: 1;
    }
    61.3%, 61.7% {
        opacity: 0.35;
    }
    61.9%, 63.2% {
        opacity: 0.72;
    }
    63.3% {
        opacity: 1;
    }
    88.3%, 89.2% {
        opacity: 0.6;
    }
}

/* Neon Sign 2 (Top-Right): Magenta/Pink Neon Gas Tube ("ALL ARE WELCOME • 18+ COMMUNITY") */
.neon-tag-right {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(10, 8, 21, 0.94);
    border: 1.5px solid var(--neon-pink);
    color: var(--neon-pink);
    font-family: var(--font-fun);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 
        0 0 16px rgba(255, 51, 136, 0.7),
        0 0 35px rgba(255, 51, 136, 0.35),
        inset 0 0 10px rgba(255, 51, 136, 0.2);
    text-shadow: 
        0 0 8px rgba(255, 51, 136, 0.9),
        0 0 20px rgba(255, 51, 136, 0.45);
    z-index: 5;
    transform: translateZ(0);
    will-change: opacity;
    animation: neonTubeFlickerMagenta 9.1s infinite ease-in-out -2.7s;
    user-select: none;
}

@keyframes neonTubeFlickerMagenta {
    0%, 33.2%, 33.8%, 35.2%, 36.6%, 71.4%, 72.0%, 73.4%, 83.2%, 84.4%, 100% {
        opacity: 1;
    }
    33.3%, 33.7% {
        opacity: 0.38;
    }
    35.3%, 36.4% {
        opacity: 0.62;
    }
    36.5% {
        opacity: 1;
    }
    71.5%, 71.9% {
        opacity: 0.35;
    }
    72.1%, 73.2% {
        opacity: 0.72;
    }
    83.3%, 84.2% {
        opacity: 0.58;
    }
}

/* Neon Sign 3 (Bottom-Center): Cyan-to-Magenta Fade Neon Button ("Über uns") */
.hero-neon-join-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: auto;
    min-width: 280px;
    max-width: 90%;
    padding: 12px 38px;
    border-radius: var(--radius-full);
    background: 
        linear-gradient(rgba(10, 8, 21, 0.95), rgba(10, 8, 21, 0.95)) padding-box,
        linear-gradient(90deg, #00d4ff 0%, #9d4edd 50%, #ff3388 100%) border-box;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 
        -16px 0 28px rgba(0, 212, 255, 0.5),
        16px 0 28px rgba(255, 51, 136, 0.5),
        0 0 35px rgba(157, 78, 221, 0.35),
        inset 0 0 16px rgba(157, 78, 221, 0.2);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
    user-select: none;
    will-change: transform;
}

.hero-neon-join-btn:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.03) translateZ(0);
    filter: brightness(1.2);
    box-shadow: 
        -22px 0 36px rgba(0, 212, 255, 0.75),
        22px 0 36px rgba(255, 51, 136, 0.75),
        0 0 45px rgba(157, 78, 221, 0.6),
        inset 0 0 20px rgba(157, 78, 221, 0.35);
}

.hero-neon-join-btn:active {
    transform: translateX(-50%) translateY(1px) scale(0.99);
}

.hero-neon-join-content {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.hero-neon-join-icon {
    color: #00d4ff;
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.85));
    transition: transform 0.3s ease;
}

.hero-neon-join-btn:hover .hero-neon-join-icon {
    transform: rotate(-8deg) scale(1.15);
}

.hero-neon-join-text {
    font-family: var(--font-fun), var(--font-heading), sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00d4ff 0%, #ffffff 50%, #ff3388 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
}

.hero-neon-join-arrow {
    color: #ff3388;
    font-size: 1.35rem;
    font-weight: 800;
    filter: drop-shadow(0 0 7px rgba(255, 51, 136, 0.85));
    transition: transform 0.3s ease;
    display: inline-block;
    animation: neonArrowBounce 1.8s infinite ease-in-out;
}

@keyframes neonArrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

.hero-neon-join-btn:hover .hero-neon-join-arrow {
    animation-play-state: paused;
    transform: translateY(3px);
}

/* Smooth Soft Glow Pulse on Target Discord Hub ("Werde Teil von The Social Club") */
.discord-hub.highlight-pulse {
    animation: discordHubPulse 2s ease-out;
}

@keyframes discordHubPulse {
    0% {
        box-shadow: 0 0 0 rgba(0, 212, 255, 0);
        transform: scale(1);
    }
    30% {
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.7), 0 0 80px rgba(255, 51, 136, 0.5);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 rgba(0, 212, 255, 0);
        transform: scale(1);
    }
}

.hero-neon-join-btn:hover .hero-neon-join-arrow {
    transform: translateX(4px);
}

@keyframes neonTubeFlickerGradient {
    0%, 24.2%, 24.8%, 26.2%, 27.6%, 54.4%, 55.0%, 56.4%, 77.2%, 78.4%, 100% {
        opacity: 1;
    }
    24.3%, 24.7% {
        opacity: 0.55;
    }
    26.3%, 27.4% {
        opacity: 0.75;
    }
    27.5% {
        opacity: 1;
    }
    54.5%, 54.9% {
        opacity: 0.5;
    }
    55.1%, 56.2% {
        opacity: 0.8;
    }
    77.3%, 78.2% {
        opacity: 0.65;
    }
}

.hero-content {
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
}

.hero-logo-wrapper {
    margin-bottom: 20px;
    display: inline-block;
}

/* Interactive 3D Model in Hero / Über Uns Section */
.hero-3d-logo-placeholder {
    position: relative;
    width: min(980px, 94vw);
    height: 520px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-3d-logo-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    overflow: visible;
    transform-origin: center center;
    z-index: 2;
    will-change: transform, opacity;
}

.hero-3d-logo-container:active {
    cursor: grabbing;
}

/* 3D Logo Scrolled Background Mode ("nach hinten und im Hintergrund") */
.hero-3d-logo-container.is-backdrop-mode {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: min(980px, 94vw) !important;
    height: 520px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    filter: brightness(0.92) saturate(1.15) !important;
}

.hero-3d-logo-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    outline: none;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

.hero-3d-energy-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    max-width: 1300px;
    max-height: 750px;
    transform: translate3d(-50%, -50%, 0);
    background: radial-gradient(
        ellipse 55% 50% at 50% 50%,
        rgba(157, 78, 221, 0.36) 0%,
        rgba(255, 51, 136, 0.18) 25%,
        rgba(0, 212, 255, 0.08) 50%,
        rgba(0, 212, 255, 0.025) 70%,
        rgba(0, 212, 255, 0.005) 86%,
        rgba(8, 10, 13, 0) 100%
    );
    filter: blur(55px);
    -webkit-filter: blur(55px);
    pointer-events: none;
    z-index: 1;
    will-change: opacity;
}

.hero-3d-logo-container.is-backdrop-mode .hero-3d-energy-aura {
    width: 140%;
    height: 140%;
    max-width: 1400px;
    max-height: 800px;
    opacity: 0.28;
    filter: blur(70px);
    -webkit-filter: blur(70px);
}

.about-hero-desc,
.hero-buttons,
.stats-ribbon {
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-3d-logo-placeholder,
    .hero-3d-logo-container {
        height: 400px;
        width: min(860px, 94vw);
    }
    .hero-3d-logo-container.is-backdrop-mode {
        height: 400px !important;
        width: min(860px, 94vw) !important;
    }
    .hero-3d-energy-aura {
        width: 140%;
        height: 140%;
        filter: blur(40px);
        -webkit-filter: blur(40px);
    }
}

@media (max-width: 580px) {
    .hero-3d-logo-placeholder,
    .hero-3d-logo-container {
        height: 300px;
        width: 94vw;
    }
    .hero-3d-logo-container.is-backdrop-mode {
        height: 300px !important;
        width: 94vw !important;
    }
    .hero-3d-energy-aura {
        width: 145%;
        height: 145%;
        filter: blur(30px);
        -webkit-filter: blur(30px);
    }
}

.hero-logo-img {
    max-width: 860px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(255, 51, 136, 0.8)) drop-shadow(0 0 95px rgba(157, 78, 221, 0.6));
}

.hero-tagline {
    font-family: var(--font-tech);
    font-size: 1.35rem;
    letter-spacing: 5px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-description span {
    color: var(--text-highlight);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Stats Ribbon (Dynamic 3-Column Voice-First Roster) */
.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.stats-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.5), rgba(255, 51, 136, 0.5), transparent);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 6px 16px;
    position: relative;
    border-radius: var(--radius-sm);
    transition: background 0.25s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border-glass);
}

.stat-item-voice .stat-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 12px rgba(0, 255, 157, 0.6));
    animation: voiceMicPulse 2.5s infinite ease-in-out;
}

@keyframes voiceMicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(0, 255, 157, 0.9)); }
}

.stat-item-online .stat-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.6));
}

.stat-item-members .stat-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(157, 78, 221, 0.6));
}

.stat-number.stat-voice-val {
    background: linear-gradient(90deg, #00ff9d, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
    .stats-ribbon {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 20px;
    }
    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
        padding-bottom: 14px;
    }
}

.stat-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-highlight);
    line-height: 1.1;
    background: linear-gradient(90deg, #fff, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap !important;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap !important;
}

/* ==========================================================================
   FEATURED SUB-CLAN: ROG TEASER BANNER (BRIDGE SECTION)
   ========================================================================== */
.rog-spotlight-section {
    padding: 60px 0;
    position: relative;
}

.rog-spotlight-card {
    background: linear-gradient(135deg, rgba(9, 14, 18, 0.95) 0%, rgba(13, 27, 24, 0.9) 100%);
    border: 1px solid rgba(0, 255, 157, 0.4);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 255, 157, 0.15);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
}

/* Tactical Scanlines */
.rog-spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 2;
}

.rog-patch-box {
    position: relative;
    text-align: center;
    z-index: 3;
}

.rog-patch-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(0, 255, 157, 0.35));
    transition: transform 0.4s ease;
}

.rog-spotlight-card:hover .rog-patch-img {
    transform: scale(1.05) rotate(-1deg);
}

.rog-hud-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #03150b;
    border: 1px solid var(--neon-tactical);
    color: var(--neon-tactical);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.4);
}

.rog-spotlight-content {
    position: relative;
    z-index: 3;
}

.rog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    color: var(--neon-tactical);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.rog-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.rog-title span {
    color: var(--neon-tactical);
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.6);
}

.rog-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.rog-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.rog-pill {
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.25);
    color: #cbd5e1;
    font-family: var(--font-tech);
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rog-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-kicker {
    display: inline-block;
    font-family: var(--font-tech);
    color: var(--neon-pink);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-highlight);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-title.neon-glow {
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   ABOUT / VIBE SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.vibe-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.vibe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    opacity: 0;
    transition: var(--transition);
}

.vibe-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(157, 78, 221, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--glow-purple);
}

.vibe-card:hover::before {
    opacity: 1;
}

.vibe-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(157, 78, 221, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 22px;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.2);
    transition: var(--transition);
}

.vibe-card:hover .vibe-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 51, 136, 0.25);
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.vibe-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-highlight);
}

.vibe-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   GAMES & COMMUNITY SQUADS
   ========================================================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.game-card.featured-game {
    border-color: rgba(0, 255, 157, 0.5);
    background: linear-gradient(135deg, rgba(16, 26, 24, 0.85) 0%, rgba(22, 17, 39, 0.85) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 255, 157, 0.15);
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--glow-cyan);
}

.game-card.featured-game:hover {
    border-color: var(--neon-tactical);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 255, 157, 0.4);
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.game-badge {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-milsim {
    background: rgba(0, 255, 157, 0.15);
    color: var(--neon-tactical);
    border: 1px solid rgba(0, 255, 157, 0.4);
}

.badge-chill {
    background: rgba(255, 183, 3, 0.15);
    color: var(--neon-gold);
    border: 1px solid rgba(255, 183, 3, 0.4);
}

.badge-action {
    background: rgba(255, 51, 136, 0.15);
    color: var(--neon-pink);
    border: 1px solid rgba(255, 51, 136, 0.4);
}

.badge-survival {
    background: rgba(0, 212, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.game-emoji {
    font-size: 2.2rem;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-highlight);
    margin-bottom: 8px;
}

.game-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
    flex-grow: 1;
}

.game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-glass);
}

.game-players {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-link {
    color: var(--neon-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.game-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* ==========================================================================
   TOWELIE'S CHILL CORNER (INTERACTIVE MASCOT WIDGET)
   ========================================================================== */
.towelie-section {
    padding: 60px 0;
}

.towelie-box {
    background: linear-gradient(135deg, rgba(28, 20, 52, 0.8) 0%, rgba(15, 11, 30, 0.9) 100%);
    border: 1px solid rgba(157, 78, 221, 0.4);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--glow-purple);
    position: relative;
    overflow: hidden;
}

.towelie-img-wrap {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.towelie-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.towelie-img-wrap:hover .towelie-img {
    transform: scale(1.05) rotate(2deg);
}

.towelie-click-hint {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--neon-gold);
    font-family: var(--font-fun);
    animation: gentleGlow 2s infinite alternate;
}

.towelie-dialogue {
    position: relative;
}

.towelie-quote-bubble {
    background: rgba(10, 8, 21, 0.9);
    border: 2px solid var(--neon-pink);
    border-radius: 20px 20px 20px 0px;
    padding: 24px 28px;
    color: #ffffff;
    font-family: var(--font-fun);
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 20px;
    box-shadow: var(--glow-pink);
    min-height: 90px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.towelie-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   COMMUNITY RULES / CHILL CODE
   ========================================================================== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.rule-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 51, 136, 0.4);
    transform: translateX(6px);
}

.rule-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-pink);
    line-height: 1;
    min-width: 40px;
}

.rule-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-highlight);
}

.rule-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   EVENT SCHEDULE
   ========================================================================== */
.events-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: var(--transition);
}

.event-card.rog-event {
    border-color: rgba(0, 255, 157, 0.4);
    background: linear-gradient(180deg, rgba(14, 28, 22, 0.8) 0%, rgba(10, 8, 21, 0.9) 100%);
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.event-day {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.event-card.rog-event .event-day {
    color: var(--neon-tactical);
}

.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-highlight);
    margin-bottom: 8px;
}

.event-time {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffd166;
}

.event-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   DISCORD & JOIN HUB
   ========================================================================== */
.discord-hub {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(22, 17, 39, 0.9) 100%);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(88, 101, 242, 0.25);
    position: relative;
    overflow: hidden;
}

.discord-logo-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.7);
}

.discord-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: #ffffff;
}

.discord-desc {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

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

/* Toast Notification */
.toast-notice {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 8, 21, 0.95);
    border: 1px solid var(--neon-cyan);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    box-shadow: var(--glow-cyan);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ==========================================================================
   FOOTER (ENHANCED PREMIUM NEON LOUNGE DESIGN)
   ========================================================================== */
.site-footer {
    padding: 70px 0 120px !important;
    background: linear-gradient(180deg, rgba(8, 6, 17, 0.98) 0%, rgba(4, 3, 9, 1) 100%);
    border-top: 1px solid rgba(157, 78, 221, 0.25);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--neon-pink) 25%, var(--neon-purple) 50%, var(--neon-cyan) 75%, transparent 100%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5), 0 0 25px rgba(255, 51, 136, 0.4);
}

body.has-docked-telemetry .site-footer {
    padding-bottom: 130px !important;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.1fr 1.6fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.6));
    transition: var(--transition);
}

.footer-brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.footer-brand-tagline {
    font-family: var(--font-tech);
    font-size: 0.72rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-brand-tagline .tag-18-red,
.tag-18-red {
    color: #ff3344 !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 51, 68, 0.65), 0 0 20px rgba(255, 51, 68, 0.35);
    letter-spacing: 1.5px;
}

.footer-desc {
    color: #cbd5e1;
    font-size: 0.94rem;
    line-height: 1.75;
    max-width: 440px;
    margin: 0;
}

.footer-pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-tech);
    font-size: 0.74rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.footer-col-wrap {
    display: flex;
    flex-direction: column;
}

.footer-col-kicker {
    font-family: var(--font-tech);
    font-size: 0.72rem;
    color: var(--neon-pink);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-highlight);
    margin-bottom: 18px;
    white-space: nowrap !important;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
    white-space: nowrap !important;
}

.footer-link-bullet {
    color: var(--neon-cyan);
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-link:hover .footer-link-bullet {
    color: var(--neon-pink);
    transform: translateX(2px);
}

/* Discord Live Community Card in Footer */
.footer-discord-card {
    background: linear-gradient(135deg, rgba(28, 20, 52, 0.85) 0%, rgba(16, 12, 32, 0.92) 100%);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(88, 101, 242, 0.15);
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(10px);
}

.footer-discord-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-tech);
    font-size: 0.72rem;
    color: var(--neon-tactical);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--neon-tactical);
    box-shadow: 0 0 8px var(--neon-tactical);
    animation: livePulse 1.8s infinite;
}

.footer-discord-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.footer-discord-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.86rem;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-badge {
    color: var(--neon-cyan);
    text-decoration: underline;
    transition: var(--transition);
}

.footer-legal-badge:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .about-grid, .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .events-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .rog-spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rog-highlights, .rog-actions {
        justify-content: center;
    }
    .towelie-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .towelie-controls {
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .nav-brand-3d-box {
        width: 200px;
        height: 60px;
    }
    .nav-menu {
        gap: 8px;
    }
    .nav-link {
        font-size: 0.84rem;
        padding: 5px 7px;
    }
    .nav-badge-rog {
        padding: 4px 9px;
        font-size: 0.78rem;
    }
}

@media (max-width: 1040px) {
    .nav-brand-3d-box {
        width: 175px;
        height: 52px;
    }
    .nav-menu {
        gap: 6px;
    }
    .nav-link {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
    .btn-discord.btn-sm {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 960px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 4, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(157, 78, 221, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
        display: none;
    }
    .nav-menu.open {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-item-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .nav-event-dropdown {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: none;
        background: rgba(0, 212, 255, 0.06);
        border: 1px solid rgba(0, 212, 255, 0.25);
        margin-top: 6px;
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .about-grid, .games-grid, .rules-grid, .events-timeline {
        grid-template-columns: 1fr;
    }
    .stats-ribbon {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border-glass);
        padding-bottom: 12px;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    /* Responsive Hero Neon Tube Badges & Join Us Button (Stacked to prevent overlap) */
    .neon-sign-badge {
        position: absolute;
        top: 14px;
        left: 14px;
        right: auto;
        padding: 6px 12px;
        font-size: 0.70rem;
        letter-spacing: 1px;
    }
    .neon-tag-right {
        position: absolute;
        top: 48px;
        left: 14px;
        right: auto;
        padding: 6px 12px;
        font-size: 0.70rem;
        letter-spacing: 1px;
    }
    .hero-neon-join-btn {
        bottom: 14px;
        min-width: 230px;
        max-width: 92%;
        padding: 10px 24px;
        gap: 10px;
    }
    .hero-neon-join-text {
        font-size: 0.98rem;
        letter-spacing: 1.2px;
    }
    .hero-neon-join-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .neon-sign-badge {
        top: 12px;
        left: 12px;
        right: auto;
        padding: 5px 10px;
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }
    .neon-tag-right {
        top: 44px;
        left: 12px;
        right: auto;
        padding: 5px 10px;
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }
    .hero-neon-join-btn {
        bottom: 12px;
        min-width: 190px;
        max-width: 95%;
        padding: 9px 18px;
        gap: 8px;
    }
    .hero-neon-join-text {
        font-size: 0.84rem;
        letter-spacing: 0.8px;
    }
    .hero-neon-join-arrow {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   CLAN DIVISIONS SHOWCASE (WARDOGS & ROG)
   ========================================================================== */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 36px;
}

.division-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 34px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.division-card:hover {
    transform: translateY(-6px);
}

.division-card.wardogs {
    border-color: rgba(251, 133, 0, 0.4);
    background: radial-gradient(circle at top right, rgba(251, 133, 0, 0.14), transparent 60%), var(--bg-card);
}

.division-card.wardogs:hover {
    border-color: var(--neon-amber);
    box-shadow: 0 12px 40px rgba(251, 133, 0, 0.25), 0 0 20px rgba(251, 133, 0, 0.15);
}

.division-card.rog {
    border-color: rgba(0, 255, 157, 0.4);
    background: radial-gradient(circle at top right, rgba(0, 255, 157, 0.14), transparent 60%), var(--bg-card);
}

.division-card.rog:hover {
    border-color: var(--neon-tactical);
    box-shadow: 0 12px 40px rgba(0, 255, 157, 0.25), 0 0 20px rgba(0, 255, 157, 0.15);
}

.division-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-family: var(--font-tech);
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
    align-self: flex-start;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.wardogs .division-badge-pill {
    background: rgba(251, 133, 0, 0.18);
    color: var(--neon-amber);
    border: 1px solid rgba(251, 133, 0, 0.5);
    box-shadow: 0 0 12px rgba(251, 133, 0, 0.25);
}

.rog .division-badge-pill {
    background: rgba(0, 255, 157, 0.18);
    color: var(--neon-tactical);
    border: 1px solid rgba(0, 255, 157, 0.5);
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.25);
}

.division-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.division-patch-img {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.division-patch-img.wardogs-game-cover {
    width: 140px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(251, 133, 0, 0.45);
}

.division-card:hover .division-patch-img {
    transform: scale(1.05) rotate(-2deg);
}

.division-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.wardogs .division-title span {
    color: var(--neon-amber);
}

.rog .division-title span {
    color: var(--neon-tactical);
}

.division-sub {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.division-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.division-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.division-feature-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-main);
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.3;
    flex-shrink: 0;
}

.division-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* ==========================================================================
   DISCORD LIVE HUB & MEMBER SHOWCASE
   ========================================================================== */
.discord-live-container {
    background: radial-gradient(circle at top, rgba(88, 101, 242, 0.14) 0%, transparent 65%), var(--bg-card);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: var(--radius-lg);
    padding: 38px;
    position: relative;
    backdrop-filter: blur(16px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    margin-top: 30px;
}

.discord-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
}

.discord-live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(35, 165, 90, 0.18);
    border: 1px solid rgba(35, 165, 90, 0.45);
    color: #23a55a;
    font-size: 0.85rem;
    font-family: var(--font-tech);
    font-weight: 700;
}

.live-pulse-dot {
    width: 10px;
    height: 10px;
    background: #23a55a;
    border-radius: 50%;
    box-shadow: 0 0 12px #23a55a;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.discord-stats-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.discord-stat-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    white-space: nowrap !important;
    flex-shrink: 0;
}

.discord-stat-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-tech);
    white-space: nowrap !important;
}

.discord-stat-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap !important;
}

.discord-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.discord-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.discord-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.discord-tab-btn.active, .discord-tab-btn:hover {
    background: rgba(88, 101, 242, 0.3);
    border-color: #5865f2;
    color: #fff;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.tab-count {
    display: inline-block;
    padding: 1px 7px;
    font-size: 0.72rem;
    font-family: var(--font-tech);
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    margin-left: 5px;
    font-weight: 700;
    transition: background 0.2s ease;
    white-space: nowrap !important;
}

.discord-tab-btn.active .tab-count {
    background: #5865f2;
    color: #fff;
    box-shadow: 0 0 8px rgba(88, 101, 242, 0.7);
}

.discord-sort-hint {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-tech);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.discord-sort-hint strong {
    color: var(--neon-cyan);
}

.discord-search-box {
    position: relative;
    min-width: 260px;
}

.discord-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    padding: 9px 18px 9px 38px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.discord-search-input:focus {
    border-color: #5865f2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.discord-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    opacity: 0.6;
}

.discord-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 6px;
}

.discord-members-grid::-webkit-scrollbar {
    width: 6px;
}

.discord-members-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.discord-members-grid::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.5);
    border-radius: 4px;
}

.member-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    transition: var(--transition);
}

.member-card:hover {
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.member-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.member-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #1c182d;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.member-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #0f0c1c;
}

.status-online { background-color: #23a55a; box-shadow: 0 0 6px #23a55a; }
.status-idle { background-color: #f0b232; box-shadow: 0 0 6px #f0b232; }
.status-dnd { background-color: #f23f43; box-shadow: 0 0 6px #f23f43; }
.status-offline { background-color: #80848e; }

.member-info {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Row 1: Full Username, unobstructed by badges */
.member-name-row {
    width: 100%;
    min-width: 0;
    margin-bottom: 3px;
}

.member-username-text {
    font-size: 0.94rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
    line-height: 1.25;
}

/* Row 2: Badges Row */
.member-badges-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    min-width: 0;
}

.member-badge-tag {
    font-size: 0.67rem;
    padding: 2.5px 7.5px;
    border-radius: 4px;
    font-family: var(--font-tech);
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.tag-founder {
    background: rgba(255, 183, 3, 0.22);
    color: #ffb703;
    border: 1px solid rgba(255, 183, 3, 0.65);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.35);
}

.tag-admin {
    background: rgba(88, 101, 242, 0.22);
    color: #7289da;
    border: 1px solid rgba(88, 101, 242, 0.65);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.35);
}

.tag-member {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-bot {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.tag-voice {
    background: rgba(0, 255, 157, 0.22);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.65);
    box-shadow: 0 0 8px rgba(0, 255, 157, 0.35);
}

.tag-voice-muted {
    background: rgba(245, 158, 11, 0.22);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.tag-voice-deaf {
    background: rgba(239, 68, 68, 0.22);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

/* Card Special States */
.member-card.in-voice {
    border-color: rgba(0, 255, 157, 0.45) !important;
    background: linear-gradient(135deg, rgba(8, 28, 20, 0.88) 0%, rgba(14, 22, 32, 0.88) 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 255, 157, 0.14) !important;
}

.member-card.in-voice .member-avatar {
    border-color: #00ff9d !important;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.member-card.is-founder {
    border-color: rgba(255, 183, 3, 0.5) !important;
    background: rgba(28, 23, 14, 0.88) !important;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.16) !important;
}

.member-card.is-admin {
    border-color: rgba(88, 101, 242, 0.5) !important;
    background: rgba(18, 20, 36, 0.88) !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.16) !important;
}

/* Row 3: Activity / Game */
.member-activity {
    font-size: 0.76rem;
    color: var(--neon-cyan);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.member-voice {
    font-size: 0.72rem;
    color: #00ff9d;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-family: var(--font-tech);
}

.member-voice-partners {
    font-size: 0.72rem;
    color: #00ff9d;
    margin-top: 3px;
    line-height: 1.3;
    font-family: var(--font-tech);
}

.member-voice-partners strong {
    color: #ffffff;
}

/* ==========================================================================
   VOICE CHANNEL ROOMS CONTAINER, DYNAMIC BACKGROUNDS & ACCORDION
   ========================================================================== */

/* Multi-channel master controls toolbar */
.voice-master-controls {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: rgba(18, 22, 36, 0.75);
    border: 1px solid rgba(0, 255, 157, 0.25);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.voice-master-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.voice-master-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Base Voice Room Wrapper */
.voice-room-wrapper {
    grid-column: 1 / -1;
    --room-glow-color: rgba(0, 255, 157, 0.16);
    --room-border-color: rgba(0, 255, 157, 0.45);
    background: linear-gradient(135deg, rgba(6, 26, 18, 0.92) 0%, rgba(12, 22, 34, 0.88) 100%);
    border: 1px solid var(--room-border-color);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px var(--room-glow-color);
    transition: background 0.5s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Dynamic Themes based on Game and Channel Activity */
.voice-room-wrapper.theme-arma-reforger {
    --room-glow-color: rgba(0, 255, 157, 0.24);
    --room-border-color: rgba(0, 255, 157, 0.55);
    background: radial-gradient(circle at 85% 15%, rgba(0, 255, 157, 0.15) 0%, transparent 60%),
                linear-gradient(135deg, rgba(8, 28, 20, 0.95) 0%, rgba(14, 26, 22, 0.9) 50%, rgba(6, 16, 12, 0.95) 100%);
}

.voice-room-wrapper.theme-wardogs {
    --room-glow-color: rgba(0, 229, 255, 0.22);
    --room-border-color: rgba(0, 229, 255, 0.55);
    background: radial-gradient(circle at 85% 15%, rgba(0, 229, 255, 0.15) 0%, transparent 60%),
                linear-gradient(135deg, rgba(10, 26, 38, 0.95) 0%, rgba(14, 30, 46, 0.9) 50%, rgba(8, 18, 30, 0.95) 100%);
}

.voice-room-wrapper.theme-gaming {
    --room-glow-color: rgba(138, 75, 255, 0.24);
    --room-border-color: rgba(138, 75, 255, 0.55);
    background: radial-gradient(circle at 85% 15%, rgba(138, 75, 255, 0.16) 0%, transparent 60%),
                linear-gradient(135deg, rgba(22, 14, 38, 0.95) 0%, rgba(15, 20, 42, 0.9) 50%, rgba(9, 12, 26, 0.95) 100%);
}

.voice-room-wrapper.theme-lounge {
    --room-glow-color: rgba(88, 101, 242, 0.22);
    --room-border-color: rgba(0, 255, 157, 0.45);
    background: radial-gradient(circle at 85% 15%, rgba(88, 101, 242, 0.16) 0%, rgba(0, 255, 157, 0.08) 50%, transparent 70%),
                linear-gradient(135deg, rgba(16, 20, 36, 0.95) 0%, rgba(10, 26, 24, 0.9) 50%, rgba(8, 12, 22, 0.95) 100%);
}

.voice-room-wrapper:hover {
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.65), 0 0 35px var(--room-glow-color);
}

/* Collapsed state styling */
.voice-room-wrapper.is-collapsed {
    padding-bottom: 18px;
    background: rgba(12, 18, 28, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.voice-room-wrapper.is-collapsed:hover {
    border-color: var(--room-border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px var(--room-glow-color);
}

/* Interactive Channel Header */
.voice-room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    padding: 2px 0;
    border-radius: var(--radius-sm);
    transition: opacity 0.2s ease;
}

.voice-room-header:hover {
    opacity: 0.96;
}

.voice-room-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Audio wave visualizer bars */
.voice-audio-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 16px;
    margin-right: 2px;
}

.voice-audio-bars .vbar {
    width: 3px;
    background: #00ff9d;
    border-radius: 2px;
    animation: audioWaveBar 1.2s ease-in-out infinite alternate;
}

.voice-audio-bars .vbar:nth-child(1) { height: 6px; animation-delay: 0.05s; }
.voice-audio-bars .vbar:nth-child(2) { height: 15px; animation-delay: 0.35s; }
.voice-audio-bars .vbar:nth-child(3) { height: 9px; animation-delay: 0.15s; }
.voice-audio-bars .vbar:nth-child(4) { height: 16px; animation-delay: 0.5s; }

@keyframes audioWaveBar {
    0% { height: 4px; opacity: 0.6; }
    100% { height: 16px; opacity: 1; }
}

.voice-room-title {
    font-family: 'Chakra Petch', var(--font-heading), sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.voice-together-counter {
    background: rgba(0, 255, 157, 0.16);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.4);
    padding: 2.5px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    font-family: var(--font-tech);
    letter-spacing: 0.5px;
}

.voice-room-game-pill {
    background: rgba(0, 229, 255, 0.16);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, 0.4);
    padding: 2.5px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    font-family: var(--font-tech);
    letter-spacing: 0.4px;
}

.voice-room-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar Preview Stack in Header */
.voice-room-avatar-stack {
    display: flex;
    align-items: center;
}

.voice-room-avatar-stack .stack-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #0f1320;
    margin-left: -8px;
    object-fit: cover;
    background: #1c182d;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.voice-room-avatar-stack .stack-avatar:first-child {
    margin-left: 0;
}

.voice-room-avatar-stack .stack-avatar:hover {
    transform: translateY(-3px) scale(1.15);
    z-index: 5;
    border-color: #00ff9d;
}

.voice-room-avatar-stack .stack-avatar-more {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 255, 157, 0.22);
    border: 2px solid #0f1320;
    margin-left: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #00ff9d;
    font-family: var(--font-tech);
}

/* Accordion Toggle Button */
.voice-room-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 20px;
    font-family: var(--font-tech);
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(0, 255, 157, 0.12);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.voice-room-toggle-btn:hover {
    background: rgba(0, 255, 157, 0.25);
    border-color: #00ff9d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

.voice-room-toggle-btn .toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

/* Collapsible Content Area */
.voice-room-collapsible {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.voice-room-collapsible.expanded {
    max-height: 4000px;
    opacity: 1;
    margin-top: 16px;
    overflow: visible;
}

.voice-room-collapsible.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    pointer-events: none;
}

.voice-together-bar {
    background: rgba(0, 255, 157, 0.08);
    border-left: 3px solid #00ff9d;
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 16px;
    font-family: var(--font-tech);
}

.voice-together-bar strong {
    color: #ffffff;
}

.voice-partner-divider {
    color: #00ff9d;
    margin: 0 6px;
    opacity: 0.8;
}

.voice-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 14px;
}

.members-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 14px;
}

.voice-empty-box {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.roster-section-divider {
    grid-column: 1 / -1;
    font-family: var(--font-tech);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.roster-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.4), transparent);
}

.members-subgrid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

/* ==========================================================================
   DYNAMIC DISCORD EVENTS & RSVP
   ========================================================================== */
.events-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}
.events-filter-bar::-webkit-scrollbar {
    display: none;
}
.event-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.event-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-1px);
}
.event-tab-btn.active {
    background: rgba(0, 212, 255, 0.14);
    border-color: var(--neon-cyan);
    color: #fff;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}
.event-tab-btn[data-filter="rog"].active {
    background: rgba(0, 255, 157, 0.14);
    border-color: var(--neon-tactical);
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.25);
}
.event-tab-btn[data-filter="wardogs"].active {
    background: rgba(251, 133, 0, 0.14);
    border-color: var(--neon-amber);
    box-shadow: 0 0 16px rgba(251, 133, 0, 0.25);
}
.event-tab-btn[data-filter="community"].active {
    background: rgba(157, 78, 221, 0.16);
    border-color: var(--neon-purple);
    box-shadow: 0 0 16px rgba(157, 78, 221, 0.25);
}
.event-tab-count {
    font-family: var(--font-tech);
    font-size: 0.74rem;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-muted);
}
.event-tab-btn.active .event-tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-cal-launch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}
.btn-cal-launch:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.55);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.events-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 14px;
    padding: 4px;
}

.event-live-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 22px 20px 20px;
    position: relative;
    backdrop-filter: blur(14px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.event-live-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.event-live-card.event-rog {
    border-top: 3px solid var(--neon-tactical);
}
.event-live-card.event-rog:hover {
    border-color: rgba(0, 255, 157, 0.45);
}

.event-live-card.event-wardogs {
    border-top: 3px solid var(--neon-amber);
}
.event-live-card.event-wardogs:hover {
    border-color: rgba(251, 133, 0, 0.45);
}

.event-live-card.event-community {
    border-top: 3px solid var(--neon-purple);
}
.event-live-card.event-community:hover {
    border-color: rgba(157, 78, 221, 0.45);
}

.event-card-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.event-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.event-live-card .division-badge-pill {
    margin-bottom: 0 !important;
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    max-width: 56%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
}

.event-live-card.event-rog .division-badge-pill,
.division-badge-pill.badge-rog {
    background: rgba(0, 255, 157, 0.15);
    color: var(--neon-tactical);
    border: 1px solid rgba(0, 255, 157, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.15);
}

.event-live-card.event-wardogs .division-badge-pill,
.division-badge-pill.badge-wardogs {
    background: rgba(251, 133, 0, 0.15);
    color: var(--neon-amber);
    border: 1px solid rgba(251, 133, 0, 0.4);
    box-shadow: 0 0 10px rgba(251, 133, 0, 0.15);
}

.event-live-card.event-community .division-badge-pill,
.division-badge-pill.badge-community {
    background: rgba(157, 78, 221, 0.15);
    color: #c77dff;
    border: 1px solid rgba(157, 78, 221, 0.4);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

.event-countdown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-tech);
    font-size: 0.72rem;
    color: var(--neon-gold);
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.35);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    white-space: nowrap !important;
    flex-shrink: 0;
    margin-left: auto;
    box-sizing: border-box;
}

.event-title-h3 {
    font-size: 1.22rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-time-badge {
    font-family: var(--font-tech);
    font-size: 0.84rem;
    color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}

.event-location-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.event-desc-p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.1em;
}

/* Card Lower Footer */
.event-card-footer {
    padding-top: 18px;
    border-top: 1px solid var(--border-glass);
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-slots-progress-box {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.event-slots-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}

.event-slots-count {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-slots-count strong {
    color: #fff;
    font-weight: 700;
}

.event-slot-status-pill {
    font-family: var(--font-tech);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.event-slot-status-pill.status-open {
    color: var(--neon-tactical);
    background: rgba(0, 255, 157, 0.12);
    border: 1px solid rgba(0, 255, 157, 0.35);
}

.event-slot-status-pill.status-full {
    color: #ff4d6d;
    background: rgba(255, 77, 109, 0.12);
    border: 1px solid rgba(255, 77, 109, 0.35);
}

.event-slots-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.event-slots-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.event-slots-fill.fill-rog {
    background: linear-gradient(90deg, #00d4ff, #00ff9d);
}

.event-slots-fill.fill-wardogs {
    background: linear-gradient(90deg, #ffb703, #fb8500);
}

.event-slots-fill.fill-community {
    background: linear-gradient(90deg, #00d4ff, #9d4edd);
}

/* Symmetrical Action Buttons */
.event-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.btn-event-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-event-slot:hover {
    background: rgba(0, 212, 255, 0.18);
    border-color: var(--neon-cyan);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

.btn-event-rsvp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-event-rsvp:hover {
    background: linear-gradient(135deg, #6d78f5 0%, #5865f2 100%);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 4, 13, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #120e22;
    border: 1px solid rgba(88, 101, 242, 0.45);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 34px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(88, 101, 242, 0.35);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #fff;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #5865f2;
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
}

/* Floating Discord Badge */
.floating-discord-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.floating-discord-badge:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 40px rgba(88, 101, 242, 0.85);
    color: #ffffff !important;
}

.floating-discord-badge .live-dot {
    width: 10px;
    height: 10px;
    background: #00ff9d;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff9d;
    animation: pulseDot 1.8s infinite;
}

/* ==========================================================================
   FLOATING SLOW-MOTION SCROLL CANCEL BUTTON (APPEARS AT BOTTOM RIGHT)
   ========================================================================== */
.btn-cancel-slow-scroll {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10005;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: rgba(14, 10, 26, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid var(--neon-pink);
    color: #ffffff;
    font-family: var(--font-tech), sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(255, 51, 136, 0.65), 0 8px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.92);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s, box-shadow 0.25s ease;
}

.btn-cancel-slow-scroll.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.btn-cancel-slow-scroll:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(26, 12, 36, 0.96);
    box-shadow: 0 0 35px rgba(255, 51, 136, 0.9), 0 10px 35px rgba(0, 0, 0, 0.85);
    border-color: #ff559f;
}

.btn-cancel-slow-scroll:active {
    transform: translateY(0) scale(0.97);
}

.cancel-scroll-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3388;
    box-shadow: 0 0 12px #ff3388, 0 0 20px rgba(255, 51, 136, 0.8);
    animation: pulseRedDot 1.4s infinite;
}

@keyframes pulseRedDot {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 18px #ff3388, 0 0 30px rgba(255, 51, 136, 1);
    }
}

.cancel-scroll-icon {
    font-size: 0.85rem;
    color: #ff3388;
}

/* While slow-scrolling is active, temporarily hide the normal Discord badge so Abbrechen gets 100% focus */
body.is-slow-scrolling .floating-discord-badge {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(15px) scale(0.9) !important;
}

/* ==========================================================================
   AMBIENT HIGH-PERFORMANCE BACKDROP (0% CPU VIDEO OVERHEAD)
   ========================================================================== */
.ambient-glow-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    pointer-events: none;
    background: 
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.14) 0%, transparent 60%),
        radial-gradient(circle at 10% 45%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 75%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        #0b0d11;
}

/* ==========================================================================
   TOP TELEMETRY & DISCORD LIVE STATUS TICKER (DOCKS TO BOTTOM ON SCROLL)
   ========================================================================== */
.telemetry-bar-placeholder {
    min-height: 33px;
    position: relative;
    z-index: 998;
}

.top-telemetry-bar {
    background: #07090c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 7px 0;
    font-family: var(--font-tech);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    position: relative;
    width: 100%;
    z-index: 998;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, background 0.3s ease, box-shadow 0.4s ease;
}

/* Smooth Docking to the Bottom Edge of Screen on Scroll */
.top-telemetry-bar.docked-bottom {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(7, 9, 12, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: none;
    border-top: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 212, 255, 0.18);
    padding: 8px 0;
    animation: dockGlideToBottom 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dockGlideToBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Elevate Floating Discord Badge & Cancel Button when Bottom Dock is Active */
body.has-docked-telemetry .floating-discord-badge,
body.has-docked-telemetry .btn-cancel-slow-scroll {
    bottom: 54px;
    transition: bottom 0.3s ease;
}

.telemetry-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
}

.telemetry-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.telemetry-stats {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.telemetry-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.telemetry-item span {
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

.telemetry-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

/* ==========================================================================
   SMOOTH RUNNING TEXT / LAUFTEXT MARQUEE FÜR AKTIVE GAMES
   ========================================================================== */
.telemetry-marquee-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    contain: layout paint;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.telemetry-marquee-wrapper::before,
.telemetry-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 3;
    pointer-events: none;
}

.telemetry-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #07090c 0%, rgba(7, 9, 12, 0) 100%);
}

.telemetry-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, rgba(7, 9, 12, 0) 0%, #07090c 100%);
}

.top-telemetry-bar.docked-bottom .telemetry-marquee-wrapper::before {
    background: linear-gradient(90deg, rgba(7, 9, 12, 0.98) 0%, rgba(7, 9, 12, 0) 100%);
}

.top-telemetry-bar.docked-bottom .telemetry-marquee-wrapper::after {
    background: linear-gradient(90deg, rgba(7, 9, 12, 0) 0%, rgba(7, 9, 12, 0.98) 100%);
}

.telemetry-marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    cursor: default;
}

.telemetry-marquee-track.is-marquee {
    animation: telemetryMarqueeScroll var(--ticker-duration, 28s) linear infinite;
}

.telemetry-marquee-track:hover {
    animation-play-state: paused;
}

.telemetry-marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 48px;
    white-space: nowrap;
    color: #cbd5e1;
    font-size: 0.77rem;
    font-weight: 500;
}

.telemetry-marquee-content .activity-badge,
.telemetry-marquee-content .rec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.55);
    color: #ff4d6d;
    padding: 2px 9px 2px 7px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-shadow: 0 0 10px rgba(255, 51, 85, 0.6);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.25);
    line-height: 1.2;
}

.telemetry-marquee-content .rec-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #ff2a4b;
    box-shadow: 0 0 6px #ff2a4b, 0 0 10px rgba(255, 42, 75, 0.85);
    animation: recDotBlink 1.4s ease-in-out infinite;
    display: inline-block;
    flex-shrink: 0;
    will-change: opacity;
}

@keyframes recDotBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.25;
    }
}

.telemetry-marquee-content .game-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 2px 9px;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.telemetry-marquee-content .game-tag:hover {
    background: rgba(0, 212, 255, 0.16);
    border-color: rgba(0, 212, 255, 0.5);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.25);
}

.telemetry-marquee-content .game-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.65rem;
}

@keyframes telemetryMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 992px) {
    .telemetry-stats {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .telemetry-brand strong {
        display: none;
    }
}

/* ==========================================================================
   3D LOGO PRELOADER / 3D FLY-IN LADEANIMATION
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #080a0d;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: background 0.7s ease, opacity 0.7s ease;
}

.preloader-overlay.fly-in {
    background: transparent !important;
    pointer-events: none;
}

.preloader-overlay.fly-in .preloader-backdrop-glow,
.preloader-overlay.fly-in .preloader-meta {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.preloader-overlay.fly-in .logo-3d-wrapper {
    animation: none !important;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
}

.preloader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.preloader-backdrop-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.4) 0%, rgba(255, 51, 136, 0.22) 40%, rgba(0, 212, 255, 0.12) 70%, transparent 100%);
    filter: blur(65px);
    animation: pulseBackdropGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseBackdropGlow {
    0% { transform: scale(0.85); opacity: 0.55; }
    100% { transform: scale(1.2); opacity: 1; }
}

.preloader-3d-scene {
    position: relative;
    perspective: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.logo-3d-wrapper {
    position: relative;
    width: 880px;
    max-width: 95vw;
    height: 380px;
    cursor: pointer;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Smooth Hardware-Accelerated Fade & 3D WebGL Glide (Zero Filter Blur Overhead) */
.logo-3d-wrapper.fly-in-from-side {
    opacity: 0;
    transition: none;
}

.logo-3d-wrapper.fly-in-settle {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Three.js Canvas Container - Pure WebGL Performance */
.three-logo-canvas-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.three-logo-canvas-container canvas {
    width: 100% !important;
    height: 100% !important;
    outline: none;
    display: block;
}

/* Ambient Radial Aura Behind 3D Logo */
.logo-energy-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 560px;
    max-width: 90vw;
    height: 230px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(157, 78, 221, 0.6) 0%, rgba(255, 51, 136, 0.35) 40%, rgba(0, 212, 255, 0.2) 70%, transparent 100%);
    filter: blur(45px);
    pointer-events: none;
    z-index: 1;
    animation: auraPulse 3.2s ease-in-out infinite alternate;
}

@keyframes auraPulse {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.65; }
    100% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}

/* Page Transition Mode */
.preloader-overlay.page-transition-mode {
    opacity: 0;
    transition: opacity 0.28s ease;
}

.preloader-overlay.page-transition-mode.transition-active,
.preloader-overlay.transition-active {
    opacity: 1 !important;
}

/* ==========================================================================
   PMC TACTICAL TRANSITION MODE (From Hauptseite to ROG)
   High-Tech Military Aesthetics: White Phosphor NVG (P45 Mil-Spec), Slate & HUD Grid
   ========================================================================== */
.preloader-overlay.transition-to-pmc {
    background: #0a0c0e !important;
}

.preloader-overlay.transition-to-pmc .preloader-backdrop-glow {
    background: radial-gradient(circle, rgba(188, 226, 245, 0.28) 0%, rgba(125, 165, 184, 0.12) 45%, rgba(10, 15, 20, 0.7) 75%, transparent 100%) !important;
    animation: pulsePmcBackdropGlow 2.5s ease-in-out infinite alternate !important;
}

@keyframes pulsePmcBackdropGlow {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}

.preloader-overlay.transition-to-pmc .logo-energy-aura {
    background: radial-gradient(ellipse at center, rgba(188, 226, 245, 0.38) 0%, rgba(125, 165, 184, 0.16) 42%, rgba(228, 244, 253, 0.08) 70%, transparent 100%) !important;
    filter: blur(48px);
}

.preloader-overlay.transition-to-pmc .preloader-tagline {
    font-family: 'Share Tech Mono', 'JetBrains Mono', monospace, sans-serif !important;
    font-size: 0.88rem !important;
    letter-spacing: 3px !important;
    color: #bce2f5 !important;
    text-shadow: 0 0 16px rgba(188, 226, 245, 0.65), 0 0 30px rgba(188, 226, 245, 0.3) !important;
    font-weight: 700;
}

.preloader-overlay.transition-to-pmc .preloader-status-text {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.95rem !important;
    color: #e2e8f0 !important;
    text-shadow: 0 0 10px rgba(188, 226, 245, 0.35);
}

.preloader-overlay.transition-to-pmc .preloader-progress-track {
    background: rgba(10, 15, 20, 0.85) !important;
    border: 1px solid rgba(188, 226, 245, 0.35) !important;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9), 0 0 15px rgba(188, 226, 245, 0.2) !important;
}

.preloader-overlay.transition-to-pmc .preloader-progress-bar {
    background: linear-gradient(90deg, #7da5b8, #bce2f5, #e4f4fd) !important;
    box-shadow: 0 0 20px rgba(188, 226, 245, 0.75) !important;
}

.preloader-overlay.transition-to-pmc .preloader-percent {
    font-family: 'Share Tech Mono', 'JetBrains Mono', monospace, sans-serif !important;
    color: #bce2f5 !important;
    text-shadow: 0 0 12px rgba(188, 226, 245, 0.6);
    font-weight: 700;
}

.preloader-overlay.transition-to-pmc .preloader-3d-scene::before {
    content: '▶ [ SECURE PMC UPLINK // EVERON AO GRID 48.1371°N ] ◀';
    display: block;
    font-family: 'Share Tech Mono', 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #bce2f5;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    opacity: 0.9;
    text-shadow: 0 0 12px rgba(188, 226, 245, 0.5);
}

/* Social Club Transition Mode (Return to Hauptseite) */
.preloader-overlay.transition-to-social {
    background: #080a0d !important;
}

.preloader-overlay.transition-to-social .preloader-backdrop-glow {
    background: radial-gradient(circle, rgba(157, 78, 221, 0.45) 0%, rgba(255, 51, 136, 0.3) 40%, rgba(0, 212, 255, 0.2) 70%, transparent 100%) !important;
}

.preloader-overlay.transition-to-social .logo-energy-aura {
    background: radial-gradient(ellipse at center, rgba(157, 78, 221, 0.6) 0%, rgba(255, 51, 136, 0.35) 40%, rgba(0, 212, 255, 0.2) 70%, transparent 100%) !important;
}

.preloader-overlay.transition-to-social .preloader-tagline {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.7) !important;
    font-family: var(--font-tech, sans-serif) !important;
}

.preloader-overlay.transition-to-social .preloader-progress-bar {
    background: linear-gradient(90deg, #ff3388, #9d4edd, #00d4ff) !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.85) !important;
}

/* Destination Logo Dock Flash (When 3D logo merges into website logo) */
.logo-docked-flash {
    animation: logoDockFlash 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes logoDockFlash {
    0% {
        filter: brightness(1.7);
        transform: scale(1.06);
    }
    50% {
        filter: brightness(1.3);
        transform: scale(1.02);
    }
    100% {
        filter: brightness(1);
        transform: scale(1);
    }
}


/* Preloader Meta & Progress Bar */
.preloader-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 330px;
    max-width: 82vw;
}

.preloader-tagline {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.65);
    font-weight: 700;
}

.preloader-status-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    min-height: 24px;
    transition: opacity 0.3s;
    text-align: center;
}

.preloader-progress-track {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff3388, #9d4edd, #00d4ff);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.85);
    border-radius: var(--radius-full);
    transition: width 0.15s ease-out;
}

.preloader-percent {
    font-family: var(--font-tech);
    font-size: 0.88rem;
    color: #fff;
    font-weight: 700;
}

/* 3D Tilt Effect on Hero Logo */
.hero-logo-wrapper {
    perspective: 800px;
    transition: transform 0.2s ease;
}

.hero-logo-img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo-wrapper:hover .hero-logo-img {
    transform: scale(1.03);
    filter: drop-shadow(0 0 45px rgba(157, 78, 221, 0.75));
}

/* ==========================================================================
   LIVE REAL-TIME DISCORD EVENTS STATUS BOX (NO PLACEHOLDERS)
   ========================================================================== */
.events-empty-live-box {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    backdrop-filter: blur(12px);
    max-width: 780px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--neon-cyan);
}

.empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.empty-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.empty-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.empty-meta {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* 3D ROG Division Badge in Main Page */
.division-patch-3d-box {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.division-patch-3d-canvas {
    width: 140px !important;
    height: 140px !important;
    cursor: grab;
    display: block;
}

/* ==========================================================================
   LEGAL PAGES (IMPRESSUM & DATENSCHUTZERKLÄRUNG)
   ========================================================================== */
.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-header-bar {
    padding: 24px 0 20px;
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    background: rgba(10, 8, 21, 0.85);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.legal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.legal-back-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.4);
    transform: translateX(-3px);
}

.legal-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 24px 100px;
    flex: 1;
}

.legal-hero {
    text-align: center;
    margin-bottom: 45px;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    font-size: 0.82rem;
    letter-spacing: 3px;
    color: var(--neon-pink);
    text-transform: uppercase;
    background: rgba(255, 51, 136, 0.1);
    border: 1px solid rgba(255, 51, 136, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 40%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.legal-card {
    background: rgba(18, 14, 34, 0.85);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: var(--radius-lg);
    padding: 38px 42px;
    margin-bottom: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(157, 78, 221, 0.08);
    backdrop-filter: blur(14px);
    transition: var(--transition);
}

.legal-card:hover {
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(157, 78, 221, 0.15);
}

.legal-card h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.legal-card h3 {
    font-size: 1.15rem;
    color: var(--neon-cyan);
    margin: 24px 0 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.legal-card p {
    color: #d5cee8;
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-card p strong {
    color: #ffffff;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #d5cee8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-card ul li::before {
    content: "▹";
    position: absolute;
    left: 4px;
    color: var(--neon-pink);
    font-size: 1.1rem;
    line-height: 1.4;
}

.legal-highlight-box {
    background: rgba(157, 78, 221, 0.12);
    border-left: 4px solid var(--neon-purple);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    margin: 20px 0;
    color: #e4dcf7;
    font-size: 0.92rem;
    line-height: 1.7;
}

.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.legal-info-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.legal-info-label {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    color: var(--neon-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.legal-info-val {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.legal-info-val a {
    color: var(--neon-cyan);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-info-val a:hover {
    color: var(--neon-pink);
}

.legal-nav-switcher {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.legal-nav-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.legal-nav-btn.active {
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

.legal-nav-btn:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
}

.legal-nav-btn:not(.active):hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 26px 20px;
    }
    .legal-title {
        font-size: 1.85rem;
    }
}

/* ==========================================================================
   UNIVERSAL LANGUAGE SWITCHER (DE / EN)
   ========================================================================== */
.btn-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(13, 11, 24, 0.75);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: var(--radius-full, 9999px);
    color: #e2e8f0;
    font-family: var(--font-tech, 'Chakra Petch', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    user-select: none;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.btn-lang-toggle:hover {
    border-color: rgba(0, 212, 255, 0.85);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-lang-toggle .lang-opt {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    opacity: 0.48;
    color: #94a3b8;
}

.btn-lang-toggle .lang-opt.active {
    opacity: 1;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.75);
    font-weight: 800;
}

.btn-lang-toggle .lang-sep {
    opacity: 0.3;
    font-size: 0.75rem;
    color: #64748b;
}

/* Visibility rules for elements with .lang-de and .lang-en */
html[lang="en"] .lang-de,
body.lang-en .lang-de {
    display: none !important;
}

html[lang="en"] .lang-en,
body.lang-en .lang-en {
    display: block !important;
}

html[lang="en"] span.lang-en,
body.lang-en span.lang-en,
html[lang="en"] a.lang-en,
body.lang-en a.lang-en {
    display: inline !important;
}

html[lang="en"] .lang-en-flex,
body.lang-en .lang-en-flex {
    display: flex !important;
}

html[lang="de"] .lang-en,
body.lang-de .lang-en {
    display: none !important;
}

html[lang="de"] .lang-de,
body.lang-de .lang-de {
    display: block !important;
}

html[lang="de"] span.lang-de,
body.lang-de span.lang-de,
html[lang="de"] a.lang-de,
body.lang-de a.lang-de {
    display: inline !important;
}

html[lang="de"] .lang-de-flex,
body.lang-de .lang-de-flex {
    display: flex !important;
}
