/* ============================================
   СЛОТЫ СЕКЦИЯ
   ============================================ */

.slots-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.slots-container {
    max-width: 924px;
    margin: 0 auto;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 26px;
}

.slot-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.slot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

.slot-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 aspect ratio */
    overflow: hidden;
}

.slot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.slot-card:hover .slot-overlay {
    opacity: 1;
}

.slot-btn {
    padding: 8px 21px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    max-width: 132px;
}

.slot-btn-play {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.slot-btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.slot-btn-demo {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.slot-btn-demo:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
}

.slot-name {
    padding: 11px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

/* Mobile Styles for Slots */
@media (max-width: 1024px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .slots-section {
        padding: 40px 16px;
    }
    
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 24px;
    }
    
    .slot-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .slot-btn {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 140px;
    }
    
    .slot-name {
        padding: 12px 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .slot-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .slot-name {
        font-size: 13px;
        padding: 10px 6px;
    }
}

/* ============================================
   ТЕМНО-СИНЯЯ ЦВЕТОВАЯ СХЕМА VODKA BET
   ============================================ */

:root {
    /* Основные синие цвета */
    --dark-navy: #0a1628;
    --navy-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --neon-blue: #06b6d4;
    --neon-cyan: #22d3ee;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #1e3a8a, #3b82f6);
    --gradient-neon: linear-gradient(135deg, #06b6d4, #22d3ee);
    --gradient-dark: linear-gradient(135deg, #0a1628, #1e3a8a);
    
    /* Дополнительные цвета */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #000000;
    
    /* Полупрозрачные */
    --navy-alpha-10: rgba(30, 58, 138, 0.1);
    --navy-alpha-20: rgba(30, 58, 138, 0.2);
    --neon-alpha-20: rgba(6, 182, 212, 0.2);
    --neon-alpha-30: rgba(6, 182, 212, 0.3);
    --white-alpha-10: rgba(255, 255, 255, 0.1);
    --white-alpha-20: rgba(255, 255, 255, 0.2);
}

/* ============================================
   ОБЩИЕ СТИЛИ
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FAQ Section Styles */
.dynamic-content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.dynamic-content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    background: 
        radial-gradient(ellipse at top, var(--neon-alpha-20) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, var(--navy-alpha-20) 0%, transparent 50%),
        var(--gradient-dark);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   FAQ SECTION STYLES
   ============================================ */

.faq-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid var(--navy-alpha-20);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px var(--neon-alpha-20);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--neon-cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-question:hover {
    color: var(--white);
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--light-gray);
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--navy-alpha-20);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимированные частицы на фоне */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--neon-alpha-20), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--white-alpha-10), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--neon-cyan), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--white-alpha-10), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes sparkle {
    0% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-10px); }
    100% { opacity: 0.3; transform: translateY(0); }
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   КНОПКИ
   ============================================ */

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--white-alpha-20), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-neon);
    color: var(--white);
    box-shadow: 0 8px 32px var(--neon-alpha-30);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 45px var(--neon-alpha-30);
    filter: brightness(1.1);
}

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

.btn-secondary:hover {
    background: var(--white-alpha-10);
    border-color: var(--neon-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--neon-alpha-20);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
    border-radius: 15px;
}

/* ============================================
   ЗАГОЛОВКИ И ТЕКСТ
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { 
        filter: drop-shadow(0 0 20px var(--neon-blue));
    }
    to { 
        filter: drop-shadow(0 0 30px var(--neon-cyan));
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navy-alpha-20);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--neon-blue));
}

.logo-image {
    width: auto;
    height: 30px;
    transition: all 0.3s ease;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a:hover {
    background: var(--white-alpha-10);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

/* Mobile/Desktop visibility */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

/* Mobile Bottom Actions */
.mobile-bottom-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
    gap: 12px;
}

