/* ============================================
   DARK NEON PREMIUM DESIGN 2026 - CABURA CASINO
   FIXED RESPONSIVE + EXTRA BUTTONS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark: #0a0a0f;
    --dark-light: #12121a;
    --card: #1a1a2e;
    --gray: #6b7280;
    --light: #f3f4f6;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
    --shadow-neon: 0 0 30px rgba(139, 92, 246, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    /* Предотвращение переполнения текста */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   NEON HEADER - FIXED RESPONSIVE (CABURA)
   ============================================ */

.neon-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
    padding: clamp(8px, 2vw, 12px) 0;
}

.header-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px var(--primary);
    pointer-events: none;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo banner actions";
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
    width: 100%;
    max-width: 100%;
}

/* Brand Logo */
.brand-logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 10px);
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
    min-width: 0;
}

.logo-icon {
    font-size: clamp(22px, 5.5vw, 32px);
    line-height: 1;
    flex-shrink: 0;
}

.logo-text {
    font-size: clamp(16px, 4.5vw, 24px);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    min-width: 0;
}

.logo-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: clamp(2px, 0.5vw, 3px) clamp(8px, 2vw, 10px);
    border-radius: 15px;
    font-size: clamp(8px, 2.2vw, 10px);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   STATIC BONUS BAR - IMPROVED ADAPTATION
   ============================================ */

.bonus-marquee-static {
    grid-area: banner;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.5vw, 12px);
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid var(--primary);
    border-radius: clamp(10px, 3vw, 25px);
    padding: clamp(5px, 1.5vw, 6px) clamp(10px, 3vw, 14px);
    font-weight: 600;
    color: var(--white);
    font-size: clamp(10px, 2.8vw, 13px);
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.bonus-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 12px);
    color: inherit;
    transition: opacity 0.3s ease;
    flex-wrap: nowrap;
    justify-content: center;
    min-width: 0;
}

.bonus-link:hover {
    opacity: 0.9;
}

.marquee-fire {
    font-size: clamp(12px, 3.5vw, 16px);
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

.marquee-text {
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-amount {
    background: var(--gradient-primary);
    color: var(--white);
    padding: clamp(2px, 0.8vw, 4px) clamp(8px, 2vw, 12px);
    border-radius: 12px;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-cta {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Header Actions */
.header-actions {
    grid-area: actions;
    display: flex;
    gap: clamp(6px, 1.5vw, 10px);
    flex-shrink: 0;
    justify-content: flex-end;
}

.btn-header-login, 
.btn-header-register {
    padding: clamp(7px, 2vw, 10px) clamp(12px, 3vw, 18px);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: clamp(11px, 2.8vw, 13px);
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0;
}

.btn-text-desktop { display: inline; }
.btn-text-mobile { display: none; }

.btn-header-login {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-header-register {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-neon);
}

.btn-header-login:hover, 
.btn-header-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--white);
}

/* ============================================
   MOBILE: 768px and below - HEADER FIX
   ============================================ */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "logo"
            "banner"
            "actions";
        gap: clamp(8px, 2vw, 12px);
        padding: 0 4px;
    }
    
    .brand-logo {
        justify-content: center;
        width: 100%;
        padding: 2px 0;
    }
    
    .logo-text {
        font-size: clamp(18px, 5vw, 22px);
    }
    
    .logo-badge {
        font-size: clamp(9px, 2.5vw, 10px);
        padding: 3px 9px;
    }
    
    /* Бонус-строка на мобильных */
    .bonus-marquee-static {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        padding: 8px 12px;
        gap: 6px 8px;
        font-size: clamp(11px, 3vw, 12px);
    }
    
    .bonus-link {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 4px 8px;
    }
    
    .marquee-text {
        order: 1;
        width: 100%;
        font-size: clamp(10px, 2.8vw, 11px);
    }
    
    .marquee-amount {
        order: 3;
        font-size: clamp(12px, 3.2vw, 13px);
    }
    
    .marquee-fire {
        order: 2;
        font-size: clamp(13px, 3.5vw, 14px);
    }
    
    .marquee-fire:first-of-type {
        order: 0;
    }
    
    .marquee-cta {
        display: none; /* Скрываем вторичный текст на мобильных */
    }
    
    /* Кнопки хедера на мобильных */
    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 4px 0 2px;
    }
    
    .btn-header-login,
    .btn-header-register {
        flex: 1;
        max-width: 140px;
        min-width: 0;
        padding: 10px 8px;
        font-size: clamp(11px, 3vw, 12px);
        justify-content: center;
    }
    
    .btn-text-desktop { display: none; }
    .btn-text-mobile { display: inline; }
}

