/*
 * DARK MODE ACTIVATED
 * Адаптивный, агрессивный стиль
 */

:root {
    --bg-dark: #121212;
    --text-light: #f0f0f0;
    --accent-gold: #ffcc00;
    --header-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffd700; /* Более яркое золото */
}

/* Typography */
h1, h2, h3 {
    font-weight: 700; /* Пожирнее */
    margin-bottom: 0.5em;
    color: var(--accent-gold);
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

/* Header & Navigation (Шапка) */
.header {
    background-color: #000000;
    color: var(--text-light);
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8em;
    font-weight: 900;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    padding: 5px 10px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.1s;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn:active {
    transform: scale(0.98);
}

/* Burger Menu (Мобильная версия) */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: var(--accent-gold);
    transition: all 0.3s;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: var(--header-height);
}

.nav-overlay.active {
    display: flex;
}

.nav-overlay-links {
    list-style: none;
    text-align: center;
}

.nav-overlay-links li {
    margin: 20px 0;
}

.nav-overlay-links a {
    font-size: 2em;
    color: var(--text-light);
    display: block;
    padding: 10px;
}

.nav-overlay .auth-buttons {
    margin-top: 30px;
    flex-direction: column;
    gap: 15px;
    width: 80%;
}
.nav-overlay .btn { width: 100%; }

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    padding: 40px 0;
    border-bottom: 1px dashed #333;
}

/* Main Banner (Главный баннер) */
.main-banner {
    background: url('https://picsum.photos/1200/500?grayscale') no-repeat center center/cover;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding: 20px;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Темный оверлей */
}

.banner-content {
    position: relative;
    z-index: 10;
}

.banner-content h1 {
    font-size: 3em;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 0.2em;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Slots Section (Блок со слотами) */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.slot-item {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    transition: transform 0.3s;
}

.slot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
}

.slot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.slot-item h4 {
    color: var(--accent-gold);
    margin: 10px 0;
}

.slot-item .btn {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Footer */
.footer {
    background-color: #000000;
    text-align: center;
    padding: 20px;
    border-top: 2px solid var(--accent-gold);
    font-size: 0.8em;
}

/* Media Queries (Адаптивность) */
@media (max-width: 768px) {
    /* Мобильная версия */
    .nav-links, .auth-buttons {
        display: none; /* Скрываем стандартное меню */
    }

    .header {
        justify-content: space-between;
    }

    .burger-menu {
        display: flex; /* Показываем бургер */
    }

    .banner-content h1 {
        font-size: 2em;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 10px;
        width: 80%;
    }
    
    .banner-buttons .btn {
        width: 100%;
    }
    
    .slot-item {
        padding: 0;
    }
}