        :root {
            --bg-primary: #18130e;
            --bg-secondary: #221e18;
            --bg-elevated: #2d2820;
            --accent-polish: #b8132d;
            --accent-desert: #9d7f57;
            --text-primary: #d4c9b8;
            --text-secondary: #8f8373;
            --text-muted: #635a4d;
            --border: #3d3830;
            --success: #5a7020;
            --warning: #c27300;
            --dust: rgba(157, 127, 87, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
            max-width: 100vw;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: hidden;
            max-width: 100vw;
            line-height: 1.6;
            position: relative;
        }

        /* Heavy grain/noise texture */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.15) 2px, rgba(0,0,0,.15) 4px),
                repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.15) 2px, rgba(0,0,0,.15) 4px);
            pointer-events: none;
            z-index: 9999;
            opacity: 0.5;
            animation: grain 0.5s steps(10) infinite;
        }

        @keyframes grain {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-5%, -10%); }
            20% { transform: translate(-15%, 5%); }
            30% { transform: translate(7%, -25%); }
            40% { transform: translate(-5%, 25%); }
            50% { transform: translate(-15%, 10%); }
            60% { transform: translate(15%, 0%); }
            70% { transform: translate(0%, 15%); }
            80% { transform: translate(3%, 35%); }
            90% { transform: translate(-10%, 10%); }
        }

        /* Dust and scratches overlay */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(ellipse at top, rgba(193, 154, 107, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(220, 20, 60, 0.05) 0%, transparent 50%),
                repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 6px);
            pointer-events: none;
            z-index: 9998;
        }

        /* VHS scanlines */
        .scanlines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.15),
                rgba(0, 0, 0, 0.15) 1px,
                transparent 1px,
                transparent 2px
            );
            pointer-events: none;
            z-index: 9997;
            animation: scanlineMove 10s linear infinite;
        }

        @keyframes scanlineMove {
            0% { transform: translateY(0); }
            100% { transform: translateY(10px); }
        }

        /* Film vignette */
        .vignette {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            box-shadow: inset 0 0 200px rgba(0,0,0,0.8), inset 0 0 100px rgba(0,0,0,0.6);
            pointer-events: none;
            z-index: 9996;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 70px;
            background: rgba(34, 30, 24, 0.85);
            border-bottom: 2px solid var(--border);
            border-top: 1px solid rgba(157, 127, 87, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 80px;
            z-index: 1000;
            backdrop-filter: blur(10px);
            box-shadow: 
                inset 0 1px 0 rgba(255,255,255,0.03),
                0 2px 20px rgba(0,0,0,0.5);
        }

        .header::before {
            content: 'CLASSIFIED';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-15deg);
            font-family: 'IBM Plex Mono', monospace;
            font-size: 80px;
            font-weight: 700;
            color: var(--accent-polish);
            opacity: 0.03;
            letter-spacing: 10px;
            pointer-events: none;
        }

        .logo {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .nav {
            display: flex;
            gap: 40px;
            align-items: center;
        }

        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-link:hover {
            color: var(--text-primary);
        }

        .nav-auth {
            display: inline-flex;
            gap: 12px;
            align-items: center;
        }

        .nav-user {
            position: relative;
        }

        .nav-user__trigger {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid rgba(157, 127, 87, 0.3);
            background: rgba(20, 16, 12, 0.7);
            color: var(--text-primary);
            cursor: pointer;
            font: inherit;
        }

        .nav-user__avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(157, 127, 87, 0.2);
            border: 1px solid rgba(157, 127, 87, 0.4);
        }

        .nav-user__avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .nav-user__fallback {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-primary);
        }

        .nav-user__name {
            font-size: 13px;
            font-weight: 600;
        }

        .nav-user__menu {
            position: absolute;
            right: 0;
            top: calc(100% + 8px);
            min-width: 220px;
            background: rgba(20, 16, 12, 0.95);
            border: 1px solid rgba(157, 127, 87, 0.3);
            border-radius: 14px;
            padding: 10px;
            display: none;
            flex-direction: column;
            gap: 6px;
            box-shadow: 0 16px 30px rgba(0,0,0,0.4);
            opacity: 0;
            transform: translateY(-6px);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .nav-user:hover .nav-user__menu,
        .nav-user:focus-within .nav-user__menu {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }

        .nav-user__menu::before {
            content: '';
            position: absolute;
            top: -12px;
            right: 12px;
            width: 56px;
            height: 12px;
        }

        .nav-user__header {
            padding: 8px 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 4px;
        }

        .nav-user__title {
            font-weight: 700;
        }

        .nav-user__meta {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.14em;
            margin-top: 4px;
        }

        .nav-user__menu .nav-link {
            display: inline-flex;
            padding: 8px 10px;
            border-radius: 10px;
        }

        .nav-user__menu .nav-link:hover {
            background: rgba(255, 255, 255, 0.04);
        }

        .nav-user__status {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: var(--text-muted);
            padding: 0 10px 6px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 4px;
        }

        .nav-user__status--active {
            color: #cfe2a3;
        }

        .nav-user__status--blocked {
            color: #f2b7bf;
        }

        .nav-link--pill {
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(157, 127, 87, 0.3);
            background: rgba(20, 16, 12, 0.7);
        }

        .nav-logout {
            margin: 0;
        }

        .nav-logout .nav-link--pill {
            background: transparent;
            cursor: pointer;
            font: inherit;
        }

        .nav-logout .nav-link {
            background: transparent;
            border: 0;
            cursor: pointer;
            color: inherit;
            text-align: left;
            width: 100%;
        }

        .header-time {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 13px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .live-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent-polish);
            animation: flicker 2s infinite;
            box-shadow: 0 0 8px var(--accent-polish);
        }

        @keyframes flicker {
            0%, 50%, 100% { 
                opacity: 1;
                box-shadow: 0 0 8px var(--accent-polish);
            }
            10%, 30% { 
                opacity: 0.3;
                box-shadow: 0 0 2px var(--accent-polish);
            }
            20% { 
                opacity: 0.8;
            }
            40% { 
                opacity: 0.5;
            }
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            background: 
                repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0px, transparent 1px, transparent 2px, rgba(0,0,0,0.05) 3px),
                linear-gradient(135deg, #221e18 0%, #18130e 100%);
        }

        .hero-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(0.9) contrast(1.05);
            opacity: 0.15;
            z-index: 0;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 30% 40%, rgba(157, 127, 87, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(184, 19, 45, 0.08) 0%, transparent 40%),
                repeating-linear-gradient(0deg, transparent 0px, rgba(0,0,0,0.1) 1px, transparent 2px, transparent 100px);
            opacity: 0.35;
            z-index: 1;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.88) 72%),
                linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 18%, transparent 82%, rgba(0,0,0,0.75) 100%);
            pointer-events: none;
            z-index: 1;
        }

        .hero-content {
            max-width: 820px;
            position: relative;
            text-align: center;
            margin: 0 auto;
            z-index: 2;
        }

        .hero-stats {
            justify-content: center;
        }

        /* Multiple classified stamps */
        .hero-content::before {
            content: 'TOP SECRET';
            position: absolute;
            top: -80px;
            right: 50px;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 24px;
            font-weight: 700;
            color: var(--accent-polish);
            opacity: 0.08;
            transform: rotate(25deg);
            border: 3px solid var(--accent-polish);
            padding: 10px 20px;
            letter-spacing: 4px;
        }

        .hero-content::after {
            content: 'KONFLIKT';
            position: absolute;
            bottom: -60px;
            left: 100px;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 20px;
            font-weight: 700;
            color: var(--accent-desert);
            opacity: 0.06;
            transform: rotate(-8deg);
            border: 3px solid var(--accent-desert);
            padding: 8px 16px;
            letter-spacing: 3px;
        }

        .hero-tag {
            display: inline-block;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 12px;
            font-weight: 500;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 24px;
            padding: 8px 16px;
            border: 1px solid var(--border);
            border-radius: 4px;
        }

        .hero-title {
            font-size: 72px;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 24px;
            letter-spacing: -2px;
            text-shadow: 
                3px 3px 0 rgba(184, 19, 45, 0.3),
                -2px -2px 0 rgba(157, 127, 87, 0.2),
                0 0 40px rgba(0,0,0,0.8);
            animation: glitchText 5s infinite;
        }

        @keyframes glitchText {
            0%, 90%, 100% { 
                transform: translate(0);
                text-shadow: 
                    3px 3px 0 rgba(184, 19, 45, 0.3),
                    -2px -2px 0 rgba(157, 127, 87, 0.2),
                    0 0 40px rgba(0,0,0,0.8);
            }
            91% { 
                transform: translate(-3px, 2px);
                text-shadow: 
                    5px 0px 0 rgba(184, 19, 45, 0.5),
                    -5px 0px 0 rgba(157, 127, 87, 0.5);
            }
            93% { 
                transform: translate(2px, -2px);
                text-shadow: 
                    -3px 3px 0 rgba(184, 19, 45, 0.5),
                    3px -3px 0 rgba(157, 127, 87, 0.5);
            }
            95% { 
                transform: translate(-2px, -2px);
            }
        }

        .hero-subtitle {
            font-size: 20px;
            color: var(--text-secondary);
            max-width: 700px;
            margin-bottom: 40px;
            font-weight: 400;
        }

        .hero-stats {
            display: flex;
            gap: 60px;
            margin-top: 60px;
        }

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

        .stat-value {
            font-size: 36px;
            font-weight: 700;
            letter-spacing: -1px;
        }

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

        /* Section Base */
        section {
            padding: 120px 80px;
            position: relative;
        }

        /* Bullet hole decorations */
        section::before {
            content: '';
            position: absolute;
            top: 60px;
            right: 10%;
            width: 8px;
            height: 8px;
            background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, transparent 80%);
            border-radius: 50%;
            box-shadow: 
                -200px 100px 0 rgba(0,0,0,0.15),
                150px -50px 0 rgba(0,0,0,0.1),
                -100px -80px 0 rgba(0,0,0,0.12);
            opacity: 0.3;
        }

        .section-header {
            max-width: 800px;
            margin-bottom: 80px;
        }

        .section-tag {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 12px;
            font-weight: 500;
            color: var(--accent-desert);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: 48px;
            font-weight: 700;
            letter-spacing: -1px;
            margin-bottom: 20px;
            position: relative;
            text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
        }

        /* Ink splatter effect */
        .section-title::before {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 120px;
            height: 3px;
            background: var(--accent-desert);
            opacity: 0.3;
            box-shadow: 
                0 0 10px var(--accent-desert),
                -5px 2px 0 rgba(157, 127, 87, 0.2),
                5px -2px 0 rgba(157, 127, 87, 0.2);
        }

        .section-description {
            font-size: 18px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* Factions Section */
        .factions {
            background: 
                radial-gradient(ellipse at 10% 50%, rgba(157, 127, 87, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 90% 50%, rgba(184, 19, 45, 0.03) 0%, transparent 50%),
                linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
            position: relative;
            padding: 120px 0;
        }

        .factions .section-header {
            padding: 0 80px;
        }

        .factions::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                transparent 0px,
                rgba(0,0,0,0.02) 1px,
                transparent 2px,
                transparent 100px
            );
            pointer-events: none;
        }

        .factions-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            max-width: 1400px;
        }

        .faction-card {
            background: 
                repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.02) 10px, rgba(0,0,0,0.02) 20px),
                linear-gradient(135deg, rgba(45, 40, 32, 0.95) 0%, rgba(34, 30, 24, 0.98) 100%);
            border: 2px solid var(--border);
            border-top: 3px solid rgba(157, 127, 87, 0.2);
            border-left: 3px solid rgba(157, 127, 87, 0.1);
            padding: 50px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
            box-shadow: 
                inset 0 1px 0 rgba(255,255,255,0.02),
                inset 0 0 100px rgba(0,0,0,0.3),
                0 4px 20px rgba(0,0,0,0.5);
            transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
            transform-style: preserve-3d;
            will-change: transform;
        }

        /* Tape effect on corners */
        .faction-card::after {
            content: '';
            position: absolute;
            top: 20px;
            right: 20px;
            width: 60px;
            height: 25px;
            background: rgba(157, 127, 87, 0.15);
            border: 1px solid rgba(157, 127, 87, 0.3);
            transform: rotate(45deg) translate3d(calc(var(--parallax-x, 0px) * 0.12), calc(var(--parallax-y, 0px) * 0.12), 0);
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }

        .faction-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--accent-desert);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .faction-card.polish::before {
            background: var(--accent-polish);
        }

        .faction-card.insurgent::before {
            background: var(--accent-desert);
        }

        .faction-card:hover {
            border-color: var(--text-muted);
            transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-4px);
        }

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

        .faction-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 32px;
        }

        .faction-name {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .faction-badge {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            font-weight: 500;
            padding: 6px 12px;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .polish .faction-badge {
            background: rgba(220, 20, 60, 0.2);
            color: var(--accent-polish);
            border: 1px solid rgba(220, 20, 60, 0.4);
        }

        .insurgent .faction-badge {
            background: rgba(193, 154, 107, 0.2);
            color: var(--accent-desert);
            border: 1px solid rgba(193, 154, 107, 0.4);
        }

        .faction-description {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 32px;
            font-size: 15px;
        }

        .faction-stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-bottom: 32px;
            padding: 24px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .faction-stats-grid--dense {
            margin-bottom: 24px;
        }

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

        .faction-stat-value {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 4px;
            letter-spacing: -0.5px;
        }

        .polish .faction-stat-value {
            color: var(--accent-polish);
        }

        .insurgent .faction-stat-value {
            color: var(--accent-desert);
        }

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

        .faction-capabilities {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .faction-subfactions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .faction-cta-row {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .faction-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border-radius: 999px;
            border: 1px solid var(--border);
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 600;
            font-size: 13px;
            transition: all 0.3s;
        }

        .faction-cta:hover {
            border-color: var(--text-primary);
            transform: translateY(-2px);
        }

        .faction-cta--muted {
            background: rgba(20, 16, 12, 0.75);
            border-color: rgba(157, 127, 87, 0.35);
            color: var(--text-secondary);
            cursor: default;
        }

        .faction-cta--danger {
            background: rgba(96, 18, 29, 0.28);
            border-color: rgba(184, 19, 45, 0.42);
            color: #ffd7dc;
        }

        .faction-cta--danger:hover {
            border-color: rgba(255, 176, 185, 0.48);
            background: rgba(120, 21, 36, 0.42);
            color: #fff1f3;
        }

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

        

        .capability-tag {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            padding: 6px 12px;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 4px;
            color: var(--text-secondary);
        }

        /* Timeline Section */
        .timeline-section {
            background: 
                radial-gradient(circle at 20% 80%, rgba(184, 19, 45, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(157, 127, 87, 0.06) 0%, transparent 40%),
                linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
            padding: 120px 0;
            position: relative;
        }

        .timeline-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                repeating-linear-gradient(90deg, transparent 0px, rgba(0,0,0,0.015) 1px, transparent 2px, transparent 80px),
                repeating-linear-gradient(0deg, transparent 0px, rgba(0,0,0,0.01) 1px, transparent 2px, transparent 80px);
            pointer-events: none;
        }

        /* Film burn effect at edges */
        .timeline-section::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 5%, transparent 95%, rgba(0,0,0,0.3) 100%);
            pointer-events: none;
        }

        .timeline-section .section-header {
            padding: 0 80px;
        }

        .timeline-wrapper {
            position: relative;
            margin-top: 60px;
        }

        .timeline-container {
            overflow-x: auto;
            overflow-y: hidden;
            padding: 0 80px 40px;
            scroll-behavior: smooth;
        }

        .timeline-container::-webkit-scrollbar {
            height: 8px;
        }

        .timeline-container::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        .timeline-container::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 4px;
        }

        .timeline-container::-webkit-scrollbar-thumb:hover {
            background: var(--text-muted);
        }

        .timeline-track {
            display: flex;
            gap: 40px;
            position: relative;
            padding: 60px 0;
        }

        .timeline-line {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--border);
            transform: translateY(-50%);
        }

        .timeline-event {
            min-width: 400px;
            position: relative;
        }

        .event-marker {
            width: 16px;
            height: 16px;
            background: var(--bg-primary);
            border: 3px solid var(--accent-desert);
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 0;
        }

        .event-marker.critical {
            border-color: var(--accent-polish);
        }

        .event-marker.success {
            border-color: var(--success);
        }

        .event-card {
            position: relative;
            z-index: 1;
            background: 
                repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0px, transparent 2px),
                linear-gradient(135deg, rgba(45, 40, 32, 0.9) 0%, rgba(34, 30, 24, 0.95) 100%);
            border: 2px solid var(--border);
            border-radius: 0;
            padding: 32px;
            position: relative;
            margin-bottom: 80px;
            transition: all 0.3s;
            box-shadow: 
                inset 0 0 50px rgba(0,0,0,0.2),
                5px 5px 20px rgba(0,0,0,0.4);
        }

        /* Torn paper edge effect */
        .event-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -2px;
            width: 4px;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                var(--border) 0px,
                var(--border) 3px,
                transparent 3px,
                transparent 6px
            );
            opacity: 0.5;
        }

        /* Stamp effect */
        .event-card::after {
            content: 'RAPORT';
            position: absolute;
            bottom: 15px;
            right: 15px;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            font-weight: 700;
            color: var(--accent-polish);
            opacity: 0.15;
            transform: rotate(-12deg);
            border: 2px solid var(--accent-polish);
            padding: 4px 8px;
            letter-spacing: 2px;
        }

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

        .event-date {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 12px;
            font-weight: 500;
            color: var(--accent-desert);
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .event-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }

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

        .event-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .event-tag {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            padding: 4px 10px;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 500;
        }

        .event-tag.escalation {
            background: rgba(220, 20, 60, 0.2);
            color: var(--accent-polish);
            border: 1px solid rgba(220, 20, 60, 0.4);
        }

        .event-tag.diplomatic {
            background: rgba(193, 154, 107, 0.2);
            color: var(--accent-desert);
            border: 1px solid rgba(193, 154, 107, 0.4);
        }

        .event-tag.success {
            background: rgba(107, 142, 35, 0.2);
            color: var(--success);
            border: 1px solid rgba(107, 142, 35, 0.4);
        }

        .event-tag.ongoing {
            background: rgba(255, 140, 0, 0.2);
            color: var(--warning);
            border: 1px solid rgba(255, 140, 0, 0.4);
        }

        /* News Section */
        .news-section {
            background: 
                repeating-linear-gradient(0deg, rgba(0,0,0,0.02) 0px, transparent 2px, transparent 4px),
                repeating-linear-gradient(90deg, rgba(0,0,0,0.02) 0px, transparent 2px, transparent 4px),
                radial-gradient(ellipse at 50% 50%, rgba(157, 127, 87, 0.04) 0%, transparent 60%),
                linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
            position: relative;
        }

        .news-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(0,0,0,0.1) 0%, transparent 3%),
                radial-gradient(circle at 80% 70%, rgba(0,0,0,0.08) 0%, transparent 4%),
                radial-gradient(circle at 40% 80%, rgba(0,0,0,0.06) 0%, transparent 3%);
            pointer-events: none;
            opacity: 0.5;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            max-width: 1400px;
        }

        .news-card {
            background:
                linear-gradient(180deg, rgba(42, 33, 24, 0.96), rgba(24, 19, 14, 0.98)),
                radial-gradient(circle at top right, rgba(157, 127, 87, 0.12), transparent 38%);
            border: 1px solid rgba(157, 127, 87, 0.24);
            border-radius: 24px;
            padding: 20px;
            transition: all 0.3s;
            cursor: pointer;
            box-shadow: 
                inset 0 1px 0 rgba(255,255,255,0.02),
                0 22px 44px rgba(0,0,0,0.28);
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 16px;
            color: inherit;
            text-decoration: none;
            overflow: hidden;
        }

        .news-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent 38%);
            pointer-events: none;
        }

        .news-card::after {
            content: '';
            position: absolute;
            inset: auto 18px 0 18px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(157, 127, 87, 0.28), transparent);
        }

        .news-card:hover {
            border-color: rgba(212, 201, 184, 0.26);
            transform: translateY(-6px);
        }

        .news-card__banner {
            position: relative;
            border: 1px solid rgba(157, 127, 87, 0.22);
            border-radius: 18px;
            padding: 16px 18px 18px;
            background:
                linear-gradient(120deg, rgba(157, 127, 87, 0.14), rgba(20, 16, 12, 0.92));
            overflow: hidden;
        }

        .news-card__banner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 30%);
            pointer-events: none;
        }

        .news-card__banner-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 12px;
        }

        .news-card__kicker {
            font-size: 11px;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--text-muted);
        }

        .news-card__banner-title {
            margin-top: 8px;
            font-size: clamp(18px, 2vw, 24px);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.04em;
            max-width: 18ch;
        }

        .news-card__banner .faction-badge {
            display: inline-flex;
            background: rgba(157, 127, 87, 0.18);
            border: 1px solid rgba(157, 127, 87, 0.45);
            color: var(--accent-desert);
        }

        .news-card__stamp {
            font-size: 32px;
            font-weight: 700;
            line-height: 1;
            color: rgba(157, 127, 87, 0.3);
        }

        .news-card__meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .news-date {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            color: var(--text-muted);
        }

        .news-source {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            padding: 4px 8px;
            background: rgba(20, 16, 12, 0.9);
            border-radius: 999px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.12em;
            border: 1px solid rgba(157, 127, 87, 0.22);
        }

        .news-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 12px;
            line-height: 1.4;
            letter-spacing: -0.3px;
        }

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

        .news-card__footer {
            margin-top: auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
        }

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

        .news-more {
            margin-top: auto;
            font-size: 12px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--accent-desert);
        }

        .about-intro {
            background:
                linear-gradient(180deg, var(--bg-primary) 0%, rgba(15, 12, 9, 0.9) 100%);
        }

        .about-intro__grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 20px;
            max-width: 1200px;
        }

        .about-intro__card {
            background: rgba(20, 16, 12, 0.85);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 18px;
            text-align: center;
            box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
        }

        .about-intro__label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--text-muted);
        }

        .about-intro__value {
            margin-top: 8px;
            font-size: 18px;
            font-weight: 700;
        }

        .about-intro__cta {
            margin-top: 28px;
        }

        .about-hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .about-hero__media {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            min-height: 420px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 30px 70px rgba(0,0,0,0.45);
        }

        .about-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(0.9) contrast(1.05);
        }

        .about-hero__overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.65));
        }

        .about-hero__badge {
            position: absolute;
            bottom: 20px;
            left: 20px;
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 11px;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            background: rgba(10, 8, 6, 0.75);
            border: 1px solid rgba(157, 127, 87, 0.4);
        }

        .about-pill {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 18px;
            border-radius: 999px;
            border: 1px solid rgba(157, 127, 87, 0.4);
            text-transform: uppercase;
            letter-spacing: 0.18em;
            font-size: 11px;
            background: rgba(20, 16, 12, 0.8);
            color: var(--text-secondary);
        }

        .about-hero__stats {
            display: grid;
            gap: 12px;
            margin-top: 20px;
        }

        .about-stat {
            background: rgba(20, 16, 12, 0.8);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 16px;
        }

        .about-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
        }

        .about-gallery__grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }

        .about-photo {
            border-radius: 20px;
            border: 1px dashed rgba(157, 127, 87, 0.4);
            background: rgba(20, 16, 12, 0.75);
            min-height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            font-size: 11px;
            color: var(--text-muted);
        }

        .about-cta__actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }

        .about-card {
            background: rgba(20, 16, 12, 0.8);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 24px;
        }

        .about-card__tag {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .about-sides__grid,
        .about-contact__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }

        .about-side {
            background: rgba(20, 16, 12, 0.85);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 24px;
        }

        .about-side ul {
            margin: 12px 0 0;
            padding-left: 18px;
            color: var(--text-secondary);
        }

        .phase-list {
            display: grid;
            gap: 16px;
        }

        .phase-card {
            background: rgba(20, 16, 12, 0.8);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 18px 22px;
        }

        .phase-title {
            font-weight: 600;
        }

        .phase-meta {
            margin-top: 6px;
            font-size: 12px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .about-note {
            margin-top: 20px;
            color: var(--text-secondary);
        }

        .contact-card {
            background: rgba(20, 16, 12, 0.8);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 18px 22px;
            text-align: center;
        }

        /* ============================================
           PROFILE PAGE - Redesigned
           ============================================ */

        /* Profile Hero Section */
        .profile-hero {
            position: relative;
            margin: -40px -40px 40px -40px;
            padding: 60px 40px;
            background: linear-gradient(135deg, rgba(20, 16, 12, 0.95) 0%, rgba(10, 8, 6, 0.98) 100%);
            border-bottom: 2px solid rgba(157, 127, 87, 0.3);
            overflow: hidden;
        }

        .profile-hero__background {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 20% 50%, rgba(157, 127, 87, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(157, 127, 87, 0.05) 0%, transparent 50%);
            opacity: 0.6;
        }

        .profile-hero__content {
            position: relative;
            display: flex;
            align-items: center;
            gap: 28px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .profile-hero__avatar {
            width: 120px;
            height: 120px;
            border-radius: 24px;
            overflow: hidden;
            background: rgba(10, 8, 6, 0.8);
            border: 2px solid rgba(157, 127, 87, 0.5);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-hero__avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-hero__avatar-fallback {
            font-size: 42px;
            font-weight: 800;
            color: var(--accent-desert);
            text-transform: uppercase;
        }

        .profile-hero__identity {
            flex: 1;
            min-width: 0;
        }

        .profile-hero__name {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-primary);
            margin: 0 0 8px 0;
            line-height: 1.2;
        }

        .profile-hero__username {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 12px;
        }

        .profile-hero__faction {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .faction-badge {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 6px 12px;
            border-radius: 6px;
            border: 1px solid rgba(157, 127, 87, 0.4);
            background: rgba(157, 127, 87, 0.15);
        }

        .faction-badge--coalition {
            border-color: rgba(157, 127, 87, 0.6);
            background: rgba(157, 127, 87, 0.2);
            color: var(--accent-desert);
        }

        .faction-badge--insurgents {
            border-color: rgba(184, 19, 45, 0.6);
            background: rgba(184, 19, 45, 0.15);
            color: var(--accent-polish);
        }

        .profile-hero__separator {
            color: var(--text-muted);
            opacity: 0.5;
        }

        /* Profile Container */
        .profile-container {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 32px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .profile-col {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        /* Profile Cards */
        .profile-card {
            background: rgba(20, 16, 12, 0.8);
            border: 1px solid rgba(157, 127, 87, 0.3);
            border-radius: 16px;
            padding: 0;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
            overflow: hidden;
        }

        .profile-card--sticky {
            position: sticky;
            top: 80px;
        }

        .profile-card__header {
            padding: 20px 24px;
            border-bottom: 1px solid rgba(157, 127, 87, 0.2);
            background: rgba(10, 8, 6, 0.5);
        }

        .profile-card__title {
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-primary);
            margin: 0;
        }

        .profile-card__subtitle {
            font-size: 13px;
            color: var(--text-muted);
            margin: 6px 0 0 0;
        }

        .profile-card__content {
            padding: 24px;
        }

        .profile-card__bio {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-secondary);
            margin: 0;
        }

        .profile-card__bio--empty {
            color: var(--text-muted);
            font-style: italic;
        }

        .profile-card__contact {
            font-size: 14px;
            color: var(--text-secondary);
            margin: 0;
        }

        .profile-card__note {
            margin-top: 16px;
            padding: 12px;
            background: rgba(157, 127, 87, 0.08);
            border: 1px solid rgba(157, 127, 87, 0.2);
            border-radius: 8px;
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* Status Grid */
        .status-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .status-item {
            background: rgba(10, 8, 6, 0.6);
            border: 1px solid rgba(157, 127, 87, 0.25);
            border-radius: 12px;
            padding: 16px;
        }

        .status-item__label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
            font-weight: 600;
        }

        .status-item__value {
            margin-top: 10px;
            font-size: 15px;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .status-item__value svg {
            flex-shrink: 0;
        }

        .status-item__value--success {
            color: #7fb84d;
        }

        .status-item__value--pending {
            color: #e8a557;
        }

        /* Info List */
        .info-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .info-item {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .info-item__label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
            font-weight: 600;
        }

        .info-item__value {
            font-size: 14px;
            color: var(--text-secondary);
            word-break: break-word;
        }

        /* Profile Edit Form */
        .profile-edit-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-label {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
        }

        .form-hint {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 4px;
        }

        .form-error-banner {
            padding: 12px 16px;
            background: rgba(184, 19, 45, 0.15);
            border: 1px solid rgba(184, 19, 45, 0.4);
            border-radius: 8px;
            color: #f2b7bf;
            font-size: 13px;
        }

        .profile-edit-form textarea {
            min-height: 120px;
            resize: vertical;
            font-family: inherit;
            padding: 12px 16px;
            background: rgba(10, 8, 6, 0.6);
            border: 1px solid rgba(157, 127, 87, 0.35);
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.6;
            transition: border-color 0.2s ease;
        }

        .profile-edit-form textarea:focus {
            outline: none;
            border-color: rgba(157, 127, 87, 0.6);
        }

        .profile-edit-form input[type="text"],
        .profile-edit-form input[type="file"] {
            padding: 12px 16px;
            background: rgba(10, 8, 6, 0.6);
            border: 1px solid rgba(157, 127, 87, 0.35);
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 14px;
            transition: border-color 0.2s ease;
        }

        .profile-edit-form input[type="text"]:focus {
            outline: none;
            border-color: rgba(157, 127, 87, 0.6);
        }

        .file-input-wrapper {
            position: relative;
        }

        .file-input-hint {
            margin-top: 8px;
            font-size: 11px;
            color: var(--text-muted);
        }

        .btn-primary {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 24px;
            background: var(--accent-desert);
            border: none;
            border-radius: 10px;
            color: #18130e;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: all 0.2s ease;
            width: 100%;
        }

        .btn-primary:hover {
            background: rgba(157, 127, 87, 0.9);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(157, 127, 87, 0.3);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        /* Avatar Upload Field */
        .current-avatar-info {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 12px;
            background: rgba(10, 8, 6, 0.6);
            border: 1px solid rgba(157, 127, 87, 0.25);
            border-radius: 10px;
            margin-bottom: 12px;
            transition: opacity 0.3s ease;
        }

        .current-avatar-preview {
            width: 56px;
            height: 56px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            border: 1px solid rgba(157, 127, 87, 0.3);
        }

        .current-avatar-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .current-avatar-details {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .current-avatar-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
            font-weight: 600;
        }

        .btn-delete-avatar {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: transparent;
            border: 1px solid rgba(184, 19, 45, 0.4);
            border-radius: 6px;
            color: #f2b7bf;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-delete-avatar:hover {
            background: rgba(184, 19, 45, 0.15);
            border-color: rgba(184, 19, 45, 0.6);
        }

        .avatar-upload-field label {
            display: block;
            margin-bottom: 8px;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .avatar-delete-notice {
            margin-top: 8px;
            padding: 8px 12px;
            background: rgba(157, 127, 87, 0.15);
            border: 1px solid rgba(157, 127, 87, 0.3);
            border-radius: 6px;
            font-size: 11px;
            color: var(--accent-desert);
            grid-column: 1 / -1;
        }

        /* Delete Avatar Modal */
        .delete-avatar-modal {
            position: fixed;
            inset: 0;
            z-index: 1003;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .delete-avatar-modal[aria-hidden="false"] {
            opacity: 1;
            pointer-events: auto;
        }

        .delete-avatar-modal__backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
        }

        .delete-avatar-modal__panel {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            width: 90%;
            max-width: 440px;
            background: rgba(20, 16, 12, 0.98);
            border: 2px solid rgba(184, 19, 45, 0.4);
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
            text-align: center;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .delete-avatar-modal[aria-hidden="false"] .delete-avatar-modal__panel {
            transform: translate(-50%, -50%) scale(1);
        }

        .delete-avatar-modal__header {
            margin-bottom: 20px;
        }

        .delete-avatar-modal__header svg {
            color: #e8a557;
            filter: drop-shadow(0 0 8px rgba(232, 165, 87, 0.3));
        }

        .delete-avatar-modal__title {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0 0 12px 0;
        }

        .delete-avatar-modal__message {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-secondary);
            margin: 0 0 24px 0;
        }

        .delete-avatar-modal__actions {
            display: flex;
            gap: 12px;
        }

        .btn-cancel {
            flex: 1;
            padding: 12px 20px;
            background: transparent;
            border: 1px solid rgba(157, 127, 87, 0.4);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-cancel:hover {
            background: rgba(157, 127, 87, 0.1);
            border-color: rgba(157, 127, 87, 0.6);
        }

        .btn-confirm-delete {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 20px;
            background: rgba(184, 19, 45, 0.2);
            border: 1px solid rgba(184, 19, 45, 0.6);
            border-radius: 8px;
            color: #f2b7bf;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-confirm-delete:hover {
            background: rgba(184, 19, 45, 0.3);
            border-color: rgba(184, 19, 45, 0.8);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(184, 19, 45, 0.3);
        }

        .btn-confirm-delete:active {
            transform: translateY(0);
        }

        .footer {
            background: 
                repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0px, transparent 1px),
                linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
            border-top: 3px solid var(--border);
            padding: 60px 80px;
            text-align: center;
            position: relative;
        }

        /* Barbed wire effect on top */
        .footer::before {
            content: '';
            position: absolute;
            top: -2px;
            left: 0;
            width: 100%;
            height: 4px;
            background: repeating-linear-gradient(
                90deg,
                var(--border) 0px,
                var(--border) 20px,
                transparent 20px,
                transparent 25px,
                var(--border) 25px,
                var(--border) 30px,
                transparent 30px,
                transparent 50px
            );
            opacity: 0.5;
        }

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

        @media (max-width: 960px) {
            .profile-layout {
                grid-template-columns: 1fr;
            }
        }

        .footer-disclaimer {
            font-size: 12px;
            color: var(--text-muted);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.7;
            opacity: 0.7;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .header {
                padding: 0 40px;
            }

            section {
                padding: 80px 40px;
            }

            .hero-content {
                padding: 0 40px;
            }

            .hero-title {
                font-size: 56px;
            }

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

            .factions {
                padding: 80px 0;
            }

            .factions .section-header {
                padding: 0 40px;
            }

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

            .timeline-container {
                padding: 0 40px 40px;
            }
        }

        @media (max-width: 768px) {
            /* Prevent horizontal overflow on tablets/mobile */
            body,
            html {
                overflow-x: hidden;
                max-width: 100vw;
            }

            .factions-shell {
                overflow-x: hidden;
                max-width: 100vw;
            }

            .header {
                padding: 0 24px;
            }

            .nav {
                display: none;
            }

            section {
                padding: 60px 24px;
                overflow-x: hidden;
            }

            .factions {
                padding: 60px 0;
            }

            .factions .section-header {
                padding: 0 24px;
            }

            .about-intro__grid,
            .about-grid,
            .about-sides__grid,
            .about-contact__grid,
            .about-gallery__grid {
                grid-template-columns: 1fr;
            }

            .about-hero {
                grid-template-columns: 1fr;
            }

            .profile-status {
                grid-template-columns: 1fr;
            }

            /* Profile Page Responsive */
            .profile-hero {
                margin: -24px -24px 32px -24px;
                padding: 40px 24px;
            }

            .profile-hero__content {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 20px;
            }

            .profile-hero__avatar {
                width: 100px;
                height: 100px;
            }

            .profile-hero__avatar-fallback {
                font-size: 36px;
            }

            .profile-hero__name {
                font-size: 24px;
            }

            .profile-hero__faction {
                justify-content: center;
            }

            .profile-container {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .profile-card--sticky {
                position: static;
            }

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

            /* Hero Section Mobile */
            .hero {
                min-height: 100vh;
                padding: 70px 0 20px;
            }

            .hero-content {
                padding: 0 24px;
            }

            .hero-tag {
                font-size: 10px;
                letter-spacing: 1px;
                padding: 6px 12px;
                margin-bottom: 20px;
            }

            .hero-title {
                font-size: 48px;
                letter-spacing: -1.5px;
                margin-bottom: 20px;
            }

            .hero-subtitle {
                font-size: 16px;
                line-height: 1.6;
                margin-bottom: 32px;
            }

            .hero-stats {
                flex-direction: row;
                gap: 24px;
                margin-top: 40px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .stat-item {
                flex: 1;
                min-width: 100px;
            }

            .stat-value {
                font-size: 28px;
            }

            .stat-label {
                font-size: 11px;
            }

            /* Hide decorative stamps on mobile */
            .hero-content::before,
            .hero-content::after {
                display: none;
            }

            /* Section Header Mobile */
            .section-header {
                margin-bottom: 48px;
            }

            .section-tag {
                font-size: 10px;
                letter-spacing: 1.2px;
                margin-bottom: 12px;
            }

            .section-title {
                font-size: 32px;
                line-height: 1.2;
                margin-bottom: 16px;
            }

            .section-description {
                font-size: 15px;
                line-height: 1.6;
            }

            /* Faction Access Section Mobile */
            .faction-access {
                padding: 60px 24px !important;
            }

            .faction-access__content {
                max-width: 100%;
            }

            .faction-access__stats {
                flex-direction: column;
                gap: 20px;
                margin: 32px 0;
            }

            .faction-access__stat {
                text-align: left;
            }

            .faction-access__value {
                font-size: 32px;
            }

            .faction-access__label {
                font-size: 12px;
            }

            .faction-access__actions {
                flex-direction: column;
                gap: 12px;
            }

            .faction-cta {
                width: 100%;
                text-align: center;
                padding: 14px 24px;
                font-size: 14px;
            }

            /* About Intro Section Mobile */
            .about-intro__grid {
                gap: 16px;
            }

            .about-intro__card {
                padding: 20px;
            }

            .about-intro__label {
                font-size: 11px;
            }

            .about-intro__value {
                font-size: 18px;
            }

            .about-intro__cta {
                margin-top: 32px;
            }

            /* Faction Cards Mobile */
            .faction-card {
                padding: 32px 24px;
            }

            .faction-name {
                font-size: 24px;
            }

            .faction-badge {
                font-size: 10px;
                padding: 6px 12px;
            }

            .faction-description {
                font-size: 14px;
                line-height: 1.6;
            }

            .faction-stats-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
            }

            .faction-stat-value {
                font-size: 24px;
            }

            .faction-stat-label {
                font-size: 10px;
            }

            .faction-subfactions {
                gap: 8px;
                flex-wrap: wrap;
            }

            .capability-tag {
                font-size: 11px;
                padding: 6px 10px;
            }

            .faction-cta-row {
                flex-direction: column;
                gap: 12px;
            }

            .faction-note {
                font-size: 11px;
                text-align: center;
            }

            /* Timeline Mobile */
            .timeline-event {
                min-width: 280px;
                max-width: 320px;
            }

            .event-card {
                padding: 20px;
            }

            .event-date {
                font-size: 11px;
            }

            .event-title {
                font-size: 18px;
                margin-bottom: 12px;
            }

            .event-description {
                font-size: 13px;
                line-height: 1.6;
            }

            .event-tags {
                gap: 6px;
                flex-wrap: wrap;
            }

            .event-tag {
                font-size: 10px;
                padding: 4px 10px;
            }

            .timeline-container {
                padding: 0 24px 40px;
            }

            /* News Section Mobile */
            .news-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .news-card {
                padding: 24px;
            }

            .news-card__banner {
                padding: 12px 14px;
            }

            .news-card__kicker {
                font-size: 14px;
            }

            .news-card__stamp {
                font-size: 24px;
                right: 8px;
                top: 4px;
            }

            .news-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                margin-bottom: 14px;
            }

            .news-date {
                font-size: 10px;
            }

            .news-source {
                font-size: 9px;
            }

            .news-title {
                font-size: 16px;
                margin-bottom: 10px;
            }

            .news-excerpt {
                font-size: 13px;
                line-height: 1.6;
            }

            .news-more {
                font-size: 11px;
            }

            /* Footer Mobile */
            .footer {
                padding: 40px 24px;
            }

            .footer-text {
                font-size: 12px;
            }

            .footer-disclaimer {
                font-size: 11px;
                line-height: 1.6;
            }
        }

        @media (max-width: 480px) {
            /* Homepage & Profile - Extra Small Screens */

            /* Prevent horizontal overflow */
            body,
            html {
                overflow-x: hidden;
                max-width: 100vw;
            }

            /* Ensure content fits */
            .factions-shell {
                padding: 70px 16px 80px !important;
                overflow-x: hidden;
                width: 100%;
                max-width: 100vw;
            }

            section {
                padding: 40px 16px;
                overflow-x: hidden;
            }

            .factions {
                padding: 40px 0;
            }

            .factions .section-header {
                padding: 0 16px;
            }

            /* Hero Section - Small Phones */
            .hero {
                min-height: 100vh;
                padding: 70px 0 20px;
            }

            .hero-content {
                padding: 0 16px;
            }

            .hero-tag {
                font-size: 9px;
                letter-spacing: 0.8px;
                padding: 6px 10px;
                margin-bottom: 16px;
            }

            .hero-title {
                font-size: 36px;
                letter-spacing: -1px;
                margin-bottom: 16px;
                line-height: 1.1;
            }

            .hero-subtitle {
                font-size: 14px;
                line-height: 1.5;
                margin-bottom: 28px;
            }

            .hero-stats {
                flex-direction: column;
                gap: 20px;
                margin-top: 32px;
            }

            .stat-item {
                width: 100%;
            }

            .stat-value {
                font-size: 32px;
            }

            .stat-label {
                font-size: 11px;
            }

            /* Section Headers - Small */
            .section-header {
                margin-bottom: 40px;
            }

            .section-tag {
                font-size: 9px;
                letter-spacing: 1px;
            }

            .section-title {
                font-size: 28px;
                line-height: 1.2;
            }

            .section-description {
                font-size: 14px;
                line-height: 1.5;
            }

            /* Faction Access Section */
            .faction-access {
                padding: 40px 16px !important;
            }

            .faction-access__value {
                font-size: 28px;
            }

            .faction-access__label {
                font-size: 11px;
            }

            .faction-cta {
                padding: 12px 20px;
                font-size: 13px;
            }

            /* About Intro Cards */
            .about-intro__grid {
                gap: 12px;
            }

            .about-intro__card {
                padding: 16px;
            }

            .about-intro__label {
                font-size: 10px;
            }

            .about-intro__value {
                font-size: 16px;
            }

            /* Faction Cards */
            .faction-card {
                padding: 24px 16px;
            }

            .faction-name {
                font-size: 20px;
            }

            .faction-badge {
                font-size: 9px;
                padding: 5px 10px;
            }

            .faction-description {
                font-size: 13px;
                line-height: 1.5;
            }

            .faction-stats-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .faction-stat-value {
                font-size: 28px;
            }

            .faction-stat-label {
                font-size: 10px;
            }

            .capability-tag {
                font-size: 10px;
                padding: 5px 8px;
            }

            /* Timeline */
            .timeline-event {
                min-width: 260px;
                max-width: 280px;
            }

            .event-card {
                padding: 16px;
            }

            .event-date {
                font-size: 10px;
            }

            .event-title {
                font-size: 16px;
                margin-bottom: 10px;
            }

            .event-description {
                font-size: 12px;
                line-height: 1.5;
            }

            .event-tag {
                font-size: 9px;
                padding: 4px 8px;
            }

            .timeline-container {
                padding: 0 16px 32px;
            }

            /* News Cards - Small */
            .news-card {
                padding: 20px 16px;
            }

            .news-card__banner {
                padding: 10px 12px;
            }

            .news-card__kicker {
                font-size: 13px;
            }

            .news-card__stamp {
                font-size: 20px;
            }

            .news-title {
                font-size: 15px;
            }

            .news-excerpt {
                font-size: 12px;
            }

            /* Footer */
            .footer {
                padding: 32px 16px;
            }

            .footer-text {
                font-size: 11px;
            }

            .footer-disclaimer {
                font-size: 10px;
                line-height: 1.5;
            }

            /* Profile Page - Extra Small Screens */
            .profile-hero {
                margin: -16px -16px 24px -16px;
                padding: 32px 16px;
                overflow: hidden;
            }

            .profile-hero__content {
                width: 100%;
                overflow: hidden;
            }

            .profile-hero__avatar {
                width: 80px;
                height: 80px;
            }

            .profile-hero__avatar-fallback {
                font-size: 28px;
            }

            .profile-hero__name {
                font-size: 20px;
                word-break: break-word;
            }

            .profile-hero__username {
                font-size: 12px;
                word-break: break-word;
            }

            .profile-hero__faction {
                font-size: 11px;
                width: 100%;
            }

            .profile-container {
                width: 100%;
                overflow: hidden;
            }

            .profile-card {
                max-width: 100%;
                overflow: hidden;
            }

            .profile-card__header {
                padding: 16px 20px;
            }

            .profile-card__content {
                padding: 20px;
                overflow-x: auto;
            }

            .profile-card__title {
                font-size: 14px;
            }

            .profile-card__bio {
                word-break: break-word;
            }

            .btn-primary {
                padding: 12px 20px;
                font-size: 13px;
            }

            /* Delete Avatar Modal - Mobile */
            .delete-avatar-modal__panel {
                padding: 24px;
                max-width: calc(100vw - 32px);
                width: 90%;
            }

            .delete-avatar-modal__title {
                font-size: 18px;
            }

            .delete-avatar-modal__message {
                font-size: 13px;
            }

            .delete-avatar-modal__actions {
                flex-direction: column;
                gap: 8px;
            }

            .btn-cancel,
            .btn-confirm-delete {
                width: 100%;
            }

            .current-avatar-info {
                flex-direction: column;
                align-items: flex-start;
                width: 100%;
            }

            .current-avatar-preview {
                width: 100%;
                height: auto;
                aspect-ratio: 1;
                max-width: 120px;
            }

            /* Form fields */
            .profile-edit-form textarea,
            .profile-edit-form input[type="text"],
            .profile-edit-form input[type="file"] {
                width: 100%;
                box-sizing: border-box;
            }

            /* Info items */
            .info-item__value {
                word-break: break-word;
            }

            /* Status grid */
            .status-grid {
                grid-template-columns: 1fr;
            }

            /* Fix any overflow issues */
            * {
                max-width: 100%;
                box-sizing: border-box;
            }

            /* Ensure images scale */
            img {
                max-width: 100%;
                height: auto;
            }
        }

/* ============================================
   MOBILE NAVIGATION - Bottom Bar System
   ============================================ */

/* Mobile Compact Header */
.mobile-header {
    display: none;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(20, 16, 12, 0.98);
    border-bottom: 1px solid rgba(157, 127, 87, 0.25);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.mobile-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
}

.mobile-header__logo {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.mobile-header__badge {
    margin-left: auto;
    margin-right: 12px;
}

.mobile-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(157, 127, 87, 0.35);
    background: rgba(10, 8, 6, 0.6);
    color: var(--text-secondary);
}

.mobile-badge--coalition {
    border-color: rgba(157, 127, 87, 0.5);
    color: var(--accent-desert);
}

.mobile-badge--insurgents {
    border-color: rgba(184, 19, 45, 0.5);
    color: var(--accent-polish);
}

.mobile-header__toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-icon {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease;
}

.hamburger-icon::before { top: -6px; }
.hamburger-icon::after { bottom: -6px; }

.mobile-header__toggle[aria-expanded="true"] .hamburger-icon {
    background: transparent;
}

.mobile-header__toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.mobile-header__toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.mobile-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: rgba(20, 16, 12, 0.98);
    border-left: 2px solid rgba(157, 127, 87, 0.3);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}

.mobile-drawer[aria-hidden="false"] .mobile-drawer__panel {
    transform: translateX(0);
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(157, 127, 87, 0.2);
    background: rgba(10, 8, 6, 0.6);
}

.mobile-drawer__user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.mobile-drawer__avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(157, 127, 87, 0.2);
    border: 1px solid rgba(157, 127, 87, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-drawer__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-drawer__username {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-drawer__meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.mobile-drawer__close {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(157, 127, 87, 0.3);
    background: rgba(157, 127, 87, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-drawer__section {
    padding: 16px;
    border-bottom: 1px solid rgba(157, 127, 87, 0.15);
}

.mobile-drawer__section--bottom {
    margin-top: auto;
    border-bottom: none;
}

.mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-drawer__link:hover {
    background: rgba(157, 127, 87, 0.1);
}

.mobile-drawer__link--danger {
    color: #f2b7bf;
}

.mobile-drawer__link--danger:hover {
    background: rgba(184, 19, 45, 0.1);
}

.mobile-drawer__link--primary {
    background: rgba(157, 127, 87, 0.15);
    border: 1px solid rgba(157, 127, 87, 0.4);
    color: var(--accent-desert);
    font-weight: 600;
    padding: 14px 12px;
    margin-top: 8px;
}

.mobile-drawer__link--primary:hover {
    background: rgba(157, 127, 87, 0.25);
    border-color: rgba(157, 127, 87, 0.6);
}

/* Bottom Action Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(20, 16, 12, 0.98);
    border-top: 1px solid rgba(157, 127, 87, 0.25);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0 8px 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 6px 4px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 0;
}

.mobile-bottom-bar__item:hover,
.mobile-bottom-bar__item.is-active {
    background: rgba(157, 127, 87, 0.15);
    color: var(--text-primary);
}

.mobile-bottom-bar__item.is-active {
    color: var(--accent-desert);
}

.mobile-bottom-bar__item--disabled {
    opacity: 0.3;
    pointer-events: none;
}

.mobile-bottom-bar__item--blocked {
    opacity: 0.5;
    cursor: pointer;
    position: relative;
}

.mobile-bottom-bar__item--blocked:active {
    transform: scale(0.95);
}

.mobile-bottom-bar__lock {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    opacity: 0.7;
}

.mobile-bottom-bar__icon {
    flex-shrink: 0;
}

.mobile-bottom-bar__label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Blocked Feature Tooltip */
.blocked-feature-tooltip {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(184, 19, 45, 0.95);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blocked-feature-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.blocked-feature-tooltip svg {
    flex-shrink: 0;
}

/* Mobile Drawer Close Bottom Button */
.mobile-drawer__close-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    margin-top: 8px;
    border-top: 1px solid rgba(157, 127, 87, 0.15);
    padding-top: 16px;
}

.mobile-drawer__close-bottom:hover {
    background: rgba(157, 127, 87, 0.1);
    color: var(--text-primary);
}

/* Filter Modal */
.mobile-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-filter-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.mobile-filter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
}

.mobile-filter-modal__panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: rgba(20, 16, 12, 0.98);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top: 2px solid rgba(157, 127, 87, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-filter-modal[aria-hidden="false"] .mobile-filter-modal__panel {
    transform: translateY(0);
}

.mobile-filter-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(157, 127, 87, 0.2);
}

.mobile-filter-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.mobile-filter-modal__close {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(157, 127, 87, 0.3);
    background: rgba(157, 127, 87, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-filter-modal__form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.mobile-filter-modal__content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.mobile-filter-group {
    margin-bottom: 20px;
}

.mobile-filter-group:last-child {
    margin-bottom: 0;
}

.mobile-filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.mobile-filter-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(10, 8, 6, 0.7);
    border: 1px solid rgba(157, 127, 87, 0.35);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%239d7f57' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.mobile-filter-modal__actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(157, 127, 87, 0.2);
    background: rgba(10, 8, 6, 0.6);
}

.mobile-filter-btn {
    flex: 1;
    height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-btn--primary {
    background: var(--accent-desert);
    border: none;
    color: #18130e;
}

.mobile-filter-btn--primary:active {
    transform: scale(0.98);
}

.mobile-filter-btn--secondary {
    background: transparent;
    border: 1px solid rgba(157, 127, 87, 0.4);
    color: var(--text-primary);
}
