/* ==========================================================================
   OnLifeRP CSS Style Sheet — Premium Dark & Glassmorphism Design
   ========================================================================== */

/* Variables & Base Design Tokens */
:root {
    --bg-main: #06080e;
    --bg-card: rgba(18, 11, 11, 0.75);
    --border-color: rgba(239, 68, 68, 0.15);
    --border-hover: rgba(239, 68, 68, 0.35);
    
    --primary: #ef4444;      /* Vibrant Crimson Red */
    --primary-glow: rgba(239, 68, 68, 0.4);
    --secondary: #991b1b;    /* Deep Crimson Red */
    --secondary-glow: rgba(153, 27, 27, 0.4);
    --accent-red: #b91c1c;    /* Deep Crimson */
    
    --text-main: #f8fafc;    /* Near White */
    --text-muted: #cbd5e1;   /* Muted Slate Gray */
    --text-dark: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 16px;
    --radius-md: 8px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ambient Glow Orbs in Background */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-purple {
    background: var(--primary);
    width: 500px;
    height: 500px;
    top: -10%;
    right: -10%;
}

.orb-cyan {
    background: var(--secondary);
    width: 600px;
    height: 600px;
    bottom: -15%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 50px) scale(1.1);
    }
    100% {
        transform: translate(-50px, -30px) scale(0.95);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(239, 68, 68, 0.25);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Common Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 9, 19, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 80px;
    height: auto;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1450px; /* Made wider to prevent squeezing */
    margin: 0 auto;
    min-height: 64px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    flex-wrap: wrap; /* Support wrapping of header items */
    gap: 12px 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    color: var(--text-main);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 6px 4px;
    margin: 0 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-btn i {
    font-size: 13px;
}

.nav-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.nav-btn.active {
    color: #fff;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}

/* Discord CTA button */
.discord-cta {
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.discord-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.45);
    background: #4752c4;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 22px;
    cursor: pointer;
}

/* Mobile Dropdown Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 20px 30px rgba(0,0,0,0.5);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    display: flex;
}

.mobile-nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    padding: 12px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.mobile-nav-btn.active {
    color: #fff;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.mobile-discord-cta {
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* Master Pages Container & Page Transitions */
.pages-container {
    flex: 1;
    margin-top: 110px; /* Extra room on desktop for potential header wrapping */
    padding: 40px 24px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    transition: margin-top 0.3s ease;
}

.page {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PAGE: STARTSEITE (HOME)
   ========================================================================== */

/* Hero Block */
.hero-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0 100px 0;
    max-width: 850px;
    margin: 0 auto;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

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

/* WM 2026 Hero Card (compact, rechts im Hero) */
.wm-hero-card {
    background: linear-gradient(135deg, #021a04 0%, #041209 100%);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(34,197,94,0.07);
    animation: wmCardPulse 3s ease-in-out infinite alternate;
}

@keyframes wmCardPulse {
    0%   { box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(34,197,94,0.05); }
    100% { box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 60px rgba(34,197,94,0.14); }
}

.wm-hero-card-top {
    background: rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wm-hc-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #86efac;
}

.wm-hc-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.wm-hc-body {
    padding: 24px;
}

.wm-hc-icon {
    font-size: 36px;
    margin-bottom: 14px;
    animation: wmBallSpin 4s linear infinite;
    display: inline-block;
}

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

.wm-hc-heading {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #86efac 60%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wm-hc-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.wm-hc-desc strong {
    color: #86efac;
}

.wm-hc-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wm-hc-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(34,197,94,0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.wm-hc-step span {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

.wm-hc-step-gold {
    border-color: rgba(251,191,36,0.2);
    background: rgba(251,191,36,0.05);
    color: #fbbf24;
}

.wm-hc-step-gold span {
    background: rgba(251,191,36,0.15);
    color: #f59e0b;
    font-size: 12px;
}

/* ==========================================================================
   WM 2026 TIPICO BANNER
   ========================================================================== */

.wm-banner {
    position: relative;
    margin: 0 auto 50px auto;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #021a04 0%, #041209 40%, #021505 100%);
    border: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(34, 197, 94, 0.06);
    animation: wmBannerPulse 3s ease-in-out infinite alternate;
    max-width: 960px;
}

@keyframes wmBannerPulse {
    0%   { box-shadow: 0 0 0 1px rgba(34,197,94,0.06), 0 20px 60px rgba(0,0,0,0.6), 0 0 60px rgba(34,197,94,0.05); }
    100% { box-shadow: 0 0 0 1px rgba(34,197,94,0.18), 0 20px 60px rgba(0,0,0,0.6), 0 0 100px rgba(34,197,94,0.12); }
}

.wm-banner-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    background: rgba(34, 197, 94, 0.08);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    gap: 16px;
    flex-wrap: wrap;
}

.wm-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #86efac;
}

.wm-live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
}

@keyframes wmPulseDot {
    0%   { transform: scale(1);   box-shadow: 0 0 0 0   rgba(34,197,94,0.6); }
    70%  { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34,197,94,0);   }
    100% { transform: scale(1);   box-shadow: 0 0 0 0   rgba(34,197,94,0);   }
}

.wm-subtitle {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wm-banner-main {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.wm-banner-left {
    flex: 1;
    padding: 32px 36px;
    border-right: 1px solid rgba(34, 197, 94, 0.1);
}

.wm-big-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(34, 197, 94, 0.6);
    margin-bottom: 4px;
}

.wm-big-title {
    font-family: var(--font-heading);
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff 0%, #86efac 45%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.3));
    animation: wmShimmer 4s ease-in-out infinite alternate;
}

.wm-big-title span {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 2px;
}

@keyframes wmShimmer {
    0%   { filter: drop-shadow(0 0 20px rgba(34,197,94,0.2)); }
    100% { filter: drop-shadow(0 0 45px rgba(34,197,94,0.5)); }
}

.wm-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 380px;
}

.wm-desc strong {
    color: #86efac;
}

.wm-banner-right {
    flex-shrink: 0;
    width: 360px;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.wm-how-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wm-how-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    transition: var(--transition);
}

.wm-how-step:hover {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.25);
}

