/*
==============================================
T A B L E   O F   C O N T E N T S
==============================================

0. ШРИФТЫ И ПЕРЕМЕННЫЕ
   - @import
   - :root

1. БАЗОВЫЕ СТИЛИ И СБРОСЫ
   - *, body
   - Скроллбар
   - Выделение текста
   - Анимация загрузчика (если понадобится)

2. ГЛОБАЛЬНЫЕ АНИМАЦИИ (Keyframes)
   - Все @keyframes собраны в одном месте

3. ОБЩИЕ УТИЛИТЫ И ЛЭЙАУТ
   - .container
   - .section-title
   - .neon-text, .glitch-effect
   - .gradient-line
   - Эффекты при скролле

4. КОМПОНЕНТЫ (Переиспользуемые элементы)
   - Кнопки (.cta-button, .secondary-button)
   - Логотип (.logo-wrapper, .logo-container, etc.)
   - Live-индикатор (.live-indicator)

5. СЕКЦИИ (Блоки страницы)
   - .bg-animation (Анимированный фон)
   - .header (Хедер)
   - .nav (Навигация)
   - .header-extras (Онлайн-счетчик)
   - .hero (Главная секция)
   - .countdown (Таймер)
   - .about (Секция "О челлендже")
   - .stats (Секция "Статистика")
   - .join-section (Секция "Присоединения")
   - .footer (Футер)

6. АДАПТИВНОСТЬ (Media Queries)
   - Все @media запросы в конце файла

==============================================
*/

/* ==============================================
0. ШРИФТЫ И ПЕРЕМЕННЫЕ
==============================================
*/
@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Orbitron:wght@400;700;900&display=swap');

:root {
    --primary-purple: #9945FF;
    --dark-purple: #5A2E8C;
    --neon-purple: #BD00FF;
    --deep-black: #0A0A0A;
    --dark-gray: #1A1A1A;
    --white: #FFFFFF;
    --accent-glow: 0 0 30px rgba(153, 69, 255, 0.8);
    --text-glow: 0 0 20px rgba(189, 0, 255, 0.6);
}

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

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--deep-black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    /* Финальные штрихи для фона, перенесены сюда для порядка */
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(153, 69, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(153, 69, 255, 0.03) 3px
        ),
        radial-gradient(
            circle at 20% 50%,
            rgba(153, 69, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(189, 0, 255, 0.1) 0%,
            transparent 50%
        );
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-gray);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-purple), var(--neon-purple));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* Выделение текста */
*::selection {
    background: var(--primary-purple);
    color: var(--white);
}

/* Загрузочная анимация */
@keyframes loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==============================================
2. ГЛОБАЛЬНЫЕ АНИМАЦИИ (Keyframes)
==============================================
*/

/* Анимации фона и орбов */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

@keyframes pulseBackground {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.1); opacity: 0.4; }
}

/* Анимации Хедера */
@keyframes slideDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }
@keyframes headerSweep { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes logoFloat { 0%, 100% { transform: translate(-50%, -50%) scale(1) rotateZ(0deg); } 50% { transform: translate(-50%, -50%) scale(1.1) rotateZ(5deg); } }
@keyframes ringRotate { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes particleOrbit { 0% { opacity: 0; transform: scale(0); } 50% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0); } }
@keyframes livePulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.8; } }

/* Анимации Hero-секции */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatCharacter { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.02); } }
@keyframes pulseGlow { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } }
@keyframes floatParticle { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; } 20% { opacity: 1; } 50% { transform: translate(30px, -30px) scale(1.2); opacity: 1; } 80% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes borderGlow { 0% { left: -100%; } 100% { left: 100%; } }

/* Анимации кнопок */
@keyframes pulse { 0%, 100% { box-shadow: 0 0 20px rgba(153, 69, 255, 0.5); } 50% { box-shadow: 0 0 40px rgba(153, 69, 255, 0.8); } }

/* Анимации Секций (About, Stats) */
@keyframes textGlow { 0% { text-shadow: 0 0 10px rgba(189, 0, 255, 0.6), 0 0 20px rgba(153, 69, 255, 0.3); } 100% { text-shadow: 0 0 20px rgba(189, 0, 255, 1), 0 0 40px rgba(153, 69, 255, 0.6); } }
@keyframes iconPulse { 0%, 100% { filter: brightness(1.2) drop-shadow(0 0 25px rgba(153, 69, 255, 0.8)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3)); } 50% { filter: brightness(1.4) drop-shadow(0 0 40px rgba(189, 0, 255, 1)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.5)); } }

