:root {
    --blue: #005cff;
    --dark: #0b0e16;
    --card: #161b28;
    --green: #28a745;
    --gold: #ffd700;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Шапка */

header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: white;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent);
    border-radius: 2px;
}

.logo span {
    color: var(--blue);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.support-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 92, 255, 0.1);
    border: 1px solid var(--blue);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.support-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.support-btn i {
    font-size: 18px;
}


/* Главный блок */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#subtitle {
    font-size: 18px;
    color: #a0a0a0;
    margin-bottom: 30px;
}


/* Блок с информацией о призе */

.prize-info {
    background: rgba(0, 92, 255, 0.1);
    border: 1px solid var(--blue);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.prize-icon {
    background: var(--blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prize-icon i {
    font-size: 24px;
}

.prize-text h3 {
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 18px;
}

.prize-text p {
    color: #ccc;
    font-size: 15px;
}


/* Промокод */

.promo-box {
    background: var(--card);
    padding: 18px 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 25px;
    border: 2px solid var(--blue);
    margin-bottom: 35px;
}

#promoCode {
    font-size: 28px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 1px;
}

#btn-copy {
    background: var(--blue);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
    font-size: 16px;
}

#btn-copy:hover {
    opacity: 0.9;
    transform: scale(1.05);
}


/* Кнопки */

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-play {
    background: var(--blue);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 900;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
}

.btn-play:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 92, 255, 0.4);
}

.btn-info {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.btn-info:hover {
    background: white;
    color: black;
}


/* Изображение машины */

.hero-image {
    position: relative;
    perspective: 1000px;
}

.brabus-img {
    width: 100%;
    border-radius: 20px;
    transition: var(--transition);
    filter: brightness(0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.car-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--gold);
}

.car-label i {
    color: var(--gold);
    font-size: 20px;
}

.hero-image:hover .brabus-img {
    filter: brightness(1);
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 92, 255, 0.4);
}


/* Карточки преимуществ */

.features {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--blue);
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 92, 255, 0.2);
}

.feature-icon {
    font-size: 40px;
    color: var(--blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--blue);
    margin-bottom: 15px;
    font-size: 24px;
}

.feature-card p {
    color: #aaa;
    font-size: 16px;
}


/* Модальные окна */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-content {
    background: var(--card);
    padding: 40px;
    border-radius: 25px;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: fadeIn 0.4s ease;
    border: 1px solid rgba(0, 92, 255, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.support-modal {
    max-width: 500px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--blue);
}


/* Шаги в модалке */

.steps {
    margin: 30px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.step-num {
    width: 45px;
    height: 45px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 20px;
}

.highlight {
    border: 1px solid var(--blue);
    padding: 20px;
    border-radius: 15px;
    background: rgba(0, 92, 255, 0.1);
}

.bonus-details {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
}

.bonus-details h3 {
    color: var(--gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Поддержка в модалке */

.support-info {
    margin: 30px 0;
}

.support-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.support-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.support-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 92, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-icon i {
    font-size: 24px;
    color: var(--blue);
}

.support-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.support-link:hover {
    text-decoration: underline;
}

.support-note {
    background: rgba(0, 92, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}


/* Футер */

footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #888;
    font-size: 14px;
}


/* Адаптивность */

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .features .container {
        grid-template-columns: 1fr;
    }
    .button-group {
        flex-direction: column;
    }
    .promo-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    h1 {
        font-size: 36px;
    }
    .prize-info {
        flex-direction: column;
        text-align: left;
    }
    .header-right {
        flex-direction: column;
        gap: 15px;
        align-items: flex-end;
    }
}

@media (max-width: 576px) {
    .modal-content {
        padding: 25px;
    }
    .step {
        flex-direction: column;
        text-align: center;
    }
    .support-method {
        flex-direction: column;
        text-align: center;
    }
    h1 {
        font-size: 28px;
    }
    .btn-play,
    .btn-info {
        width: 100%;
        padding: 15px;
    }
    .logo {
        font-size: 28px;
    }
}