.wm-how-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #22c55e;
    flex-shrink: 0;
}

.wm-how-step div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wm-how-step strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.wm-how-step span {
    font-size: 12px;
    color: var(--text-dark);
}

.wm-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35);
    transition: var(--transition);
}

.wm-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.5);
    background: linear-gradient(135deg, #15803d, #166534);
}

/* WM deco blobs */
.wm-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wm-deco span {
    position: absolute;
    border-radius: 50%;
    animation: wmDeco 8s ease-in-out infinite;
}

.wm-deco span:nth-child(1) {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(34,197,94,0.07) 0%, transparent 70%);
    top: -80px; right: -40px;
    animation-delay: 0s;
}
.wm-deco span:nth-child(2) {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(251,191,36,0.05) 0%, transparent 70%);
    bottom: -60px; left: 15%;
    animation-delay: 2s;
}
.wm-deco span:nth-child(3) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(34,197,94,0.04) 0%, transparent 70%);
    bottom: -200px; right: -100px;
    animation-delay: 1s;
}

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

/* WM Responsive */
@media (max-width: 800px) {
    .wm-banner-main { flex-direction: column; }
    .wm-banner-left { border-right: none; border-bottom: 1px solid rgba(34,197,94,0.1); padding: 28px 24px; }
    .wm-banner-right { width: 100%; padding: 24px; }
    .wm-big-title { font-size: 44px; }
}

.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 25px rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(239, 68, 68, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Visual Card Mockup */
.visual-gta-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.card-bar {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.bar-title {
    color: var(--text-dark);
    font-size: 12px;
    font-family: var(--font-heading);
    margin-left: 10px;
    font-weight: 600;
}

.card-code {
    padding: 24px;
    font-family: monospace;
    font-size: 14px;
}

.card-code pre {
    background: transparent;
    border: none;
    margin: 0;
}

.card-code .k { color: #ec4899; }
.card-code .s { color: #10b981; }

/* Features grid & welcome box */
.info-intro-section {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title-wrap {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-title-wrap p {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.05);
}

.feat-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.welcome-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.07) 0%, rgba(153, 27, 27, 0.07) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-box p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-main);
}

/* ==========================================================================
   CREATOR CODE BANNER — BOLD EDITION
   ========================================================================== */

.cc-banner {
    position: relative;
    margin: 0 auto 50px auto;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0505 0%, #0f0202 40%, #160808 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(239, 68, 68, 0.07);
    animation: bannerPulse 3s ease-in-out infinite alternate;
    max-width: 960px;
}

@keyframes bannerPulse {
    0%   { box-shadow: 0 0 0 1px rgba(239,68,68,0.08), 0 20px 60px rgba(0,0,0,0.6), 0 0 60px rgba(239,68,68,0.06); }
    100% { box-shadow: 0 0 0 1px rgba(239,68,68,0.2),  0 20px 60px rgba(0,0,0,0.6), 0 0 100px rgba(239,68,68,0.14); }
}

/* Top bar */
.cc-banner-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.18);
    gap: 16px;
    flex-wrap: wrap;
}

