/* Сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden; 
}

/* =========================================
   ШАПКА (ФИОЛЕТОВАЯ, ПО ЦЕНТРУ)
   ========================================= */
.top-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 15px;
    position: absolute; 
    top: 0;
    z-index: 100;
}

.nav-pill {
    background-color: #9b30ff !important;
    border-radius: 50px;
    padding: 18px 60px;
    display: flex;
    gap: 50px;
}

.nav-pill a {
    text-decoration: none;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.nav-pill a:hover {
    transform: scale(1.05);
}

/* =========================================
   ГЛАВНЫЙ БЛОК (HERO)
   ========================================= */
.hero {
    background-color: #000; 
    min-height: 100vh; 
    display: flex;
    align-items: center; 
    padding: 150px 40px 50px 40px; 
    position: relative;
}

.hero-container {
    display: flex;
    justify-content: flex-start; 
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 2;
}

h1 {
    font-size: 65px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.purple { color: #9b30ff; }
.yellow-text { color: #ccff00; }

.desc-box { margin-bottom: 40px; }
.desc-box p { color: #ccc; font-size: 16px; line-height: 1.5; max-width: 480px; }

.btn-yellow {
    background-color: #ccff00;
    color: #000;
    border: none;
    padding: 20px 50px;
    border-radius: 40px;
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.4); 
    position: relative;
    z-index: 9999;
    display: inline-block;
    text-decoration: none;
}

.btn-yellow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.8); 
}

.hero-image { flex: 1; }

/* =========================================
   БЕГУЩИЕ СТРОКИ
   ========================================= */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 18px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 15s linear infinite;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
}

.marquee-content span { margin: 0 25px; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Первая строка (фиолетовая) */
.marquee-purple { background-color: #9b30ff; }
.marquee-purple span { color: #000; }
.marquee-purple .black { color: #000; }
.marquee-purple .white { color: #fff; }
.marquee-purple .star { color: #000; }

/* Вторая строка (черная) */
.marquee-black {
    background-color: #000 !important;
    border-top: 2px solid #9b30ff;
    border-bottom: 2px solid #9b30ff;
}
.marquee-black span { color: #fff !important; }
.marquee-black .star { color: #fff !important; }

/* =========================================
   БЛОК: КАК УЧАСТВОВАТЬ
   ========================================= */
.how-to-participate {
    background: linear-gradient(90deg, #9b30ff 0%, #e87eff 100%);
    padding: 60px 5%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.how-to-participate h2 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.how-to-participate h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 40px;
    background-color: #ccff00;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    align-items: center; 
}

.step-pill {
    background-color: #ccff00; 
    color: #000;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 40px; 
    display: inline-block; 
    transition: transform 0.2s;
}

.step-pill:hover { transform: scale(1.02); }
.step-num { margin-right: 10px; }

/* =========================================
   АДАПТИВ (ДЛЯ ТЕЛЕФОНОВ)
   ========================================= */
@media (max-width: 768px) {
    .top-nav {
        padding: 20px 10px;
    }
    .nav-pill {
        padding: 12px 20px;
        gap: 15px;
        width: 100%;
        max-width: 400px;
        justify-content: space-around;
    }
    .nav-pill a {
        font-size: 12px;
        letter-spacing: 0;
    }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    h1 { font-size: 40px; }
    .desc-box p { text-align: center; }
    
    .hero-image {
        margin-top: 40px;
        height: 400px;
        width: 100%;
    }
    
    .top-nav { justify-content: center; }
}
