
        :root {
            --rad-glow: rgba(255, 69, 0, 0.15);
            --bg-dark: #050507;
            --card-bg: rgba(18, 18, 22, 0.95);
            --text-main: #e0e0e0;
            --pve-color: #8fbc8f;
            --pvpevp-color: #ff6b6b;
            --rp-color: #4f9de1;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body, html {
            height: 100%;
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
            /* Фоновая текстура */
            background-image: 
                radial-gradient(circle at 50% 50%, var(--rad-glow) 0%, transparent 70%),
                linear-gradient(45deg, rgba(0,0,0,0.6) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(0,0,0,0.6) 25%, transparent 25%);
            background-size: 80px 80px;
        }

        main {
            position: relative;
            z-index: 10;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 60px;
        }

        /* Логотип */
        .logo-container {
            text-align: center;
            margin-bottom: 40px;
            filter: drop-shadow(0 10px 15px rgba(0,0,0,0.8));
        }

        .logo-text {
            font-size: clamp(3rem, 10vw, 6rem);
            line-height: 1;
            font-weight: 900;
            letter-spacing: -3px;
            text-transform: uppercase;
            color: #fff;
            text-shadow: 
                2px 2px 0 #111, 
                -1px -1px 0 #444, 
                1px 1px 8px rgba(0,0,0,0.9),
                0 0 10px rgba(255, 107, 107, 0.4);
            -webkit-text-stroke: 2px #2a2a2a;
        }

        .tagline {
            margin-top: 12px;
            font-size: 1.1rem;
            color: #aaa;
            font-style: italic;
            border-top: 1px solid rgba(255,255,255,0.1);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding: 6px 16px;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(4px);
        }

        /* Сетка */
        .server-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            width: 100%;
            max-width: 1200px;
            padding: 0 15px;
            margin-bottom: 60px;
        }

        /* Карточка-бункер */
        .bunker-card {
            position: relative;
            height: 420px;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 4px;
            overflow: hidden;
            background: var(--card-bg);
            cursor: pointer;
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
            isolation: isolate;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 20px;
            backdrop-filter: blur(2px);
        }

        .bunker-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(255,255,255,0.1);
            z-index: 2;
        }

        /* --- ЛОГИКА ИЗОБРАЖЕНИЙ И ВИДЕО --- */
        
        /* Контейнер для медиа */
        .media-wrapper {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        /* Статичное изображение (Покой) */
        .static-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.5s ease, transform 0.5s ease;
            display: block;
            filter: brightness(0.6) contrast(1.2); /* Затемнение для атмосферы */
        }

        /* Видео (Актив) - скрыто по умолчанию */
        .dynamic-video {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
            opacity: 0;
            pointer-events: none; /* Чтобы клики проходили сквозь видео к карточке */
            transition: opacity 0.5s ease;
            filter: brightness(1.1);
        }

        /* Пульсирующий слой (Заглушка, если нет видео) */
        .pulse-layer {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle, transparent 20%, rgba(255,255,255,0.05) 50%, transparent 80%);
            opacity: 0;
            pointer-events: none;
            z-index: 1;
        }

        .bunker-card:hover .pulse-layer {
            opacity: 0.4;
            animation: pulse-anim 4s infinite alternate;  /* анимация только на hover */
        }

        @keyframes pulse-anim {
            from { transform: scale(0.95); opacity: 0.2; }
            to { transform: scale(1.05); opacity: 0.5; }
        }

        /* Цвета для разных режимов */
        .pve-card .static-img { filter: sepia(0.2) hue-rotate(-20deg); }
        .pvpevp-card .static-img { filter: sepia(0.1) hue-rotate(10deg) contrast(1.3); }
        .rp-card .static-img { filter: brightness(0.8) saturate(0.8); }

        /* Переключение состояний при наведении */
        .bunker-card:hover .static-img {
            opacity: 0;
            transform: scale(1.05);
        }
        
        .bunker-card:hover .dynamic-video {
            opacity: 1;
        }

        .bunker-card:hover .pulse-layer {
            opacity: 0.4;
        }

        /* --- КОНТЕНТ --- */
        .card-content {
            position: relative;
            z-index: 2;
            transform: translateY(20px);
            opacity: 0;
            transition: transform 0.6s cubic-bezier(0.1, 0.7, 0.1, 1), opacity 0.6s ease;
        }

        .bunker-card:hover .card-content {
            transform: translateY(0);
            opacity: 1;
        }

        .card-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 10px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
        }

        .pve-icon path { fill: var(--pve-color); }
        .pvpevp-icon path { fill: var(--pvpevp-color); }
        .rp-icon path { fill: var(--rp-color); }

        .card-title {
            font-size: 1.8rem;
            font-weight: 800;
            text-transform: uppercase;
            margin-bottom: 8px;
            letter-spacing: 1px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0,0,0,0.8);
        }

        .pve-card .card-title { color: var(--pve-color); }
        .pvpevp-card .card-title { color: var(--pvpevp-color); }
        .rp-card .card-title { color: var(--rp-color); }

        .card-desc {
            font-size: 0.9rem;
            line-height: 1.4;
            color: #ccc;
            max-width: 95%;
        }

        .badge {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 4px 10px;
            background: rgba(0,0,0,0.7);
            border: 1px solid rgba(255,255,255,0.1);
            color: #888;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            z-index: 3;
            backdrop-filter: blur(2px);
        }

        /* Кнопка звука (появляется при наведении) */
        .sound-btn {
            position: absolute;
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 3;
            backdrop-filter: blur(4px);
        }

        .bunker-card:hover .sound-btn {
            opacity: 1;
            transform: translateY(0);
        }

        footer {
            width: 100%;
            padding: 30px 20px;
            border-top: 1px solid rgba(255,255,255,0.05);
            text-align: center;
            color: #666;
            font-size: 0.9rem;
            z-index: 10;
        }

        .footer-links a {
            color: #888;
            text-decoration: none;
            margin: 0 12px;
            transition: color 0.3s;
        }

        .footer-links a:hover { color: #fff; }

        @media (max-width: 768px) {
            .logo-text { font-size: 3.5rem; }
            .bunker-card { height: 350px; }
        }

        /* Обёртка: карточка + описание под ней */
        .server-col {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        /* Блок подробного описания под карточкой */
        .server-info {
            padding: 18px 20px;
            border: 1px solid rgba(255,255,255,0.07);
            border-left: 3px solid transparent;
            border-radius: 4px;
            background: rgba(12, 12, 16, 0.75);
        }

        .pve-card-col .server-info    { border-left-color: var(--pve-color); }
        .pvpevp-col .server-info      { border-left-color: var(--pvpevp-color); }
        .rp-col .server-info          { border-left-color: var(--rp-color); }

        .server-info h3 {
            font-size: 1rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }

        .pve-col .server-info h3   { color: var(--pve-color); }
        .pvpevp-col .server-info h3 { color: var(--pvpevp-color); }
        .rp-col .server-info h3    { color: var(--rp-color); }

        .server-info p {
            font-size: 0.85rem;
            line-height: 1.55;
            color: #b8b8b8;
            margin-bottom: 10px;
        }

        .server-info .card-features {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .server-info .card-features li {
            position: relative;
            padding-left: 18px;
            margin-bottom: 5px;
            font-size: 0.8rem;
            line-height: 1.4;
            color: #a5a5a5;
        }

        .server-info .card-features li::before {
            content: '▸';
            position: absolute;
            left: 0;
            font-weight: 700;
        }

        .pve-col .card-features li::before    { color: var(--pve-color); }
        .pvpevp-col .card-features li::before { color: var(--pvpevp-color); }
        .rp-col .card-features li::before     { color: var(--rp-color); }

        /* ===== Страницы серверов (общие) ===== */

        .pve-page main { padding-top: 30px; max-width: 1100px; margin: 0 auto; padding-left: 15px; padding-right: 15px; }

        .back-link {
            color: #888; text-decoration: none; font-size: 0.9rem;
            display: inline-block; margin-bottom: 20px;
        }
        .back-link:hover { color: #fff; }

        .server-hero { text-align: center; margin-bottom: 40px; }

        .server-hero-title {
            font-size: clamp(2.5rem, 7vw, 4.5rem);
            font-weight: 900; text-transform: uppercase; letter-spacing: -2px;
            color: #fff;
            text-shadow: 2px 2px 0 #111, 1px 1px 8px rgba(0,0,0,0.9), 0 0 12px rgba(143,188,143,0.35);
        }
        .server-hero-sub { color: #aaa; font-style: italic; margin-top: 6px; }

        .server-hero-badges { margin-top: 16px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
        .pill {
            padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.5px;
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #aaa;
        }
        .pill-accent { color: var(--pve-color); border-color: rgba(143,188,143,0.4); }

        /* Панели-секции */
        .panel {
            border: 1px solid rgba(255,255,255,0.07);
            border-radius: 4px;
            background: rgba(12, 12, 16, 0.75);
            margin-bottom: 30px;
            overflow: hidden;
        }
        .panel-title {
            padding: 14px 20px;
            font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
            color: var(--pve-color);
            border-bottom: 1px solid rgba(255,255,255,0.07);
            background: rgba(0,0,0,0.3);
        }
        .panel-body { padding: 20px; color: #ccc; font-size: 0.9rem; line-height: 1.6; }

        .two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 25px; }
        @media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

        .feature-list { list-style: none; padding: 0; margin: 0; }
        .feature-list li { position: relative; padding-left: 18px; margin-bottom: 7px; color: #b5b5b5; font-size: 0.85rem; }
        .feature-list li::before { content: '▸'; position: absolute; left: 0; color: var(--pve-color); font-weight: 700; }

        /* Мета-блок сервера */
        .server-meta {
            display: flex; gap: 0; flex-wrap: wrap;
            border-top: 1px solid rgba(255,255,255,0.07);
        }
        .meta-item {
            flex: 1; min-width: 140px; padding: 14px 20px;
            border-right: 1px solid rgba(255,255,255,0.07);
            display: flex; flex-direction: column; gap: 4px;
        }
        .meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: #666; }
        .meta-value { font-size: 0.95rem; font-weight: 700; color: #e0e0e0; }

        /* Новости */
        .news-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
        .news-item:last-child { border-bottom: none; }
        .news-date { font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
        .news-title { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
        .news-text { color: #b0b0b0; font-size: 0.88rem; }

        /* Кнопки и подсказки */
        .hint { color: #999; margin-bottom: 14px; font-size: 0.88rem; }
        .btn-accent {
            display: inline-block; padding: 10px 24px;
            background: rgba(143,188,143,0.12); border: 1px solid rgba(143,188,143,0.5);
            color: var(--pve-color); border-radius: 4px;
            text-decoration: none; font-weight: 700; font-size: 0.9rem;
            transition: background 0.3s, transform 0.2s;
        }
        .btn-accent:hover { background: rgba(143,188,143,0.25); transform: translateY(-2px); }
        .shop-note {
            margin-top: 18px; padding: 12px 16px;
            border: 1px dashed rgba(255,255,255,0.2); border-radius: 4px;
            color: #999; font-size: 0.85rem;
        }

        /* Карта-заглушка */
        .map-placeholder {
            min-height: 300px; display: flex; align-items: center; justify-content: center;
            border: 1px dashed rgba(255,255,255,0.2); border-radius: 4px;
            color: #555; font-size: 0.9rem; letter-spacing: 1px;
        }
        /* ===== Статус серверов на главной ===== */
.status-section {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin-bottom: 60px;
}

.status-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.status-title span { color: var(--pve-color); }

.status-table {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(12,12,16,0.75);
}

.status-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.status-row:last-child { border-bottom: none; }
.status-row.head {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: #555;
    background: rgba(0,0,0,0.3);
}

.srv-name { display: flex; align-items: center; gap: 10px; }
.srv-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #8fbc8f;
    box-shadow: 0 0 8px rgba(143,188,143,0.8);
    animation: dot-blink 2s infinite;
}
@keyframes dot-blink { 50% { opacity: 0.4; } }

.srv-dot { background: #777; }                      /* по умолчанию — серый */
.srv-dot.dot-online  { background: #8fbc8f; box-shadow: 0 0 6px rgba(143,188,143,0.7); }  /* онлайн — зелёный */
.srv-dot.dot-offline { background: #ff6b6b; }       /* офлайн — красный */


.srv-name a { color: #e0e0e0; text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.srv-name a:hover { color: var(--pve-color); }
.srv-mode {
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
    padding: 3px 8px; border-radius: 3px;
}
.srv-mode.pve    { color: var(--pve-color);    background: rgba(143,188,143,0.12); }
.srv-mode.pvpevp { color: var(--pvpevp-color); background: rgba(255,107,107,0.12); }
.srv-mode.rp     { color: var(--rp-color);     background: rgba(79,157,225,0.12); }

.status-cell { font-size: 0.85rem; color: #bbb; }
.status-cell strong { color: #fff; }

@media (max-width: 768px) {
    .status-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .status-row.head { display: none; }
}
