/* ============================================
   ЦВЕТОВАЯ ПАЛИТРА (на основе изображения Зевса на троне)
   ============================================ */
:root {
    /* Основные цвета - яркое синее небо и золото */
    --color-primary: #4A90E2;
    --color-primary-dark: #2E5C8A;
    --color-primary-light: #87CEEB;
    --color-primary-darker: #1E3A5F;
    
    /* Акцентные цвета - золото трона и молнии */
    --color-gold: #FFD700;
    --color-gold-light: #FFED4E;
    --color-gold-dark: #D4AF37;
    --color-gold-bright: #FFF700;
    --color-red: #DC143C;
    --color-red-dark: #B22222;
    
    /* Небо - яркий синий */
    --color-sky-blue: #4A90E2;
    --color-sky-light: #87CEEB;
    --color-sky-bright: #B0E0E6;
    
    /* Фоны */
    --color-bg-dark: #1E3A5F;
    --color-bg-surface: #2E5C8A;
    --color-bg-light: #E6F3FF;
    --color-bg-card: rgba(230, 243, 255, 0.98);
    --color-bg-marble: rgba(230, 243, 255, 0.95);
    --color-bg-cloud: rgba(230, 243, 255, 0.8);
    --color-bg-mountain: rgba(139, 115, 85, 0.3);
    
    /* Текст */
    --color-text-light: #FFFFFF;
    --color-text-dark: #1E3A5F;
    --color-text-muted: #5A7A9A;
    --color-text-gold: #FFD700;
    
    /* Градиенты - яркое синее небо с золотом */
    --gradient-sky: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 30%, #E0F6FF 60%, #F0F8FF 100%);
    --gradient-sky-dark: linear-gradient(180deg, #1E3A5F 0%, #2E5C8A 30%, #4A90E2 60%, #87CEEB 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFED4E 50%, #FFF700 100%);
    --gradient-marble: linear-gradient(180deg, #E6F3FF 0%, #FFF8DC 50%, #FFD700 100%);
    --gradient-dark: linear-gradient(180deg, #1E3A5F 0%, #2E5C8A 100%);
    --gradient-temple: linear-gradient(180deg, #FFD700 0%, #E6F3FF 50%, #FFD700 100%);
    --gradient-zeus: radial-gradient(circle at center, rgba(230, 243, 255, 0.9) 0%, rgba(255, 215, 0, 0.6) 50%, transparent 100%);
    
    /* Тени и эффекты */
    --shadow-gold: 0 0 40px rgba(255, 215, 0, 0.8);
    --shadow-gold-strong: 0 0 60px rgba(255, 215, 0, 1);
    --shadow-white: 0 0 30px rgba(255, 255, 255, 0.7);
    --shadow-blue: 0 0 30px rgba(74, 144, 226, 0.5);
    --shadow-lightning: 0 0 50px rgba(255, 255, 0, 0.9);
}

/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-sky);
    background-attachment: fixed;
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* ============================================
   HEADER И НАВИГАЦИЯ
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid rgba(255, 215, 0, 0.5);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 30px rgba(255, 215, 0, 0.3), 0 0 20px rgba(74, 144, 226, 0.2);
}

.main-header.scrolled {
    background: rgba(74, 144, 226, 0.3);
    box-shadow: 0 5px 40px rgba(255, 215, 0, 0.4), 0 0 30px rgba(74, 144, 226, 0.3);
    border-bottom: 3px solid rgba(255, 215, 0, 0.7);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.animated-logo {
    position: relative;
    width: 60px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    transition: filter 0.3s ease;
}

.lightning-path {
    opacity: 1;
    transform-origin: center;
    animation: lightningTransform 4s ease-in-out infinite;
}

.zeus-path {
    opacity: 0;
    transform-origin: center;
    animation: zeusTransform 4s ease-in-out infinite;
}

@keyframes lightningTransform {
    0%, 45% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7) rotate(15deg);
    }
    55%, 100% {
        opacity: 0;
        transform: scale(0.3) rotate(30deg);
    }
}

@keyframes zeusTransform {
    0%, 45% {
        opacity: 0;
        transform: scale(0.3) rotate(-30deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7) rotate(-15deg);
    }
    55%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.logo-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowAnimation 2s ease-in-out infinite;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes glowAnimation {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.animated-logo:hover .logo-svg {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1));
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

/* Навигация */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-gold-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background: var(--color-bg-dark);
    border-left: 2px solid var(--color-gold);
    z-index: 1000;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-sky);
    padding: 120px 20px 80px;
    box-shadow: inset 0 0 150px rgba(230, 243, 255, 0.3), inset 0 0 100px rgba(255, 215, 0, 0.2);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Облака */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    filter: blur(40px);
    animation: float 20s infinite ease-in-out;
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.cloud-1 {
    width: 180px;
    height: 90px;
    top: 15%;
    left: 5%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.cloud-2 {
    width: 280px;
    height: 140px;
    top: 25%;
    right: 8%;
    animation-duration: 30s;
    animation-delay: -5s;
    animation-direction: reverse;
}

.cloud-3 {
    width: 220px;
    height: 110px;
    top: 50%;
    left: 15%;
    animation-duration: 35s;
    animation-delay: -10s;
}

.cloud-4 {
    width: 200px;
    height: 100px;
    bottom: 25%;
    right: 20%;
    animation-duration: 28s;
    animation-delay: -15s;
    animation-direction: reverse;
}

.cloud-5 {
    width: 240px;
    height: 120px;
    bottom: 15%;
    left: 8%;
    animation-duration: 32s;
    animation-delay: -8s;
}

@keyframes float {
    0% {
        transform: translateX(-150px) translateY(0) scale(1);
    }
    25% {
        transform: translateX(50px) translateY(-20px) scale(1.05);
    }
    50% {
        transform: translateX(150px) translateY(-10px) scale(1);
    }
    75% {
        transform: translateX(50px) translateY(-15px) scale(0.95);
    }
    100% {
        transform: translateX(-150px) translateY(0) scale(1);
    }
}

/* Молнии */
.lightning-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 0, 0.5) 0%, rgba(255, 215, 0, 0.3) 30%, rgba(230, 243, 255, 0.2) 60%, transparent 90%);
    animation: lightningFlash 4s infinite;
    filter: blur(2px);
}