/* Анимации утилит */
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes neonFlicker { 0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple), 0 0 30px var(--neon-purple), 0 0 40px var(--primary-purple), 0 0 50px var(--primary-purple); } 20%, 24%, 55% { text-shadow: none; } }
@keyframes glitch { 0% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75); } 14% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75); } 15% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); } 49% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); } 50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); } 99% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); } 100% { text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); } }

/* ==============================================
3. ОБЩИЕ УТИЛИТЫ И ЛЭЙАУТ
==============================================
*/

/* Базовый контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Общий заголовок для секций */
.section-title {
    font-family: 'Russo One', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Дополнительный неоновый текст для акцентов */
.neon-text {
    color: var(--white);
    text-shadow: 
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple),
        0 0 30px var(--neon-purple),
        0 0 40px var(--primary-purple);
    animation: neonFlicker 1.5s infinite alternate;
}

/* Эффект глитча для заголовков */
.glitch-effect:hover {
    animation: glitch 0.3s infinite;
}

/* Градиентные линии */
.gradient-line {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-purple), 
        var(--neon-purple), 
        var(--primary-purple), 
        transparent);
    margin: 40px auto;
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

.gradient-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.5), 
        transparent);
    animation: shimmer 3s infinite;
}

/* Эффект при скролле */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
4. КОМПОНЕНТЫ (Переиспользуемые элементы)
==============================================
*/

/* Кнопки */
.cta-button {
    display: inline-block;
    padding: 20px 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--neon-purple));
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease 0.9s backwards;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(153, 69, 255, 0.4);
}

.cta-button.pulse {
    animation: pulse 2s ease-in-out infinite, fadeIn 1s ease 0.9s backwards;
}

.button-text {
    position: relative;
    z-index: 2;
}

.secondary-button {
    display: inline-block;
    padding: 20px 60px;
    background: transparent;
    border: 2px solid var(--primary-purple);
    border-radius: 50px;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.secondary-button:hover {
    background: rgba(153, 69, 255, 0.1);
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.5);
    transform: translateY(-3px);
}

/* Улучшенный логотип (компонент) */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Russo One', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    text-shadow: 
        0 0 20px var(--neon-purple),
        0 0 40px var(--neon-purple),
        0 0 60px var(--primary-purple);
    animation: logoFloat 3s ease-in-out infinite;
    z-index: 2;
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-purple);
    border-radius: 50%;
    opacity: 0.5;
    animation: ringRotate 4s linear infinite;
}

.logo-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-purple);
    animation: particleOrbit 3s linear infinite;
}

.logo-particles span:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.logo-particles span:nth-child(2) { top: 50%; right: 0; animation-delay: 1s; }
.logo-particles span:nth-child(3) { bottom: 0; left: 50%; animation-delay: 2s; }

.logo-text {
    font-family: 'Russo One', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
}

.text-highlight {
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Live индикатор (компонент) */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000;
    animation: livePulse 1.5s ease-in-out infinite;
}

.live-text {
    font-size: 12px;
    font-weight: 700;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==============================================
5. СЕКЦИИ (Блоки страницы)
==============================================
*/

/* Анимированный фон (Секция) */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(153, 69, 255, 0.1) 0%, 
        transparent 50%);
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(153, 69, 255, 0.3) 0%, 
        transparent 70%);
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}
.glow-orb:nth-child(1) { top: -200px; left: -200px; animation-duration: 25s; }
.glow-orb:nth-child(2) { bottom: -200px; right: -200px; animation-duration: 30s; animation-delay: 5s; }
.glow-orb:nth-child(3) { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-duration: 35s; animation-delay: 10s; }


/* Хедер (Секция) */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(153, 69, 255, 0.3);
    z-index: 1000;
    padding: 15px 0;
    animation: slideDown 0.5s ease;
    overflow: hidden;
}

.header-bg-animation {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(153, 69, 255, 0.1),
        rgba(189, 0, 255, 0.1),
        transparent);
    animation: headerSweep 8s linear infinite;
}