.mobile-bottom-actions .btn-bottom-auth {
    flex: 1;
    font-size: 15px;
    padding: 14px 20px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-bottom-actions .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mobile-bottom-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-bottom-actions .btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.mobile-bottom-actions .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile bottom actions */
    .mobile-bottom-actions {
        display: flex !important;
    }
    
    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 70px;
    }
    
    /* Header optimization for mobile */
    .header-container {
        padding: 8px 10px;
        gap: 6px;
        flex-wrap: nowrap;
    }
    
    .logo {
        flex-shrink: 0;
        min-width: 0;
    }
    
    .logo-image {
        height: 30px;
        width: auto;
    }
    
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
    
    /* Grid icon visible on mobile */
    .grid-icon {
        flex-shrink: 0;
    }
    
    /* Mobile auth buttons - compact design */
    .header-actions .btn-mobile-auth {
        font-size: 11px;
        padding: 8px 10px;
        white-space: nowrap;
        min-height: 34px;
        border-radius: 8px;
        font-weight: 500;
        flex-shrink: 0;
    }
    
    /* Extra compact for very small screens */
    @media (max-width: 380px) {
        .header-container {
            padding: 6px 8px;
            gap: 4px;
        }
        
        .logo-image {
            height: 26px;
        }
        
        .header-actions {
            gap: 4px;
        }
        
        .header-actions .btn-mobile-auth {
            font-size: 10px;
            padding: 7px 8px;
            min-height: 32px;
        }
    }
    
    /* Landscape orientation optimization */
    @media (max-width: 767px) and (orientation: landscape) {
        .header-container {
            padding: 6px 10px;
        }
        
        .logo-image {
            height: 28px;
        }
        
        .header-actions .btn-mobile-auth {
            font-size: 10px;
            padding: 6px 9px;
            min-height: 30px;
        }
    }
}

.search-icon {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-icon:hover {
    background: var(--white-alpha-10);
    color: var(--neon-cyan);
    transform: scale(1.1);
}

.grid-icon {
    background: var(--gradient-neon);
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--neon-alpha-30);
}

.grid-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px var(--neon-alpha-30);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    height: 360px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
    width: min(1100px, 94%);
    margin: 24px auto;
    box-shadow: 0 20px 60px var(--navy-alpha-20);
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    border-radius: 25px;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    border-radius: 25px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.8) 0%,
        rgba(30, 58, 138, 0.6) 50%,
        rgba(6, 182, 212, 0.3) 100%
    );
    z-index: -1;
    border-radius: 25px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px var(--neon-blue));
    animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { filter: drop-shadow(0 0 30px var(--neon-blue)); }
    50% { filter: drop-shadow(0 0 50px var(--neon-cyan)); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ============================================
   СЕКЦИЯ ОСОБЕННОСТИ
   ============================================ */

.features-section {
    padding: 80px 0;
    background: var(--navy-alpha-10);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, var(--neon-alpha-20) 50%, transparent 70%);
    animation: shimmer 10s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, var(--white-alpha-10), var(--navy-alpha-10));
    backdrop-filter: blur(10px);
    border: 1px solid var(--navy-alpha-20);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 1.5s; }
.feature-card:nth-child(3) { animation-delay: 3s; }
.feature-card:nth-child(4) { animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-alpha-20), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 30px 60px var(--neon-alpha-30),
        0 0 40px var(--neon-alpha-20),
        inset 0 0 20px var(--navy-alpha-10);
    border-color: var(--neon-blue);
    animation-play-state: paused;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon-wrapper {
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--neon-cyan));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--neon-cyan);
}

.feature-description {
    color: var(--light-gray);
    line-height: 1.6;
}

/* ============================================
   ДИНАМИЧЕСКИЙ КОНТЕНТ ИЗ АДМИНКИ
   ============================================ */

.dynamic-content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy-alpha-10), var(--neon-alpha-20));
    position: relative;
    overflow: hidden;
}

.dynamic-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--neon-alpha-20) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--navy-alpha-20) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.dynamic-content-wrapper {
    max-width: 95%;
    width: 95%;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--white-alpha-10), var(--navy-alpha-10));
    backdrop-filter: blur(15px);
    border: 1px solid var(--neon-alpha-20);
    border-radius: 25px;
    padding: 50px 60px;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 var(--white-alpha-10);
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для контента из админки */
.dynamic-content-wrapper h1,
.dynamic-content-wrapper h2,
.dynamic-content-wrapper h3,
.dynamic-content-wrapper h4,
.dynamic-content-wrapper h5,
.dynamic-content-wrapper h6 {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: 700;
}

.dynamic-content-wrapper h1 { font-size: 2.5rem; }
.dynamic-content-wrapper h2 { font-size: 2.2rem; }
.dynamic-content-wrapper h3 { font-size: 1.8rem; }
.dynamic-content-wrapper h4 { font-size: 1.5rem; }
.dynamic-content-wrapper h5 { font-size: 1.3rem; }
.dynamic-content-wrapper h6 { font-size: 1.1rem; }

