:root {
    --bg: #050505;
    --card-gray: #1a1a1a;
    --accent-stealth: #00ffcc;
    --accent-stalker: #ffcc00;
    --accent-dnd: #ff4d4d;
}

body {
    margin: 0;
    background-color: var(--bg);
    color: white;
    font-family: 'Oswald', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

        /* Навигация */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-btn {
    text-decoration: none;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.nav-btn:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Сетка кнопок */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1400px;
    margin: auto;
    width: 100%;
}

.game-card {
    position: relative;
    height: 500px;
    background: var(--card-gray);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.game-card:hover {
    transform: translateY(-10px);
}

/* Контейнер для сложного SVG */
.illustration {
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
    height: 300px;
    display: flex;
    justify-content: center;
    transition: 0.5s ease;
    filter: grayscale(0.5) brightness(0.7);
}

.game-card:hover .illustration {
    filter: grayscale(0) brightness(1);
    transform: scale(1.1);
}

.game-card h2 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
}

.game-card p {
    position: relative;
    z-index: 2;
    color: #888;
    margin-top: 10px;
}

/* Цветовые схемы для каждой карточки */
.stealth-card h2 { color: var(--accent-stealth); }
.stealth-card:hover { box-shadow: 0 0 40px rgba(0, 255, 204, 0.15); }

.stalker-card h2 { color: var(--accent-stalker); }
.stalker-card:hover { box-shadow: 0 0 40px rgba(255, 204, 0, 0.15); }

.dnd-card h2 { color: var(--accent-dnd); }
.dnd-card:hover { box-shadow: 0 0 40px rgba(255, 77, 77, 0.15); }

svg { width: 100%; height: 100%; }