/* ============================================
   JetSetCoaster — Main Stylesheet
   Theme: Planet Coaster 2 Inspired
   Vibrant, playful, bubbly theme-park style
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-dark: #0c0a2a;
    --bg-darker: #080720;
    --bg-card: rgba(30, 25, 80, 0.7);
    --bg-card-hover: rgba(40, 33, 100, 0.8);
    --bg-surface: rgba(20, 16, 60, 0.6);
    --primary: #00d4ff;
    --primary-glow: rgba(0, 212, 255, 0.35);
    --primary-light: #5ce1ff;
    --secondary: #ff7043;
    --secondary-glow: rgba(255, 112, 67, 0.35);
    --accent-yellow: #ffca28;
    --accent-pink: #ff4081;
    --accent-purple: #b388ff;
    --accent-green: #69f0ae;
    --discord-color: #5865F2;
    --text-primary: #ffffff;
    --text-secondary: #c4c9e8;
    --text-muted: #7e84ad;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 212, 255, 0.2);
    --gradient-hero: linear-gradient(160deg, #0c0a2a 0%, #1a1050 30%, #1c1260 50%, #12103a 100%);
    --gradient-section-alt: linear-gradient(180deg, #100e35 0%, #0e0c30 50%, #0c0a2a 100%);
    --gradient-primary: linear-gradient(135deg, #00d4ff, #7c4dff);
    --gradient-warm: linear-gradient(135deg, #ff7043, #ffca28);
    --gradient-fun: linear-gradient(135deg, #ff4081, #ff7043, #ffca28);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 50px;
    --font-display: 'Fredoka One', cursive;
    --font-body: 'Nunito', sans-serif;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.2);
    --shadow-fun: 0 8px 32px rgba(124, 77, 255, 0.15);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(124, 77, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}

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

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(12, 10, 42, 0.92);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    padding: 8px 0;
    border-bottom: 1px solid rgba(124, 77, 255, 0.15);
    box-shadow: 0 4px 40px rgba(124, 77, 255, 0.1), 0 0 80px rgba(0, 212, 255, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 32px;
    animation: logoSwing 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

@keyframes logoSwing {
    0%, 100% { transform: rotate(-8deg) scale(1); }
    50% { transform: rotate(8deg) scale(1.05); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(124, 77, 255, 0.12);
}

.nav-link.active {
    color: var(--primary-light);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.1);
}

.nav-discord {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--discord-color);
    color: white !important;
    border-radius: var(--radius-xl);
    padding: 10px 22px;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
}

.nav-discord:hover {
    background: #4752c4;
    color: white !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.4);
}

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

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--bounce);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 24px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.15);
}

.btn-discord {
    background: var(--discord-color);
    color: white;
    padding: 18px 36px;
    font-size: 17px;
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.4);
    color: white;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 700;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
    background: var(--gradient-hero);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 25% 15%, rgba(124, 77, 255, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 75% 85%, rgba(255, 112, 67, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
                radial-gradient(ellipse at 80% 20%, rgba(255, 64, 129, 0.06) 0%, transparent 40%);
    animation: bgPulse 20s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 120%;
    height: 40%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes bgPulse {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-1%, -1%) scale(1.03) rotate(0.5deg); }
    100% { transform: translate(-2%, -2%) scale(1.05) rotate(0deg); }
}

.coaster-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    opacity: 0.8;
}

.track-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawTrack 4s ease-in-out forwards;
}

.track-line-2 { animation-delay: 0.5s; }
.track-line-3 { animation-delay: 1s; }

@keyframes drawTrack {
    to { stroke-dashoffset: 0; }
}

/* Coaster track support beams (crossties) */
.track-supports {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    opacity: 0.4;
    pointer-events: none;
}

/* Animated coaster cart on track */
.coaster-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    pointer-events: none;
    z-index: 1;
}

.cart-icon {
    offset-path: path('M0,300 Q200,100 400,250 T800,150 T1200,280 T1440,200');
    offset-distance: 0%;
    animation: rideCoaster 8s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

@keyframes rideCoaster {
    0% { offset-distance: 0%; opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* Decorative track SVGs for sections */
.section-track {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.section-track svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.section-track .deco-track {
    stroke-dasharray: 8 4;
    animation: trackPulse 3s ease-in-out infinite alternate;
}

@keyframes trackPulse {
    0% { opacity: 0.15; stroke-dashoffset: 0; }
    100% { opacity: 0.35; stroke-dashoffset: 24; }
}

/* Track rails (double lines like real coaster rails) */
.track-rail {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.track-rail-outer {
    stroke-width: 4;
}

.track-rail-inner {
    stroke-width: 2;
    stroke-dasharray: 1 6;
}

/* Looping decoration */
.deco-loop {
    position: absolute;
    border: 3px solid rgba(0, 212, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
    animation: loopSpin 20s linear infinite;
}

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

/* Floating coaster emoji decorations */
.floating-coaster {
    position: absolute;
    font-size: 24px;
    pointer-events: none;
    opacity: 0.15;
    animation: floatCoaster 12s ease-in-out infinite;
    z-index: 0;
}

.floating-coaster:nth-child(2) { animation-delay: -3s; animation-duration: 15s; }
.floating-coaster:nth-child(3) { animation-delay: -6s; animation-duration: 18s; }
.floating-coaster:nth-child(4) { animation-delay: -9s; animation-duration: 14s; }

@keyframes floatCoaster {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 0.2; }
    50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.15; }
    75% { transform: translateY(-25px) rotate(3deg); opacity: 0.2; }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 6px currentColor;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0) rotate(0deg); }
    10% { opacity: 0.8; }
    50% { opacity: 1; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px) scale(1.2) rotate(360deg); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(255, 112, 67, 0.2), rgba(255, 202, 40, 0.15));
    border: 2px solid rgba(255, 112, 67, 0.3);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 28px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 20px rgba(255, 112, 67, 0.15);
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.title-line {
    display: block;
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(179, 136, 255, 0.3);
}

.title-main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(52px, 9vw, 90px);
    line-height: 1.05;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 40%, var(--accent-purple) 70%, var(--secondary) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.highlight {
    color: var(--primary-light);
    -webkit-text-fill-color: var(--primary-light);
    text-shadow: 0 0 50px var(--primary-glow), 0 0 100px rgba(0, 212, 255, 0.2);
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.3));
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.hero-scroll-indicator span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.5; }
}

