/* ==========================================================================
   RAID OPERATIONS GROUP (ROG) - TACTICAL MIL-SPEC PMC STYLESHEET
   Arma Reforger PMC & Special Operations Forces (SOF) Division
   Authentic Modern Military: Matte Charcoal, Ranger Green, Coyote Tan, NATO Grid
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* White Phosphor (P45 NVG Mil-Spec) Palette - Subdued Tactical ('nicht zu hell') */
    --nvg-green: #bce2f5;          /* Replaced Green NVG with cool White Phosphor */
    --nvg-white-phosphor: #bce2f5; /* Primary White Phosphor Tone */
    --nvg-wp: #bce2f5;
    --nvg-wp-ice: #e4f4fd;         /* Clean Ice White */
    --nvg-wp-dim: #7da5b8;         /* Subdued tactical telemetry */
    --nvg-wp-glow: rgba(188, 226, 245, 0.22);
    --nvg-wp-border: rgba(188, 226, 245, 0.32);
    --nvg-wp-bg: rgba(188, 226, 245, 0.08);

    /* Modern Matte Tactical PMC Palette (Arma Reforger authentic) */
    --pmc-bg-black: #0a0c0e;
    --pmc-bg-dark: #101317;
    --pmc-bg-surface: #161a20;
    --pmc-bg-surface-hover: #1e232b;
    --pmc-border: #28303a;
    --pmc-border-subtle: rgba(255, 255, 255, 0.08);

    /* Tactical Accent Colors (Matte, non-neon) */
    --pmc-ranger-green: #3d4f40;
    --pmc-ranger-green-light: #526b56;
    --pmc-coyote-tan: #997b57;
    --pmc-coyote-tan-light: #c2a378;
    --pmc-tactical-green: #22c55e;
    --pmc-hud-amber: #d97706;
    --pmc-alert-red: #ef4444;

    /* Text Colors */
    --pmc-text-primary: #f1f5f9;
    --pmc-text-secondary: #94a3b8;
    --pmc-text-muted: #64748b;

    /* Military Typography */
    --font-military-head: 'Chakra Petch', sans-serif;
    --font-military-body: 'Inter', sans-serif;
    --font-military-mono: 'JetBrains Mono', monospace;

    /* Mil-Spec Radii & Transitions */
    --radius-pmc: 4px;
    --radius-pmc-card: 8px;
    --transition-pmc: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Body */
body.rog-page {
    background-color: var(--pmc-bg-black);
    color: var(--pmc-text-primary);
    font-family: var(--font-military-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(188, 226, 245, 0.06) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    background-attachment: fixed;
}

/* Typography & Word Break Safety: Prevents awkward mid-word breaks or hyphenation */
body.rog-page,
body.rog-page p,
body.rog-page span,
body.rog-page h1,
body.rog-page h2,
body.rog-page h3,
body.rog-page h4,
body.rog-page h5,
body.rog-page h6,
body.rog-page li,
body.rog-page a,
body.rog-page button,
body.rog-page input,
body.rog-page select,
body.rog-page textarea,
body.rog-page label {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: manual;
    -webkit-hyphens: manual;
}

/* Telemetry Bar Placeholder to prevent layout shift */
.telemetry-bar-placeholder {
    min-height: 35px;
    position: relative;
    z-index: 998;
}

/* Top Mil-Spec Telemetry Header (Docks to bottom on scroll like on Hauptseite) */
.telemetry-ticker {
    background: #080a0c;
    border-bottom: 1px solid var(--pmc-border);
    padding: 8px 0;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    color: var(--pmc-text-secondary);
    letter-spacing: 1px;
    position: relative;
    width: 100%;
    z-index: 998;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, background 0.3s ease, box-shadow 0.4s ease;
}

/* Smooth Docking to the Bottom Edge of Screen on Scroll */
.telemetry-ticker.docked-bottom {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(8, 10, 12, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: none;
    border-top: 1px solid rgba(188, 226, 245, 0.4);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.92), 0 0 25px rgba(188, 226, 245, 0.18);
    padding: 8px 0;
    animation: rogDockGlideToBottom 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.1s linear, border-color 0.25s ease, background 0.25s ease;
}

.telemetry-ticker.docked-bottom.at-footer {
    border-top: 1px solid rgba(188, 226, 245, 0.55);
    background: rgba(6, 8, 11, 0.98);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.95), 0 0 20px rgba(188, 226, 245, 0.25);
}

footer, .rog-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(188, 226, 245, 0.3) !important;
    background: linear-gradient(180deg, #070a0d 0%, #020305 100%) !important;
    padding-bottom: 115px !important;
}

body.has-docked-telemetry footer,
body.has-docked-telemetry .rog-footer {
    padding-bottom: 125px !important;
}

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

.telemetry-ticker .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.telemetry-ticker .container::-webkit-scrollbar {
    display: none;
}

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

.ticker-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pmc-tactical-green);
    box-shadow: 0 0 8px var(--pmc-tactical-green);
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ROG Navigation Bar */
.rog-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16, 19, 23, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--pmc-border);
    padding: 8px 0;
}

.rog-nav .container {
    max-width: 1720px;
    width: 100%;
    padding: 0 16px;
}

.rog-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: 12px;
}

/* Desktop Flex Ordering (min-width: 1221px) */
@media (min-width: 1221px) {
    .rog-nav-brand {
        order: 1;
    }
    .rog-nav nav {
        order: 2;
        margin: 0 auto;
    }
    .rog-nav-inner .back-to-social-3d,
    .rog-nav-inner .btn-nav-social-back {
        order: 3;
    }
    .rog-nav-actions {
        order: 4;
    }
    .btn-rog-nav-discord {
        display: none !important;
    }
    .rog-nav .mobile-toggle,
    .rog-nav .btn-mobile-nav-toggle {
        display: none !important;
    }
    .nav-item-social-return {
        display: none !important;
    }
}

.rog-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.rog-brand-patch {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ROG Nav 3D Box & Canvas (Optimized & Crisp) */
.rog-nav-3d-box {
    width: 52px;
    height: 52px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.25s ease;
}

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

.rog-nav-3d-canvas {
    width: 52px !important;
    height: 52px !important;
    display: block;
    outline: none;
}

.rog-brand-title {
    font-family: var(--font-military-head);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #fff;
    white-space: nowrap;
}

.rog-brand-sub {
    font-family: var(--font-military-mono);
    font-size: 0.70rem;
    color: var(--pmc-coyote-tan-light);
    letter-spacing: 1px;
}

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

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

.rog-nav .nav-link {
    color: #e2e8f0;
    background: rgba(188, 226, 245, 0.05);
    border: 1px solid rgba(188, 226, 245, 0.18);
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-military-mono);
    font-size: clamp(0.72rem, 0.82vw, 0.80rem);
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 5px clamp(6px, 0.65vw, 11px);
    white-space: nowrap !important;
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.rog-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(188, 226, 245, 0.14);
    border-color: rgba(188, 226, 245, 0.48);
    box-shadow: 0 0 12px rgba(188, 226, 245, 0.35);
    transform: translateY(-1px);
}

.rog-nav .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(188, 226, 245, 0.22) 0%, rgba(18, 28, 38, 0.85) 100%) !important;
    border: 1px solid rgba(188, 226, 245, 0.65) !important;
    box-shadow: 0 0 16px rgba(188, 226, 245, 0.4), inset 0 0 8px rgba(188, 226, 245, 0.15) !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(188, 226, 245, 0.8);
}

.rog-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #bce2f5, #38bdf8);
    box-shadow: 0 0 10px #bce2f5, 0 0 16px rgba(188, 226, 245, 0.5);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

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