@keyframes lightningFlash {
    0%, 90%, 100% {
        opacity: 0;
    }
    5%, 10% {
        opacity: 0.3;
    }
}

/* Звезды */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-gold-bright);
    border-radius: 50%;
    animation: twinkle 3s infinite;
    box-shadow: 0 0 15px rgba(255, 255, 0, 1), 0 0 10px rgba(255, 215, 0, 0.8);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Контент Hero */
.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-gold);
    border-radius: 30px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.hero-badge .badge-text {
    color: var(--color-bg-dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-text-light);
}

.hero-title .title-line {
    display: block;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 215, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 215, 0, 0.3);
    font-weight: 500;
}

.bonus-highlight {
    color: var(--color-gold-light);
    font-weight: 800;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-text-dark);
    font-size: 16px;
    padding: 10px 20px;
    background: rgba(230, 243, 255, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.hero-cta {
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-gold);
    color: var(--color-bg-dark);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(230, 243, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn .btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.cta-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--color-text-dark);
    font-style: italic;
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-bonus-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(230, 243, 255, 0.95);
    border: 3px solid var(--color-gold);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    animation: glow 2s infinite;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
}

.bonus-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    flex-shrink: 0;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.7);
    }
}

.bonus-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
}

.bonus-label {
    font-size: 14px;
    color: var(--color-text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.bonus-amount {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-gold-light);
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-info-box {
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid var(--color-gold);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    animation: fadeInRight 1s ease-out;
}

.game-info-box h3 {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)) !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
}

.game-info-box p {
    color: var(--color-text-dark) !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
}

.game-info-box strong {
    color: var(--color-gold) !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5) !important;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 14px;
    z-index: 2;
    animation: bounce 2s infinite;
}

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

/* ============================================
   РЕГИСТРАЦИОННАЯ ФОРМА
   ============================================ */
.registration-section {
    padding: 100px 20px;
    background: var(--gradient-sky-dark);
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(230, 243, 255, 0.2) 0%, rgba(255, 215, 0, 0.15) 30%, transparent 70%);
    pointer-events: none;
}

.registration-section .container {
    position: relative;
    z-index: 2;
}

.registration-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.registration-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    flex-shrink: 0;
}

.registration-title-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 1),
        0 0 30px rgba(255, 255, 255, 0.9),
        0 0 50px rgba(255, 215, 0, 1),
        0 3px 6px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.8);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    letter-spacing: 0.8px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--color-text-dark);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 15px rgba(74, 144, 226, 0.3);
    font-weight: 500;
}

.registration-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(230, 243, 255, 0.95);
    border: 3px solid var(--color-gold);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4), 0 0 40px rgba(230, 243, 255, 0.3);
    animation: unroll 1s ease-out;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.registration-form-image {
    width: 100%;
    max-width: 420px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    margin-bottom: 30px;
    flex-shrink: 0;
}

.registration-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

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

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(230, 243, 255, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    color: var(--color-text-dark);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    background: rgba(230, 243, 255, 1);
}