/* Особый контейнер для хедера */
.header .container {
    width: 100%; 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Навигация (Секция) */
.nav {
    display: flex;
    gap: 10px;
}

.nav-link {
    position: relative;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.nav-link span {
    position: relative;
    z-index: 2;
}

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

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

.nav-link:hover::after {
    opacity: 1;
    bottom: 0;
}

/* Специальная кнопка "Правила" */
.nav-link-special {
    background: rgba(153, 69, 255, 0.15);
    border: 1px solid rgba(153, 69, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.nav-link-special .nav-link-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(153, 69, 255, 0.25);
    border-radius: 25px;
    transition: transform 0.4s ease;
    z-index: 1;
}

.nav-link-special:hover .nav-link-bg {
    transform: translate(-50%, -50%) scale(1.2);
}

.nav-link-special:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(153, 69, 255, 0.4);
}

.nav-link-special::after {
    display: none; /* Убираем линию снизу для специальной кнопки */
}

/* Дополнительные элементы хедера (Секция) */
.header-extras {
    display: flex;
    align-items: center;
}

.online-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(153, 69, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(153, 69, 255, 0.3);
    transition: all 0.3s ease;
}

.online-counter:hover {
    background: rgba(153, 69, 255, 0.2);
    border-color: rgba(153, 69, 255, 0.5);
}

.online-icon {
    font-size: 16px;
    animation: blink 2s ease-in-out infinite;
}

.online-number {
    font-weight: 700;
    color: var(--white);
    font-size: 16px;
    text-shadow: 0 0 10px rgba(153, 69, 255, 0.5);
}

/* Главная секция (Hero) */
.hero {
    max-height: 100vh
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, 
        rgba(153, 69, 255, 0.1) 0%, 
        transparent 50%);
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

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

/* Заголовки */
.main-title {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-line {
    display: block;
    animation: slideIn 0.8s ease backwards;
}
.title-line:nth-child(2) { animation-delay: 0.2s; }

.title-line.highlight {
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(153, 69, 255, 0.6));
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    opacity: 0.9;
    margin-bottom: 50px;
    animation: fadeIn 1s ease 0.5s backwards;
}

/* Секция с изображением */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-character {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(153, 69, 255, 0.5));
    animation: floatCharacter 4s ease-in-out infinite;
}

/* Эффект свечения за картинкой */
.image-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, 
        rgba(153, 69, 255, 0.4) 0%, 
        rgba(189, 0, 255, 0.2) 30%,
        transparent 70%);
    filter: blur(40px);
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Летающие частицы */
.image-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--neon-purple);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--neon-purple);
}
.image-particles span:nth-child(1) { top: 10%; left: 10%; animation: floatParticle 6s infinite; }
.image-particles span:nth-child(2) { top: 70%; left: 80%; animation: floatParticle 8s infinite 1s; }
.image-particles span:nth-child(3) { top: 30%; right: 10%; animation: floatParticle 7s infinite 2s; }
.image-particles span:nth-child(4) { bottom: 20%; left: 20%; animation: floatParticle 9s infinite 1.5s; }
.image-particles span:nth-child(5) { top: 50%; right: 30%; animation: floatParticle 6.5s infinite 0.5s; }

/* Улучшенный Таймер (Секция) */
.countdown-wrapper {
    margin: 50px 0;
    animation: fadeIn 1s ease 0.7s backwards;
}

.countdown-label {
    font-size: 14px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-purple);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(153, 69, 255, 0.5);
}

.countdown {
    display: inline-flex;
    background: linear-gradient(135deg, 
        rgba(153, 69, 255, 0.15),
        rgba(189, 0, 255, 0.08));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 15px;
    border: 2px solid rgba(153, 69, 255, 0.4);
    box-shadow: 
        0 0 40px rgba(153, 69, 255, 0.2),
        inset 0 0 20px rgba(153, 69, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.countdown::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--neon-purple),
        transparent);
    animation: borderGlow 3s linear infinite;
}

.countdown-item {
    padding: 15px 25px;
    text-align: center;
    position: relative;
    min-width: 90px;
}

.countdown-item::after {
    content: ':';
    position: absolute;
    right: -8px;
    top: 35%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--neon-purple);
    font-weight: 700;
    text-shadow: 0 0 15px var(--neon-purple);
    animation: blink 1s ease-in-out infinite;
}

.countdown-item:last-child::after {
    display: none;
}