/* KEYPATHIE WoW Horde Progress Button */
.rog-nav .nav-link.nav-btn-wow {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5 !important;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.25);
}

.rog-nav .nav-link.nav-btn-wow:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.35) 0%, rgba(245, 158, 11, 0.3) 100%) !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.5), 0 0 24px rgba(220, 38, 38, 0.35);
    transform: translateY(-1px);
}

/* Back to Social Club 3D Model Button (Compact & Sleek) */
.back-to-social-3d {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 2px 14px 2px 4px;
    background: rgba(8, 12, 18, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap !important;
    flex-shrink: 0;
}

.back-to-social-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(255, 51, 136, 0.14));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 26px;
    pointer-events: none;
}

.back-to-social-3d:hover {
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.32), 0 0 35px rgba(255, 51, 136, 0.22);
    transform: translateY(-1px);
}

.back-to-social-3d:hover::before {
    opacity: 1;
}

.social-3d-box {
    width: 44px;
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.22) 0%, rgba(255, 51, 136, 0.12) 65%, transparent 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
    overflow: hidden;
}

.social-3d-canvas {
    width: 44px !important;
    height: 30px !important;
    display: block;
    position: relative;
    z-index: 2;
}

.social-3d-glow {
    position: absolute;
    width: 44px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.7) 0%, rgba(255, 51, 136, 0.45) 55%, transparent 80%);
    filter: blur(8px);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.back-to-social-3d:hover .social-3d-glow {
    transform: scale(1.35);
    opacity: 1;
}

.back-to-social-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: left;
}

.social-back-title {
    font-family: var(--font-military-head);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    line-height: 1.1;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.back-to-social-3d:hover .social-back-title {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.social-back-sub {
    font-family: var(--font-military-mono);
    font-size: 0.65rem;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-top: 2px;
    transition: color 0.2s ease;
}

.back-to-social-3d:hover .social-back-sub {
    color: #ff3388;
}

@media (max-width: 680px) {
    .back-to-social-meta {
        display: none;
    }
    .back-to-social-3d {
        padding: 4px;
        border-radius: 50%;
    }
}

/* ROG Hero Section */
.rog-hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.classified-stamp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(153, 123, 87, 0.12);
    border: 1px solid var(--pmc-coyote-tan);
    color: var(--pmc-coyote-tan-light);
    padding: 5px 16px;
    border-radius: var(--radius-pmc);
    font-family: var(--font-military-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 24px;
}

.rog-hero-patch-display {
    margin-bottom: 24px;
}

.rog-hero-patch-display img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* ROG Hero 3D Badge Wrapper & Tactical Sizing */
.rog-hero-3d-wrapper {
    position: relative;
    width: 400px;
    max-width: 92vw;
    height: 400px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    overflow: visible;
}

.rog-hero-3d-wrapper:active {
    cursor: grabbing;
}

.rog-hero-3d-canvas {
    width: 400px !important;
    height: 400px !important;
    max-width: 92vw;
    max-height: 92vw;
    display: block;
    outline: none;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 50px rgba(188, 226, 245, 0.5));
}

.rog-hero-3d-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(188, 226, 245, 0.22) 0%, rgba(140, 195, 225, 0.08) 50%, transparent 75%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.rog-hero-kicker-tag {
    font-family: var(--font-military-head);
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--nvg-green);
    text-shadow: 0 0 20px rgba(188, 226, 245, 0.7), 0 0 35px rgba(188, 226, 245, 0.35);
    margin-bottom: 6px;
    text-align: center;
}

.rog-hero-title {
    font-family: var(--font-military-head);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 12px;
    text-align: center;
}

.rog-hero-title span {
    color: var(--pmc-coyote-tan-light);
}

.rog-hero-subtitle {
    font-family: var(--font-military-mono);
    font-size: 1.05rem;
    letter-spacing: 3px;
    color: var(--hud-amber);
    text-shadow: 0 0 14px rgba(255, 184, 0, 0.45);
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
}

.rog-hero-desc-wrap {
    max-width: 860px;
    margin: 0 auto 36px;
    text-align: center;
}

.rog-hero-desc-wrap .rog-hero-desc {
    max-width: 100%;
    margin: 0 auto 16px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #cbd5e1;
    text-align: center;
}

.text-nvg {
    color: var(--nvg-green) !important;
}

.text-amber {
    color: var(--hud-amber) !important;
}

.text-white {
    color: #ffffff !important;
}

.rog-action-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Military Buttons */
.btn-milsim-primary {
    background: var(--pmc-ranger-green);
    color: #fff;
    border: 1px solid var(--pmc-ranger-green-light);
    padding: 12px 28px;
    font-family: var(--font-military-mono);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-pmc);
    cursor: pointer;
    transition: var(--transition-pmc);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-milsim-primary:hover {
    background: var(--pmc-ranger-green-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-milsim-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--pmc-text-primary);
    border: 1px solid var(--pmc-border);
    padding: 12px 28px;
    font-family: var(--font-military-mono);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pmc);
    cursor: pointer;
    transition: var(--transition-pmc);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-milsim-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--pmc-coyote-tan);
    color: #fff;
    transform: translateY(-2px);
}

/* Dossier Telemetry Cards */
.dossier-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
}

.stat-dossier-card {
    background: var(--pmc-bg-surface);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc-card);
    padding: 20px;
    text-align: left;
    position: relative;
    border-top: 3px solid var(--pmc-ranger-green);
}

