* {
    padding: 0;
    margin: 0;
}

body {
    background: linear-gradient(
        120deg,
        #dae6ed 0%,
        #cfe0eb 12%,
        #a2c7e0 75%,
        #dae6ed 100%
    );
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: #000;
}

.blue-color {
    color: #0099ff;
}

.block-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
}

.hero {
    height: 100vh;
    background-image: url('../images/elbg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header {
    width: 100%;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.header .logo,
.footer .footer-container .logo {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.header .menu a {
    margin: 0 27px;
}

.header .login a {
    margin: 0 4px;
}

.header .login i {
    margin-right: 8px;
}

.hero-content {
    text-align: center;
    margin-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title h1 {
    font-size: 80px;
    line-height: 78px;
}

.hero-text {
    line-height: 60px;
    font-size: 20px;
}

.hero-timer {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

.time-box {
    font-size: 18px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    margin: 0 10px;
}

.separator {
    color: #fff;
}

.hero-btn {
    margin-top: 70px;
}

.hero-btn a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 100px;
    border-radius: 60px;
    background: linear-gradient(90deg, #0099ff 0%, #0165f3 100%);
}

.results {
    margin-top: 0px;
}

.wamuults {
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
}

.wamuult {
    margin-top: 30px;
    width: 600px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
}

.white-wamu {
    flex: 3;
    background-color: #fff;
    border-radius: 16px;
    height: 100%;
}

.white-wamu-l {
    flex: 1;
}

.divider {
    width: 0px;
    background-color: #fff;
    height: calc(100% - 30px);
    border: 1px dashed #ccc;
}

.white-wamu-title {
    text-align: center;
    margin: 25px 0;
    font-size: 22px;
    font-weight: 700;
}

.zibas {
    display: flex;
    flex-wrap: wrap; /* Включает перенос элементов */
    align-items: center; /* Выравнивание по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    gap: 10px; /* Расстояние между элементами */
    max-width: 600px; /* Максимальная ширина контейнера (опционально) */
    margin: 0 auto; /* Центрирование всего блока на странице */
}

.ziba {
    border: 5px solid #0189fb;
    border-radius: 100%;
    font-size: 22px;
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 48px;
}

.faq {
    margin-top: 150px;
}

.faq .block-title {
    margin-bottom: 20px;
}

/* Элементы FAQ */
.faq-item {
    width: 70%;
    margin: 0 auto;
    background-color: #fff; /* Белый фон */
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
    transition: transform 0.2s, box-shadow 0.2s; /* Анимация наводки */
}

/* Эффект при наведении */
.faq-item:hover {
    transform: translateY(-3px); /* Поднятие при наведении */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Глубокая тень */
}

/* Вопрос */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

/* Ответ */
.faq-answer {
    margin-top: 10px;
    padding: 10px;
    border-left: solid 4px #0099ff;
    font-size: 16px;
    color: #000;
    line-height: 1.6;
}

/* Иконка стрелки */
.faq-icon {
    font-size: 20px;
    color: #007bff; /* Синий цвет стрелки */
    transform: rotate(0deg);
    transition: transform 0.2s; /* Анимация вращения */
}

/* Раскрытие FAQ */
.faq-item.open .faq-answer {
    display: block; /* Отображение ответа */
}

.faq-item.open .faq-icon {
    transform: rotate(180deg); /* Вращение стрелки */
}

/* Скрытый ответ */
.faq-answer {
    display: none; /* По умолчанию скрыто */
}

.reviews {
    margin-top: 150px;
}

/* Секция отзывов */
.reviews-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-radius: 16px;
    max-width: 1200px;
    margin: 25px auto;
}

/* Карточка отзыва */
.review-card {
    background-color: #fff; /* Белый фон */
    border-radius: 16px; /* Скругленные углы */
    padding: 20px;
    width: 275px; /* Равная ширина для 3 карточек */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
    text-align: center;
}

/* Аватар пользователя */
.review-avatar {
    width: 97px;
    height: 97px;
    border-radius: 50%; /* Круглый аватар */
    margin-bottom: 16px;
    object-fit: cover; /* Обеспечивает правильное отображение изображения */
}

/* Имя пользователя */
.review-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Рейтинг */
.review-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Отступы между элементами */
    margin-bottom: 16px;
    font-size: 14px;
    color: #333;
}

/* Звезды */
.stars {
    color: #ffd700; /* Жёлтые звёзды */
    font-size: 16px;
}

/* Половина звезды */
.half-star {
    color: #ffd700;
    font-size: 16px;
}

/* Текст отзыва */
.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Общий стиль футера */
.footer {
    margin-top: 80px;
    background-image: url('../images/bgfooter.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

/* Контейнер футера */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    text-align: left;
}

/* Заголовок */
.footer-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Описание */
.footer-description {
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #fff;
}

.footer-description a {
    color: #fff;
    text-decoration: underline;
}

.footer-description a:hover {
    text-decoration: underline;
}

/* Иконки */
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-icon {
    display: flex;
    width: 160px;
    height: 80px;
    object-fit: contain;
    border-radius: 40px;
    background-color: #fff;
    align-items: center;
    justify-content: center;
}

/* Ссылки */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    font-size: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Page play */

/* Секция информации */
.info-section {
    margin-top: 120px;
    padding: 40px 20px;
    line-height: 1.8; /* Межстрочное расстояние */
}

.info-section-wmt {
    margin-top: 0;
}

/* Контейнер текста */
.info-container {
    width: 70%;
    margin: 0 auto;
}

/* Заголовки */
.info-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #000; /* Чёрный цвет для заголовков */
}

/* Параграфы */
.info-container p {
    font-size: 16px;
    margin-bottom: 16px;
}

/* Список */
.info-container ul {
    margin-left: 20px;
    margin-bottom: 16px;
    list-style-type: disc; /* Точки для списка */
}

.info-container ul li {
    font-size: 16px;
    margin-bottom: 8px;
}

/* Секция таблицы */
.odds-section {
    padding: 40px 20px;
    line-height: 1.8;
}

/* Таблица */
.odds-table {
    width: 70%; /* Ширина таблицы */
    margin: 0 auto;
    border-collapse: collapse; /* Убирает промежутки между ячейками */
    text-align: left;
    overflow: hidden;
}

/* Заголовок таблицы */
.odds-table thead th {
    background-color: #a7c8de; /* Тёмно-синий фон */
    font-size: 16px;
    font-weight: bold;
    padding: 12px 16px;
}

/* Тело таблицы */
.odds-table tbody td {
    font-size: 14px;
    padding: 12px 16px;
}

/* Чередование строк */
.odds-table tbody tr:nth-child(even) {
    background-color: #a7c8de; /* Светлый серый фон для чётных строк */
}

.odds-table tbody tr:nth-child(odd) {
    background-color: #b9d2e3; /* Белый фон для нечётных строк */
}

/* Последняя строка без нижней границы */
.odds-table tbody tr:last-child td {
    border-bottom: none;
}

/* about  */

.hero-less {
    height: auto;
    background-image: none;
}

.main-page {
    background-image: url('../images/elbg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main-about {
    height: 90vh;
}

.main-auth {
    height: 100vh;
}

.hero-title-auth {
}

.hero-title-auth h1 {
    font-size: 40px;
}

.hero-title-auth h1 .logo {
    text-transform: uppercase;
}

.hero-title-auth p {
    line-height: 45px;
    font-size: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    width: 55%;
    margin: 50px auto 0 auto;
}

.login-form input {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.input-field {
    width: calc(100% - 30px);
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 12px;
    margin-bottom: 10px;
}

.submit-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.account-text {
    width: 100%;
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.account-link {
    color: #007bff;
    text-decoration: none;
}

.submit-button {
    margin-top: 15px;
}

/* Блок для имени и фамилии рядом */
.name-fields {
    width: 100%;
    display: flex;
    gap: 1rem; /* Расстояние между полями */
    margin-bottom: 1rem;
}

.name-fields .input-field {
    width: 100%;
}

/* Подсказка под полем (например, требования к паролю) */
.input-hint {
    margin-left: 5px;
    font-size: 0.875rem;
    color: #666; /* Серый цвет текста */
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Текст с информацией для пользователя (например, "By clicking Create Account...") */
.account-text {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

/* Ссылки на политику конфиденциальности и условия */
.privacy-terms {
    display: flex;
    gap: 1.5rem; /* Расстояние между ссылками */
    justify-content: center;
    margin: 1rem 0;
}

.privacy-terms a {
    color: #0056b3; /* Пример: синий цвет */
    text-decoration: none;
    font-size: 0.875rem;
}

.privacy-terms a:hover {
    text-decoration: underline;
}

.hero-content-reg {
    margin-top: 90px;
}

/* Сам белый блок */
.results-container {
    width: 70%;
    margin: 50px auto 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    font-family: Arial, sans-serif;
    color: #333;
}

.results-title,
.draw-info {
    text-align: center;
}

/* Заголовок + информация о тираже */
.results-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.draw-info {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

/* Обёртка для шаров */
.numbers-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.numbers-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Сами шары */
.numbers-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ball {
    width: 40px;
    height: 40px;
    background: #007bff; /* Синий цвет для обычных шаров */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.ball.powerball {
    background: #f44336; /* Красный цвет для Powerball */
}

/* Контейнер с таблицей и поиском (внутри белого блока) */
.content-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

/* Таблица */
.table-block {
    border-radius: 8px;
    flex: 1;
    overflow-x: auto;
    border: 1px solid rgba(0, 153, 255, 0.3);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* чтобы столбцы не слипались */
}

.results-table tbody tr {
    border: 1px solid #ededed;
}

.results-table th,
.results-table td {
    padding: 10px 12px;
    text-align: left;
}

.results-table thead tr {
    background: #b3e1ff;
    font-weight: bold;
}

/* Блок поиска */
.search-block {
    width: 250px;
    flex-shrink: 0;
}

.search-block h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 16px;
}

.search-block p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

.search-form {
    display: flex;
    gap: 5px;
}

.search-form input {
    flex: 1;
    padding: 6px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 14px;
}

.search-form button {
    background: #007bff;
    color: #fff;
    border: none;
    font-size: 14px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.search-form button:hover {
    background: #005bbf;
}

/* Список предыдущих тиражей */
.previous-draws {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.previous-draw {
    margin-bottom: 20px;
}

.previous-draw p {
    margin-bottom: 10px;
    font-size: 14px;
}

.previous-draw .numbers-list {
    margin-bottom: 8px;
}

.dividends-link {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.dividends-link:hover {
    text-decoration: underline;
}

.hero-results {
    height: auto;
    background-size: auto;
}

/* Popup Container */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Content */
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

/* Close Button */
.close-popup {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.close-popup:hover {
    background: #0056b3;
}

/* Контейнер всплывающего окна */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 14px;
    z-index: 9999;
}

/* Текст и ссылка */
.cookie-content p {
    margin: 0;
    color: #333;
}

.cookie-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* Кнопка "Accept" */
.cookie-accept {
    margin-top: 10px;
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.cookie-accept:hover {
    background: #0056b3;
}

/* ----------------------
   Пример медиазапросов
   ---------------------- */

/* Адаптация при ширине экрана до 992px */
@media (max-width: 992px) {
    /* Уменьшим боковые отступы контейнеров */
    .results-container,
    .info-container,
    .odds-table {
        width: 90%; /* Вместо 70% или 1000px */
    }

    /* Логотип в хедере можно уменьшить */
    .header .logo {
        font-size: 24px;
    }

    /* Шапка: уменьшим расстояние между пунктами меню */
    .header .menu a {
        margin: 0 10px;
    }
    .footer-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-logo {
        font-size: 38px !important;
        text-align: center;
    }

    .footer-title {
        text-align: left;
        font-size: 35px;
    }
}

/* Адаптация при ширине экрана до 768px */
@media (max-width: 768px) {
    .login-form {
        width: 85%;
    }
    .info-section {
        margin-top: 0;
        padding: 0;
    }
    /* Hero-блок: уменьшим высоту, чтобы на мобильных
     контент не "резался" */
    .hero {
        height: auto;
        padding-bottom: 40px;
    }

    /* В hero-контенте уменьшим заголовок и текст */
    .hero-title h1 {
        font-size: 48px; /* Вместо 80px */
        line-height: 1.2;
    }
    .hero-text {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Кнопка в hero можно сделать поменьше */
    .hero-btn a {
        font-size: 18px;
        padding: 15px 40px;
    }

    /* В FAQ - максимальная ширина 90%, вместо 70% */
    .faq-item {
        width: 80%;
    }

    /* В блоке с таблицей/поиском сделаем «столбцы» вертикальными */
    .content-row {
        flex-direction: column;
    }
    .search-block {
        width: 100%;
        margin-top: 20px; /* Отступ сверху, чтобы не прилипало к таблице */
    }

    /* Уменьшим размер шариков (ball) */
    .ball {
        width: 32px;
        height: 32px;
        font-size: 12px;
        line-height: 32px;
    }

    .results {
        display: none;
    }

    .hero-content {
        margin-top: 50px;
    }
}

/* Адаптация при ширине экрана до 480px */
@media (max-width: 480px) {
    .hero-title-auth p {
        line-height: 31px;
        font-size: 15px;
    }
    /* Шапка: можно сделать в одну строчку, лого+иконки */
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    .header .menu,
    .header .login {
        margin-top: 10px;
    }

    /* Уменьшаем общий шрифт */
    body {
        font-size: 14px;
    }

    /* Hero заголовок ещё меньше */
    .hero-title h1 {
        font-size: 32px;
    }
    .hero-text {
        font-size: 14px;
    }

    /* Таймер и кнопки друг под другом */
    .hero-timer {
        gap: 10px;
    }
    .time-box {
        margin: 10px 0;
    }

    /* В блоке отзывов (reviews-section) карточки идут в столбик */
    .reviews-section {
        flex-direction: column;
        align-items: center;
    }
    .review-card {
        width: 80%;
        margin-bottom: 20px;
    }

    /* Результаты (таблица + поиск) становятся на всю ширину */
    .results-container {
        width: 85%;
        padding: 20px;
    }

    /* Скрываем или упрощаем некоторые элементы, если необходимо */
    .search-block {
        margin-top: 20px;
    }
    .search-block p {
        display: none; /* Можно спрятать короткий текст для экономии места */
    }

    /* Предыдущие тиражи: дату и шары можно переносить в столбик */
    .previous-draw .numbers-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}
