/* ============================================
   ЦВЕТОВАЯ СИСТЕМА - ТЕМАТИКА АИДА
   ============================================ */

:root {
    /* === ТЕМНЫЕ ФОНЫ (Подземный мир) === */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a0a1a;
    --bg-tertiary: #2d1b2d;
    --bg-card: rgba(26, 10, 26, 0.9);
    --bg-overlay: rgba(0, 0, 0, 0.85);
    
    /* === ТЕКСТ === */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #999999;
    --text-accent: #daa520;
    
    /* === ЗОЛОТЫЕ/БРОНЗОВЫЕ АКЦЕНТЫ === */
    --accent-primary: #daa520;
    --accent-secondary: #ffd700;
    --accent-bronze: #8b4513;
    --accent-dark-gold: #b8860b;
    
    /* === ГРАДИЕНТЫ === */
    --gradient-gold: linear-gradient(135deg, #8b4513 0%, #daa520 50%, #ffd700 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a0a 100%);
    --gradient-card: linear-gradient(135deg, rgba(26, 10, 26, 0.9) 0%, rgba(45, 27, 45, 0.9) 100%);
    
    /* === ЭФФЕКТЫ СВЕЧЕНИЯ === */
    --glow-gold: rgba(218, 165, 32, 0.5);
    --glow-gold-strong: rgba(255, 215, 0, 0.8);
    --shadow-gold: 0 0 20px rgba(218, 165, 32, 0.3);
    --shadow-gold-strong: 0 0 40px rgba(255, 215, 0, 0.5);
    
    /* === ГРАНИЦЫ === */
    --border-color: rgba(139, 69, 19, 0.3);
    --border-hover: rgba(218, 165, 32, 0.6);
    --border-active: #daa520;
    
    /* === СОСТОЯНИЯ === */
    --hover-bg: rgba(218, 165, 32, 0.1);
    --active-bg: rgba(218, 165, 32, 0.2);
    
    /* === ЧАСТИЦЫ === */
    --particle-color: rgba(139, 69, 19, 0.6);
    --particle-glow: rgba(218, 165, 32, 0.4);
}

/* ============================================
   БАЗОВЫЕ СТИЛИ
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   АНИМИРОВАННЫЙ ФОН С ЧАСТИЦАМИ
   ============================================ */

.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--gradient-dark);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--particle-color) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10vh) translateX(100px) scale(1);
    }
    100% {
        transform: translateY(-20vh) translateX(200px) scale(0);
        opacity: 0;
    }
}

/* ============================================
   ЗАГРУЗЧИК СТРАНИЦЫ
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 0.5s ease-out 1.5s forwards;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-ring {
    width: 100px;
    height: 100px;
    border: 4px solid rgba(218, 165, 32, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ============================================
   ШАПКА И НАВИГАЦИЯ
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(var(--shadow-gold));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    font-weight: 500;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hover-bg) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.nav-link:hover::before {
    width: 300px;
    height: 300px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--gradient-gold);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    border: none;
    cursor: pointer;
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-strong);
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--accent-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
    display: block;
}

.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 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

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

.mobile-menu * {
    color: var(--text-primary);
}

.mobile-menu.active {
    right: 0;
    visibility: visible;
}

.mobile-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .nav-link {
    font-size: 1.2rem;
    width: 100%;
    padding: 1rem 0;
    color: var(--text-primary) !important;
    display: block;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
    color: var(--accent-primary) !important;
    padding-left: 1rem;
}

.mobile-menu .btn-nav {
    color: var(--text-primary) !important;
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem 2rem;
    width: 100%;
}

/* ============================================
   КРЕАТИВНЫЕ ЗАГОЛОВКИ
   ============================================ */

.creative-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite, glow 2s ease-in-out infinite alternate;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.creative-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(15px);
    opacity: 0.7;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px var(--glow-gold));
    }
    to {
        filter: drop-shadow(0 0 30px var(--glow-gold-strong));
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
}

/* ============================================
   ГЕРОИЧЕСКАЯ СЕКЦИЯ
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: radial-gradient(ellipse at center, rgba(26, 10, 26, 0.8) 0%, var(--bg-primary) 70%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-gold-strong);
    border: 2px solid var(--border-hover);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(218, 165, 32, 0.5);
}

.hero-text-content {
    text-align: left;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 100%;
    text-align: left;
}

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

/* ============================================
   КРЕАТИВНЫЕ КНОПКИ
   ============================================ */