/* === SECTION COMMON === */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.15), rgba(0, 212, 255, 0.1));
    border: 2px solid rgba(124, 77, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-purple);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 16px rgba(124, 77, 255, 0.1);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 52px);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 20%, var(--primary) 60%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === WAVE SECTION DIVIDER === */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 70px;
    filter: drop-shadow(0 -4px 12px rgba(0, 212, 255, 0.06));
}

.wave-divider.flip {
    transform: rotate(180deg);
    margin-top: 0;
    margin-bottom: -1px;
}

/* === LATEST VIDEO === */
.latest-video-section {
    background: var(--gradient-section-alt);
    position: relative;
    overflow: hidden;
}

.latest-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(124, 77, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.latest-video-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.video-player {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 60px rgba(124, 77, 255, 0.08);
    border: 2px solid rgba(124, 77, 255, 0.15);
    position: relative;
}

.video-player::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(124, 77, 255, 0.3), rgba(255, 112, 67, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition);
}

.video-player:hover::before {
    opacity: 1;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--bg-card);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
}

.video-placeholder p {
    color: var(--text-muted);
    font-size: 14px;
}

.video-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
}

.video-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.video-meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

/* === VIDEO GRID === */
.videos-section {
    background: var(--bg-dark);
}

.video-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--bg-card);
    border: 2px solid rgba(124, 77, 255, 0.12);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--bounce);
}

.filter-btn:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 77, 255, 0.15);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 24px var(--primary-glow);
    transform: translateY(-2px);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(124, 77, 255, 0.08);
    transition: all var(--bounce);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.video-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15), 0 0 60px rgba(124, 77, 255, 0.08);
    background: var(--bg-card-hover);
}

.video-thumb {
    position: relative;
    padding-bottom: 56.25%;
    background: var(--bg-surface);
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
}

.video-thumb .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.video-thumb .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--transition);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-card-info {
    padding: 16px;
}

.video-card-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.video-card-info .video-card-meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.video-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 77, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-light);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.load-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* === NEWS === */
.news-section {
    background: var(--gradient-section-alt);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(255, 112, 67, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(255, 112, 67, 0.08);
    transition: all var(--bounce);
    backdrop-filter: blur(8px);
}

.news-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 112, 67, 0.25);
    box-shadow: 0 12px 40px rgba(255, 112, 67, 0.12), 0 0 60px rgba(255, 202, 40, 0.05);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-card-image {
    position: relative;
    min-height: 200px;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder-img {
    font-size: 64px;
    opacity: 0.5;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 28px;
}

.news-category {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(255, 112, 67, 0.2), rgba(255, 202, 40, 0.15));
    border: 1px solid rgba(255, 112, 67, 0.25);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-yellow);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.news-card-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 12px;
}

.news-card-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* === COMMUNITY === */
.community-section {
    background: var(--bg-dark);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.community-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 2px solid rgba(124, 77, 255, 0.1);
    transition: all var(--bounce);
    text-align: center;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-fun);
    opacity: 0;
    transition: opacity var(--transition);
}

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

.community-card:hover {
    border-color: rgba(124, 77, 255, 0.25);
    box-shadow: 0 12px 40px rgba(124, 77, 255, 0.12), var(--shadow-fun);
    transform: translateY(-6px);
}

.community-card-icon {
    font-size: 56px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.community-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.forum-categories {
    margin-bottom: 20px;
}

.forum-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: background var(--transition);
    text-align: left;
}

.forum-cat:hover {
    background: var(--bg-card-hover);
}

.cat-icon {
    font-size: 20px;
}

.cat-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.cat-count {
    color: var(--text-muted);
    font-size: 13px;
}

.gallery-preview {
    margin-bottom: 20px;
}

.gallery-placeholder {
    padding: 40px 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
}

.gallery-placeholder span {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.gallery-placeholder p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 0;
}

.cotm-preview {
    margin-bottom: 16px;
}

.cotm-placeholder {
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 107, 53, 0.05));
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.cotm-trophy {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.cotm-placeholder p {
    margin-bottom: 4px;
}

.cotm-placeholder small {
    color: var(--text-muted);
    font-size: 13px;
}

/* === GALLERY PAGE === */
.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.gallery-sort {
    display: flex;
    gap: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
}

.gallery-item-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-surface);
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.05);
}

.gallery-item-info {
    padding: 14px 16px;
}

.gallery-item-info h4 {
    font-size: 15px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.gallery-page-info {
    color: var(--text-muted);
    font-size: 14px;
}

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.gallery-empty-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 16px;
}

.gallery-empty h3 {
    margin-bottom: 10px;
}

.gallery-empty p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
}

.gallery-modal.gallery-modal-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal-content {
    background: var(--bg-darker, #080720);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.gallery-modal-content h3 {
    margin-bottom: 20px;
}

.gallery-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Gallery Detail */
.gallery-detail {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.gallery-detail-image {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gallery-detail-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.gallery-detail-info {
    padding: 30px 25px;
}

.gallery-detail-info h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.gallery-detail-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.gallery-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.gallery-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.gallery-author-avatar-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    font-size: 16px;
}

.gallery-date {
    color: var(--text-muted);
    font-size: 13px;
}

.gallery-detail-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.gallery-detail-actions {
    display: flex;
    gap: 10px;
}

/* === COASTER DES MONATS === */
.cotm-info-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.cotm-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.cotm-info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cotm-info-item strong {
    display: block;
    margin-bottom: 4px;
}

.cotm-info-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.cotm-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.cotm-entry-count {
    color: var(--text-muted);
    font-size: 14px;
}

.cotm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cotm-entry {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cotm-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.1);
}

.cotm-entry-leader {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.08);
}

