* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
    background-color: #f2f4f8;
    color: #1e1e2f;
    line-height: 1.5;
}

.page {
    max-width: 1280px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* яркая шапка-баннер */
.top-banner {
    background: linear-gradient(135deg, #ffd966, #ffb347);
    color: #1a1a2c;
    font-weight: 800;
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    text-align: center;
    padding: 12px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 3px solid #ff8c00;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.top-banner span {
    display: inline-block;
    margin: 0 8px;
    color: #2d0a0a;
}

.top-banner::-webkit-scrollbar {
    display: none;
}

/* Контейнер бегущей строки */
.top-banner {
    overflow: hidden;
    /* скрываем всё, что выходит за пределы */
    white-space: nowrap;
    /* запрещаем перенос */
    background: linear-gradient(135deg, #ffd966, #ffb347);
    /* сохраняем фон */
    padding: 12px 0;
    /* вертикальные отступы */
    border-bottom: 3px solid #ff8c00;
}

/* Лента с контентом */
.marquee {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    /* элементы встают в ряд */
    animation: marquee 20s linear infinite;
    /* бесконечная анимация */
}

/* Оформление текста (как было, но можно добавить отступ между копиями) */
.marquee-content span {
    display: inline-block;
    padding: 0 2rem;
    /* воздух между повторяющимися блоками */
    font-weight: 800;
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    color: #1a1a2c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Анимация сдвига на половину ширины (ровно на один блок) */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* hero секция */
.main-wrap {
    height: 500px;
    text-align: left;
    display: flex;
    gap: 20px;
}



.main-wrap .img {
    width: 100%; 
    min-height: 50%; 
    background: url(bg.png) center center/contain no-repeat;
}

.hero {
    background: radial-gradient(circle at 20% 30%, #0b1a33, #04101f);
    color: white;
    text-align: center;
    padding: 0 20px;
    border-bottom: 5px solid #ffb800;
}

.hero h1 {
    font-size: 30px;
    font-weight: 900;
    padding: 20px 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffe77a, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 10px rgba(255, 200, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 0 10px;
}

.hero .subtitle strong {
    color: #ffd966;
    background: #1e2b3f;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
}

.hero .cta-text {
    font-size: 1.2rem;
    margin: 25px 0 15px;
    opacity: 0.9;
}

.btn {
    background: #ffb800;
    border: none;
    color: #0a0f1a;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 18px 50px;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 15px 0 #b16200, 0 10px 30px rgba(255, 200, 0, 0.6);
    transition: 0.1s ease;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn:hover {
    transform: translateY(5px);
    box-shadow: 0 10px 0 #b16200, 0 15px 30px rgba(255, 200, 0, 0.7);
}

.btn:active {
    transform: translateY(12px);
    box-shadow: 0 3px 0 #b16200, 0 10px 30px #ffb800;
}

/* блок подарка + таймер */
.gift-block {
    background: linear-gradient(145deg, #f9f3e7, #fff4de);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px dashed #ffb347;
}

.gift-block h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a2a3a;
    margin-bottom: 15px;
}

.gift-block h2 span {
    display: block;
    font-size: 1.8rem;
    color: #cc5500;
}

.countdown-box {
    background: #0d1b2a;
    color: white;
    padding: 30px 20px;
    border-radius: 80px 20px 80px 20px;
    max-width: 700px;
    margin: 30px auto;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
}

.timer {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: monospace;
    letter-spacing: 8px;
    color: #ffd966;
    text-shadow: 0 0 15px #ffb800;
}

.timer-labels {
    display: flex;
    justify-content: center;
    gap: 45px;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-top: 5px;
    color: #cfddee;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #1f3a4b;
}

.features span {
    background: #d4eafc;
    padding: 10px 25px;
    border-radius: 40px;
    box-shadow: 0 5px 0 #8ab3cf;
}

.gift-footer {
    font-size: 2rem;
    font-weight: 800;
    color: #b64516;
    text-transform: uppercase;
    background: #fff0b5;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 60px;
    margin: 20px auto;
    transform: rotate(-1deg);
    border: 2px solid #ffa500;
}

/* отзывы */
.reviews {
    padding: 50px 20px;
    background: #eef2f6;
}

.reviews h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #1e2c3c;
    text-align: center;
    letter-spacing: 2px;
}

.reviews-count {
    font-size: 2rem;
    text-align: center;
    background: #ffb800;
    display: inline-block;
    padding: 8px 40px;
    border-radius: 40px;
    margin: 10px auto 40px;
    font-weight: 700;
    box-shadow: 0 6px 0 #a86900;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.review-card {
    background: white;
    border-radius: 30px 10px 30px 10px;
    padding: 30px 20px 20px;
    box-shadow: 15px 15px 0 rgba(0, 30, 60, 0.2);
    transition: 0.2s;
    border: 1px solid #ffd966;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 20px 20px 0 #ffb347;
}

.review-card p {
    font-style: italic;
    font-size: 1rem;
    color: #1e2f3d;
    flex: 1;
    margin-bottom: 20px;
    line-height: 1.6;
    quotes: "«" "»" "„" "“";
}

.review-card p::before {
    content: "«";
    font-size: 2rem;
    color: #ff8c00;
    margin-right: 5px;
}

.review-author {
    font-weight: 800;
    font-size: 1.4rem;
    color: #0a1f2e;
    border-top: 2px solid #ffb800;
    padding-top: 12px;
}

.review-city {
    color: #4f6f8f;
    font-weight: 600;
    margin-top: 4px;
}

/* контакты / футер */
.contacts {
    background: #121f2f;
    color: #e2eaf1;
    padding: 45px 30px 30px;
    border-top: 8px solid #ffb800;
}

.contacts h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffd966;
    margin-bottom: 25px;
    text-align: center;
}

.company-info p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.company-info p:first-child {
    font-weight: 700;
    color: #ffb347;
}

.work-time,
.delivery,
.delivery-terms,
.credit {
    background: #1b3142;
    padding: 15px 20px;
    border-radius: 20px;
    margin: 20px 0;
    font-size: 1.1rem;
    border-left: 8px solid #ffb800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 35px 0 20px;
}

.footer-links a {
    color: #ffd966;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 2px dotted transparent;
    transition: 0.2s;
}

.footer-links a:hover {
    border-bottom-color: #ffb800;
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: #8fa7bc;
    font-size: 1rem;
}

.quiz {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: space-around;
    z-index: 200;
}

.quiz-show {
	background: #ffffffed;
    display: flex;
}

.quiz-wrap {
    width: 50%;
    padding: 10px;
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(circle at 20% 30%, #0b1a33, #04101f);
}

.quiz-wrap h1 {
    color: #ffcf2f;
    text-align: center;
}

.question {
    font-size: 25px;
    margin: 10px 0;
    text-align: center;
}

.choices label {
    font-size: 20px;
    margin-right: 10px;
    cursor: pointer;
}

input {
    cursor: pointer;
}

.next-button {
    display: block;
    min-width: 200px;
    height: 50px;
    margin: 20px auto;
    padding: 10px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    background: #ffcf30;
}

.tg-form {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    background: #051223;
    color: #fff;
    display: none;
}

.tg-form h2 {
    color: #ffcf30;
}

.form__input {
    width: 300px;
    padding: 10px;
    margin: 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.form-show {
    display: flex;
}

.quiz-hide {
    display: none;
}


/* адаптация */
@media (max-width: 700px) {
    .tg-form {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .quiz-wrap {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .main-wrap {
        height: 700px;
        flex-direction: column;
        text-align: center;
		gap: 10px;
    }

    .main-wrap .img {
        width: 100%;
    }

    .timer {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }

    .timer-labels {
        gap: 20px;
    }

    .btn {
        font-size: 1.4rem;
        padding: 15px 30px;
    }

    .hero h1 {
        font-size: 20px;
        padding: 0;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .gift-block h2 {
        font-size: 1.8rem;
    }
	
	.main-wrap .img {
	    background: url(bg.png) center center / cover no-repeat;
	}
	
	.hero .subtitle {
	    margin: 0;
	}
}