.btn-primary,
.btn-creative {
    position: relative;
    padding: 1rem 3rem;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover::before,
.btn-creative:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover,
.btn-creative:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-strong);
}

.btn-primary:active,
.btn-creative:active {
    transform: translateY(-1px);
}

.btn-primary span,
.btn-creative span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--hover-bg);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

/* ============================================
   КАРТОЧКИ С 3D ЭФФЕКТОМ
   ============================================ */

.game-card {
    perspective: 1000px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.game-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.game-card:hover .game-card-inner {
    transform: rotateY(15deg) rotateX(-5deg);
}

.game-card-front,
.game-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-card-back {
    transform: rotateY(180deg);
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.game-card:hover .game-card-front {
    box-shadow: 0 30px 80px var(--glow-gold);
}

.game-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.game-card:hover .game-card-image {
    transform: scale(1.1);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

/* ============================================
   ФОРМА РЕГИСТРАЦИИ
   ============================================ */

.registration-form {
    position: relative;
    padding: 3rem;
    background: var(--gradient-card);
    border-radius: 30px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 40px rgba(139, 69, 19, 0.3);
    overflow: hidden;
}

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

.registration-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    padding: 2px;
    background: var(--gradient-gold);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-glow 3s ease-in-out infinite;
    z-index: -1;
}

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

@keyframes border-glow {
    0%, 100% {
        opacity: 0.5;
        filter: blur(5px);
    }
    50% {
        opacity: 1;
        filter: blur(10px);
    }
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 10, 0.7);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--border-active);
    box-shadow: var(--shadow-gold);
    background: rgba(10, 10, 10, 0.9);
}

.form-label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.form-input:focus + .form-label,
.form-input:valid + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 1rem;
    font-size: 0.85rem;
    color: var(--accent-primary);
    background: var(--bg-secondary);
    padding: 0 0.5rem;
}

.form-input::placeholder {
    color: transparent;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   СЧЕТЧИК БОНУСА
   ============================================ */

.bonus-counter {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--accent-secondary);
    text-shadow: 
        0 0 10px var(--glow-gold-strong),
        0 0 20px var(--glow-gold),
        0 0 30px rgba(255, 215, 0, 0.4);
    animation: counter-pulse 2s ease-in-out infinite;
    margin: 1rem 0;
}

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

.bonus-number {
    display: inline-block;
    animation: number-flip 0.5s ease-in-out;
}

@keyframes number-flip {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

/* ============================================
   ГАЛЕРЕЯ
   ============================================ */

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--glow-gold) 0%, rgba(139, 69, 19, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ============================================
   СЕКЦИИ
   ============================================ */

section {
    padding: 6rem 0;
    position: relative;
}

.section-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   КАРТА
   ============================================ */

.contact-map {
    margin: 3rem 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
    animation: fadeInUp 1s ease-out;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* ============================================
   БАННЕР КУКИ
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
    padding: 1.5rem 2rem;
    z-index: 10000;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

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

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

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    color: var(--text-secondary);
}

.cookie-text a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--gradient-gold);
    color: var(--text-primary);
}

.cookie-btn-accept:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

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

.cookie-btn-decline:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* ============================================
   ФУТЕР
   ============================================ */

footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

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

/* ============================================
   СТРАНИЦА БЛАГОДАРНОСТИ
   ============================================ */