.cotm-entry-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.cotm-entry-leader .cotm-entry-rank {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #000;
}

.cotm-entry-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.cotm-entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cotm-entry-info {
    padding: 16px;
}

.cotm-entry-info h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.cotm-entry-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.cotm-entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.cotm-entry-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.cotm-entry-author img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.cotm-entry-votes {
    color: var(--primary);
    font-weight: 600;
}

.cotm-voted-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.cotm-winners-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.cotm-winners-section h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 22px;
}

.cotm-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.cotm-winner-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
}

.cotm-winner-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.cotm-winner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cotm-winner-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.cotm-winner-info {
    padding: 14px;
}

.cotm-winner-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.cotm-winner-info span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.cotm-winner-month {
    color: #FFD700 !important;
    font-weight: 600;
    margin-top: 4px;
}

/* Button danger */
.btn-danger {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    border: none;
}
.btn-danger:hover {
    background: linear-gradient(135deg, #ff5555, #dd1111);
}

/* Moderation hint in upload modals */
.gallery-moderation-hint {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.gallery-moderation-hint span {
    font-size: 16px;
    flex-shrink: 0;
}

/* === FRONTEND FORM FIELDS (Gallery/CotM) === */
.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-field input[type="text"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: all var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow), 0 0 20px rgba(0, 212, 255, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

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

.form-field input[type="file"] {
    padding: 10px 14px;
    cursor: pointer;
}

.form-field input[type="file"]::file-selector-button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    margin-right: 12px;
    transition: opacity 0.2s;
}

.form-field input[type="file"]::file-selector-button:hover {
    opacity: 0.85;
}

/* === ALERT MESSAGES (Frontend) === */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.alert-danger {
    background: rgba(255, 64, 64, 0.1);
    border: 1px solid rgba(255, 64, 64, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(105, 240, 174, 0.1);
    border: 1px solid rgba(105, 240, 174, 0.3);
    color: var(--accent-green);
}

/* Admin moderation grid */
.moderation-grid {
    display: grid;
    gap: 16px;
}

.moderation-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-surface, rgba(255,255,255,0.03));
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.moderation-image {
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}

.moderation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moderation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.moderation-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

/* Responsive gallery/cotm */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .gallery-detail {
        grid-template-columns: 1fr;
    }
    .gallery-detail-info {
        padding: 20px;
    }
    .cotm-info-banner {
        grid-template-columns: 1fr;
    }
    .cotm-grid {
        grid-template-columns: 1fr;
    }
    .gallery-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === DISCORD === */
.discord-section {
    background: var(--gradient-section-alt);
    overflow: hidden;
    position: relative;
}

.discord-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(88, 101, 242, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(124, 77, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.discord-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.discord-logo {
    margin-bottom: 20px;
}

.discord-info h2 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 16px;
}

.discord-info p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Live Stats */
.discord-live-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.15);
    border-radius: 12px;
}
.discord-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}
.discord-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}
.discord-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.discord-stat-dot.online {
    width: 10px;
    height: 10px;
    background: #3ba55c;
    border-radius: 50%;
    animation: discordPulse 2s ease-in-out infinite;
}

.discord-features {
    list-style: none;
    margin-bottom: 32px;
}

.discord-features li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.discord-widget-container {
    display: flex;
    justify-content: center;
}

.discord-widget-placeholder {
    background: linear-gradient(180deg, #2f3136 0%, #292b2f 100%);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 40px rgba(88, 101, 242, 0.08);
    border: 2px solid rgba(88, 101, 242, 0.15);
}

.widget-header {
    padding: 16px 20px;
    background: #202225;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
}

.widget-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.widget-dot.online {
    background: #3ba55d;
    box-shadow: 0 0 8px rgba(59, 165, 93, 0.5);
}

.widget-channels {
    padding: 12px 0;
}

.widget-channel {
    padding: 8px 20px;
    font-size: 14px;
    color: #96989d;
    transition: all var(--transition);
    cursor: pointer;
}

.widget-channel:hover {
    background: #36393f;
    color: #dcddde;
}

.widget-footer {
    padding: 16px 20px;
    border-top: 1px solid #202225;
}

.widget-footer small {
    color: #72767d;
    font-size: 12px;
}

/* Custom Discord Widget (DSGVO-konform) */
.discord-custom-widget {
    background: linear-gradient(180deg, #2f3136 0%, #292b2f 100%);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 40px rgba(88, 101, 242, 0.08);
    border: 2px solid rgba(88, 101, 242, 0.15);
    display: flex;
    flex-direction: column;
}
.dcw-header {
    padding: 16px 20px;
    background: #202225;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dcw-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.dcw-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dcw-server-name {
    font-weight: 800;
    font-size: 15px;
    color: #fff;
}
.dcw-status {
    font-size: 12px;
    color: #96989d;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dcw-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dcw-dot.online {
    background: #3ba55d;
    box-shadow: 0 0 6px rgba(59, 165, 93, 0.5);
}
.dcw-channels {
    padding: 10px 0;
    flex: 1;
}
.dcw-channel {
    padding: 6px 20px;
    font-size: 14px;
    color: #96989d;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition);
}
.dcw-channel:hover {
    background: #36393f;
    color: #dcddde;
}
.dcw-hash {
    color: #72767d;
    font-size: 16px;
    font-weight: 700;
}
.dcw-members {
    padding: 0 20px 8px;
}
.dcw-members-title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #72767d;
    letter-spacing: 0.5px;
    padding: 8px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.dcw-member {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.dcw-member-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.dcw-member-name {
    font-size: 13px;
    color: #dcddde;
    flex: 1;
}
.dcw-member-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dcw-member-dot.online { background: #3ba55d; }
.dcw-member-dot.idle { background: #faa61a; }
.dcw-member-dot.dnd { background: #ed4245; }
.dcw-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 16px 16px;
    padding: 10px 16px;
    background: #5865F2;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
}
.dcw-join-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

/* === NEWSLETTER === */
.newsletter-section {
    background: var(--bg-dark);
    padding: 80px 0;
    position: relative;
}

.newsletter-wrapper {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 52px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(124, 77, 255, 0.12);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-fun);
}

.newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-fun);
}

.newsletter-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.newsletter-wrapper h2 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 12px;
}

.newsletter-wrapper p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    background: var(--bg-surface);
    border: 2px solid rgba(124, 77, 255, 0.12);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: all var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(179, 136, 255, 0.15), 0 4px 16px rgba(124, 77, 255, 0.1);
}

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