.stat-dossier-title {
    font-family: var(--font-military-mono);
    font-size: 0.75rem;
    color: var(--pmc-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.stat-dossier-value {
    font-family: var(--font-military-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

/* Section Header */
.rog-section-title {
    font-family: var(--font-military-head);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.rog-section-sub {
    font-family: var(--font-military-mono);
    font-size: 0.88rem;
    color: var(--pmc-text-secondary);
    margin-bottom: 30px;
}

/* Squad Elements Tabs */
.squad-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.squad-tab-btn {
    background: var(--pmc-bg-surface);
    border: 1px solid var(--pmc-border);
    color: var(--pmc-text-secondary);
    padding: 10px 20px;
    font-family: var(--font-military-mono);
    font-size: 0.85rem;
    border-radius: var(--radius-pmc);
    cursor: pointer;
    transition: var(--transition-pmc);
    display: flex;
    align-items: center;
    gap: 8px;
}

.squad-tab-btn:hover {
    background: var(--pmc-bg-surface-hover);
    color: #fff;
    border-color: var(--pmc-ranger-green-light);
}

.squad-tab-btn.active {
    background: var(--pmc-ranger-green);
    border-color: var(--pmc-ranger-green-light);
    color: #fff;
    font-weight: 700;
}

.squad-detail-card {
    background: var(--pmc-bg-surface);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc-card);
    padding: 32px;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: start;
}

.squad-badge-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.squad-badge-icon {
    font-family: var(--font-military-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pmc-tactical-green);
    background: rgba(188, 226, 245, 0.12);
    border: 1px solid rgba(188, 226, 245, 0.35);
    padding: 4px 10px;
    border-radius: var(--radius-pmc);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.squad-name {
    font-family: var(--font-military-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    word-break: break-word;
}

.squad-desc {
    color: var(--pmc-text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.role-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--pmc-border);
    border-left: 3px solid var(--pmc-coyote-tan);
    padding: 6px 12px;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    color: var(--pmc-text-primary);
    border-radius: var(--radius-pmc);
    line-height: 1.35;
    word-break: break-word;
}

.squad-loadout-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc);
    padding: 22px 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-self: start;
}

.loadout-title {
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    color: var(--pmc-coyote-tan-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loadout-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loadout-list li {
    font-family: var(--font-military-mono);
    font-size: 0.84rem;
    color: var(--pmc-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
    word-break: break-word;
    white-space: normal !important;
}

.loadout-list li::before {
    content: "▸";
    color: var(--pmc-tactical-green);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   OPERATIONS GRID & DISPATCH
   ========================================================================== */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.op-card {
    background: var(--pmc-bg-surface);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc-card);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 3px solid var(--pmc-ranger-green);
    transition: var(--transition-pmc);
}

.op-card:hover {
    border-color: var(--pmc-ranger-green-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.op-status {
    display: inline-block;
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: var(--radius-pmc);
    border: 1px solid var(--pmc-ranger-green-light);
    color: var(--pmc-tactical-green);
    align-self: flex-start;
    margin-bottom: 12px;
    white-space: nowrap !important;
    text-transform: uppercase;
    font-weight: 700;
}

.op-day {
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    color: var(--pmc-coyote-tan-light);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    white-space: nowrap !important;
}

.op-name {
    font-family: var(--font-military-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.op-brief {
    font-size: 0.92rem;
    color: var(--pmc-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.op-intel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--pmc-border-subtle);
    padding-top: 14px;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    color: var(--pmc-text-muted);
    white-space: nowrap !important;
}

.op-intel span {
    white-space: nowrap !important;
}

/* ==========================================================================
   ARMA REFORGER SERVER DIRECT CONNECT TERMINAL
   ========================================================================== */
.server-connect-box {
    background: var(--pmc-bg-surface);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc-card);
    padding: 32px;
    margin-bottom: 60px;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    font-family: var(--font-military-mono);
    font-size: 0.85rem;
    color: var(--pmc-tactical-green);
    border-bottom: 1px solid var(--pmc-border);
    padding-bottom: 14px;
    margin-bottom: 24px;
    white-space: nowrap !important;
}

.terminal-header span {
    white-space: nowrap !important;
}

.server-info-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: start;
}

.server-name-label {
    font-family: var(--font-military-mono);
    font-size: 0.75rem;
    color: var(--pmc-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    white-space: nowrap !important;
}

.server-name-val {
    font-family: var(--font-military-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.4;
}

.server-ip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--pmc-border);
    border-left: 3px solid var(--pmc-tactical-green);
    padding: 12px 18px;
    border-radius: var(--radius-pmc);
    flex-wrap: wrap;
}

#serverIPVal {
    font-family: var(--font-military-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pmc-tactical-green);
    letter-spacing: 0.5px;
}

.server-ip-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-copy-ip {
    background: var(--pmc-ranger-green);
    color: #fff;
    border: 1px solid var(--pmc-ranger-green-light);
    padding: 8px 16px;
    font-family: var(--font-military-mono);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-pmc);
    cursor: pointer;
    white-space: nowrap !important;
    flex-shrink: 0;
    transition: var(--transition-pmc);
}

.btn-copy-ip:hover {
    background: var(--pmc-ranger-green-light);
    color: #fff;
    box-shadow: 0 0 10px rgba(188, 226, 245, 0.3);
}

.btn-steam-join {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: #66c0f4;
    border: 1px solid rgba(102, 192, 244, 0.35);
    padding: 8px 14px;
    font-family: var(--font-military-mono);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-pmc);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-pmc);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-steam-join:hover {
    background: #2a475e;
    color: #fff;
    border-color: #66c0f4;
    box-shadow: 0 0 12px rgba(102, 192, 244, 0.4);
    transform: translateY(-1px);
}

/* Port & Security Telemetry Badges */
.server-telemetry-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tele-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
}

.tele-label {
    color: #64748b;
    font-weight: 600;
}

.tele-val {
    color: #cbd5e1;
    font-weight: 700;
}

.tele-val.text-nvg {
    color: var(--nvg-green);
}

/* Right Column: Deployment & Operations Intel */
.server-status-side {
    border-left: 1px solid rgba(188, 226, 245, 0.15);
    padding-left: 28px;
}

.server-side-title {
    font-family: var(--font-military-mono);
    color: var(--nvg-green);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.server-meta-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-family: var(--font-military-mono);
    font-size: 0.8rem;
}

.meta-label {
    color: #64748b;
    letter-spacing: 0.5px;
}

.meta-val {
    color: #e2e8f0;
    font-weight: 700;
}

.meta-val.highlight {
    color: var(--nvg-green);
}

.meta-val.text-dim {
    color: #94a3b8;
    font-size: 0.75rem;
}

.player-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin: 6px 0 10px;
}

.player-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--nvg-green), #00d2ff);
    transition: width 0.5s ease;
}

.connect-guide-box {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(188, 226, 245, 0.12);
    border-radius: 8px;
    padding: 14px 16px;
}

.guide-title {
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    color: var(--nvg-green);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.guide-steps {
    margin: 0;
    padding-left: 20px;
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.6;
}

.guide-steps li {
    margin-bottom: 4px;
}

.guide-steps strong, .guide-steps em {
    color: #f1f5f9;
}

.guide-steps code {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(188, 226, 245, 0.3);
    color: var(--nvg-green);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: var(--font-military-mono);
    font-size: 0.8rem;
}

/* Modpack Hub */
.server-modpack-hub {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.modpack-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.modpack-hub-title {
    font-family: var(--font-military-mono);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.modpack-hub-sub {
    font-family: var(--font-military-mono);
    font-size: 0.8rem;
    color: #64748b;
}

.modpack-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-mod-filter {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-pmc);
}

.btn-mod-filter:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-mod-filter.active {
    background: rgba(188, 226, 245, 0.15);
    border-color: var(--nvg-green);
    color: var(--nvg-green);
}

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

.mod-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.mod-card:hover {
    border-color: rgba(188, 226, 245, 0.3);
    transform: translateY(-2px);
    background: rgba(15, 23, 42, 0.75);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mod-card-top {
    margin-bottom: 12px;
}

.mod-category-badge {
    display: inline-block;
    background: rgba(188, 226, 245, 0.1);
    color: var(--nvg-green);
    font-family: var(--font-military-mono);
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.mod-card-title {
    font-family: var(--font-military-mono);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 6px;
}

.mod-card-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.45;
}

.mod-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
    margin-top: 10px;
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    color: #64748b;
}

.mod-size-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 3px;
    color: #cbd5e1;
}

.mod-status-tag {
    color: var(--nvg-green);
    font-weight: 600;
}

.modpack-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 18px;
    border-radius: 6px;
    gap: 16px;
    flex-wrap: wrap;
}

.modpack-footer-text {
    font-size: 0.82rem;
    color: #94a3b8;
}

/* Terminal Header Enhancements */
.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.65);
    border-bottom: 1px solid var(--pmc-border);
    font-family: var(--font-military-mono);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.terminal-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--nvg-green);
}

.terminal-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dot.pulse-green {
    background: var(--nvg-green);
    box-shadow: 0 0 10px var(--nvg-green);
    animation: nvgPulse 2s infinite ease-in-out;
}

.terminal-header-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.telemetry-pill-online {
    background: rgba(188, 226, 245, 0.15);
    border: 1px solid rgba(188, 226, 245, 0.4);
    color: var(--nvg-green);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.telemetry-pill-online.offline {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.45);
    color: #ef4444;
}

