    :root {
        --accent: #00ffaa;
        --transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
        font-family: 'Segoe UI', system-ui, sans-serif;
        color: white;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background-color: #000;
        transition: background-color 0.8s ease, opacity 0.4s ease, transform 0.4s ease;
    }

    /* Темы */
    body.theme-moscow { background-color: #1a0b0b; }
    body.theme-ufa { background-color: #0b1a14; }
    body.theme-finland { background-color: #0b111a; }
    body.theme-sweden { background-color: #0b1a1a; }
    body.theme-germany { background-color: #1a170b; }
    body.theme-netherlands { background-color: #1a120b; }

    .container { max-width: 1200px; margin: 0 auto; width: 90%; }

    /* Навигация */
    .navbar { display: flex; justify-content: space-between; padding: 30px 0; align-items: center; }
    .logo { font-size: 28px; font-weight: 800; }
    .logo span { color: var(--accent); }

    .nav-links a, .legal-links a { 
        margin-left: 20px; 
        text-decoration: none; 
        color: rgba(255,255,255,0.5); 
        font-size: 14px; 
        transition: 0.2s;
        display: inline-block;
    }

    .nav-links a:hover, .legal-links a:hover { color: var(--accent); text-shadow: 0 0 10px rgba(0,255,170,0.3); }
    .nav-links a:active, .legal-links a:active, .back-btn:active { transform: scale(0.9); }

    /* Карточка */
    .hero { flex: 1; display: flex; align-items: center; padding: 40px 0; }
    .glass-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 40px;
        display: flex;
        width: 100%;
        min-height: 480px;
        overflow: hidden;
        box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    }

    .card-left { flex: 1; display: flex; align-items: center; background: rgba(0,0,0,0.2); border-right: 1px solid rgba(255,255,255,0.05); }
    .scroll-window { height: 100px; overflow: hidden; width: 100%; }
    .country-list { transition: transform var(--transition); }
    .country-item { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 45px; font-weight: 900; opacity: 0.1; transition: 0.4s; text-transform: uppercase; }
    .country-item.active { opacity: 1; transform: scale(1.1); color: #fff; }

    .card-right { flex: 1.3; padding: 60px; display: flex; align-items: center; }
    .info-box { transition: 0.4s; }

    /* Обновленная левая часть */
.card-left { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    position: relative; /* Чтобы фон позиционировался внутри */
    background: #000; 
    border-right: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

/* Слой для фоновой картинки города */
.card-left::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.4); /* Блюр и затемнение фона */
    transition: background-image 0.8s ease-in-out; /* Плавная смена фона */
    z-index: 0;
    transform: scale(1.1); /* Убираем белые края от блюра */
}

/* Окно барабана поднимаем над фоном */
.scroll-window { 
    height: 100px; 
    overflow: hidden; 
    width: 100%; 
    position: relative; 
    z-index: 1; /* Поверх фона */
}

    /* Флаги */
    #current-flag { width: 70px; height: 45px; border-radius: 6px; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-bottom: 20px; }

    h2 { font-size: 48px; margin-bottom: 10px; }
    p { color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 30px; font-size: 18px; }

    .status { display: inline-flex; align-items: center; color: var(--accent); font-weight: 700; font-size: 14px; background: rgba(0,255,170,0.1); padding: 8px 18px; border-radius: 30px; }
    .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 10px var(--accent); }

    /* Документы */
    .doc-container { 
        margin: 50px auto; 
        background: rgba(255,255,255,0.03); 
        padding: 50px; 
        border-radius: 30px; 
        border: 1px solid rgba(255,255,255,0.1); 
        animation: slideIn 0.6s var(--transition) forwards;
    }

    @keyframes slideIn {
        from { transform: translateX(50px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    .back-btn { color: var(--accent); text-decoration: none; display: inline-block; margin-bottom: 30px; font-weight: 600; }

    /* Footer */
    .footer { padding: 40px 0; margin-top: auto; }
    .footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .disclaimer { text-align: center; font-size: 11px; opacity: 0.2; text-transform: uppercase; letter-spacing: 1px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

    @media (max-width: 850px) {
        .glass-card { flex-direction: column; }
        .card-left { padding: 40px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    }