/* === FOOTER === */
.footer {
    background: var(--bg-darker);
    padding: 64px 0 32px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-fun);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 77, 255, 0.08);
    border-radius: 50%;
    border: 2px solid rgba(124, 77, 255, 0.12);
    transition: all var(--bounce);
    color: var(--text-secondary);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

.social-link.youtube:hover {
    border-color: #ff0000;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.12);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

.social-link.discord:hover {
    border-color: var(--discord-color);
    color: var(--discord-color);
    background: rgba(88, 101, 242, 0.12);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.2);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px !important;
    color: var(--text-muted);
    opacity: 0.7;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--bounce);
    z-index: 999;
    box-shadow: 0 6px 24px var(--primary-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 40px var(--primary-glow);
}

/* === LIVE BANNER === */
.live-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 4px 30px rgba(255, 0, 0, 0.3);
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.live-pulse {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.live-banner span {
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.live-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    font-size: 14px;
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .latest-video-wrapper {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
    }

    .discord-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .discord-features {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-stats {
        gap: 32px;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 16px;
        width: 100%;
    }

    .nav-discord {
        justify-content: center;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

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

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

    .newsletter-form {
        flex-direction: column;
    }

    section {
        padding: 60px 0;
    }
}

/* ============================================
   EPIC UPGRADES — Maximum Impact
   ============================================ */

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-fun);
    z-index: 10001;
    transition: width 0.05s linear;
    box-shadow: 0 0 12px rgba(255, 64, 129, 0.6), 0 0 30px rgba(0, 212, 255, 0.4);
}

/* === CURSOR GLOW === */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.07) 0%, rgba(124, 77, 255, 0.03) 30%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, opacity 0.3s;
    mix-blend-mode: screen;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* === SHOOTING STARS === */
.shooting-stars-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shooting-star {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.8), rgba(179, 136, 255, 0.6), transparent);
    border-radius: 100px;
    animation: shootingStar var(--star-duration, 1.5s) ease-out forwards;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.8));
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(var(--star-angle, -35deg));
        opacity: 1;
        width: 0;
    }
    30% {
        width: var(--star-length, 120px);
        opacity: 1;
    }
    100% {
        transform: translateX(var(--star-travel, 500px)) translateY(calc(var(--star-travel, 500px) * 0.5)) rotate(var(--star-angle, -35deg));
        opacity: 0;
        width: var(--star-length, 120px);
    }
}

/* === SPEED LINES IN HERO === */
.speed-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.speed-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), rgba(179, 136, 255, 0.15), transparent);
    animation: speedLine var(--speed-duration, 4s) linear infinite;
    animation-delay: var(--speed-delay, 0s);
}

@keyframes speedLine {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 100%)); opacity: 0; }
}

/* === BACKGROUND MESH GRID === */
.bg-mesh {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 212, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: meshDrift 30s linear infinite;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes meshDrift {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* === NEON TITLE SHIMMER === */
.title-main {
    position: relative;
}

.title-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), rgba(0, 212, 255, 0.04), transparent);
    animation: titleShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes titleShimmer {
    0%, 100% { left: -50%; }
    50% { left: 100%; }
}

/* === AMBIENT NOISE TEXTURE === */
.noise-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* === BUTTON RIPPLE === */
.btn .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleBurst 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleBurst {
    to { transform: scale(4); opacity: 0; }
}

/* === 3D TILT ON CARDS === */
.tilt-3d {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-3d .tilt-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 5;
}

.tilt-3d:hover .tilt-glare {
    opacity: 1;
}

/* === GLOW RINGS DECORATION === */
.glow-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: glowRingPulse var(--ring-duration, 4s) ease-in-out infinite;
}

@keyframes glowRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.08; filter: blur(0px); }
    50% { transform: scale(1.2); opacity: 0.2; filter: blur(2px); }
}

/* === STAGGERED CARD REVEALS === */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }
.stagger-5 { transition-delay: 0.5s !important; }
.stagger-6 { transition-delay: 0.6s !important; }

/* === PULSING SECTION TAGS === */
.section-tag {
    animation: tagGlow 3s ease-in-out infinite;
}

@keyframes tagGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(124, 77, 255, 0.1); }
    50% { box-shadow: 0 4px 30px rgba(124, 77, 255, 0.3), 0 0 50px rgba(0, 212, 255, 0.1); }
}

/* === ENHANCED STAT NUMBERS === */
.stat-number {
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* === ENHANCED HERO BADGE === */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255, 202, 40, 0.1) 10%, transparent 20%);
    animation: badgeSpin 4s linear infinite;
    pointer-events: none;
}

@keyframes badgeSpin {
    to { transform: rotate(360deg); }
}

/* === HOVER CARD ANIMATED BORDER === */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.video-card,
.news-card,
.community-card {
    position: relative;
}

.video-card::after,
.news-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from var(--angle), transparent 40%, var(--primary) 48%, var(--accent-purple) 52%, var(--secondary) 56%, transparent 64%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
    animation: borderRotate 3s linear infinite;
}

.video-card:hover::after,
.news-card:hover::after {
    opacity: 1;
}