.telemetry-pill-ping {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-terminal-refresh {
    background: transparent;
    border: 1px solid var(--pmc-border);
    color: var(--pmc-text-muted);
    font-family: var(--font-military-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-pmc);
}

.btn-terminal-refresh:hover {
    color: var(--nvg-green);
    border-color: var(--nvg-green);
    background: rgba(188, 226, 245, 0.08);
}


/* ==========================================================================
   RECRUITMENT & ENLISTMENT FORM
   ========================================================================== */
.recruitment-section {
    padding: 60px 0 80px;
}

.recruitment-form-container {
    background: var(--pmc-bg-surface);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc-card);
    padding: 36px;
    max-width: 880px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    color: var(--pmc-text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    white-space: nowrap !important;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc);
    padding: 12px 14px;
    color: #fff;
    font-family: var(--font-military-body);
    font-size: 0.92rem;
    box-sizing: border-box;
    transition: var(--transition-pmc);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--pmc-ranger-green-light);
    background: rgba(0, 0, 0, 0.6);
}

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

.form-submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 10px;
}

.ticket-preview-box {
    display: none;
    background: #06080a;
    border: 1px solid var(--pmc-border);
    border-left: 3px solid var(--pmc-tactical-green);
    border-radius: var(--radius-pmc);
    padding: 24px;
    margin-top: 24px;
}

.ticket-preview-box.active {
    display: block;
}

.ticket-code {
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    color: #cbd5e1;
    white-space: pre-wrap;
    line-height: 1.5;
}

/* ==========================================================================
   TACTICAL FOOTER
   ========================================================================== */