.dynamic-content-wrapper p {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.dynamic-content-wrapper ul,
.dynamic-content-wrapper ol {
    margin: 25px 0;
    padding-left: 30px;
}

.dynamic-content-wrapper li {
    color: var(--light-gray);
    margin-bottom: 10px;
    line-height: 1.7;
    position: relative;
}

.dynamic-content-wrapper ul li::before {
    content: '💎';
    position: absolute;
    left: -25px;
    color: var(--neon-cyan);
}

.dynamic-content-wrapper blockquote {
    background: var(--navy-alpha-20);
    border-left: 4px solid var(--neon-cyan);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 10px;
    font-style: italic;
    color: var(--light-gray);
    box-shadow: 0 8px 25px var(--neon-alpha-20);
}

.dynamic-content-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: #0f0f23;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 212, 255, 0.3);
    position: relative;
    border: none;
}

.dynamic-content-wrapper th,
.dynamic-content-wrapper td {
    padding: 18px 25px;
    text-align: left;
    border: none;
    position: relative;
}

.dynamic-content-wrapper thead tr {
    background: linear-gradient(135deg, #00d4ff, #0066cc);
}

.dynamic-content-wrapper th {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    background: none;
}

.dynamic-content-wrapper th:first-child {
    border-top-left-radius: 20px;
}

.dynamic-content-wrapper th:last-child {
    border-top-right-radius: 20px;
}

.dynamic-content-wrapper tbody tr {
    background: #1a1a2e;
    transition: all 0.3s ease;
}

.dynamic-content-wrapper tbody tr:nth-child(even) {
    background: #16213e;
}

.dynamic-content-wrapper tbody tr:hover {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.dynamic-content-wrapper td {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    background: none;
}

.dynamic-content-wrapper tbody tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

.dynamic-content-wrapper tbody tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

/* Responsive стили для таблиц */
@media (max-width: 768px) {
    .dynamic-content-wrapper table {
        border-radius: 15px;
    }
    
    .dynamic-content-wrapper th,
    .dynamic-content-wrapper td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .dynamic-content-wrapper th:first-child,
    .dynamic-content-wrapper tbody tr:last-child td:first-child {
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }
    
    .dynamic-content-wrapper th:last-child,
    .dynamic-content-wrapper tbody tr:last-child td:last-child {
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }
}

.dynamic-content-wrapper a {
    color: var(--neon-cyan);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.dynamic-content-wrapper a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: width 0.3s ease;
}

.dynamic-content-wrapper a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.dynamic-content-wrapper a:hover::after {
    width: 100%;
}

.dynamic-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dynamic-content-wrapper code {
    background: var(--navy-alpha-20);
    color: var(--neon-cyan);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

.dynamic-content-wrapper pre {
    background: var(--dark-navy);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid var(--navy-alpha-20);
}

/* ============================================
   CASINO WIDGETS
   ============================================ */

.casino-widgets-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy-alpha-10), var(--neon-alpha-20));
    position: relative;
    overflow: hidden;
}

.casino-widgets-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, var(--neon-alpha-20) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, var(--navy-alpha-20) 0%, transparent 50%);
    animation: wiggle 15s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(1deg) scale(1.02); }
    50% { transform: rotate(0deg) scale(1.05); }
    75% { transform: rotate(-1deg) scale(1.02); }
}

.casino-widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.casino-widget {
    background: linear-gradient(135deg, var(--white-alpha-10), var(--navy-alpha-10));
    backdrop-filter: blur(15px);
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounce 4s ease-in-out infinite;
}

.casino-widget:nth-child(1) { animation-delay: 0s; }
.casino-widget:nth-child(2) { animation-delay: 1s; }
.casino-widget:nth-child(3) { animation-delay: 2s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.casino-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-neon);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-widget:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--neon-cyan);
    box-shadow: 
        0 30px 60px var(--neon-alpha-30),
        0 0 50px var(--neon-alpha-20);
    animation-play-state: paused;
}

.casino-widget:hover::before {
    opacity: 0.1;
}

.widget-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: spin 8s linear infinite;
    filter: drop-shadow(0 0 15px var(--neon-cyan));
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.casino-widget:hover .widget-icon {
    animation-play-state: paused;
    transform: scale(1.2);
}

.widget-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.widget-description {
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.widget-action {
    background: var(--gradient-neon);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.widget-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--white-alpha-20), transparent);
    transition: left 0.5s ease;
}

.widget-action:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--neon-alpha-30);
}

.widget-action:hover::before {
    left: 100%;
}

/* ============================================
   ПОИСК
   ============================================ */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, var(--white-alpha-10), var(--navy-alpha-10));
    backdrop-filter: blur(20px);
    border: 1px solid var(--neon-alpha-20);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.search-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--navy-alpha-20);
    border-radius: 8px;
    background: var(--white-alpha-10);
    color: var(--white);
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-alpha-30);
}