.form-input::placeholder {
    color: rgba(74, 74, 92, 0.6);
}

.form-input textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.bonus-info {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid var(--color-gold);
    border-radius: 15px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.bonus-info-text {
    font-size: 18px;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.bonus-info-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-gold-light);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--gradient-dark);
    border-top: 3px solid rgba(255, 215, 0, 0.5);
    padding: 60px 20px 30px;
    margin-top: 80px;
    box-shadow: 0 -5px 40px rgba(255, 215, 0, 0.3), 0 0 20px rgba(74, 144, 226, 0.2);
}

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

.footer-section h3 {
    color: var(--color-gold-light);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--color-text-muted);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(230, 243, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 3px solid var(--color-gold);
    padding: 20px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -5px 30px rgba(255, 215, 0, 0.4);
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-text {
    color: var(--color-text-dark);
    font-size: 14px;
    flex: 1;
    min-width: 250px;
}

.cookie-text a {
    color: var(--color-gold-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 25px;
    border: 2px solid var(--color-gold);
    border-radius: 25px;
    background: transparent;
    color: var(--color-text-dark);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--gradient-gold);
    color: #1a1a2e;
    font-weight: 700;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ
   ============================================ */
.content-section {
    padding: 80px 20px;
    background: var(--color-bg-dark);
}

.page-header {
    padding: 150px 20px 80px;
    background: var(--gradient-sky);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.feature-card-image {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--color-gold);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 20px;
}

.feature-card-image-bottom-crop {
    object-position: top;
}

/* ============================================
   ТАБЛИЦЫ
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(230, 243, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--color-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    table-layout: fixed;
}

.data-table thead {
    background: var(--gradient-gold);
}

.data-table th {
    padding: 20px;
    text-align: center;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 3px solid rgba(26, 26, 46, 0.3);
    vertical-align: middle;
}

.data-table th:nth-child(1) {
    width: 20%;
}

.data-table th:nth-child(2) {
    width: 25%;
}

.data-table th:nth-child(3) {
    width: 55%;
}

.data-table td {
    padding: 18px 20px;
    color: var(--color-text-dark);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 16px;
    background: rgba(230, 243, 255, 0.5);
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
}

.data-table tbody tr {
    transition: background 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table .highlight {
    color: var(--color-gold-light);
    font-weight: 800;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
    letter-spacing: 0.3px;
}

/* ============================================
   АККОРДЕОНЫ
   ============================================ */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: rgba(230, 243, 255, 0.95);
    border: 2px solid var(--color-gold);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.accordion-item.active {
    border-color: var(--color-gold-light);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 215, 0, 0.15);
    transition: background 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: rgba(255, 215, 0, 0.25);
}

.accordion-title {
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* Улучшенная читаемость для всех золотых заголовков на страницах */
.gold-title,
h2[style*="color: var(--color-gold-light)"],
h2[style*="color:var(--color-gold-light)"],
h3[style*="color: var(--color-gold-light)"],
h3[style*="color:var(--color-gold-light)"] {
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)) !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
}

/* Специальные стили для заголовков разных размеров */
.gold-title-large,
h2[style*="font-size: 36px"][style*="color: var(--color-gold-light)"],
h2[style*="font-size:36px"][style*="color:var(--color-gold-light)"] {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    letter-spacing: 0.5px !important;
}

.gold-title-medium,
h2[style*="font-size: 28px"][style*="color: var(--color-gold-light)"],
h2[style*="font-size:28px"][style*="color:var(--color-gold-light)"],
h3[style*="font-size: 28px"][style*="color: var(--color-gold-light)"],
h3[style*="font-size:28px"][style*="color:var(--color-gold-light)"] {
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)) !important;
    letter-spacing: 0.4px !important;
}

.gold-title-small,
h3[style*="font-size: 24px"][style*="color: var(--color-gold-light)"],
h3[style*="font-size:24px"][style*="color:var(--color-gold-light)"] {
    text-shadow: 
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 215, 0, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3) !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
    letter-spacing: 0.2px !important;
}

.gold-title-xs,
h3[style*="font-size: 18px"][style*="color: var(--color-gold-light)"],
h3[style*="font-size:18px"][style*="color:var(--color-gold-light)"] {
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 215, 0, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.3) !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
    letter-spacing: 0.1px !important;
}

.accordion-icon {
    color: var(--color-gold);
    font-size: 24px;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 20px 25px;
}

.accordion-body {
    color: var(--color-text-dark);
    line-height: 1.8;
    font-size: 16px;
}

/* ============================================
   СТАТЬИ И КОНТЕНТ БЛОКИ
   ============================================ */
.article-section {
    margin: 60px 0;
    padding: 40px;
    background: rgba(230, 243, 255, 0.95);
    border-radius: 20px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
}