.countdown-value {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(180deg, 
        var(--white), 
        rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Orbitron', monospace;
    line-height: 1;
    text-shadow: 
        0 0 30px rgba(153, 69, 255, 0.8),
        0 0 60px rgba(189, 0, 255, 0.5);
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

.countdown-text {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Секция "О челлендже" (About) */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.about-card {
    background: linear-gradient(135deg, 
        rgba(153, 69, 255, 0.1), 
        rgba(153, 69, 255, 0.05));
    border: 2px solid rgba(153, 69, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(153, 69, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

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

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(153, 69, 255, 0.3);
}

/* Стили для иконок-картинок в карточках (объединены) */
.card-icon {
    width: 100px; /* Было 64px font-size, заменено на обертку для img */
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-img {
    width: 200%;
    height: 200%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: 
        brightness(1.3)
        contrast(1.1)
        drop-shadow(0 0 30px rgba(153, 69, 255, 1))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
}

.about-card:hover .card-icon-img {
    transform: scale(1.15) rotate(5deg);
    filter: 
        brightness(1.3)
        contrast(1.2)
        drop-shadow(0 0 40px rgba(189, 0, 255, 1))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.about-card:nth-child(1) .card-icon-img { animation: iconPulse 3s ease-in-out infinite; }
.about-card:nth-child(2) .card-icon-img { animation: iconPulse 3s ease-in-out infinite 1s; }
.about-card:nth-child(3) .card-icon-img { animation: iconPulse 3s ease-in-out infinite 2s; }


.about-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.about-card p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ==============================================
   Секция "Статистика" (Stats) - ИСПРАВЛЕННАЯ
   ============================================== */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg,
        rgba(153, 69, 255, 0.08) 0%, 
        rgba(25, 0, 50, 0.2) 50%,    
        transparent 100%);          
    position: relative;
    z-index: 1;
    overflow: hidden; 
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(153, 69, 255, 0.05) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulseBackground 10s infinite alternate ease-in-out;
    z-index: -1;
}

.stats-grid {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    
    gap: 30px;
    position: relative; 
    z-index: 2; 
}

.stat-card {
    background: rgba(10, 5, 20, 0.7); 
    border: 2px solid rgba(153, 69, 255, 0.4); 
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    box-shadow: 0 0 20px rgba(153, 69, 255, 0.1), 0 0 5px rgba(189, 0, 255, 0.05);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(189, 0, 255, 0.1) 0%, 
        rgba(153, 69, 255, 0.05) 20%, 
        transparent 70%);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    transform: scale(0);
    opacity: 0;
    z-index: 0;
}

.stat-card:hover::before {
    transform: scale(1);
    opacity: 1;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px; 
    background: linear-gradient(90deg, transparent, var(--primary-purple), var(--neon-purple), transparent);
    transform: scaleX(0);
    transform-origin: center; 
    transition: transform 0.4s ease-out;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px); 
    border-color: var(--neon-purple); 
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.4), 0 0 60px rgba(153, 69, 255, 0.2); 
}

/* * ========== ФИКС №2 (FLEXBOX) ==========
 * * Мы ПРЕВРАЩАЕМ .stat-number во flex-контейнер,
 * чтобы .number-val и .number-sym всегда были в одну строку
 * и красиво выравнивались.
*/
.stat-number {
    font-size: 30px;  /* <--- УМЕНЬШИЛИ С 42PX */
    font-weight: 900;
    margin-bottom: 12px;
    animation: textGlow 1.5s ease-in-out infinite alternate;
    
    /* Вот он, наш flex-фикс: */
    display: flex;
    justify-content: center;
    align-items: baseline; 
    gap: 6px;
    flex-wrap: nowrap; 
}

/* * Стили градиента и тени теперь применяются 
 * к самому числу, а не ко всей обертке
*/
.stat-number .number-val {
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.8), 0 0 30px rgba(153, 69, 255, 0.5);
}

/* * Стили для символа валюты '₽'
*/
.stat-number .number-sym {
    font-size: 0.7em; /* Делаем его чуть меньше */
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(189, 0, 255, 0.8);
}


/* * Остальные стили для .stat-label и .stat-trend
 * остаются без изменений
*/
.stat-label {
    font-size: 19px; 
    opacity: 0.95; 
    color: var(--white); 
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.stat-trend {
    font-size: 15px; 
    color: #00FF88; 
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5); 
}

/* Секция "Присоединения" (Join) */
.join-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, 
        rgba(153, 69, 255, 0.2) 0%, 
        transparent 50%);
    position: relative;
    z-index: 1;
}