.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.thank-you-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thank-you-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    nav ul {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1002;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-overlay {
        display: block !important;
    }
    
    .mobile-menu {
        display: block !important;
    }
    
    header {
        position: fixed;
    }
    
    .header-content {
        position: relative;
        z-index: 1001;
    }
    
    /* Убеждаемся, что кнопка видна */
    .mobile-menu-toggle span {
        background: var(--accent-primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Убеждаемся, что кнопка кликабельна */
    .mobile-menu-toggle {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Улучшаем видимость меню */
    .mobile-menu {
        background: var(--bg-secondary) !important;
    }
    
    .mobile-menu ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .mobile-menu li {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .mobile-menu .nav-link {
        color: var(--text-primary) !important;
        font-size: 1.2rem !important;
        font-weight: 500 !important;
        display: block !important;
        width: 100% !important;
        padding: 1rem !important;
        border-bottom: 1px solid rgba(218, 165, 32, 0.2) !important;
    }
    
    .mobile-menu .btn-nav {
        display: block !important;
        text-align: center !important;
        margin-top: 1rem !important;
        color: var(--text-primary) !important;
        width: 100% !important;
        padding: 1rem 2rem !important;
    }

    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }
    
    .hero-image-wrapper {
        order: 1;
    }
    
    .hero-text-content {
        order: 2;
        text-align: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-text-content > div:first-of-type {
        justify-content: center !important;
    }

    .registration-form {
        padding: 2rem 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Показываем текст на карточках галереи в мобильной версии */
    .gallery-overlay {
        transform: translateY(0) !important;
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%) !important;
    }
    
    .gallery-item .gallery-overlay h3,
    .gallery-item .gallery-overlay p {
        color: var(--text-primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .gallery-item .gallery-overlay h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .gallery-item .gallery-overlay p {
        font-size: 1rem !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px;
    }

    section {
        padding: 4rem 0;
    }
    
    section > .container > .section-content > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

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

    .creative-title {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-creative,
    .btn-secondary {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

/* ============================================
   АНИМАЦИИ ПОЯВЛЕНИЯ ЭЛЕМЕНТОВ
   ============================================ */

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Задержки для последовательного появления */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   ВАЛИДАЦИЯ ФОРМ
   ============================================ */

.form-input.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

/* ============================================
   ТАБЛИЦЫ
   ============================================ */

.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: var(--shadow-gold);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
}

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

table th {
    padding: 1.5rem;
    text-align: left;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

table td {
    padding: 1.2rem 1.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

table tbody tr {
    transition: all 0.3s ease;
}

table tbody tr:hover {
    background: var(--hover-bg);
    transform: scale(1.01);
}

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

table td:first-child,
table th:first-child {
    font-weight: 600;
    color: var(--accent-primary);
}

/* ============================================
   АККОРДЕОНЫ
   ============================================ */

.accordion {
    margin: 2rem 0;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--accent-primary);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.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 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}

.accordion-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.accordion-content ul {
    color: var(--text-secondary);
    line-height: 2;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.accordion-content ul li {
    margin-bottom: 0.5rem;
}

/* ============================================
   СТАТЬИ / БЛОГ
   ============================================ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.article-card:hover .article-title {
    color: var(--accent-primary);
}

.article-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Обрезка второй картинки снизу (Persephone) */
.article-card:nth-child(2) .article-image img {
    object-position: center top;
    height: 120%;
    margin-top: -10%;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-date {
    color: var(--accent-primary);
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover .article-link {
    color: var(--accent-secondary);
    gap: 1rem;
}

/* ============================================
   ОТЗЫВЫ
   ============================================ */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.review-author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.review-author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    color: var(--accent-secondary);
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.review-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.3;
    font-family: serif;
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ
   ============================================ */

.info-box {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-primary);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-box p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 1rem;
    }
    
    .accordion-header {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .accordion-content {
        padding: 0 1.5rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    table th,
    table td {
        padding: 0.75rem;
    }
}

/* ============================================
   МИНИ-ИГРА ЗМЕЙКА
   ============================================ */

.game-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-gold);
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-score {
    display: flex;
    gap: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.game-score span:last-child {
    color: var(--accent-primary);
}

.game-controls {
    display: flex;
    gap: 1rem;
}

.snake-game-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#snake-game {
    border: 3px solid var(--accent-primary);
    border-radius: 10px;
    background: var(--bg-primary);
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
    display: block;
    max-width: 100%;
    height: auto;
}

.game-over-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 2rem;
    text-align: center;
}

.game-over-screen.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.game-over-screen h3 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-over-screen p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.game-over-screen p span {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 1.5rem;
}

.game-instructions {
    background: rgba(26, 10, 26, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.game-instructions p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.game-instructions p:last-child {
    margin-bottom: 0;
}

.game-instructions strong {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .game-container {
        padding: 1.5rem;
    }
    
    .game-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-score {
        justify-content: space-between;
        width: 100%;
    }
    
    .game-controls {
        width: 100%;
    }
    
    .game-controls button {
        width: 100%;
    }
    
    #snake-game {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .game-over-screen h3 {
        font-size: 2rem;
    }
    
    .game-over-screen p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #snake-game {
        max-width: 100%;
    }
    
    .game-score {
        font-size: 1rem;
        gap: 1rem;
    }
}