.rog-footer {
    background: #080a0c;
    border-top: 1px solid var(--pmc-border);
    padding: 40px 0 115px !important;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    color: var(--pmc-text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR ROG
   ========================================================================== */
@media (max-width: 960px) {
    .squad-detail-card,
    .server-info-grid {
        grid-template-columns: 1fr;
    }
    .qual-detail-card {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding: 24px 18px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .terminal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        white-space: normal !important;
    }
}

@media (max-width: 640px) {
    .server-ip-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }
    .join-protocol-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   3D ROG ABZEICHEN CONTAINER (rog_3d_abzeichen.glb)
   ========================================================================== */
@media (max-width: 580px) {
    .rog-hero-3d-wrapper {
        width: 280px;
        height: 280px;
        margin: 0 auto 20px;
    }
    .rog-hero-3d-canvas {
        width: 280px !important;
        height: 280px !important;
    }
}

.rog-3d-reticle {
    position: absolute;
    inset: -12px;
    border: 1px dashed rgba(188, 226, 245, 0.25);
    border-radius: 50%;
    pointer-events: none;
    animation: tacticalRadarSweep 20s linear infinite;
}

.rog-3d-hint {
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    color: var(--nvg-green);
    letter-spacing: 1.5px;
    margin-top: -8px;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(188, 226, 245, 0.4);
}

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

.rog-nav-3d-box {
    width: 48px;
    height: 48px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rog-nav-3d-canvas {
    width: 48px !important;
    height: 48px !important;
    display: block;
}

/* ==========================================================================
   BERECHTIGUNGEN & PMC QUALIFIKATIONEN (ERSETZT STARRE TEAMS)
   ========================================================================== */
.quals-tabs-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.qual-tab-btn {
    background: rgba(14, 18, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid rgba(188, 226, 245, 0.3);
    color: var(--pmc-text-muted);
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qual-tab-btn:hover {
    color: #fff;
    border-color: rgba(188, 226, 245, 0.6);
    background: rgba(188, 226, 245, 0.08);
}

.qual-tab-btn.active {
    color: #fff;
    background: rgba(188, 226, 245, 0.15);
    border-color: var(--nvg-green);
    border-left: 3px solid var(--nvg-green);
    box-shadow: 0 0 20px rgba(188, 226, 245, 0.25);
}

.qual-detail-card {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: start;
    background: rgba(10, 13, 18, 0.9);
    border: 1px solid rgba(188, 226, 245, 0.25);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    position: relative;
    backdrop-filter: blur(12px);
    width: 100%;
    box-sizing: border-box;
}

.qual-detail-card > div:first-child {
    min-width: 0;
}

/* ==========================================================================
   MODLISTE SPOILER, SUCHE & LISTEN-FORMAT (111 MODS)
   ========================================================================== */
.modpack-spoiler {
    background: rgba(8, 11, 15, 0.92);
    border: 1px solid rgba(188, 226, 245, 0.25);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: border-color 0.3s ease;
}

.modpack-spoiler[open] {
    border-color: rgba(188, 226, 245, 0.55);
}

.modpack-summary-btn {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    background: linear-gradient(90deg, rgba(188, 226, 245, 0.12), rgba(15, 23, 42, 0.75));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-military-mono);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    user-select: none;
    transition: all 0.25s ease;
}

.modpack-summary-btn::-webkit-details-marker {
    display: none;
}

.modpack-summary-btn:hover {
    background: linear-gradient(90deg, rgba(188, 226, 245, 0.2), rgba(0, 212, 255, 0.15));
    color: var(--nvg-green);
}

.modpack-spoiler-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(188, 226, 245, 0.15);
    border: 1px solid rgba(188, 226, 245, 0.35);
    color: var(--nvg-green);
    transition: transform 0.3s ease;
}

.modpack-spoiler[open] .modpack-spoiler-arrow {
    transform: rotate(90deg);
}

.modpack-spoiler-content {
    padding: 24px;
}

.mod-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 20px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.mod-search-bar:focus-within {
    border-color: var(--nvg-green);
    box-shadow: 0 0 15px rgba(188, 226, 245, 0.25);
}

.mod-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-military-mono);
    font-size: 0.88rem;
}

.mod-search-count {
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    color: var(--nvg-green);
    background: rgba(188, 226, 245, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(188, 226, 245, 0.25);
    white-space: nowrap;
}

.btn-mod-sync {
    background: rgba(188, 226, 245, 0.12);
    border: 1px solid rgba(188, 226, 245, 0.35);
    color: var(--nvg-green);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.btn-mod-sync:hover {
    background: rgba(188, 226, 245, 0.25);
    border-color: var(--nvg-green);
    box-shadow: 0 0 12px rgba(188, 226, 245, 0.35);
    transform: translateY(-1px);
}

.btn-mod-sync:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mod List Table Format */
.mod-list-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
}

.mod-list-table th {
    text-align: left;
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mod-list-table tr.mod-row {
    background: rgba(15, 20, 28, 0.65);
    transition: background 0.2s;
}

.mod-list-table tr.mod-row:hover {
    background: rgba(188, 226, 245, 0.1);
}

.mod-list-table td {
    padding: 10px 14px;
    vertical-align: middle;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mod-list-table td:first-child {
    border-left: 3px solid rgba(188, 226, 245, 0.35);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: #fff;
    font-weight: 600;
}

.mod-list-table td:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: right;
}

.mod-version-tag {
    display: inline-block;
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(255, 184, 0, 0.35);
    color: var(--hud-amber);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.mod-size-tag {
    display: inline-block;
    background: rgba(188, 226, 245, 0.08);
    border: 1px solid rgba(188, 226, 245, 0.28);
    color: var(--nvg-green);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mod-workshop-link {
    color: var(--nvg-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(188, 226, 245, 0.25);
    background: rgba(188, 226, 245, 0.05);
    transition: all 0.2s ease;
}

.mod-workshop-link:hover {
    background: rgba(188, 226, 245, 0.2);
    border-color: var(--nvg-green);
    box-shadow: 0 0 10px rgba(188, 226, 245, 0.3);
}

/* ==========================================================================
   DISCORD BEITRITT & VORSTELLUNG PROTOKOLL (KEINE FORMULAR-BEWERBUNG)
   ========================================================================== */
.join-protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 36px 0 30px;
}

@media (max-width: 991px) {
    .join-protocol-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin: 20px 0 !important;
    }
}

.protocol-card {
    background: rgba(12, 16, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s;
}

.protocol-card:hover {
    transform: translateY(-3px);
    border-color: rgba(188, 226, 245, 0.4);
}

.protocol-card.highlight-card {
    border-color: rgba(255, 184, 0, 0.55);
    background: linear-gradient(180deg, rgba(255, 184, 0, 0.08), rgba(12, 16, 22, 0.9));
}

.protocol-step {
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    color: var(--nvg-green);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
}

.protocol-card.highlight-card .protocol-step {
    color: var(--hud-amber);
}

.protocol-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 12px;
    height: 38px;
    display: flex;
    align-items: center;
}

.protocol-discord-icon svg {
    width: 32px;
    height: 32px;
    fill: #5865F2;
    filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.45));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.protocol-card:hover .protocol-discord-icon svg {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(88, 101, 242, 0.75));
}

.protocol-title {
    font-family: var(--font-military-head);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 10px;
}

.protocol-desc {
    font-size: 0.88rem;
    color: var(--pmc-text-muted);
    line-height: 1.6;
}

.join-action-box {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(188, 226, 245, 0.25);
    border-radius: 8px;
    padding: 30px;
}

.btn-discord-launch {
    font-size: 1.05rem;
    padding: 16px 36px;
    background: linear-gradient(90deg, #10b981, #00d4ff);
    color: #000;
    font-weight: 800;
    border: none;
    text-shadow: none;
}

.btn-discord-launch:hover {
    box-shadow: 0 0 25px rgba(188, 226, 245, 0.5);
    transform: translateY(-2px);
}

.join-requirements-badge {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-family: var(--font-military-mono);
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ==========================================================================
   ROG TACTICAL 3D PRELOADER & MILITARY INTRO THEME
   Model: rog_3d_abzeichen.glb // White Phosphor NVG Tactical Styling (P45 Mil-Spec)
   ========================================================================== */
.rog-page .preloader-overlay {
    background: #0a0c0e !important;
}

.rog-page .preloader-backdrop-glow {
    background: radial-gradient(circle, rgba(188, 226, 245, 0.25) 0%, rgba(125, 165, 184, 0.12) 40%, rgba(15, 23, 42, 0.8) 75%, transparent 100%) !important;
    animation: pulseRogBackdropGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseRogBackdropGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.25); opacity: 1; }
}

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

.rog-page .preloader-tagline {
    font-family: var(--font-military-mono) !important;
    letter-spacing: 3px !important;
    font-size: 0.82rem !important;
    color: var(--nvg-green) !important;
    text-shadow: 0 0 14px rgba(188, 226, 245, 0.7) !important;
    font-weight: 700;
}

.rog-page .preloader-status-text {
    font-family: var(--font-military-body) !important;
    font-size: 0.94rem !important;
    color: #e2e8f0 !important;
    text-shadow: 0 0 8px rgba(188, 226, 245, 0.25);
}

.rog-page .preloader-progress-track {
    border-color: rgba(188, 226, 245, 0.35) !important;
    background: rgba(10, 15, 20, 0.85) !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(188, 226, 245, 0.2);
}

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

.rog-page .preloader-percent {
    font-family: var(--font-military-mono) !important;
    color: var(--nvg-green) !important;
    text-shadow: 0 0 10px rgba(188, 226, 245, 0.6);
}

/* Return Transition Override: When returning to Social Club, switch back to Social Club glow */
.preloader-overlay.transition-to-social .preloader-backdrop-glow {
    background: radial-gradient(circle, rgba(157, 78, 221, 0.45) 0%, rgba(255, 51, 136, 0.3) 40%, rgba(0, 212, 255, 0.2) 70%, transparent 100%) !important;
}

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

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

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

/* ==========================================================================
   ROG NAVIGATION: UNIFIED TACTICAL BUTTONS & ACTION CONTROLS
   ========================================================================== */
.rog-nav .nav-link.nav-btn-mods {
    background: rgba(188, 226, 245, 0.1);
    border: 1px solid rgba(188, 226, 245, 0.4);
    color: #bce2f5 !important;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(188, 226, 245, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
}

.rog-nav .nav-link.nav-btn-mods:hover,
.rog-nav .nav-link.nav-btn-mods.active {
    background: linear-gradient(135deg, rgba(188, 226, 245, 0.22) 0%, rgba(20, 32, 45, 0.9) 100%) !important;
    border-color: #bce2f5 !important;
    box-shadow: 0 0 18px rgba(188, 226, 245, 0.45), inset 0 0 8px rgba(188, 226, 245, 0.2) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.rog-nav .nav-link.nav-btn-calendar {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8 !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 12px;
}

.rog-nav .nav-link.nav-btn-calendar:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.rog-nav .nav-link.nav-btn-ucp {
    background: rgba(56, 189, 248, 0.09);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8 !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s ease;
}

.rog-nav .nav-link.nav-btn-ucp:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #7dd3fc;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
    transform: translateY(-1px);
}

.rog-nav .nav-link.nav-btn-acp {
    background: rgba(239, 68, 68, 0.09);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #f87171 !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s ease;
}

.rog-nav .nav-link.nav-btn-acp:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.btn-rog-ucp-cta {
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
    transition: all 0.25s ease;
}

.btn-rog-ucp-cta:hover {
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
    border-color: #7dd3fc !important;
    transform: translateY(-2px);
}

.rog-nav .nav-link.nav-btn-join {
    background: rgba(188, 226, 245, 0.08);
    border: 1px solid rgba(188, 226, 245, 0.3);
    color: var(--nvg-green) !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 12px;
}

.rog-nav .nav-link.nav-btn-join:hover {
    background: rgba(188, 226, 245, 0.2);
    border-color: var(--nvg-green);
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(188, 226, 245, 0.45);
    transform: translateY(-1px);
}

/* Action Area Return Buttons (Sleek, Tactical, 36px Height) */
.btn-nav-rog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px 0 8px;
    background: rgba(10, 15, 20, 0.85);
    border: 1px solid rgba(188, 226, 245, 0.45);
    border-radius: 18px;
    text-decoration: none;
    color: #bce2f5;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

.btn-nav-rog-back:hover {
    background: rgba(188, 226, 245, 0.18);
    border-color: #bce2f5;
    box-shadow: 0 0 16px rgba(188, 226, 245, 0.5);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-nav-rog-back .nav-back-mini-patch {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.btn-nav-social-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px 0 8px;
    background: rgba(10, 15, 20, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 18px;
    text-decoration: none;
    color: #00d4ff;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

.btn-nav-social-back:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-nav-social-back .nav-back-mini-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Responsive Navbar Scaling for Laptops & Medium Desktops (1221px to 1600px) */
@media (max-width: 1600px) and (min-width: 1221px) {
    .rog-nav .container {
        padding: 0 12px;
    }
    .rog-nav-inner {
        gap: 8px;
    }
    .rog-nav ul,
    .rog-nav .nav-menu {
        gap: 4px;
    }
    .rog-nav .nav-link {
        padding: 5px 8px;
        font-size: 0.76rem;
        letter-spacing: 0.3px;
    }
    .rog-brand-title {
        font-size: 0.98rem;
        letter-spacing: 0.8px;
    }
    .rog-nav-3d-box {
        width: 44px;
        height: 44px;
    }
    .rog-nav-3d-canvas {
        width: 44px !important;
        height: 44px !important;
    }
    .rog-nav-actions {
        gap: 8px;
    }
    .back-to-social-sub {
        display: none !important;
    }
}

@media (max-width: 1380px) and (min-width: 1221px) {
    .rog-brand-title {
        font-size: 0.88rem;
    }
    .rog-nav ul,
    .rog-nav .nav-menu {
        gap: 3px;
    }
    .rog-nav .nav-link {
        padding: 4px 6px;
        font-size: 0.72rem;
        letter-spacing: 0.2px;
    }
    .rog-nav-actions .btn-pwa-notif {
        display: none !important;
    }
}

/* Category Filter Badge Variations */
.mod-category-badge.cat-core {
    background: rgba(188, 226, 245, 0.12);
    color: var(--nvg-green);
    border: 1px solid rgba(188, 226, 245, 0.3);
}
.mod-category-badge.cat-weapons {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.mod-category-badge.cat-gear {
    background: rgba(217, 119, 6, 0.14);
    color: #fbbf24;
    border: 1px solid rgba(217, 119, 6, 0.35);
}
.mod-category-badge.cat-maps {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.mod-category-badge.cat-vehicles {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.mod-category-badge.cat-radio {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Modpack Controls Bar: Search, Category, Sort, View Toggle */
.mod-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(15, 20, 26, 0.75);
    border: 1px solid rgba(188, 226, 245, 0.2);
    border-radius: var(--radius-pmc-card);
    padding: 16px 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.mod-controls-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex: 1 1 320px;
}

.mod-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mod-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-military-mono);
    font-size: 0.75rem;
    color: var(--pmc-text-secondary);
}

.mod-sort-select {
    background: rgba(10, 14, 18, 0.9);
    border: 1px solid rgba(188, 226, 245, 0.25);
    color: #ffffff;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: var(--transition-pmc);
}

.mod-sort-select:focus,
.mod-sort-select:hover {
    border-color: var(--nvg-green);
    box-shadow: 0 0 10px rgba(188, 226, 245, 0.25);
}

/* View Switcher: Table vs Grid */
.mod-view-switcher {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px;
}

.btn-view-toggle {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-military-mono);
    font-size: 0.74rem;
    transition: var(--transition-pmc);
}

.btn-view-toggle:hover {
    color: #ffffff;
}

.btn-view-toggle.active {
    background: rgba(188, 226, 245, 0.2);
    color: var(--nvg-green);
    border: 1px solid rgba(188, 226, 245, 0.35);
}

/* Table Enhancements */
.mod-cell-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mod-index-nr {
    font-family: var(--font-military-mono);
    font-size: 0.7rem;
    color: #64748b;
    width: 28px;
    flex-shrink: 0;
}

.mod-item-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
}

.mod-cell-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #64748b;
}

.mod-id-label {
    letter-spacing: 0.5px;
    font-size: 0.68rem;
    color: #64748b;
}

.mod-id-code {
    font-family: var(--font-military-mono);
    background: rgba(0, 0, 0, 0.4);
    padding: 1px 6px;
    border-radius: 3px;
    color: var(--nvg-green);
    border: 1px solid rgba(188, 226, 245, 0.15);
}

.btn-copy-mini {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition-pmc);
}

.btn-copy-mini:hover {
    background: rgba(188, 226, 245, 0.15);
    border-color: var(--nvg-green);
    color: #ffffff;
}

/* Mod Card Enhancements */
.mod-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mod-card-id-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.72rem;
}

.mod-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mod-req-tag {
    color: var(--nvg-green);
    font-size: 0.7rem;
    font-weight: 600;
}

.mod-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-mod-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(188, 226, 245, 0.25);
    color: var(--pmc-text-primary);
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-pmc);
}