/* ============================================
   MOBILE SMALL: 480px and below
   ============================================ */
@media (max-width: 480px) {
    .neon-header {
        padding: 6px 0;
    }
    
    .header-content {
        gap: 6px;
    }
    
    .brand-logo {
        gap: 5px;
    }
    
    .logo-icon {
        font-size: 24px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-badge {
        font-size: 9px;
        padding: 2px 7px;
    }
    
    .bonus-marquee-static {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 12px;
        gap: 5px;
    }
    
    .bonus-link {
        gap: 4px;
    }
    
    .marquee-text {
        font-size: 10px;
    }
    
    .marquee-amount {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .marquee-fire {
        font-size: 13px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .btn-header-login,
    .btn-header-register {
        padding: 9px 6px;
        font-size: 11px;
        max-width: 120px;
        min-width: 0;
    }
    
    .btn-header-login i,
    .btn-header-register i {
        font-size: 12px;
    }
}

/* ============================================
   MOBILE EXTRA SMALL: 360px and below
   ============================================ */
@media (max-width: 360px) {
    .header-content {
        gap: 4px;
    }
    
    .brand-logo {
        gap: 4px;
    }
    
    .logo-icon {
        font-size: 22px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-badge {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .bonus-marquee-static {
        padding: 5px 8px;
        font-size: 10px;
        gap: 4px;
        border-radius: 10px;
    }
    
    .marquee-text {
        display: none; /* Скрываем текст, оставляем только сумму */
    }
    
    .bonus-marquee-static::before {
        content: "BONUS:";
        font-weight: 600;
        opacity: 0.9;
        font-size: 10px;
    }
    
    .marquee-amount {
        font-size: 11px;
        padding: 2px 7px;
    }
    
    .marquee-fire {
        font-size: 12px;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .btn-header-login,
    .btn-header-register {
        padding: 8px 5px;
        font-size: 10px;
        max-width: 100px;
    }
    
    .btn-header-login i,
    .btn-header-register i {
        margin-right: 2px;
        font-size: 11px;
    }
}

/* ============================================
   ACCESSIBILITY: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .marquee-fire {
        animation: none !important;
        transform: none !important;
    }
}
/* ============================================
   HERO SECTION
   ============================================ */

.hero-neon {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    background: var(--dark);
}

@media (max-width: 768px) {
    .hero-particles { display: none; }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-glow);
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.particle-1 { width: 500px; height: 500px; top: -150px; right: -150px; animation-delay: 0s; }
.particle-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-delay: -5s; }
.particle-3 { width: 300px; height: 300px; top: 50%; left: 50%; animation-delay: -10s; }
.particle-4 { width: 350px; height: 350px; top: 30%; right: 20%; animation-delay: -15s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary);
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.hero-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
    word-break: break-word;
}

.title-line { display: block; }

.neon-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.hero-description {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-features-list {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    font-weight: 600;
    font-size: 14px;
}

.hero-feature i { color: var(--primary); font-size: 18px; }

.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ГЛАВНАЯ КНОПКА - УВЕЛИЧЕННЫЙ РАЗМЕР */
.btn-hero-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 32px 56px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 900;
    font-size: 22px;
    box-shadow: var(--shadow-neon);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 110px;
}

.btn-hero-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-hero-primary:hover:before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
}

.btn-text { display: flex; align-items: center; gap: 6px; }
.btn-subtext { font-size: 16px; opacity: 0.9; font-weight: 600; }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    padding: 18px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-hero-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
}

/* Дополнительная кнопка в Hero */
.hero-cta-extra {
    text-align: center;
    margin-top: 20px;
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-text-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* Hero Visual */
.hero-image-container { position: relative; }

.hero-main-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary);
}

.floating-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-badge {
    position: absolute;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    animation: floatBadge 3s infinite ease-in-out;
}

.float-badge a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.float-badge a:hover {
    color: var(--primary-light);
}

.float-badge i { font-size: 20px; color: var(--primary); }
.badge-1 { top: 10%; left: -10%; animation-delay: 0s; }
.badge-2 { top: 50%; right: -10%; animation-delay: -1s; }
.badge-3 { bottom: 10%; left: 0%; animation-delay: -2s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    padding: 50px 0;
    background: var(--dark-light);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--card);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label { color: var(--gray); font-size: 13px; }

/* ============================================
   GAMES SECTION
   ============================================ */

.games-section-neon { padding: 80px 0; background: var(--dark); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 14px;
    word-break: break-word;
}

.section-subtitle { font-size: 16px; color: var(--gray); line-height: 1.6; }

.games-grid-neon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.game-card-neon {
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.game-card-neon:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.game-badge-hot, .game-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-badge-hot { background: linear-gradient(135deg, #ef4444, #f97316); color: var(--white); }
.game-badge-new { background: #10b981; color: var(--white); }

.game-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.game-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.game-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.game-card-neon:hover .game-image-wrapper img { transform: scale(1.05); }

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card-neon:hover .game-overlay { opacity: 1; }

.play-button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.game-info-neon {
    padding: 15px;
    background: var(--card);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.game-provider { font-size: 12px; color: var(--gray); display: block; margin-bottom: 10px; }

.game-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.rtp { color: #10b981; font-weight: 600; }
.volatility { color: var(--accent); }

.show-more { text-align: center; }

.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--primary-light);
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-show-more:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Вторая кнопка "Смотреть все игры" */
.btn-show-more-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-show-more-secondary:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-neon { padding: 80px 0; background: var(--dark-light); }

.features-grid-neon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card-neon {
    background: var(--card);
    padding: 30px 24px;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-neon:before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-neon:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.feature-card-neon:hover:before { transform: scaleX(1); }

.feature-card-neon.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.feature-badge-top {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.feature-icon-wrapper { margin-bottom: 20px; }

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card-neon:hover .feature-icon { transform: scale(1.1) rotate(5deg); }

.feature-card-neon.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.feature-card-neon h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-card-neon p { color: var(--gray); line-height: 1.6; font-size: 14px; }

.feature-card-neon.featured p { color: rgba(255, 255, 255, 0.9); }

.feature-list { list-style: none; }

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray);
    font-size: 14px;
}

.feature-list li i { color: var(--success); font-size: 12px; }

.feature-card-neon.featured .feature-list li { color: rgba(255, 255, 255, 0.9); }

/* Кнопки внутри карточек */
.btn-feature {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.btn-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Кнопка после всех карточек */
.features-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-features-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-features-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-neon { padding: 80px 0; background: var(--dark); }

.about-grid-neon {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
}

.about-text strong { color: var(--white); }

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.about-stat-item {
    text-align: center;
    padding: 20px 15px;
    background: var(--card);
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-name { font-size: 12px; color: var(--gray); }

.about-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary);
}

/* Кнопки в About */
.btn-about-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-light);
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.btn-about-inline:hover {
    background: var(--primary);
    color: var(--white);
}

.about-cta {
    margin-top: 30px;
}

.btn-about-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-about-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.about-image-cta {
    margin-top: 20px;
    text-align: center;
}

.btn-about-image {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-about-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-neon {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-neon:before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content-neon {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 18px;
    word-break: break-word;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.6;
}

.btn-cta-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--white);
    color: var(--primary);
    padding: 24px 48px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.btn-cta-text { display: flex; align-items: center; gap: 6px; }
.btn-cta-sub { font-size: 13px; opacity: 0.85; font-weight: 600; }

/* Вторая кнопка в CTA */
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-neon {
    background: var(--dark-light);
    padding: 60px 0 30px;
    border-top: 2px solid rgba(139, 92, 246, 0.3);
}

.footer-grid-neon {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 18px;
}

.footer-desc { color: var(--gray); line-height: 1.6; font-size: 14px; }

.footer-payment { margin-top: 24px; }

.payment-label {
    display: block;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.payment-icons {
    display: flex;
    gap: 12px;
    font-size: 32px;
    color: var(--gray);
}

.footer-column h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contacts { margin-top: 20px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-item i { color: var(--primary); width: 20px; }

.contact-link {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
}

.footer-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-copyright { color: var(--gray); font-size: 13px; }

/* Кнопки в футере */
.btn-footer {
    display: block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-footer:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-footer-contact {
    display: block;
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-light);
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-top: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-footer-contact:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-footer-final {
    display: block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    margin: 20px auto 0;
    max-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-footer-final:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-light);
    padding: 14px 20px;
    border-top: 2px solid var(--primary);
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(139, 92, 241, 0.4);
}

.sticky-text { font-size: 15px; }
.sticky-sub {
    background: var(--white);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
}

/* ============================================
   UTILITIES
   ============================================ */

.inline-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   RESPONSIVE - MOBILE ADAPTATION
   ============================================ */

/* Предотвращение горизонтального скролла */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Брейкпоинты */
@media (max-width: 1200px) {
    .games-grid-neon { grid-template-columns: repeat(3, 1fr); }
    .footer-grid-neon { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 1024px) {
    .hero-wrapper,
    .about-grid-neon {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual-content { order: -1; }
    
    .hero-main-title { font-size: 38px; }
    .hero-features-list { justify-content: center; }
    .hero-cta-group { justify-content: center; }
    
    .games-grid-neon { grid-template-columns: repeat(2, 1fr); }
    
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* === HEADER FIX === */
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .brand-logo { order: 1; }
    
    .bonus-marquee-static {
        gap: 10px;
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .bonus-link { gap: 8px; }
    
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    
    .btn-header-login, .btn-header-register {
        flex: 1;
        max-width: 140px;
        justify-content: center;
        font-size: 12px;
        padding: 9px 14px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }
    
    /* === HERO === */
    .hero-neon { padding: 60px 0 40px; }
    
    .hero-main-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .hero-description { font-size: 15px !important; }
    
    .hero-features-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    /* ГЛАВНАЯ КНОПКА - АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ */
    .btn-hero-primary {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px !important;
        font-size: 18px !important;
        min-height: 90px;
        justify-content: center;
        text-align: center;
    }
    
    .btn-text { font-size: 18px !important; }
    .btn-subtext { font-size: 14px !important; }
    
    .btn-hero-secondary {
        width: 100%;
        max-width: 320px;
    }
    
    /* === SECTIONS === */
    .section-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .section-subtitle { font-size: 15px !important; }
    
    .features-grid-neon { grid-template-columns: 1fr; }
    
    .games-grid-neon {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin: 0 auto 35px;
    }
    
    .game-image-wrapper { height: 180px; }
    
    .bonus-card,
    .feature-card-neon,
    .condition-card {
        padding: 30px 24px !important;
    }
    
    .bonus-card h3,
    .feature-card-neon h3,
    .condition-card h3 {
        font-size: 18px !important;
    }
    
    .bonus-card p,
    .feature-card-neon p,
    .condition-card p {
        font-size: 14px !important;
    }
    
    .btn-feature,
    .btn-show-more,
    .btn-show-more-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cta-title { font-size: 30px !important; }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    .cta-description { font-size: 15px !important; }
    
    /* === ABOUT === */
    .about-cta { margin-top: 20px; }
    
    .btn-about-main,
    .btn-about-image,
    .btn-about-inline {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    /* === FOOTER === */
    .footer-grid-neon {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links { justify-content: center; }
    .footer-links a { justify-content: center; }
    .footer-logo { justify-content: center; }
    
    .btn-footer,
    .btn-footer-contact,
    .btn-footer-final {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-warning { font-size: 13px !important; }
    
    /* === STICKY CTA === */
    .mobile-sticky-cta { display: block; }
    body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    
    .logo-text { font-size: 20px; }
    .logo-icon { font-size: 28px; }
    
    .btn-header-login,
    .btn-header-register {
        font-size: 11px;
        padding: 8px 12px;
        max-width: 120px;
    }
    
    .hero-main-title { font-size: 24px !important; }
    .hero-description { font-size: 14px !important; }
    
    .btn-hero-primary {
        font-size: 16px !important;
        padding: 20px 15px !important;
        min-height: 80px;
    }
    
    .section-title { font-size: 24px !important; }
    
    .games-grid-neon {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .game-image-wrapper { height: 200px; }
    
    .feature-card-neon { padding: 24px 20px !important; }
    
    .cta-title { font-size: 26px !important; }
    .cta-description { font-size: 14px !important; }
    
    .footer-desc,
    .footer-links a { font-size: 13px; }
    
    .bonus-marquee-static {
        font-size: 11px;
        gap: 8px;
    }
    
    .marquee-amount {
        font-size: 12px;
        padding: 3px 10px;
    }
}

@media (max-width: 360px) {
    .logo-text { font-size: 18px; }
    .btn-header-login,
    .btn-header-register {
        font-size: 10px;
        padding: 7px 10px;
        max-width: 100px;
    }
    
    .hero-main-title { font-size: 22px !important; }
    
    .stat-value { font-size: 26px; }
    .stat-number { font-size: 24px; }
    
    .game-image-wrapper { height: 170px; }
    
    .btn-hero-primary {
        font-size: 15px !important;
        padding: 18px 15px !important;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-particles,
    .floating-badges {
        display: none !important;
    }
    
    .marquee-fire {
        animation: none;
    }
}

/* Фокус для клавиатурной навигации */
.faq-question:focus,
.btn-hero-primary:focus,
.btn-cta-primary:focus,
.btn-header-login:focus,
.btn-header-register:focus,
.btn-feature:focus,
.btn-about-main:focus,
.btn-footer:focus,
.bonus-link:focus,
.inline-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
/* ============================================
   STATIC BONUS BAR - FIXED MOBILE ADAPTATION
   ============================================ */

.bonus-marquee-static {
    flex: 1;
    overflow: hidden;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 25px;
    padding: 6px 15px;
    border: 1px solid var(--primary);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    /* Статично - без анимации */
    white-space: normal;
    text-align: center;
}

.bonus-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    transition: opacity 0.3s ease;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.bonus-link:hover {
    opacity: 0.9;
}

.marquee-fire {
    font-size: 16px;
    animation: pulse 1s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.marquee-amount {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-text,
.marquee-cta {
    white-space: normal;
    word-break: break-word;
}

/* === МОБИЛЬНАЯ АДАПТАЦИЯ БОНУС-СТРОКИ === */

/* Планшеты */
@media (max-width: 1024px) {
    .bonus-marquee-static {
        gap: 10px;
        padding: 5px 12px;
    }
    
    .marquee-text,
    .marquee-cta {
        font-size: 12px;
    }
    
    .marquee-amount {
        font-size: 12px;
        padding: 3px 10px;
    }
}

/* Телефоны */
@media (max-width: 768px) {
    .bonus-marquee-static {
        gap: 8px;
        padding: 8px 10px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .bonus-link {
        gap: 6px;
        width: 100%;
        justify-content: center;
    }
    
    .marquee-fire {
        font-size: 14px;
    }
    
    .marquee-text,
    .marquee-cta {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .marquee-amount {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .bonus-marquee-static {
        gap: 6px;
        padding: 6px 8px;
        border-radius: 20px;
    }
    
    .marquee-fire {
        font-size: 12px;
    }
    
    .marquee-text,
    .marquee-cta {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .marquee-amount {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .bonus-marquee-static {
        gap: 4px;
        padding: 5px 6px;
    }
    
    .marquee-text {
        display: none; /* Скрываем длинный текст на очень маленьких экранах */
    }
    
    .marquee-fire {
        font-size: 11px;
    }
    
    .marquee-amount {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .marquee-cta {
        font-size: 9px;
    }
}

/* Отключение анимации для экономии батареи */
@media (prefers-reduced-motion: reduce) {
    .marquee-fire {
        animation: none;
    }
}