/* "NUR FÜR KURZE ZEIT" badge */
.cc-limited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fca5a5;
}

.cc-pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
}

@keyframes pulseDot {
    0%   { transform: scale(1);   box-shadow: 0 0 0 0   rgba(239,68,68,0.6); }
    70%  { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239,68,68,0);   }
    100% { transform: scale(1);   box-shadow: 0 0 0 0   rgba(239,68,68,0);   }
}

.cc-howto {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-howto strong {
    color: #fca5a5;
    font-family: monospace;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 1px 7px;
    border-radius: 5px;
    font-size: 14px;
}

/* Main content area */
.cc-banner-main {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

/* LEFT: giant text */
.cc-banner-left {
    flex: 1;
    padding: 32px 36px;
    border-right: 1px solid rgba(239, 68, 68, 0.12);
}

.cc-big-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(239, 68, 68, 0.7);
    margin-bottom: 4px;
}

.cc-big-code {
    font-family: var(--font-heading);
    font-size: 68px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #fca5a5 40%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 30px rgba(239, 68, 68, 0.35));
    animation: codeShimmer 4s ease-in-out infinite alternate;
}

@keyframes codeShimmer {
    0%   { filter: drop-shadow(0 0 20px rgba(239,68,68,0.25)); }
    100% { filter: drop-shadow(0 0 50px rgba(239,68,68,0.55)); }
}

.cc-big-reward {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(251,191,36,0.15) 0%, rgba(245,158,11,0.08) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 30px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fbbf24;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.15);
}

.cc-big-reward i {
    font-size: 20px;
    color: #f59e0b;
    animation: coinBounce 2s ease-in-out infinite;
}

@keyframes coinBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-4px) rotate(10deg); }
}

.cc-big-reward em {
    font-style: normal;
    color: rgba(251,191,36,0.7);
    font-size: 16px;
    font-weight: 700;
}

/* RIGHT: copy box */
.cc-banner-right {
    flex-shrink: 0;
    width: 340px;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cc-instruction {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin: 0;
}

.cc-copy-display {
    display: flex;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}

.cc-copy-code {
    flex: 1;
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-transform: lowercase;
}

.cc-copy-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border-left: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}

.cc-copy-btn:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.cc-copy-btn.copied {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* Steps row */
.cc-steps-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cc-steps-row i {
    color: rgba(255,255,255,0.15);
    font-size: 10px;
}

.cc-mini-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 5px 10px;
    white-space: nowrap;
}