.btn-copy-mod-card:hover {
    background: rgba(188, 226, 245, 0.2);
    border-color: var(--nvg-green);
    color: #ffffff;
}

/* 4-Step Quick Install Timeline */
.deploy-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 36px 0;
}

@media (max-width: 992px) {
    .deploy-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .deploy-steps-grid {
        grid-template-columns: 1fr;
    }
}

.deploy-step-card {
    background: rgba(14, 18, 24, 0.85);
    border: 1px solid rgba(188, 226, 245, 0.2);
    border-radius: var(--radius-pmc-card);
    padding: 20px 18px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-pmc);
}

.deploy-step-card:hover {
    border-color: rgba(188, 226, 245, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(188, 226, 245, 0.15);
    transform: translateY(-2px);
}

.deploy-step-badge {
    font-family: var(--font-military-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--nvg-green);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.deploy-step-title {
    font-family: var(--font-military-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.deploy-step-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Tactical HUD Toast Feedback */
.hud-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.hud-toast {
    background: rgba(8, 12, 16, 0.94);
    border: 1px solid var(--nvg-green);
    box-shadow: 0 0 20px rgba(188, 226, 245, 0.35), 0 8px 24px rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    padding: 12px 18px;
    color: #ffffff;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

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

.hud-toast-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nvg-green);
    box-shadow: 0 0 8px var(--nvg-green);
    animation: nvgPulse 1.5s infinite ease-in-out;
}

.hud-toast.hud-toast-error {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}

.hud-toast.hud-toast-error .hud-toast-indicator {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

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

/* ==========================================================================
   SC.C COMMUNITY MOD SHOWCASE (LEAD DEV: ROG cris by SC.C)
   ========================================================================== */

/* Developer Hero Card */
.developer-hero-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, rgba(16, 24, 34, 0.85) 0%, rgba(10, 14, 20, 0.95) 100%);
    border: 1px solid rgba(188, 226, 245, 0.35);
    border-radius: var(--radius-pmc-card);
    padding: 20px 26px;
    margin: 0 auto 32px;
    max-width: 960px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(188, 226, 245, 0.05);
}

.developer-hero-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.developer-avatar-badge {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: rgba(188, 226, 245, 0.12);
    border: 1px solid var(--nvg-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 14px rgba(188, 226, 245, 0.25);
    flex-shrink: 0;
}

.developer-kicker {
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    color: var(--nvg-green);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.developer-name {
    font-family: var(--font-military-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.developer-hero-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-workshop-tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.45);
    color: #00d4ff;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-workshop-tag:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: #00d4ff;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.45);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Tab Switcher: Showcase vs Full Server Modpack */
.mod-tab-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 32px;
    max-width: 960px;
    padding: 6px;
    background: rgba(8, 12, 16, 0.75);
    border: 1px solid rgba(188, 226, 245, 0.18);
    border-radius: 8px;
}

.btn-tab-switch {
    flex: 1 1 auto;
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-family: var(--font-military-mono);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-tab-switch:hover {
    color: #ffffff;
    background: rgba(188, 226, 245, 0.08);
}

.btn-tab-switch.active {
    background: linear-gradient(135deg, rgba(188, 226, 245, 0.2) 0%, rgba(20, 32, 45, 0.9) 100%);
    border-color: var(--nvg-green);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(188, 226, 245, 0.28), inset 0 0 8px rgba(188, 226, 245, 0.1);
}

.tab-badge-pill {
    background: rgba(188, 226, 245, 0.15);
    border: 1px solid rgba(188, 226, 245, 0.3);
    color: var(--nvg-green);
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}

/* Mod Showcase Grid (Cards) */
.mod-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

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

.mod-showcase-card {
    background: rgba(14, 19, 26, 0.9);
    border: 1px solid rgba(188, 226, 245, 0.22);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    position: relative;
}

.mod-showcase-card:hover {
    border-color: var(--nvg-green);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 20px rgba(188, 226, 245, 0.22);
    transform: translateY(-4px);
}

.mod-showcase-banner-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #080b0f;
}

.mod-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mod-showcase-card:hover .mod-showcase-img {
    transform: scale(1.04);
}

.mod-showcase-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(14, 19, 26, 0.85) 85%, rgba(14, 19, 26, 1) 100%);
    pointer-events: none;
}

.mod-showcase-top-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    z-index: 5;
}

.mod-showcase-tag-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.mod-tag-pill-primary {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(188, 226, 245, 0.45);
    color: var(--nvg-green);
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    white-space: nowrap;
    flex-shrink: 0;
}

.mod-version-badge-pill {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 184, 0, 0.5);
    color: var(--hud-amber);
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Game Version Compatibility Pills & Glows */
.mod-gamever-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Green Glow: Compatible with latest game version */
.mod-gamever-pill.is-compatible {
    background: rgba(10, 24, 18, 0.88);
    border: 1px solid #00ff9d;
    color: #00ff9d;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.5), inset 0 0 8px rgba(0, 255, 157, 0.15);
}

.mod-gamever-pill.is-compatible:hover {
    box-shadow: 0 0 18px rgba(0, 255, 157, 0.8), inset 0 0 12px rgba(0, 255, 157, 0.3);
    color: #ffffff;
}

.mod-gamever-pill.is-compatible .gamever-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff9d;
    box-shadow: 0 0 8px #00ff9d, 0 0 12px #00ff9d;
    animation: pulseGlowGreen 1.8s infinite ease-in-out;
}