@keyframes borderRotate {
    to { --angle: 360deg; }
}

/* === ENHANCED CARDS GLOW ON HOVER === */
.video-card:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 212, 255, 0.12),
        0 0 120px rgba(124, 77, 255, 0.06);
}

.news-card:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 112, 67, 0.12),
        0 0 120px rgba(255, 202, 40, 0.06);
}

.community-card:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(124, 77, 255, 0.12),
        0 0 120px rgba(0, 212, 255, 0.06);
}

/* === SECTION BOTTOM GLOW LINE === */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.12), rgba(179, 136, 255, 0.12), transparent);
    pointer-events: none;
    z-index: 3;
}

.hero::after {
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

/* === MAGNETIC BUTTON EFFECT === */
.btn-magnetic {
    transition: transform 0.2s ease-out;
}

/* === FANCY SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent-purple));
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

/* === Selection === */
::selection {
    background: var(--accent-purple);
    color: white;
}

/* === ENHANCED WAVE DIVIDERS === */
.wave-divider svg path {
    transition: d 0.5s ease;
}

/* === FLOATING ICONS ENHANCED === */
.floating-coaster {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

/* === ENHANCED HERO SCROLL INDICATOR === */
.hero-scroll-indicator {
    z-index: 5;
}

.scroll-arrow {
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
}

/* === VIDEO PLAYER AMBIENT GLOW === */
.video-player {
    position: relative;
}

.video-player::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at center, rgba(124, 77, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    animation: ambientPulse 4s ease-in-out infinite;
    pointer-events: none;
}

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

/* === LOGO GLOW TRAIL === */
.nav-logo {
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.4s var(--bounce);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

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

/* === DISCORD CARD PULSE === */
.discord-wrapper {
    position: relative;
}

.discord-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at 30% 50%, rgba(88, 101, 242, 0.1) 0%, transparent 60%);
    z-index: -1;
    animation: discordPulse 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes discordPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-track {
    margin-bottom: 24px;
}

.preloader-svg {
    width: 200px;
    height: 60px;
}

.preloader-track-line {
    animation: preloaderDraw 1.8s ease-in-out infinite;
}

@keyframes preloaderDraw {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

.preloader-logo {
    margin-bottom: 20px;
}

.preloader-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
    animation: logoSwing 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.5));
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.preloader-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.preloader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    animation: preloaderDot 1.2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.preloader-dots span:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--accent-purple);
    box-shadow: 0 0 8px rgba(179, 136, 255, 0.5);
}

.preloader-dots span:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--secondary);
    box-shadow: 0 0 8px rgba(255, 112, 67, 0.5);
}

@keyframes preloaderDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* ============================================
   404 ERROR PAGE
   ============================================ */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    padding: 120px 24px 80px;
    overflow: hidden;
}

.error-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.error-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.error-coaster {
    margin-bottom: 20px;
}

.error-coaster-svg {
    width: 250px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.error-cart-fly {
    animation: cartFlyOff 3s ease-in-out infinite;
    transform-origin: 200px 55px;
}

@keyframes cartFlyOff {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    40% { transform: translate(25px, -35px) rotate(15deg); opacity: 1; }
    70% { transform: translate(50px, -15px) rotate(30deg); opacity: 0.6; }
    100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(80px, 15vw, 150px);
    line-height: 1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-4 {
    background: var(--gradient-fun);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 64, 129, 0.4));
    animation: error4Pulse 2s ease-in-out infinite alternate;
}

.error-4:last-child {
    animation-delay: 0.3s;
}

@keyframes error4Pulse {
    0% { filter: drop-shadow(0 0 20px rgba(255, 64, 129, 0.4)); transform: scale(1); }
    100% { filter: drop-shadow(0 0 40px rgba(255, 64, 129, 0.6)); transform: scale(1.05); }
}

.error-0 {
    font-size: 0.7em;
    animation: logoSwing 2s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

.error-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 5vw, 40px);
    margin-bottom: 16px;
    color: var(--accent-pink);
    text-shadow: 0 0 30px rgba(255, 64, 129, 0.3);
}

.error-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.error-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SUBPAGE HEADER (for pages without hero)
   ============================================ */
.page-section {
    padding-top: 140px;
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */
.legal-section {
    background: var(--bg-dark);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 2px solid rgba(124, 77, 255, 0.1);
    backdrop-filter: blur(8px);
}

.legal-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-card h3:first-child {
    margin-top: 0;
}

.legal-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-purple);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-card ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 24px;
}

.legal-card code {
    background: var(--bg-surface);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--primary-light);
}

.legal-info-box {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.legal-info-box p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 28px 20px;
    }

    .error-code {
        gap: 4px;
    }
}

/* ===================================================
   COOKIE CONSENT SYSTEM (DSGVO)
   =================================================== */

/* --- Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 20px 20px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-inner {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(18, 15, 50, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 -8px 50px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 212, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.cookie-banner-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple), var(--accent-pink), var(--accent-yellow), var(--primary));
    background-size: 200% 100%;
    animation: cookieGradient 4s ease infinite;
}

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

.cookie-banner-icon {
    font-size: 40px;
    flex-shrink: 0;
    animation: cookieBounce 2s ease-in-out infinite;
    margin-top: 2px;
}

@keyframes cookieBounce {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(5deg) scale(1.05); }
}

.cookie-banner-content {
    flex: 1;
    min-width: 0;
}

.cookie-banner-text {
    margin-bottom: 16px;
}

.cookie-banner-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text p:first-child {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    color: var(--bg-dark);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
}

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

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.cookie-btn-reject:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.cookie-btn-save {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: #fff;
    box-shadow: 0 4px 16px rgba(179, 136, 255, 0.3);
}

.cookie-btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 136, 255, 0.4);
}

/* --- Settings Modal --- */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    background: rgba(6, 4, 20, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.cookie-modal {
    background: rgba(18, 15, 50, 0.98);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 100px rgba(0, 212, 255, 0.05);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.cookie-modal-overlay.visible .cookie-modal {
    transform: translateY(0) scale(1);
}

.cookie-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple), var(--accent-pink), var(--accent-yellow), var(--primary));
    background-size: 200% 100%;
    animation: cookieGradient 4s ease infinite;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 16px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-modal-icon {
    font-size: 24px;
}