.search-submit {
    padding: 15px 25px;
    background: var(--gradient-neon);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--neon-alpha-30);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--navy-alpha-20);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: var(--neon-alpha-20);
}

.search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: var(--white-alpha-10);
    color: var(--neon-cyan);
    transform: scale(1.1);
}

/* ============================================
   GRID MENU MODAL
   ============================================ */

.grid-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.grid-menu-modal.active {
    opacity: 1;
    visibility: visible;
}

.grid-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.grid-menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--dark-navy), var(--navy-blue));
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-alpha-20);
}

.grid-menu-items {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.grid-menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--navy-alpha-20), var(--neon-alpha-20));
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-alpha-20), transparent);
    transition: left 0.5s ease;
}

.grid-menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--neon-alpha-30);
    border: 1px solid var(--neon-cyan);
}

.grid-menu-item:hover::before {
    left: 100%;
}

.grid-menu-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-menu-text {
    flex: 1;
}

.grid-menu-title {
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--neon-cyan);
}

.grid-menu-subtitle {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.grid-menu-footer {
    border-top: 1px solid var(--navy-alpha-20);
    padding-top: 20px;
    display: flex;
    gap: 10px;
}

.grid-menu-close-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grid-menu-close-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gradient-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--navy-alpha-20);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, var(--neon-alpha-20) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--navy-alpha-20) 0%, transparent 50%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.footer-section h3 {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-gray);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--navy-alpha-20);
    color: var(--gray);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .widgets-grid {
        grid-template-columns: 1fr;
    }
    
    .dynamic-content-wrapper {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .header-controls {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .grid-menu-content {
        padding: 20px;
    }
    
    .search-container {
        padding: 30px 20px;
    }
}

/* ============================================
   МОДАЛЬНЫЕ ОКНА
   ============================================ */

/* Поиск */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background: var(--gradient-dark);
    border: 1px solid var(--navy-alpha-20);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-modal-header h3 {
    color: var(--white);
    margin: 0;
}

.search-modal-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-modal-close:hover {
    background: var(--white-alpha-10);
    color: var(--neon-cyan);
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    background: var(--navy-alpha-20);
    border: 2px solid var(--navy-blue);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    background: var(--navy-alpha-10);
    box-shadow: 0 0 20px var(--neon-alpha-20);
}

.search-input::placeholder {
    color: var(--gray);
}

.search-submit {
    padding: 15px 25px;
    background: var(--gradient-neon);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--neon-alpha-30);
}

/* Grid Menu */
.grid-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.grid-menu-modal.active {
    opacity: 1;
    visibility: visible;
}

.grid-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.grid-menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-dark);
    border: 1px solid var(--navy-alpha-20);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.grid-menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.grid-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white-alpha-10);
    border: 1px solid var(--navy-alpha-20);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-menu-item:hover {
    transform: translateY(-5px);
    background: var(--navy-alpha-20);
    border-color: var(--neon-blue);
    box-shadow: 0 15px 30px var(--neon-alpha-20);
}

.grid-menu-item.new-badge {
    position: relative;
}

.new-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-neon);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.grid-menu-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.grid-menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-menu-text h4 {
    color: var(--white);
    margin: 0 0 5px 0;
    font-size: 16px;
}

.grid-menu-text p {
    color: var(--gray);
    margin: 0;
    font-size: 14px;
}

.grid-menu-footer {
    text-align: center;
    border-top: 1px solid var(--navy-alpha-20);
    padding-top: 20px;
}

.grid-menu-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white-alpha-10);
    border: 1px solid var(--navy-alpha-20);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grid-menu-close-btn:hover {
    background: var(--navy-alpha-20);
    border-color: var(--neon-blue);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-menu-items {
        grid-template-columns: 1fr;
    }
    
    .grid-menu-content {
        width: 95%;
        padding: 20px;
    }
    
    .search-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .search-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Исправление для основного контейнера */
main {
    padding-top: 80px;
    min-height: 100vh;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 60px 0;
    background: var(--deep-navy);
}

.faq-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--navy);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--neon-cyan-alpha-15);
}

.faq-question {
    color: var(--white);
    padding: 20px 25px;
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    color: var(--neon-cyan);
}

.faq-icon {
    font-size: 1.3em;
    color: var(--neon-cyan);
    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, padding 0.3s ease;
    background: var(--white-alpha-5);
}

.faq-answer p {
    color: var(--light-blue);
    line-height: 1.6;
    margin: 0;
    padding: 20px 25px;
    font-size: 0.95em;
}

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

@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 1em;
    }
    
    .faq-answer p {
        padding: 18px 20px;
        font-size: 0.9em;
    }
}