/* Red Glow: Outdated / Mismatched game version */
.mod-gamever-pill.is-outdated {
    background: rgba(30, 10, 12, 0.9);
    border: 1px solid #ef4444;
    color: #f87171;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.6), inset 0 0 8px rgba(239, 68, 68, 0.2);
}

.mod-gamever-pill.is-outdated:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.85), inset 0 0 12px rgba(239, 68, 68, 0.35);
    color: #ffffff;
}

.mod-gamever-pill.is-outdated .gamever-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444, 0 0 14px #ef4444;
    animation: pulseGlowRed 1.4s infinite ease-in-out;
}

@keyframes pulseGlowGreen {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px #00ff9d, 0 0 12px rgba(0, 255, 157, 0.6);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 12px #00ff9d, 0 0 18px rgba(0, 255, 157, 0.9);
        opacity: 0.85;
    }
}

@keyframes pulseGlowRed {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px #ef4444, 0 0 12px rgba(239, 68, 68, 0.6);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 14px #ef4444, 0 0 20px rgba(239, 68, 68, 0.95);
        opacity: 0.85;
    }
}

/* Developer Box & Meta Bar Game Version Indicators */
.developer-game-ver-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 22, 32, 0.9);
    border: 1px solid rgba(188, 226, 245, 0.35);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-military-mono);
    font-size: 0.76rem;
    color: #94a3b8;
}

.developer-game-ver-pill strong {
    color: var(--nvg-green);
    letter-spacing: 0.5px;
}

.game-ver-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nvg-green);
    box-shadow: 0 0 8px var(--nvg-green);
    animation: pulseGlowGreen 2s infinite;
}

/* Mod Card In-Body Game Version Row */
.mod-showcase-gamever-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(8, 14, 20, 0.75);
    border: 1px solid rgba(188, 226, 245, 0.16);
    border-radius: 6px;
    font-family: var(--font-military-mono);
    font-size: 0.74rem;
    white-space: nowrap;
}

.mod-gamever-label {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.mod-gamever-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.72rem;
    white-space: nowrap;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.mod-gamever-tag.is-compatible {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid #00ff9d;
    box-shadow: 0 0 12px rgba(0, 255, 157, 0.35), inset 0 0 8px rgba(0, 255, 157, 0.12);
}

.mod-gamever-tag.is-compatible .gamever-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff9d;
    box-shadow: 0 0 8px #00ff9d;
    animation: pulseGlowGreen 1.8s infinite ease-in-out;
    flex-shrink: 0;
}

.mod-gamever-tag.is-compatible .gamever-status {
    font-size: 0.62rem;
    background: rgba(0, 255, 157, 0.2);
    border: 1px solid rgba(0, 255, 157, 0.5);
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.mod-gamever-tag.is-outdated {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #ef4444;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.45), inset 0 0 8px rgba(239, 68, 68, 0.15);
}

.mod-gamever-tag.is-outdated .gamever-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: pulseGlowRed 1.4s infinite ease-in-out;
    flex-shrink: 0;
}

.mod-gamever-tag.is-outdated .gamever-status {
    font-size: 0.62rem;
    background: rgba(239, 68, 68, 0.24);
    border: 1px solid rgba(239, 68, 68, 0.55);
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.mod-showcase-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.mod-showcase-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-family: var(--font-military-mono);
    font-size: 0.74rem;
    color: #94a3b8;
    white-space: nowrap;
}

.author-verified-tag {
    color: var(--nvg-green);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mod-showcase-title {
    font-family: var(--font-military-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
}

.mod-showcase-summary {
    font-family: var(--font-military-body);
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin-bottom: 12px;
    min-height: 2.9em;
    max-height: 2.9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mod-showcase-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 14px;
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
}

.mod-meta-label {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
}

.mod-showcase-id-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.mod-showcase-size-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.mod-showcase-actions {
    display: flex;
    gap: 10px;
}

.btn-showcase-copy {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(188, 226, 245, 0.3);
    color: #ffffff;
    font-family: var(--font-military-mono);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-pmc);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-showcase-copy:hover {
    background: rgba(188, 226, 245, 0.2);
    border-color: var(--nvg-green);
    box-shadow: 0 0 12px rgba(188, 226, 245, 0.3);
}

.btn-showcase-workshop {
    flex: 1;
    background: linear-gradient(135deg, rgba(188, 226, 245, 0.18) 0%, rgba(20, 32, 45, 0.85) 100%);
    border: 1px solid var(--nvg-green);
    color: #ffffff !important;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s ease;
    box-shadow: 0 0 14px rgba(188, 226, 245, 0.2);
}

.btn-showcase-workshop:hover {
    background: rgba(188, 226, 245, 0.3);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(188, 226, 245, 0.5);
    transform: translateY(-1px);
}

/* ==========================================================================
   MOD SHOWCASE: GALLERY BADGE & DOSSIER ACTION BUTTON
   ========================================================================== */
.mod-showcase-banner-wrap {
    cursor: pointer;
    position: relative;
}

.mod-gallery-count-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(10, 15, 22, 0.85);
    border: 1px solid rgba(188, 226, 245, 0.4);
    color: var(--nvg-green);
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    z-index: 3;
}

.mod-showcase-banner-wrap:hover .mod-gallery-count-pill {
    background: rgba(188, 226, 245, 0.25);
    border-color: var(--nvg-green);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(188, 226, 245, 0.4);
}

.mod-banner-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    font-family: var(--font-military-mono);
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s ease;
    z-index: 3;
    pointer-events: none;
}