.cookie-modal-title h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookie-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    background: rgba(255, 70, 70, 0.15);
    border-color: rgba(255, 70, 70, 0.3);
    color: #ff4646;
}

.cookie-modal-body {
    padding: 20px 28px;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- Category Cards --- */
.cookie-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: all var(--transition);
}

.cookie-category:hover {
    border-color: rgba(0, 212, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cookie-category-info {
    display: flex;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.cookie-category-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-category-info h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cookie-category-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-category-info code {
    background: rgba(0, 212, 255, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--primary);
}

/* --- Toggle Switch --- */
.cookie-toggle {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 2px;
}

.cookie-toggle input {
    display: none;
}

.cookie-toggle-slider {
    width: 48px;
    height: 26px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    position: relative;
    transition: all 0.3s ease;
}

.cookie-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    border-color: transparent;
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
    transform: translateX(22px);
    background: #fff;
}

.cookie-toggle-locked {
    cursor: default;
    opacity: 0.7;
}

.cookie-toggle-locked .cookie-toggle-slider {
    background: rgba(105, 240, 174, 0.15);
    border-color: rgba(105, 240, 174, 0.25);
}

.cookie-toggle-locked .cookie-toggle-slider::after {
    transform: translateX(22px);
    background: var(--accent-green);
}

.cookie-toggle-label {
    font-size: 11px;
    color: var(--accent-green);
    font-weight: 700;
    white-space: nowrap;
}

/* --- Modal Footer --- */
.cookie-modal-footer {
    display: flex;
    gap: 10px;
    padding: 18px 28px;
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* --- FAB (Floating Action Button) --- */
.cookie-settings-fab {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 15, 50, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.cookie-settings-fab.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.cookie-settings-fab:hover {
    transform: scale(1.15) rotate(-15deg);
    border-color: var(--primary);
    box-shadow: 0 6px 28px rgba(0, 212, 255, 0.2);
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
        gap: 14px;
    }

    .cookie-banner-icon {
        font-size: 30px;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        padding: 10px 14px;
        font-size: 12px;
    }

    .cookie-modal {
        max-height: 90vh;
    }

    .cookie-modal-header {
        padding: 18px 18px 14px;
    }

    .cookie-modal-body {
        padding: 16px 18px;
    }

    .cookie-modal-footer {
        padding: 14px 18px;
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-category-header {
        flex-direction: column;
        gap: 12px;
    }

    .cookie-toggle {
        align-self: flex-end;
    }

    .cookie-settings-fab {
        width: 42px;
        height: 42px;
        font-size: 18px;
        bottom: 14px;
        left: 14px;
    }
}

/* ===================================================
   AUTH PAGES (Login / Register)
   =================================================== */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 20px;
}

.auth-card {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.05);
}

.auth-card-header {
    text-align: center;
    padding: 40px 40px 0;
}

.auth-card-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-card-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-top: 24px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 22px 16px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.auth-tab.active {
    color: var(--primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-purple));
    border-radius: 3px 3px 0 0;
}

.auth-tab:hover { color: var(--text-primary); }

.auth-form {
    padding: 48px 52px 52px;
}

.auth-field {
    margin-bottom: 32px;
}

.auth-field label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.auth-field input,
.auth-field textarea,
.auth-field select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all var(--transition);
    box-sizing: border-box;
}

.auth-field input:focus,
.auth-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.auth-field small {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-alert {
    padding: 18px 28px;
    margin: 24px 36px 0;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
}

.auth-alert-error {
    background: rgba(255, 64, 129, 0.1);
    border: 1px solid rgba(255, 64, 129, 0.2);
    color: var(--accent-pink);
}

.auth-alert-success {
    background: rgba(105, 240, 174, 0.1);
    border: 1px solid rgba(105, 240, 174, 0.2);
    color: var(--accent-green);
}

.auth-alert a { color: var(--primary); font-weight: 700; }

.btn-block {
    width: 100%;
    text-align: center;
    padding: 18px 24px;
    font-size: 17px;
    margin-top: 12px;
}

.auth-switch {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 680px) {
    .auth-card {
        max-width: 100%;
        border-radius: var(--radius-md);
    }
    .auth-form {
        padding: 32px 24px 36px;
    }
    .auth-tab {
        font-size: 15px;
        padding: 18px 12px;
    }
    .auth-card-header {
        padding: 28px 24px 0;
    }
    .auth-card-header h2 {
        font-size: 22px;
    }
    .auth-field {
        margin-bottom: 24px;
    }
    .auth-field input,
    .auth-field textarea,
    .auth-field select {
        padding: 14px 16px;
        font-size: 15px;
    }
    .btn-block {
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* ===================================================
   FORUM
   =================================================== */

/* Coming Soon Box */
.coming-soon-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 500px;
    margin: 40px auto;
}

.coming-soon-box span { font-size: 48px; display: block; margin-bottom: 16px; }
.coming-soon-box h3 { font-family: var(--font-heading); margin-bottom: 8px; }
.coming-soon-box p { color: var(--text-muted); margin-bottom: 24px; }

/* Breadcrumb */
.forum-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.forum-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.forum-breadcrumb a:hover { text-decoration: underline; }

/* Category List */
.forum-categories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forum-category-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
}

.forum-category-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.forum-category-icon { font-size: 32px; flex-shrink: 0; }

.forum-category-info { flex: 1; min-width: 0; }
.forum-category-info h3 { font-family: var(--font-heading); font-size: 18px; margin-bottom: 4px; }
.forum-category-info p { font-size: 13px; color: var(--text-muted); margin: 0; }

.forum-category-stats {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.forum-category-stats .stat {
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
}

.forum-category-stats .stat small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Category Header Bar */
.forum-category-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.forum-category-header-bar h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 4px;
}

.forum-category-header-bar p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Thread List */
.forum-thread-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forum-thread-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
}

