/* Мрачные переменные */
:root {
    --bg-dark: #0a0a0c;        /* Глубокий черный с оттенком синего */
    --bg-alt: #121217;         /* Чуть светлее для чередования секций */
    --text-main: #d1d1d6;      /* Бледно-серый текст */
    --accent-yellow: #f1c40f;  /* Ярко-желтый (дождевик Шестой) */
    --accent-hover: #f39c12;   /* Темно-желтый для наведения */
    
    --font-heading: 'Crimson Text', serif;
    --font-text: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Плавный скролл к секциям */
}

body {
    font-family: var(--font-text);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Навигация */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(10, 10, 12, 0.95);
    padding: 1.5rem 2rem;
    position: fixed; /* Фиксируем меню сверху */
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

/* Главный баннер */
.hero {
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a24 0%, #050505 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px; /* Отступ для фиксированного меню */
}

.hero-content {
    animation: fadeIn 3s ease-in-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #999;
    font-style: italic;
    font-family: var(--font-heading);
}

/* Секции игр */
.game-section {
    padding: 6rem 0;
    border-top: 1px solid #1a1a24;
}

.alternate-bg {
    background-color: var(--bg-alt);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.game-title {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-yellow);
    padding-left: 1rem;
    text-shadow: 0 0 15px rgba(241, 196, 15, 0.1);
}

.game-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.game-text h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.game-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.game-text ul {
    list-style-type: none;
    padding-left: 0;
}

.game-text li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

/* Стилизация маркеров списка под мрачный стиль */
.game-text li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-size: 0.8rem;
    top: 5px;
}

/* Подвал */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #050505;
    border-top: 1px solid var(--accent-yellow);
}

footer p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    font-style: italic;
}

footer .copyright {
    font-family: var(--font-text);
    font-size: 0.8rem;
    color: #555;
    margin-top: 1rem;
    font-style: normal;
}

/* Анимация появления */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