.mod-showcase-banner-wrap:hover .mod-banner-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.btn-showcase-dossier {
    width: 100%;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(188, 226, 245, 0.12) 0%, rgba(14, 23, 34, 0.8) 100%);
    border: 1px solid rgba(188, 226, 245, 0.4);
    color: #ffffff;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-showcase-dossier:hover {
    background: rgba(188, 226, 245, 0.25);
    border-color: var(--nvg-green);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(188, 226, 245, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   MOD DETAIL & CHANGELOG MODAL (DOSSIER HUD)
   ========================================================================== */
.rog-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(4, 7, 10, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.rog-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.rog-dossier-window {
    position: relative;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    background: linear-gradient(180deg, #0d1218 0%, #080b0f 100%);
    border: 1px solid rgba(188, 226, 245, 0.35);
    border-radius: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(188, 226, 245, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.rog-modal-backdrop.active .rog-dossier-window {
    transform: scale(1) translateY(0);
}

/* Tactical Corner Accents */
.rog-dossier-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-top: 2px solid var(--nvg-green);
    border-left: 2px solid var(--nvg-green);
    pointer-events: none;
    z-index: 10;
}

.rog-dossier-window::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-bottom: 2px solid var(--nvg-green);
    border-right: 2px solid var(--nvg-green);
    pointer-events: none;
    z-index: 10;
}

/* Modal Header */
.rog-modal-header {
    background: #090d12;
    border-bottom: 1px solid rgba(188, 226, 245, 0.2);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.rog-modal-live-dot {
    width: 10px;
    height: 10px;
    background: var(--nvg-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--nvg-green);
    animation: pulseDot 2s infinite;
}

.rog-modal-title {
    font-family: var(--font-military-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.rog-modal-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.rog-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

/* Modal Subheader / Quick Metadata Bar */
.rog-modal-meta-bar {
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-family: var(--font-military-mono);
    font-size: 0.76rem;
    color: #94a3b8;
}

.rog-modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rog-modal-meta-item strong {
    color: #ffffff;
}

/* Modal Tab Bar */
.rog-modal-tabs {
    display: flex;
    background: rgba(7, 10, 14, 0.95);
    border-bottom: 1px solid rgba(188, 226, 245, 0.2);
    padding: 0 24px;
    gap: 8px;
    overflow-x: auto;
}

.rog-modal-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #94a3b8;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 14px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.rog-modal-tab-btn:hover {
    color: #ffffff;
    background: rgba(188, 226, 245, 0.05);
}

.rog-modal-tab-btn.active {
    color: var(--nvg-green);
    border-bottom-color: var(--nvg-green);
    background: rgba(188, 226, 245, 0.08);
}

.rog-modal-tab-count {
    background: rgba(188, 226, 245, 0.15);
    border: 1px solid rgba(188, 226, 245, 0.3);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Modal Scrollable Body */
.rog-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    color: #cbd5e1;
    font-family: var(--font-military-body);
    font-size: 0.92rem;
    line-height: 1.6;
}

.rog-modal-body::-webkit-scrollbar {
    width: 6px;
}

.rog-modal-body::-webkit-scrollbar-track {
    background: #06080a;
}

.rog-modal-body::-webkit-scrollbar-thumb {
    background: rgba(188, 226, 245, 0.3);
    border-radius: 3px;
}

.rog-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--nvg-green);
}

/* Tab Panels */
.rog-tab-pane {
    display: none;
}

.rog-tab-pane.active {
    display: block;
    animation: fadeInModalPane 0.25s ease;
}

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

/* TAB 1: DOSSIER CONTENT */
.dossier-intro-box {
    background: rgba(188, 226, 245, 0.05);
    border: 1px solid rgba(188, 226, 245, 0.2);
    border-left: 3px solid var(--nvg-green);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 22px;
}

.dossier-desc-text {
    white-space: pre-line;
    line-height: 1.7;
    font-size: 0.92rem;
    color: #e2e8f0;
}

.dossier-desc-text p {
    margin-bottom: 12px;
}

.dossier-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.dossier-spec-card {
    background: #0a0e14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px 16px;
}

.dossier-spec-label {
    font-family: var(--font-military-mono);
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.dossier-spec-val {
    font-family: var(--font-military-mono);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

/* TAB 2: DYNAMIC CHANGELOG TIMELINE */
.changelog-timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 10px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 8px;
    width: 2px;
    background: rgba(188, 226, 245, 0.2);
}

.changelog-entry-card {
    position: relative;
    background: #0b0f15;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 22px;
    transition: all 0.2s ease;
}

.changelog-entry-card.is-latest {
    border-color: rgba(188, 226, 245, 0.5);
    background: linear-gradient(180deg, rgba(188, 226, 245, 0.06) 0%, #0b0f15 100%);
    box-shadow: 0 0 20px rgba(188, 226, 245, 0.12);
}

.changelog-timeline-dot {
    position: absolute;
    left: -28px;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #080c10;
    border: 2px solid var(--nvg-green);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--nvg-green);
}

.changelog-entry-card:not(.is-latest) .changelog-timeline-dot {
    border-color: #64748b;
    box-shadow: none;
}

.changelog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.changelog-ver-badge {
    font-family: var(--font-military-mono);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.changelog-latest-pill {
    background: var(--nvg-green);
    color: #06080a;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-meta-chips {
    display: flex;
    gap: 12px;
    font-family: var(--font-military-mono);
    font-size: 0.74rem;
    color: #94a3b8;
}

.changelog-text-body {
    font-family: var(--font-military-body);
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
    white-space: pre-line;
}

.changelog-text-body strong,
.changelog-category-title {
    color: var(--nvg-green);
    font-family: var(--font-military-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 4px;
}

/* TAB 3: SCREENSHOT GALERIE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.gallery-thumb-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #090c10;
    border: 1px solid rgba(188, 226, 245, 0.25);
    aspect-ratio: 16 / 9;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-thumb-card:hover {
    border-color: var(--nvg-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 18px rgba(188, 226, 245, 0.3);
}

.gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 10px 14px;
    opacity: 0.9;
}

.gallery-thumb-label {
    font-family: var(--font-military-mono);
    font-size: 0.72rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Modal Footer */
.rog-modal-footer {
    background: #090d12;
    border-top: 1px solid rgba(188, 226, 245, 0.2);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   FULLSCREEN LIGHTBOX MODAL
   ========================================================================== */
.rog-lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(3, 5, 8, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rog-lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Lightbox Topbar */
.lightbox-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-title-info {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-military-mono);
}

.lightbox-mod-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.lightbox-counter-pill {
    background: rgba(188, 226, 245, 0.15);
    border: 1px solid rgba(188, 226, 245, 0.3);
    color: var(--nvg-green);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
}

.lightbox-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lightbox-btn-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-btn-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

/* Lightbox Main Stage */
.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 80px;
    overflow: hidden;
}

.lightbox-main-img {
    max-width: 90vw;
    max-height: 74vh;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid rgba(188, 226, 245, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(188, 226, 245, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 64px;
    background: rgba(10, 15, 22, 0.7);
    border: 1px solid rgba(188, 226, 245, 0.3);
    color: #ffffff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    z-index: 5;
    user-select: none;
}

.lightbox-nav-btn:hover {
    background: rgba(188, 226, 245, 0.25);
    border-color: var(--nvg-green);
    box-shadow: 0 0 16px rgba(188, 226, 245, 0.4);
}

.lightbox-prev-btn {
    left: 20px;
}

.lightbox-next-btn {
    right: 20px;
}

/* Lightbox Thumbnails Strip */
.lightbox-thumbs-bar {
    height: 90px;
    background: rgba(5, 8, 12, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    overflow-x: auto;
}

.lightbox-thumb-item {
    height: 64px;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.lightbox-thumb-item:hover {
    opacity: 0.9;
    border-color: rgba(188, 226, 245, 0.6);
}

.lightbox-thumb-item.active {
    opacity: 1;
    border-color: var(--nvg-green);
    box-shadow: 0 0 14px var(--nvg-green);
    transform: scale(1.06);
}

.lightbox-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments for Modal and Lightbox */
@media (max-width: 768px) {
    .rog-modal-backdrop {
        padding: 10px;
    }
    .rog-dossier-window {
        max-height: 94vh;
    }
    .rog-modal-header {
        padding: 14px 16px;
    }
    .rog-modal-tabs {
        padding: 0 12px;
    }
    .rog-modal-tab-btn {
        padding: 10px 10px;
        font-size: 0.74rem;
    }
    .rog-modal-body {
        padding: 16px;
    }
    .lightbox-stage {
        padding: 15px 40px;
    }
    .lightbox-nav-btn {
        width: 38px;
        height: 50px;
        font-size: 1.5rem;
    }
    .lightbox-prev-btn {
        left: 8px;
    }
    .lightbox-next-btn {
        right: 8px;
    }
}




