/* ==========================================================================
   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.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pmc-border);
    padding: 14px 0;
}

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

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

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

/* ROG Nav 3D Box & Canvas (Larger & Crisp) */
.rog-nav-3d-box {
    width: 64px;
    height: 64px;
    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: 64px !important;
    height: 64px !important;
    display: block;
    outline: none;
}

.rog-brand-title {
    font-family: var(--font-military-head);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
}

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

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

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

.rog-nav .nav-link {
    color: var(--pmc-text-secondary);
    text-decoration: none;
    font-family: var(--font-military-mono);
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 7px 14px;
    border-radius: 6px;
    white-space: nowrap !important;
    flex-shrink: 0;
    position: relative;
    border: 1px solid transparent;
}

.rog-nav .nav-link:hover {
    color: #fff;
    background: rgba(188, 226, 245, 0.08);
    border-color: rgba(188, 226, 245, 0.25);
}

.rog-nav .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(188, 226, 245, 0.15) 0%, rgba(18, 28, 38, 0.75) 100%) !important;
    border: 1px solid rgba(188, 226, 245, 0.6) !important;
    box-shadow: 0 0 18px rgba(188, 226, 245, 0.32), inset 0 0 10px rgba(188, 226, 245, 0.12);
    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%;
}

/* Back to Social Club 3D Model Button */
.back-to-social-3d {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 16px 4px 6px;
    background: rgba(8, 12, 18, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 26px;
    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: 58px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    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: 58px;
    height: 38px;
    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;
    gap: 14px;
    margin-bottom: 16px;
    white-space: nowrap !important;
}

.squad-badge-icon {
    font-family: var(--font-military-mono);
    font-size: 0.95rem;
    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;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

.squad-name {
    font-family: var(--font-military-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap !important;
}

.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;
    white-space: nowrap !important;
    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);
    flex-shrink: 0;
}

.squad-loadout-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--pmc-border);
    border-radius: var(--radius-pmc);
    padding: 22px 24px;
}

.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;
    white-space: nowrap !important;
    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: center;
    gap: 10px;
    white-space: nowrap !important;
}

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

/* ==========================================================================
   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;
    }
    .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;
    }
    .qual-detail-card {
        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.4fr 1fr;
    gap: 30px;
    background: rgba(10, 13, 18, 0.9);
    border: 1px solid rgba(188, 226, 245, 0.25);
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    position: relative;
    backdrop-filter: blur(12px);
}

/* ==========================================================================
   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;
    margin-bottom: 12px;
}

.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;
}