.article-title {
    color: var(--color-gold-light);
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    letter-spacing: 0.3px;
}

.article-content {
    color: var(--color-text-dark);
    line-height: 1.8;
    font-size: 18px;
    text-align: justify;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h3 {
    color: var(--color-gold);
    font-size: 24px;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 215, 0, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    letter-spacing: 0.2px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

/* ============================================
   КАРТОЧКИ СТАТИСТИКИ
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: rgba(230, 243, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid var(--color-gold);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-gold-light);
    margin-bottom: 10px;
    display: block;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    letter-spacing: 2px;
}

.stat-label {
    color: var(--color-text-dark);
    font-size: 16px;
    font-weight: 500;
}

/* ============================================
   УНИВЕРСАЛЬНЫЕ СТИЛИ ДЛЯ ЗОЛОТЫХ ЗАГОЛОВКОВ
   ============================================ */
/* Применяется ко всем элементам с золотым цветом через JavaScript */
.gold-heading {
    color: var(--color-gold-light) !important;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 215, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)) !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
}

/* ============================================
   МИНИ-ИГРА
   ============================================ */
.mini-game-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(230, 243, 255, 0.95);
    border: 3px solid var(--color-gold);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(10px);
}

.game-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 2px solid var(--color-gold);
    flex-wrap: wrap;
    gap: 20px;
}

.game-stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.game-stat-label {
    display: block;
    color: var(--color-text-dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.game-stat-value {
    display: block;
    color: var(--color-gold);
    font-size: 28px;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.game-area {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, #4A90E2 0%, #87CEEB 50%, #B0E0E6 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--color-gold);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);
}

.game-start-screen,
.game-end-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.95);
    z-index: 10;
    text-align: center;
    padding: 40px;
}

.lightning {
    position: absolute;
    width: 40px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.1s ease;
    z-index: 5;
    animation: fallDown 3s linear;
}

.lightning:hover {
    transform: scale(1.2);
}

.lightning svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.8));
}

@keyframes fallDown {
    from {
        top: -60px;
        opacity: 1;
    }
    to {
        top: 100%;
        opacity: 0.3;
    }
}

.lightning.caught {
    animation: caughtLightning 0.3s ease-out forwards;
}

@keyframes caughtLightning {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2) translateY(-100px);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-gold-light);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 1s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0);
    }
}

.lightning-catcher {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.9) 0%, rgba(212, 175, 55, 0.9) 100%);
    border: 3px solid var(--color-gold);
    border-radius: 20px 20px 0 0;
    z-index: 8;
    cursor: move;
    box-shadow: 0 -5px 30px rgba(255, 215, 0, 0.6), inset 0 10px 20px rgba(255, 255, 255, 0.3);
    display: none;
    transition: left 0.1s ease-out;
}

.lightning-catcher::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 20px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.8) 0%, rgba(212, 175, 55, 0.8) 100%);
    border: 2px solid var(--color-gold);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.lightning-catcher::after {
    content: '⚡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    opacity: 0.8;
    animation: catcherGlow 2s infinite;
}

@keyframes catcherGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 768px) {
    .main-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-nav {
        display: block !important;
    }
    
    .mobile-menu-overlay {
        display: block !important;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-visual {
        height: auto;
        min-height: 300px;
    }
    
    .game-info-box {
        max-width: 100%;
        padding: 25px;
    }
    
    .game-info-box h3 {
        font-size: 24px !important;
    }
    
    .game-info-box p {
        font-size: 15px !important;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .registration-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .registration-image {
        width: 150px;
        height: 150px;
    }
    
    .registration-title-wrapper {
        min-width: auto;
    }
    
    .registration-form {
        padding: 30px 20px;
    }
    
    .registration-form-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
        margin-bottom: 25px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .animated-logo {
        width: 45px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .registration-image {
        width: 120px;
        height: 120px;
    }
    
    .registration-form-image {
        width: 100%;
        max-width: 100%;
        height: 180px;
        margin-bottom: 20px;
    }
    
    .bonus-image {
        width: 60px;
        height: 60px;
    }
    
    .hero-bonus-box {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .accordion-title {
        font-size: 18px;
    }
    
    .article-section {
        padding: 25px 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .mini-game-container {
        padding: 20px;
    }
    
    .game-area {
        height: 400px;
    }
    
    .game-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .game-stat {
        min-width: auto;
    }
    
    .game-stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .game-area {
        height: 350px;
    }
    
    .game-start-screen h3,
    .game-end-screen h3 {
        font-size: 24px !important;
    }
    
    .game-start-screen p,
    .game-end-screen p {
        font-size: 16px !important;
    }
}

