/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Critical CSS for Core Web Vitals (LCP optimization) */
/* Предотвращаем layout shift (CLS) */
html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    /* Fix iOS viewport issues */
    height: 100%;
}

/* Оптимизация для font-display (предотвращение FOIT) */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

:root {
    /* Основные цвета - темная премиум гамма */
    --primary-color: #0d0d0d;
    --secondary-color: #1a1a1a;
    --accent-color: #252525;
    
    /* Акцентные цвета - золото/янтарь */
    --gold: #d4af37;
    --gold-light: #f0d87c;
    --gold-dark: #b8941e;
    --amber: #ff9800;
    
    /* Дополнительные акценты */
    --highlight-color: #d4af37;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Текст */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;
    
    /* Фоны */
    --background: #000000;
    --card-bg: #0d0d0d;
    --card-bg-hover: #1a1a1a;
    --border-color: #2a2a2a;
    
    /* Градиенты - сдержанные */
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #f0d87c 100%);
    --gradient-dark: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    --gradient-gold: linear-gradient(135deg, #b8941e 0%, #d4af37 50%, #f0d87c 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    
    /* Тени */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Remove any default margins/padding */
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    background-color: rgba(13, 13, 13, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 32px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 48px;
    flex: 1;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.logo span {
    font-weight: 300;
    color: var(--gold-light);
}

.nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.current-lang {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    /* Performance: use transform instead of position changes */
    will-change: transform;
    /* Accessibility */
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000000;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: #000000;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-cta {
    background: var(--gradient-gold);
    color: #000000;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    filter: brightness(1.15);
}

.btn-category {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 12px 32px;
    margin-top: 24px;
}

.btn-category:hover {
    transform: translateY(-2px);
    background-color: var(--gold);
    color: #000000;
    box-shadow: var(--shadow-gold);
}

/* Hero Section */
.hero {
    background: 
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0d0d0d 0%, #000000 100%);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 152, 0, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 50%, #f0d87c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 48px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Internal Links for SEO */
.internal-link {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

/* Introduction Section */
.intro-section {
    margin-bottom: 80px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Table of Contents */
.toc-section {
    background-color: var(--card-bg);
    padding: 48px;
    margin-bottom: 80px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.toc-item {
    padding: 16px 24px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.toc-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.toc-item:hover {
    background-color: var(--card-bg-hover);
    transform: translateX(8px);
    border-color: var(--gold);
    color: var(--gold);
}

.toc-item:hover::before {
    transform: scaleY(1);
}

/* Info Section */
.info-section {
    margin-bottom: 80px;
}

.info-table-wrapper {
    margin-top: 48px;
    background-color: var(--card-bg);
    padding: 48px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.table-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 24px 0;
}

.table-label {
    font-weight: 600;
    color: var(--gold);
    width: 30%;
}

.table-value {
    color: var(--text-secondary);
}

/* Structure Section */
.structure-section {
    margin-bottom: 80px;
}

.structure-tabs {
    margin-top: 48px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.tab-content {
    padding: 48px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}

.tab-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Play Section - Steps Grid */
.play-section {
    margin-bottom: 80px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    background-color: var(--card-bg);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    /* Performance optimization for animations */
    will-change: transform;
    /* Prevent layout shift */
    contain: layout;
}

.step-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    background-color: var(--card-bg-hover);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Bonuses Section */
.bonuses-section {
    margin-bottom: 80px;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.bonus-card {
    background-color: var(--card-bg);
    padding: 40px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    /* Performance optimization */
    will-change: transform;
    contain: layout;
}

.bonus-card:hover {
    background: var(--gradient-subtle);
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.bonus-icon {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

.bonus-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.bonus-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Variety Section */
.variety-section {
    margin-bottom: 80px;
}

.variety-category {
    margin-top: 64px;
    padding: 48px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.variety-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-gold);
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.game-tag {
    padding: 12px 20px;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.game-tag:hover {
    background-color: var(--gold);
    color: #000000;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Tips Section */
.tips-section {
    margin-bottom: 80px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.tip-card {
    background-color: var(--card-bg);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
    position: relative;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tip-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-gold);
    border-left-color: var(--gold-light);
    background-color: var(--card-bg-hover);
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tip-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tip-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 80px;
}

.faq-accordion {
    margin-top: 48px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 32px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 32px 32px 32px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.footer-logo span {
    font-weight: 300;
    color: var(--gold-light);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-tag {
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Image optimization для lazy loading */
img {
    max-width: 100%;
    height: auto;
    /* Prevent layout shift */
    display: block;
}

/* Image placeholders */
.img-placeholder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px dashed var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    min-height: 200px;
}

.img-placeholder-text {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.img-placeholder-path {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
}

.slot-hero-image {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
}

.game-preview {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Lazy loading optimization */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Улучшение производительности анимаций */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .nav-left {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .nav-right {
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .main-content {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .toc-section,
    .info-table-wrapper,
    .structure-tabs,
    .variety-category {
        padding: 24px;
    }
    
    .steps-grid,
    .bonus-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn {
        width: 100%;
    }
    
    .nav-right {
        gap: 8px;
    }
    
    .btn {
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
}


/* ==========================================
   МОБИЛЬНАЯ АДАПТАЦИЯ - ПОЛНАЯ ПЕРЕРАБОТКА
   ========================================== */

/* Планшеты и небольшие экраны */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Мобильные устройства - ГЛАВНОЕ */
@media (max-width: 768px) {
    /* ШАПКА - компактная и липкая */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .nav {
        padding: 12px 0;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    /* Лого - маленький */
    .logo {
        font-size: 18px;
        gap: 2px;
    }
    
    .logo span {
        font-size: 16px;
    }
    
    /* Навигация - скрываем */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        border-top: 1px solid var(--border-color);
        max-height: 400px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }
    
    /* Кнопки в шапке - компактные */
    .nav-right {
        display: flex;
        gap: 8px;
    }
    
    .nav-right .btn {
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    /* Мобильное меню - бургер */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background: var(--gold);
        transition: 0.3s;
    }
    
    /* Hero секция */
    .hero {
        padding: 100px 0 60px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin: 16px 0 24px;
    }
    
    /* Основной контент */
    .main-content {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-text {
        font-size: 15px;
    }
    
    /* Кнопки */
    .btn-large {
        font-size: 16px;
        padding: 14px 28px;
    }
    
    /* Слот карточки - 2 в ряд */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .slot-card {
        padding: 12px;
    }
    
    .slot-title {
        font-size: 13px;
    }
    
    /* Категории слотов - стак */
    .variety-categories {
        grid-template-columns: 1fr;
    }
    
    .variety-category {
        padding: 20px;
    }
    
    /* Таблица */
    .info-table-wrapper {
        padding: 20px;
        overflow-x: auto;
    }
    
    .info-table {
        font-size: 13px;
    }
    
    .table-label {
        min-width: 100px;
    }
    
    /* Табы */
    .structure-tabs {
        padding: 20px;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Бонус карточки - стак */
    .bonus-cards {
        grid-template-columns: 1fr;
    }
    
    .bonus-card {
        padding: 24px;
    }
    
    /* FAQ */
    .faq-accordion {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 16px;
    }
    
    /* Футер - стак */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    /* TOC - упрощенный */
    .toc-list {
        gap: 8px;
    }
    
    .toc-item {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Советы */
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tip-card {
        padding: 16px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    /* Слоты - 1 в ряд для очень маленьких */
    .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-right .btn {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .btn-large {
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* Горизонтальная ориентация мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 24px;
    }
}

/* Фикс для iOS Safari (липкий хедер) */
@supports (-webkit-touch-callout: none) {
    .header {
        position: -webkit-sticky;
        position: sticky;
    }
}

/* Бургер-меню - стили */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Показываем бургер на мобильных */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Анимация появления/скрытия хедера */
    .header {
        transition: transform 0.3s ease;
    }
}

/* FIX: Отступ для контента под фиксированный хедер на мобильных */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Высота хедера + запас */
    }
    
    .hero {
        margin-top: 0; /* Убираем дублирующий отступ */
        padding-top: 60px;
    }
    
    .main-content {
        padding-top: 20px; /* Уменьшаем верхний отступ, т.к. body уже имеет padding */
    }
    
    /* Фикс для навигационного меню */
    .nav-links.active {
        top: 100%;
        margin-top: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }
}

/* Прячем кнопки из шапки на мобильных (они будут в меню) */
@media (max-width: 768px) {
    .nav-right {
        display: none !important; /* Прячем обе кнопки из шапки */
    }
    
    /* Добавляем стили для кнопок в мобильном меню */
    .nav-links .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links .mobile-nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 15px;
    }
}

/* На десктопе показываем кнопки как обычно */
@media (min-width: 769px) {
    .nav-links .mobile-nav-buttons {
        display: none; /* На десктопе эти кнопки не показываем в меню */
    }
}

/* About Us & Privacy Policy Pages */
.about-hero {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about-content,
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.about-section,
.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.about-section h2,
.privacy-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.about-section h3,
.privacy-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.about-section h4,
.privacy-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: var(--gold-light);
}

.about-section p,
.privacy-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.about-section ul,
.privacy-section ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
}

.about-section li,
.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.about-list,
.team-list,
.responsible-list,
.help-resources {
    list-style: none;
    margin-left: 0;
}

.about-list li,
.team-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission-card {
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--gold);
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.why-item {
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.why-item h3 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
}

.why-item p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-secondary);
}

.responsible-gaming {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning);
}

.responsible-list {
    list-style: none;
    margin: 1rem 0;
}

.responsible-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.responsible-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.disclaimer {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--warning);
}

.disclaimer strong {
    color: var(--gold);
}

.contact-info {
    margin: 1.5rem 0;
}

.contact-item {
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--secondary-color);
    border-radius: 6px;
    font-size: 1rem;
}

.contact-item a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold-light);
}

.contact-note {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 1rem;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border: 2px solid var(--gold);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.update-date {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-types {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.cookie-type {
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.cookie-type h4 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.cookie-type ul {
    margin: 1rem 0;
}

.cookie-type em {
    display: block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.right-item {
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.right-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--gold);
}

.right-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-box {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--gold);
    margin: 1rem 0;
}

.contact-box p {
    margin: 0;
    line-height: 1.8;
}

.contact-box strong {
    color: var(--gold);
}

.final-note {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: 2px solid var(--gold);
}

.final-note p {
    font-size: 1.1rem;
}

/* Footer Enhancements */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

.footer-disclaimer {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Responsive for About/Privacy Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .about-section,
    .privacy-section {
        padding: 1.5rem;
    }
    
    .mission-cards,
    .why-us-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