.forum-thread-card:hover {
    border-color: rgba(0, 212, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.forum-thread-card.pinned {
    border-color: rgba(255, 202, 40, 0.2);
    background: rgba(255, 202, 40, 0.03);
}

.thread-pin, .thread-lock { margin-right: 4px; }

.thread-main { flex: 1; min-width: 0; }
.thread-main h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.thread-main small { font-size: 12px; color: var(--text-muted); }

.thread-stats {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* Forum Empty */
.forum-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.forum-empty span { font-size: 48px; display: block; margin-bottom: 12px; }

/* Thread Header */
.forum-thread-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.forum-thread-header h2 { font-family: var(--font-heading); font-size: 24px; margin-bottom: 8px; }
.forum-thread-header small { color: var(--text-muted); font-size: 13px; }

.thread-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-top: 8px;
}

.thread-badge.locked {
    background: rgba(255, 64, 129, 0.1);
    color: var(--accent-pink);
}

.thread-badge.pinned {
    background: rgba(255, 202, 40, 0.1);
    color: var(--accent-yellow);
}

/* Forum Admin Actions */
.forum-admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.forum-admin-actions .btn-ghost {
    font-size: 12px;
    padding: 6px 14px;
}

.btn-danger-ghost {
    border-color: rgba(255, 64, 129, 0.3) !important;
    color: var(--accent-pink) !important;
}

.btn-danger-ghost:hover {
    background: rgba(255, 64, 129, 0.08) !important;
    border-color: var(--accent-pink) !important;
}

.btn-post-delete {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    opacity: 0.4;
    transition: opacity var(--transition);
    padding: 2px 6px;
    margin-left: auto;
}

.btn-post-delete:hover {
    opacity: 1;
}

/* Posts */
.forum-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.forum-post {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition);
}

.forum-post:target {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.post-sidebar {
    width: 120px;
    flex-shrink: 0;
    text-align: center;
}

.post-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--bg-dark);
    margin: 0 auto 8px;
}

.post-username {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.post-role-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-bottom: 4px;
}

.post-role-badge.admin {
    background: rgba(255, 202, 40, 0.15);
    color: var(--accent-yellow);
}

.post-role-badge.moderator {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.post-count {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.post-content { flex: 1; min-width: 0; }

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.post-meta time { font-size: 12px; color: var(--text-muted); }

.post-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.post-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* New Thread / Reply */
.forum-new-thread-card,
.forum-reply-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.forum-new-thread-card h3,
.forum-reply-card h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.forum-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-size: 13px;
}

.btn-ghost:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.forum-login-prompt,
.forum-locked-notice {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-size: 14px;
}

.forum-login-prompt a { color: var(--primary); font-weight: 700; }

/* Community Stats Bar */
.community-stats-bar {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.04);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.community-stats-bar span { color: var(--primary); }

/* Community CTA */
.community-cta {
    text-align: center;
    margin-top: 48px;
    padding: 48px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.community-cta h3 { font-family: var(--font-heading); font-size: 24px; margin-bottom: 12px; }
.community-cta p { color: var(--text-muted); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Community forum-cat links */
.forum-categories a.forum-cat {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.forum-categories a.forum-cat:hover {
    background: rgba(0, 212, 255, 0.04);
    border-color: rgba(0, 212, 255, 0.15);
}

/* Responsive Forum */
@media (max-width: 640px) {
    .forum-category-card { flex-direction: column; text-align: center; gap: 12px; }
    .forum-category-stats { justify-content: center; }
    .forum-post { flex-direction: column; }
    .post-sidebar { width: 100%; display: flex; align-items: center; gap: 10px; }
    .post-avatar { margin: 0; width: 36px; height: 36px; font-size: 16px; }
    .forum-category-header-bar { flex-direction: column; text-align: center; }
}

/* ===================================================
   PROFILE PAGE
   =================================================== */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.profile-info-card {
    text-align: center;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--bg-dark);
    margin: 0 auto 16px;
}

.profile-info-card h2 { font-family: var(--font-heading); font-size: 20px; }
.profile-username { color: var(--primary); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.profile-email { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }

.profile-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 12px;
}

.profile-stat { text-align: center; }
.profile-stat .stat-value { display: block; font-size: 20px; font-weight: 800; color: var(--primary); }
.profile-stat .stat-label { font-size: 11px; color: var(--text-muted); }
.profile-joined { color: var(--text-muted); font-size: 12px; }

.profile-card h3 { font-family: var(--font-heading); font-size: 18px; margin-bottom: 4px; }

/* Nav User Links */
.nav-login-link {
    background: rgba(0, 212, 255, 0.08) !important;
    border-radius: var(--radius-pill) !important;
    padding: 6px 16px !important;
}

.nav-user-link {
    background: rgba(179, 136, 255, 0.08) !important;
    border-radius: var(--radius-pill) !important;
    padding: 6px 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

/* ===================================================
   AVATAR UPLOAD (Profile)
   =================================================== */
.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.profile-avatar-large.has-image {
    overflow: hidden;
    padding: 0;
    font-size: 0;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.avatar-upload-btn:hover {
    background: var(--accent-purple);
    transform: scale(1.1);
}

.avatar-remove-btn {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--error);
    border: 2px solid var(--bg-dark);
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    padding: 0;
    line-height: 1;
}

.avatar-remove-btn:hover {
    transform: scale(1.15);
}

/* ===================================================
   FORUM — Avatar in Posts
   =================================================== */
.post-avatar.has-image {
    overflow: hidden;
    padding: 0;
    font-size: 0;
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ===================================================
   FORUM — Announcements
   =================================================== */
.forum-announcements {
    margin-bottom: 32px;
}

.forum-announcements-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}

.forum-announcement-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 202, 40, 0.04);
    border: 1px solid rgba(255, 202, 40, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.forum-announcement-card:hover {
    background: rgba(255, 202, 40, 0.08);
    border-color: rgba(255, 202, 40, 0.25);
}

.announcement-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.forum-announcement-card h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.forum-announcement-card small {
    color: var(--text-muted);
    font-size: 12px;
}

.thread-badge.announcement {
    background: rgba(255, 202, 40, 0.12);
    color: #ffca28;
    border: 1px solid rgba(255, 202, 40, 0.2);
}

/* ===================================================
   FORUM — Thread Editing / Moving
   =================================================== */
.thread-edited,
.post-edited-badge {
    color: var(--text-muted);
    font-size: 11px;
    font-style: italic;
}

.forum-admin-edit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.forum-inline-edit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.forum-input-sm {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 6px 12px;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.forum-input-sm:focus {
    outline: none;
    border-color: var(--primary);
}

.forum-select-sm {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
}

.forum-select-sm:focus {
    outline: none;
    border-color: var(--primary);
}

.forum-move-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===================================================
   FORUM — Post Actions (Edit, Quote, Delete)
   =================================================== */
.post-actions {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.btn-post-action {
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 2px 6px;
    font-size: 13px;
    cursor: pointer;
    opacity: 0.4;
    transition: all var(--transition);
    color: inherit;
}

.btn-post-action:hover {
    opacity: 1;
    background: rgba(255,255,255,0.04);
    border-color: var(--border-color);
}

.btn-post-action.btn-post-delete:hover {
    opacity: 1;
    background: rgba(255, 64, 129, 0.08);
    border-color: rgba(255, 64, 129, 0.2);
}

.post-edit-form {
    margin-top: 12px;
}

.post-edit-form textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    resize: vertical;
}

.post-edit-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.post-edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===================================================
   FORUM — Reactions
   =================================================== */
.post-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    align-items: center;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
}

.reaction-btn:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
}

.reaction-btn.active {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--primary);
}

.reaction-btn.disabled {
    cursor: default;
}

.reaction-btn span {
    font-size: 11px;
    font-weight: 700;
}

.reaction-add {
    position: relative;
    display: inline-flex;
}

.reaction-add-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.12);
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    padding: 0;
    line-height: 1;
}