/* Стили для динамического контента */
.admin-content {
    background: linear-gradient(135deg, var(--white-alpha-10), var(--navy-alpha-10));
    backdrop-filter: blur(10px);
    border: 1px solid var(--navy-alpha-20);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    color: var(--white);
    box-shadow: 0 15px 35px var(--navy-alpha-20);
}

.admin-content h1, .admin-content h2, .admin-content h3, 
.admin-content h4, .admin-content h5, .admin-content h6 {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-content p {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.admin-content ul, .admin-content ol {
    color: var(--light-gray);
    margin-left: 20px;
    margin-bottom: 20px;
}

.admin-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.admin-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--navy-alpha-10);
    border-radius: 12px;
    overflow: hidden;
}

.admin-content table th {
    background: var(--gradient-neon);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.admin-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--navy-alpha-20);
    color: var(--light-gray);
}

.admin-content table tr:hover {
    background: var(--white-alpha-10);
}

.admin-content blockquote {
    border-left: 4px solid var(--neon-cyan);
    background: var(--navy-alpha-10);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 12px 12px 0;
    color: var(--light-gray);
    font-style: italic;
}

.admin-content code {
    background: var(--navy-alpha-20);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--neon-cyan);
    font-family: 'Courier New', monospace;
}

.admin-content pre {
    background: var(--navy-alpha-20);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 20px 0;
}

.admin-content pre code {
    background: none;
    padding: 0;
}

/* Hero compact banner responsive overrides */
@media (max-width: 1200px) {
  .hero-section { height: 320px; width: min(980px, 94%); }
  .hero-title { font-size: 2.1rem; }
}
@media (max-width: 1024px) {
  .hero-section { height: 300px; width: min(920px, 94%); }
  .hero-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .hero-section { height: 260px; width: 92%; margin: 16px auto; border-radius: 18px; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .hero-section { height: 220px; width: 92%; margin: 12px auto; border-radius: 16px; }
  .hero-title { font-size: 1.5rem; }
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #ff5252, #ff7043);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ==========================================================================
   Extended Content Styles
   ========================================================================== */

.extended-content {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.extended-content h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.extended-content h3 {
    color: #ffffff;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.extended-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

@media (max-width: 768px) {
    .extended-content {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .extended-content h2 {
        font-size: 1.5rem;
    }
    
    .extended-content h3 {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   GAME FRAME SECTION STYLES
   ========================================================================== */

.game-frame-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.game-frame-container {
    max-width: 1200px;
    margin: 0 auto;
}

.game-frame-wrapper {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.game-frame-placeholder {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
}

.game-frame-preview {
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.preview-content .preview-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.preview-content h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.preview-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.game-frame-iframe {
    width: 100%;
    min-height: 600px;
    background: #000;
}

.game-frame-iframe iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}






.comments-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.comments-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comments-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.latest-comments h3,
.comment-form-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FFD700;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comment-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    color: #FFD700;
    font-weight: 600;
    font-size: 1rem;
}

.comment-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.comment-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 10px;
}


/* Comment Form Styles */
.comment-form-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* WordPress Comment Form Styles */
#commentform {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#commentform .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#commentform .form-group label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

#commentform .form-group input,
#commentform .form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

#commentform .form-group input:focus,
#commentform .form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

#commentform .form-group input::placeholder,
#commentform .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#commentform .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox group styles */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}


.submit-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.submit-group .btn {
    margin: 0;
}


.no-comments {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


#reply-title,
.comment-reply-title {
    display: none !important;
}



@media (max-width: 1024px) {
    .game-frame-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .game-frame-section,
    .comments-section {
        padding: 40px 15px;
    }
    
    .game-frame-placeholder {
        min-height: 400px;
    }
    
    .game-frame-iframe,
    .game-frame-iframe iframe {
        height: 400px;
    }
    
    .preview-content {
        padding: 20px;
    }
    
    .preview-content h3 {
        font-size: 1.5rem;
    }
    
    .preview-content p {
        font-size: 1rem;
    }
    
    .comment-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .comment-form-section {
        padding: 20px;
    }
    
}

@media (max-width: 480px) {
    .game-frame-section,
    .comments-section {
        padding: 30px 10px;
    }
    
    .game-frame-placeholder {
        min-height: 300px;
    }
    
    .game-frame-iframe,
    .game-frame-iframe iframe {
        height: 300px;
    }
    
    .preview-content .preview-icon {
        font-size: 3rem;
    }
    
    .preview-content h3 {
        font-size: 1.3rem;
    }
}

.form-group.checkbox-group{
    display:none !important;
}