.cc-mini-step span:first-child {
    background: rgba(239,68,68,0.18);
    color: var(--primary);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

.cc-mini-step kbd {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 4px;
    padding: 0 5px;
    font-size: 12px;
    color: #f87171;
    font-family: monospace;
}

.cc-mini-gold {
    border-color: rgba(251,191,36,0.25);
    background: rgba(251,191,36,0.06);
    color: #fbbf24;
}

.cc-mini-gold span:first-child {
    background: rgba(251,191,36,0.15);
    color: #f59e0b;
    font-size: 12px;
}

/* Background deco particles */
.cc-banner-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cc-banner-bg-deco span {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: ccDeco 8s ease-in-out infinite;
}

.cc-banner-bg-deco span:nth-child(1) { width: 300px; height: 300px; background: radial-gradient(circle, rgba(239,68,68,0.08) 0%, transparent 70%); top: -100px; right: -50px; animation-delay: 0s; }
.cc-banner-bg-deco span:nth-child(2) { width: 200px; height: 200px; background: radial-gradient(circle, rgba(251,191,36,0.06) 0%, transparent 70%); bottom: -60px; left: 10%; animation-delay: 2s; }
.cc-banner-bg-deco span:nth-child(3) { width: 150px; height: 150px; background: radial-gradient(circle, rgba(239,68,68,0.05) 0%, transparent 70%); top: 20%; left: 30%; animation-delay: 4s; }
.cc-banner-bg-deco span:nth-child(4) { width: 80px;  height: 80px;  background: rgba(239,68,68,0.05); top: 10%; left: 50%; animation-delay: 1s; border-radius: 50%; }
.cc-banner-bg-deco span:nth-child(5) { width: 60px;  height: 60px;  background: rgba(251,191,36,0.04); bottom: 20%; right: 20%; animation-delay: 3s; border-radius: 50%; }
.cc-banner-bg-deco span:nth-child(6) { width: 400px; height: 400px; background: radial-gradient(circle, rgba(153,27,27,0.06) 0%, transparent 70%); bottom: -150px; right: -100px; animation-delay: 1.5s; }

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

/* Responsive */
@media (max-width: 800px) {
    .cc-banner-main { flex-direction: column; }
    .cc-banner-left { border-right: none; border-bottom: 1px solid rgba(239,68,68,0.12); padding: 28px 24px; width: 100%; }
    .cc-banner-right { width: 100%; padding: 24px; }
    .cc-big-code { font-size: 50px; }
    .cc-banner-top { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ==========================================================================
   PAGE: GRUNDLAGEN (BASICS)
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-badge {
    color: var(--primary);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.text-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
}

.text-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.text-card h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.text-accent {
    color: var(--primary);
}

.text-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

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

.example-quote {
    background: rgba(6, 182, 212, 0.04);
    border-left: 4px solid var(--secondary);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 24px 0 0 0;
}

.example-quote strong {
    display: block;
    color: var(--text-main);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.example-quote p {
    margin-bottom: 0;
    font-style: italic;
}

.tip-box {
    background: rgba(139, 92, 246, 0.04);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 24px 0 0 0;
}

.tip-box strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.tip-box p {
    margin-bottom: 0;
}

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

/* ==========================================================================
   PAGE: INFOS
   ========================================================================== */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.info-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 24px;
}

.discord-color { background: #5865F2; }
.salty-color { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.fivem-color { background: linear-gradient(135deg, #e11d48, #f97316); }
.avoro-color { background: linear-gradient(135deg, #3b82f6, #06b6d4); }

.info-card h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    flex: 1;
}

.card-link {
    color: var(--secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    text-decoration: underline;
}

.card-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* ==========================================================================
   PAGE: SERVERREGELN & SEARCH
   ========================================================================== */

/* Search Bar Custom Styling */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 30px auto 0 auto;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark);
    font-size: 18px;
    pointer-events: none;
}

.search-container input {
    width: 100%;
    background: rgba(18, 11, 11, 0.8);
    border: 1px solid var(--border-color);
    padding: 16px 20px 16px 54px;
    border-radius: 30px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.search-container input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}

.search-highlight {
    background: rgba(239, 68, 68, 0.25);
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    border-bottom: 2px solid var(--primary);
    font-weight: 600;
}

.clear-search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.clear-search:hover {
    color: var(--text-main);
}

/* Rules Main Wrap */
.rules-main-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.rules-warning-alert {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 4px solid var(--accent-red);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.alert-icon {
    font-size: 26px;
    color: var(--accent-red);
}

.alert-text h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.alert-text ul {
    list-style: none;
}

.alert-text li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
}

.alert-text li::before {
    content: "•";
    color: var(--accent-red);
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -3px;
}

/* Accordion Rules list */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    text-align: left;
}

.header-icon {
    color: var(--primary);
    margin-right: 10px;
}

.accordion-header .arrow {
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.accordion-item.open {
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.05);
}

.accordion-item.open .arrow {
    transform: rotate(180deg);
    color: var(--secondary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 28px;
}

.accordion-item.open .accordion-content {
    max-height: 2000px; /* Large enough buffer */
    padding-bottom: 28px;
}

.accordion-content h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 10px 0;
    color: var(--secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 6px;
}

.accordion-content h3:first-of-type {
    margin-top: 0;
}

.accordion-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.accordion-content ul {
    list-style: none;
    margin-bottom: 14px;
}

.accordion-content ul:last-child {
    margin-bottom: 0;
}

.accordion-content li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

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

/* ==========================================================================
   PAGE: GESETZE (LAWBOOK)
   ========================================================================== */

/* Tabs Navigation styling */
.laws-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.law-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.law-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
}

.law-tab-btn.active {
    color: #fff;
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15);
}

/* Panels */
.law-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.law-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.law-panel h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

/* GG Grid Style */
.law-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.law-card-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.law-card-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.law-paragraph {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.15);
    padding: 3px 8px;
    border-radius: 20px;
    font-family: var(--font-heading);
}

.law-card-item h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-right: 40px;
}

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

/* List Style for StGB, WaffenG, BtMG */
.laws-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.law-list-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.law-list-card:hover {
    border-color: var(--border-hover);
}

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

.llc-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.llc-header .law-paragraph {
    position: static;
    margin-right: 15px;
}

.law-list-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.law-list-card ul {
    list-style: none;
    margin-top: 10px;
}

.law-list-card li {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.law-list-card li::before {
    content: "•";
    color: var(--secondary);
    font-weight: 800;
    position: absolute;
    left: 0;
}

/* ==========================================================================
   PAGE: IMPRESSUM
   ========================================================================== */
.impressum-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.im-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.im-card h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.im-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 10px 0;
    color: var(--secondary);
}

.im-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
}

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

.width-full {
    grid-column: span 2;
}

.text-link {
    color: var(--secondary);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.info-alert {
    background: rgba(239, 68, 68, 0.03);
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.info-alert strong {
    font-family: var(--font-heading);
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.info-alert p {
    margin-bottom: 0;
    font-size: 13px;
}

/* Social Media Channels Panel */
.socials-card {
    text-align: center;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-item i {
    font-size: 28px;
    color: #fff;
    transition: var(--transition);
}

.social-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
}

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

.social-item.tiktok:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.social-item.tiktok:hover i { color: #00f2fe; }

.social-item.youtube:hover {
    background: rgba(255, 0, 0, 0.07);
    border-color: rgba(255, 0, 0, 0.25);
    color: #ff0000;
}
.social-item.youtube:hover i { color: #ff0000; }

.social-item.discord:hover {
    background: rgba(88, 101, 242, 0.07);
    border-color: rgba(88, 101, 242, 0.25);
    color: #5865f2;
}
.social-item.discord:hover i { color: #5865f2; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background: rgba(4, 6, 12, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px 24px;
    text-align: center;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-footer p {
    font-size: 13px;
    color: var(--text-dark);
}

.heart-pulse {
    color: #f43f5e;
    animation: heartPulse 1.2s infinite alternate ease-in-out;
    display: inline-block;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Server Status Card in Hero Section */
.server-status-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.server-status-card:hover {
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-badge.online {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

.players-count {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.status-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.status-logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.status-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 20px;
}

.status-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Connection Card in Aktuelles Page */
.connection-card-wrapper {
    margin-bottom: 40px;
}

.connection-card {
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.connection-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 10% 10%, rgba(239, 68, 68, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.connection-card-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin: 12px 0 16px 0;
    color: var(--text-main);
}

.badge-warning {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.connection-card-body p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.connect-copy-container {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.connect-copy-box {
    flex: 1;
    min-width: 250px;
    background: #03060f;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.connect-f8-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.connect-copy-box code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn-copy-action {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.btn-copy-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-copy-action.copied {
    background: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

.connection-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 28px;
}

.instruction-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-text strong {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
}

.step-text span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-text kbd {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

/* News page promotion grid */
.promotion-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE / TABLET SUPPORT)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-block {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .law-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1150px) {
    .nav-links, .discord-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }

    .pages-container {
        margin-top: 80px; /* Standard mobile header is 80px */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }
    
    .section-header h1 {
        font-size: 32px;
    }
    
    .section-title-wrap h2 {
        font-size: 28px;
    }
    
    .text-card {
        padding: 24px;
    }
    
    .im-card {
        padding: 24px;
    }
    
    .impressum-wrapper {
        grid-template-columns: 1fr;
    }
    
    .width-full {
        grid-column: span 1;
    }
    
    .socials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .law-grid {
        grid-template-columns: 1fr;
    }
    
    .laws-tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .law-tab-btn {
        border-radius: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   PAGE: GALERIE (IMAGE GALLERY & LIGHTBOX)
   ========================================================================== */
.gallery-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 10;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(6, 8, 14, 0.95) 0%, rgba(6, 8, 14, 0.4) 70%, rgba(6, 8, 14, 0) 100%);
    padding: 20px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}

/* Hover effects */
.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Gallery Admin Tip Box */
.gallery-tip {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.gallery-tip i {
    font-size: 24px;
    color: var(--primary);
}

.gallery-tip p {
    margin: 0;
    line-height: 1.5;
}

.gallery-tip code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    font-family: monospace;
}

/* Lightbox Fullscreen Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(4, 6, 12, 0.96);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-caption {
    margin: 15px auto;
    width: 80%;
    text-align: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 6px;
}

.close-lightbox {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--text-muted);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.close-lightbox:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Gallery responsiveness */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PAGE: CHANGELOGS (TIMELINE ACCORDION)
   ========================================================================== */
.changelog-timeline {
    position: relative;
    max-width: 850px;
    margin: 40px auto 0 auto;
    padding-left: 40px;
}

/* Glowing Neon Vertical Line */
.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 25px;
    bottom: 25px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, rgba(239, 68, 68, 0.05) 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.changelog-entry {
    position: relative;
    margin-bottom: 30px;
}

.changelog-entry:last-child {
    margin-bottom: 0;
}

/* Glowing Indicator Dot */
.changelog-dot {
    position: absolute;
    left: -41px;
    top: 25px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--primary);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    z-index: 2;
    transition: var(--transition);
}

.changelog-entry:hover .changelog-dot {
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--primary);
    background: var(--primary);
}

/* Premium Accordion Card */
.changelog-accordion {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.changelog-accordion:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.04);
}

/* Accordion Header */
.changelog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    user-select: none;
    transition: var(--transition);
}

.changelog-card-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.changelog-title-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.changelog-version {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.changelog-version i {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.changelog-subtitle {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

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

.changelog-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.changelog-arrow {
    color: var(--text-dark);
    font-size: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accordion Content Collapse */
.changelog-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.changelog-card-content-inner {
    padding: 0 30px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
}

/* Open State classes */
.changelog-accordion.open {
    border-color: var(--border-hover);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.08);
}

.changelog-accordion.open .changelog-card-content {
    max-height: 2500px;
}

.changelog-accordion.open .changelog-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.changelog-accordion.open .changelog-card-header {
    background: rgba(239, 68, 68, 0.02);
}

/* Styled Section Badges inside Cards */
.changelog-section {
    margin-bottom: 24px;
}

.changelog-section:last-child {
    margin-bottom: 0;
}

.changelog-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 6px;
}

.changelog-section-title.new {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.changelog-section-title.fix {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.changelog-section-title.change {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Premium List Items with custom left-border glow and hover */
.changelog-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.changelog-list li {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    padding: 12px 18px 12px 42px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    line-height: 1.5;
    transition: var(--transition);
}

.changelog-list li:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    transform: translateX(3px);
}

/* FontAwesome bullet icons */
.changelog-list li::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
}

.changelog-section-title.new + .changelog-list li::before {
    content: "\f067"; /* plus */
    color: #10b981;
}

.changelog-section-title.fix + .changelog-list li::before {
    content: "\f00c"; /* check */
    color: #3b82f6;
}

.changelog-section-title.change + .changelog-list li::before {
    content: "\f013"; /* gear */
    color: #f59e0b;
}

.changelog-section-title.new + .changelog-list li {
    border-left: 3px solid #10b981;
}
.changelog-section-title.fix + .changelog-list li {
    border-left: 3px solid #3b82f6;
}
.changelog-section-title.change + .changelog-list li {
    border-left: 3px solid #f59e0b;
}

/* Responsive Rules for Timeline & Accordion */
@media (max-width: 768px) {
    .changelog-timeline {
        padding-left: 24px;
    }
    
    .changelog-timeline::before {
        left: 3px;
        top: 20px;
        bottom: 20px;
    }
    
    .changelog-dot {
        left: -28px;
        top: 23px;
        width: 14px;
        height: 14px;
        border-width: 2.5px;
    }
    
    .changelog-card-header {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .changelog-meta-area {
        width: 100%;
        justify-content: space-between;
    }
    
    .changelog-version {
        font-size: 18px;
    }
    
    .changelog-card-content-inner {
        padding: 0 20px 20px 20px;
    }
    
    .changelog-list li {
        font-size: 13.5px;
        padding: 10px 14px 10px 36px;
    }
    
    .changelog-list li::before {
        left: 12px;
    }
}

/* ==========================================================================
   PREMIUM BACKGROUND MUSIC CONTROLLER PILL
   ========================================================================== */
.music-controller {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    background: rgba(6, 9, 19, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--primary);
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(239, 68, 68, 0.05);
    transition: var(--transition);
    user-select: none;
}

.music-controller:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.15);
}

/* Audio Visualizer Bars */
.music-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    width: 21px;
}

.music-visualizer .bar {
    width: 3px;
    height: 4px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: height 0.3s ease, background-color 0.3s ease;
}

/* visualizer animation */
.music-visualizer.animating .bar {
    background-color: var(--primary);
    animation: barBounce 1.2s ease-in-out infinite alternate;
}

.music-visualizer.animating .bar-1 { animation-delay: 0.1s; height: 16px; }
.music-visualizer.animating .bar-2 { animation-delay: 0.4s; height: 12px; }
.music-visualizer.animating .bar-3 { animation-delay: 0.2s; height: 15px; }
.music-visualizer.animating .bar-4 { animation-delay: 0.6s; height: 8px; }

@keyframes barBounce {
    0% { height: 4px; transform: scaleY(1); }
    100% { height: 16px; transform: scaleY(1.2); }
}

/* Music Details Info */
.music-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.music-title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.music-status {
    font-size: 10.5px;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.music-visualizer.animating + .music-details .music-status {
    color: #10b981; /* Green status when active */
}

/* Play/Pause Button */
.music-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.music-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 10px var(--primary-glow);
}

.music-btn i {
    font-size: 11px;
    margin-left: 1px;
}

/* responsive music controller for mobile viewports */
@media (max-width: 768px) {
    .music-controller {
        bottom: 20px;
        right: 20px;
        padding: 8px 14px;
        gap: 10px;
    }
}

/* FiveM Keybinding Hint Banner */
.kb-fivem-hint {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.07), rgba(251, 191, 36, 0.03));
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-left: 4px solid rgba(251, 191, 36, 0.7);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.kb-hint-icon {
    font-size: 22px;
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 2px;
}

.kb-hint-body {
    flex: 1;
}

.kb-hint-body strong {
    font-family: var(--font-heading);
    font-size: 15px;
    color: #fde68a;
    display: block;
    margin-bottom: 6px;
}

.kb-hint-body > p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.kb-hint-details summary {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 6px;
    border-top: 1px solid rgba(251, 191, 36, 0.15);
    list-style: none;
    transition: var(--transition);
    user-select: none;
}

.kb-hint-details summary::-webkit-details-marker { display: none; }
.kb-hint-details summary::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.25s ease;
}
.kb-hint-details[open] summary::after { transform: rotate(180deg); }
.kb-hint-details summary:hover { color: #fde68a; }

.kb-hint-details ol {
    margin: 12px 0 0 0;
    padding-left: 22px;
}

.kb-hint-details ol li {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

.kb-hint-details ol li strong { color: var(--text-main); }

.kb-hint-details code {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 12px;
    color: #fde68a;
    font-family: 'Courier New', monospace;
}

/* ==========================================================================
   CATEGORY FILTER BAR
   ========================================================================== */

.kb-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.kb-filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.kb-filter-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--text-main);
}

.kb-filter-btn.active {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}

.keyboard-wrapper {
    background: rgba(12, 8, 8, 0.7);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 20px;
    padding: 28px 24px;
    overflow-x: auto;
    margin-bottom: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
}

.keyboard-full-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    min-width: 960px;
}

.kb-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kb-block-nav {
    margin-top: 0;
}

.kb-nav-gap {
    height: 14px;
    flex-shrink: 0;
}

.kb-row-gap {
    margin-top: 8px;
}

.kb-row-arrows {
    justify-content: center;
}

.kb-row {
    display: flex;
    gap: 5px;
    align-items: center;
}

.kb-spacer {
    width: 20px;
    flex-shrink: 0;
}

/* Small square keys (nav cluster + numpad) */
.kb-key-nav-sm {
    min-width: 40px;
    width: 40px;
    height: 40px;
    font-size: 10px;
    line-height: 1.2;
    flex-direction: column;
}

.kb-key-sm {
    min-width: 40px;
    width: 40px;
}

.kb-key-esc {
    min-width: 50px;
}

.kb-wide-caps   { min-width: 78px; }
.kb-wide-shift  { min-width: 56px; }
.kb-wide-rshift { min-width: 102px; }

/* Arrow key indicator */
.kb-key-arrow {
    font-size: 16px;
    color: #666;
}

/* ===== NUMPAD CSS GRID ===== */
.kb-numpad-grid {
    display: grid;
    grid-template-columns: repeat(4, 40px);
    grid-template-rows: repeat(5, 40px);
    gap: 5px;
}

/* + key spans 2 rows */
.kb-num-plus {
    grid-row: span 2;
    height: auto;
    font-size: 20px;
}

/* Enter key spans 2 rows */
.kb-num-enter {
    grid-row: span 2;
    height: auto;
    font-size: 10px;
}

/* 0 key spans 2 columns */
.kb-num-zero {
    grid-column: span 2;
    width: auto;
    min-width: unset;
}



.kb-key {
    min-width: 44px;
    height: 44px;
    background: rgba(30, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: default;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
    user-select: none;
    text-align: center;
}

.kb-key.kb-bound {
    background: linear-gradient(145deg, rgba(185, 28, 28, 0.25), rgba(153, 27, 27, 0.15));
    border-color: rgba(239, 68, 68, 0.3);
    border-bottom-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.08);
}

.kb-key.kb-bound:hover {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.4), rgba(185, 28, 28, 0.3));
    border-color: rgba(239, 68, 68, 0.7);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    cursor: pointer;
    z-index: 5;
}

.kb-key.kb-dimmed {
    opacity: 0.18;
    pointer-events: none;
    transform: none !important;
}

.kb-wide   { min-width: 68px; }
.kb-wide2x { min-width: 88px; }
.kb-space  { flex: 1; min-width: 180px; }

/* Tooltip */
.kb-tooltip {
    display: none;
    position: fixed;
    z-index: 9999;
    background: rgba(10, 6, 6, 0.96);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(239,68,68,0.1);
    pointer-events: none;
    backdrop-filter: blur(12px);
    min-width: 200px;
    animation: tooltipFadeIn 0.15s ease;
}

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

.kb-tooltip.show {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kbt-icon {
    width: 38px;
    height: 38px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.kbt-key {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.kbt-action {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.kbt-cat {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kbt-cat.system        { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; }
.kbt-cat.interaktion   { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.kbt-cat.bewegung      { background: rgba(239, 68, 68, 0.2);  color: #fca5a5; }
.kbt-cat.fahrzeug      { background: rgba(251, 191, 36, 0.2); color: #fde68a; }
.kbt-cat.kommunikation { background: rgba(6, 182, 212, 0.2);  color: #a5f3fc; }

/* Legend */
.kb-legend-section {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
}

.kb-legend-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

.kb-legend-title i { color: var(--primary); }

.kb-legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.kb-legend-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.kb-legend-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.kb-legend-cat-header {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kb-legend-cat-header.system        { background: rgba(99,102,241,0.15);  color: #a5b4fc; border-bottom: 1px solid rgba(99,102,241,0.2); }
.kb-legend-cat-header.interaktion   { background: rgba(16,185,129,0.15);  color: #6ee7b7; border-bottom: 1px solid rgba(16,185,129,0.2); }
.kb-legend-cat-header.bewegung      { background: rgba(239,68,68,0.15);   color: #fca5a5; border-bottom: 1px solid rgba(239,68,68,0.2); }
.kb-legend-cat-header.fahrzeug      { background: rgba(251,191,36,0.15);  color: #fde68a; border-bottom: 1px solid rgba(251,191,36,0.2); }
.kb-legend-cat-header.kommunikation { background: rgba(6,182,212,0.15);   color: #a5f3fc; border-bottom: 1px solid rgba(6,182,212,0.2); }

.kb-legend-card ul {
    list-style: none;
    padding: 12px 0;
}

.kb-legend-card ul li {
    padding: 7px 16px;
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.kb-legend-card ul li:last-child { border-bottom: none; }
.kb-legend-card ul li:hover { background: rgba(255,255,255,0.03); color: var(--text-main); }

.kb-legend-card kbd {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-bottom: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 5px;
    padding: 2px 7px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: #fca5a5;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .kb-filter-bar { gap: 6px; }
    .kb-filter-btn { font-size: 12px; padding: 6px 12px; }
    .keyboard-wrapper { padding: 16px 12px; }
    .kb-legend-grid { grid-template-columns: 1fr; }
}

/* Creator Code responsive */
@media (max-width: 700px) {
    .creator-code-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .creator-code-box {
        align-items: flex-start;
        width: 100%;
    }
    .creator-code-display {
        width: 100%;
    }
    .creator-code-value {
        font-size: 22px;
        flex: 1;
    }
    .creator-code-inner {
        padding: 28px 24px;
    }
}

/* Inactive Banner Styles */
.inactive-banner {
    position: relative;
    border-radius: 24px;
    padding: 32px 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.55;
    filter: grayscale(40%);
    transition: var(--transition);
    max-width: 960px;
    margin: 0 auto 50px auto;
}

.inactive-banner:hover {
    opacity: 0.75;
    filter: grayscale(20%);
    border-color: rgba(255, 255, 255, 0.08);
}

.fishing-banner-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.fishing-status-badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fishing-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.fishing-banner-main {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}

.fishing-banner-left {
    flex: 1.2;
}

.fishing-big-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.fishing-big-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.fishing-big-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fishing-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.fishing-banner-right {
    flex: 0.8;
}

.fishing-info-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.info-row i {
    color: #38bdf8;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .fishing-banner-main {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
}