.reaction-add-btn:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
    color: var(--primary);
}

.reaction-picker {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    gap: 4px;
    flex-wrap: wrap;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.reaction-picker.show {
    display: flex;
}

.reaction-pick {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.reaction-pick:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.2);
}

/* Thread list badges for announcements */
.forum-thread-card.announcement-thread {
    border-color: rgba(255, 202, 40, 0.15);
    background: rgba(255, 202, 40, 0.02);
}

@media (max-width: 768px) {
    .profile-grid { grid-template-columns: 1fr; }
    .forum-admin-edit-row { flex-direction: column; align-items: flex-start; }
    .forum-inline-edit { flex-direction: column; align-items: stretch; }
    .forum-move-form { flex-direction: column; align-items: stretch; }
    .reaction-picker { left: 0; transform: none; }
}

/* === CHANGELOG === */
.changelog-section {
    background: var(--gradient-section-alt);
    position: relative;
    overflow: hidden;
}

.changelog-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.changelog-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.changelog-entry {
    display: flex;
    gap: 24px;
    position: relative;
}

.changelog-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
}

.changelog-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    flex-shrink: 0;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.changelog-dot.cl-release { background: var(--accent-green); box-shadow: 0 0 12px rgba(105, 240, 174, 0.4); }
.changelog-dot.cl-discord { background: var(--discord-color); box-shadow: 0 0 12px rgba(88, 101, 242, 0.4); }
.changelog-dot.cl-website { background: var(--primary); box-shadow: 0 0 12px var(--primary-glow); }
.changelog-dot.cl-fix { background: var(--secondary); box-shadow: 0 0 12px var(--secondary-glow); }
.changelog-dot.cl-feature { background: var(--accent-purple); box-shadow: 0 0 12px rgba(179, 136, 255, 0.4); }

.changelog-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.05));
    margin-top: 4px;
}

.changelog-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 2px solid rgba(0, 212, 255, 0.08);
    margin-bottom: 24px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.changelog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), transparent 60%);
    pointer-events: none;
}

.changelog-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08);
    transform: translateX(4px);
}

.changelog-latest .changelog-card {
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.06);
}

.changelog-latest .changelog-dot {
    width: 20px;
    height: 20px;
    margin-top: 26px;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.changelog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.changelog-version {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.changelog-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-category.cl-release { background: rgba(105, 240, 174, 0.15); color: var(--accent-green); border: 1px solid rgba(105, 240, 174, 0.2); }
.changelog-category.cl-discord { background: rgba(88, 101, 242, 0.15); color: #8b9eff; border: 1px solid rgba(88, 101, 242, 0.2); }
.changelog-category.cl-website { background: rgba(0, 212, 255, 0.15); color: var(--primary); border: 1px solid rgba(0, 212, 255, 0.2); }
.changelog-category.cl-fix { background: rgba(255, 112, 67, 0.15); color: var(--secondary); border: 1px solid rgba(255, 112, 67, 0.2); }
.changelog-category.cl-feature { background: rgba(179, 136, 255, 0.15); color: var(--accent-purple); border: 1px solid rgba(179, 136, 255, 0.2); }

.changelog-date {
    font-size: 13px;
    color: var(--text-muted);
}

.changelog-title {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.changelog-changes {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.changelog-changes li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.changelog-changes li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.changelog-footer {
    font-size: 13px;
    color: var(--text-muted);
}

.changelog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 16px;
}

@media (max-width: 768px) {
    .changelog-card { padding: 20px; }
    .changelog-header { flex-direction: column; align-items: flex-start; }
    .changelog-title { font-size: 18px; }
    .changelog-entry { gap: 16px; }
}
