* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0512;
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-glow: #7C3AED;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --discord: #5865f2;
    --telegram: #229ed9;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Фоновое видео */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: blur(2px) brightness(0.5);
    pointer-events: none;
}

/* Фиолетовый градиент поверх видео */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 70%),
        linear-gradient(180deg, rgba(10, 5, 18, 0.6) 0%, rgba(10, 5, 18, 0.9) 100%);
    z-index: -1;
    pointer-events: none;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: relative;
    z-index: 10;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
}

.logo span {
    color: var(--purple);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}

nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--purple-light);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
}

/* MAIN */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 5;
}

.hero {
    text-align: center;
    max-width: 900px;
    width: 100%;
}

/* Стиль кисти для логотипа */
h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(70px, 14vw, 180px);
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 0.95;
    margin-bottom: 20px;
    display: inline-block;
    transform: rotate(-3deg);
    font-style: italic;
}

.brush-white {
    color: #ffffff;
    text-shadow:
        4px 4px 0 rgba(0, 0, 0, 0.9),
        0 0 80px rgba(255, 255, 255, 0.3);
    display: inline-block;
    position: relative;
    z-index: 2;
}

.brush-purple {
    color: var(--purple);
    text-shadow:
        4px 4px 0 rgba(0, 0, 0, 0.9),
        0 0 100px rgba(139, 92, 246, 0.9),
        0 0 40px rgba(139, 92, 246, 0.5);
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-left: -10px;
}

.subtitle {
    font-size: clamp(14px, 1.8vw, 20px);
    color: var(--text-muted);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 70px;
    font-weight: 500;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

/* COUNTDOWN */
.countdown-label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 8px;
    margin-bottom: 24px;
    font-weight: 500;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

.time-block {
    background: rgba(10, 5, 18, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 24px 32px;
    min-width: 120px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.time-block:hover {
    border-color: var(--purple);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
}

.time-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.time-value {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    margin-bottom: 8px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.time-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* BUTTONS */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 2px solid transparent;
    font-family: 'Oswald', sans-serif;
}

.btn-discord {
    background: var(--discord);
    color: white;
    box-shadow: 0 8px 40px rgba(88, 101, 242, 0.5);
}

.btn-discord:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 50px rgba(88, 101, 242, 0.8);
}

.btn-telegram {
    background: var(--telegram);
    color: white;
    box-shadow: 0 8px 40px rgba(34, 158, 217, 0.5);
}

.btn-telegram:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 50px rgba(34, 158, 217, 0.8);
}

/* FOOTER */
footer {
    padding: 24px 48px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    z-index: 10;
}

/* MOBILE */
@media (max-width: 768px) {
    header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 16px;
    }

    nav {
        gap: 20px;
    }

    .countdown {
        gap: 10px;
    }

    .time-block {
        padding: 16px 20px;
        min-width: 75px;
    }

    .time-value {
        font-size: 38px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    footer {
        padding: 20px;
    }

    .subtitle {
        letter-spacing: 3px;
    }

    .countdown-label {
        letter-spacing: 4px;
    }
}