.join-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-title {
    font-family: 'Russo One', sans-serif;
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.join-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 20px;
    border: 2px solid rgba(153, 69, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(153, 69, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(153, 69, 255, 0.3);
}

/* Футер (Footer) */
.footer {
    background: var(--dark-gray);
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid var(--primary-purple);
    position: relative;
    z-index: 1;
}

.footer p {
    opacity: 0.8;
    font-size: 14px;
}

/* ==============================================
6. АДАПТИВНОСТЬ (Media Queries)
==============================================
*/

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 40px;
    }
    
    .countdown {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo { font-size: 36px; }
    .logo-text { font-size: 18px; }
    .nav { gap: 20px; }
    .nav-link { font-size: 14px;
    padding: 10px 10px; }
    
    .hero { padding: 100px 0 60px; }
    .main-title { font-size: 48px; }
    .hero-subtitle { font-size: 18px; }
    .hero-image { margin-top: 30%; }
    
    .countdown { flex-wrap: wrap; gap: 10px; }
    .countdown-item { min-width: 80px; padding: 15px; }
    .countdown-value { font-size: 32px; }
    .countdown-item::after { display: none; } /* Убираем двоеточия на мобильных */
    
    .cta-button { padding: 15px 40px; font-size: 16px; }
    .cta-button.large { padding: 20px 50px; font-size: 18px; }
    
    .section-title { font-size: 36px; }
    
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 28px; }
    
    .join-title { font-size: 40px; }
    .join-buttons { flex-direction: column; align-items: center; }
    .social-links { gap: 15px; }
    .social-link { font-size: 16px; padding: 8px 16px; }
    
    .header-extras {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    
    .countdown-item { min-width: 70px; padding: 10px; }
    .countdown-value { font-size: 24px; }
    
    .stats-grid { grid-template-columns: 1fr; }
    
    .join-title { font-size: 32px; }
}

.main-content {
    margin-top: 40px;
}

.main-content p {
    line-height: 2;
    margin-bottom: 2em;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.main-content {}

.main-content h3, .main-content h2 {
    margin-bottom: 1em;
    font-family: 'Russo One', sans-serif;
    font-size: 28px;
    color: var(--primary-purple);
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(153, 69, 255, 0.3);
    padding-bottom: 10px;
    text-shadow: 0 0 3px var(--neon-purple);
}

.main-content a {
    color: unset;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
}

table.table_new tbody {
    display: flex;
    flex-direction: column;
}

table.table_new tbody > tr {
    width: 100%;
    display: flex;
}

table.table_new thead {
    display: flex;
    flex-direction: column;
}

table.table_new tr > th {
    flex: auto !important;
}

table.table_new tr {
    display: flex;
}

table.table_new tr > th, table.table_new tr > td {
    min-width: 150px !important;
    text-align: unset !important;
    flex: 1;
}

table.table_new tr > th {
    margin: 0 !important;
}


table.table_new {
    overflow: hidden !important;
    max-width: 100% !important;
}

table.table_new {
    background: var(--bgtableandknowledge);
}

table.table_new, table.table_new tr, table.table_new td, table.table_new th {
    border: none !important;
}

table.table_new {
    display: block;
    overflow-x: scroll;
}

table.table_new tbody {
    width: fit-content !important;
    min-width: 100%;
}

table.table_new thead {
    width: fit-content;
    min-width: 100%;
}

table.table_new {
    display: flex;
    flex-direction: column;
    overflow: auto !important;
    padding: 10px;
    border-radius: 16px;
}

table.table_new tbody > tr:nth-of-type(2n+1) {
    background: rgb(0 0 0 / 0%);
    border-radius: 10px;
}

table.table_new tbody > tr:nth-of-type(2n) {
    background: var(--bgtableandknowledgecontrast);
    border-radius: 10px;
}


table.table_new thead + tbody > tr:nth-of-type(2n+1) {
    background: #9a45ff;
    border-radius: 10px;
    box-shadow: 0 0 3px var(--neon-purple);
}

table.table_new thead + tbody > tr:nth-of-type(2n) {
    background: rgb(0 0 0 / 0%);
    border-radius: 10px;
}

table.table_new tbody > tr, table.table_new thead > tr {
    padding: 10px;
}

table.table_new thead {
    width: 100%;
}

table.table_new thead th {
    flex: 1 !important;
}

table.table_new {
    height: auto !important;
    margin-bottom: 20px;
}

table.table_new tr:has(td) th {
    margin: 0 !important;
    flex: 1 !important;
}

.main-content p * {
    display: inline !important;
}

ul.wp-block-list {
    margin-left: 20px;
}

ul.wp-block-list li {
    line-height: 2;
}

ul.wp-block-list li::marker {
    color: #9a45ff;
}