@font-face {
    font-family: Karla;
    font-style: bold;
    font-display: swap;
    src: url('../triplefungaze-fonts/triplefungaze-karla.woff2') format("woff2")
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

body {
    margin: 0;
    background: #1B2026;
}

main {
    padding: 0px 10px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.triplefungaze-header {
    max-width: 1440px;
    margin: 0 auto;
}

.triplefungaze-list {
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 10px 16px;
    justify-content: center;
}

.triplefungaze-list a {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
    color: #fff;
    text-decoration: none;
}

.triplefungaze-hero-container {
    background-image: url('../triplefungaze-img/triplefungaze-hero.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    min-height: 625px;
}

.triplefungaze-hero-container-info {
    color: #fff;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    padding: 0px 16px;
}

.triplefungaze-hero-container-info h1 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    line-height: 100%;
}

.triplefungaze-hero-container-info p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
}

.triplefungaze-hero-container-info a {
    background: #F9313B;
    border-radius: 10px;
    box-shadow: 0px 0px 8.9px 0px #F9313B;
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 15px;
    line-height: 100%;
    padding: 10px 50px;
    color: #fff;
    text-decoration: none;
}

.triplefungaze-about-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 80px 16px;
}

.triplefungaze-about-container-descr {
    background: radial-gradient(34.47% 163.32% at 50% 0%, rgba(249, 49, 59, 0.6) 0%, #242B33 100%)
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    max-width: 560px;
    justify-content: center;
}

.triplefungaze-about-container-descr h2 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 100%;
    text-align: center;
}

.triplefungaze-about-container-descr p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
    text-align: center;
}

.triplefungaze-about-container-img img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    object-fit: contain;
}

.triplefungaze-section-game {
    background: #242B33;
    padding: 80px 16px;
}

.triplefungaze-game-block {
    max-width: 1140px;
    margin: 0 auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Обертка, чтобы iframe оставался пропорциональным и не вылезал */
.triplefungaze-game-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
}

/* Сам iframe */
.triplefungaze-game-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.triplefungaze-whychoose-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.triplefungaze-whychoose h2 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 100%;
    text-align: center;
    color: #fff;
}

.triplefungaze-whychoose-list {
    display: flex;
    gap: 20px;
}

.triplefungaze-whychoose-list li {
    background: #242B33;
    border: 4px solid #343D48;
    padding: 30px;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    width: 100%;
}

.triplefungaze-whychoose-list-item-descr {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.triplefungaze-whychoose-list-item-descr h2 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
}

.triplefungaze-whychoose-list-item-descr p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
}

.triplefungaze-faq-container {
    background-image: url('../triplefungaze-img/triplefungaze-faq.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.faq-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    color: #FFFFFF;
    padding: 80px 10px;
}

.faq-container h2 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 100%;
    text-align: center;
}

.faq-container p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
}

.faq-p {
    max-width: 1000px;
    text-align: center;
}

.faq-container ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-container li {
    padding: 30px;
    background: #242B33;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 100%;
}

.li-p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
}

.triplefungaze-disclaimer {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 80px 16px;
}

.triplefungaze-disclaimer-info {
    color: #FFFFFF;
    background: #F9313B;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.triplefungaze-disclaimer-info h2 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 100%;
    text-align: center;
}

.triplefungaze-disclaimer-info p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 100%;
    text-align: center;
}

.triplefungaze-footer {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: #FFFFFF;
}

.triplefungaze-footer-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.triplefungaze-confirm-age {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.triplefungaze-cookie {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.triplefungaze-confirm-age h2 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 4%;
    text-align: center;
}

.triplefungaze-confirm-age p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 4%;
    text-align: center;
}

.triplefungaze-cookie h2 {
    font-family: Karla;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 4%;
    text-align: center;
}

.triplefungaze-cookie p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 4%;
    text-align: center;
}

.triplefungaze-footer-descr p {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 4%;
    text-align: center;
    max-width: 730px;
    margin: 0 auto;
}

.triplefungaze-footer-list {
    display: flex;
    gap: 100px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.triplefungaze-footer-copyright {
    font-family: Karla;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 6%;
    text-align: center;
}

/* =========== BURGER MENU STYLES (ОБНОВЛЕННЫЙ КОД) =========== */

/* Контейнер шапки */
.triplefungaze-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    /* Для позиционирования */
}

/* Кнопка-бургер */
.triplefungaze-burger {
    display: none;
    /* Скрыт на десктопе */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.triplefungaze-burger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Анимация бургера в крестик */
.triplefungaze-burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.triplefungaze-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.triplefungaze-burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.qeq {
    display: contents;
    position: relative;
    background: #000;
    width: 100%;
    max-width: 836px;
    aspect-ratio: 836 / 602;
    border-radius: 22px;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Медиа-запрос для мобильных устройств */
@media(max-width: 995px) {

    /* Показываем бургер */
    .triplefungaze-burger {
        display: flex;
    }

    /* Стили для выезжающего меню */
    .triplefungaze-header .triplefungaze-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Скрыто за экраном */
        width: 100%;
        height: 100vh;
        background-color: #1B2026;
        display: flex;
        /* Используем flex для центрирования */
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    /* Класс для открытого меню */
    .triplefungaze-header .triplefungaze-nav.is-open {
        right: 0;
    }

    /* Стили для списка ссылок */
    .triplefungaze-header .triplefungaze-list {
        flex-direction: column;
        gap: 40px;
    }

    .triplefungaze-header .triplefungaze-list a {
        font-size: 24px;
    }

    /* ВАЖНО: Убираем логотип только из десктопной навигации, которая теперь в шапке */
    .triplefungaze-header>.triplefungaze-nav>.triplefungaze-list li:first-child {
        display: list-item;
        /* Убеждаемся, что все элементы списка видимы */
    }
}

@media(max-width: 995px) {
    .triplefungaze-about-container {
        flex-direction: column;
        align-items: center;
    }

    .triplefungaze-whychoose-list {
        flex-wrap: wrap;
    }

    .triplefungaze-disclaimer {
        flex-direction: column;
        align-items: center;
    }

    .triplefungaze-disclaimer-img img {
        width: 100%;
    }


}

@media(max-width: 732px) {
    .triplefungaze-about-container {
        flex-direction: column;
        align-items: center;
    }

    .triplefungaze-whychoose-list {
        flex-wrap: wrap;
    }

    .triplefungaze-disclaimer {
        flex-direction: column;
        align-items: center;
    }

    .triplefungaze-footer-list {
        display: flex;
        gap: 20px;
    }

    .triplefungaze-list {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 10px 16px;
        justify-content: center;
        flex-direction: column;
    }


}



/* --- Контейнер для всего контента --- */
.privacy-container {
    max-width: 900px;
    /* Ограничиваем ширину для лучшей читаемости на больших экранах */
    margin: 0 auto;
    /* Центрируем контейнер */
}

/* --- Стили для заголовков и текста --- */
.privacy-container h1 {
    font-size: 32px;
    /* Размер большого текста */
    font-weight: 700;
    /* Жирное начертание */
    color: #FFFFFF;
    /* Чистый белый цвет для главного заголовка */
    margin-bottom: 20px;
    line-height: 1.3;
}

.privacy-container h2 {
    font-size: 16px;
    /* Немного крупнее основного текста для подзаголовков */
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.privacy-container p {
    margin: 0;
    font-size: 14px;
    color: #fff;
    padding-bottom: 10px;
    /* Размер маленького текста */
}

/* --- Стили для структуры --- */
.intro {
    margin-bottom: 40px;
    /* Увеличиваем отступ после вступительного абзаца */
}

.privacy-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* Расстояние между пунктами политики */
}

/* --- Стили для маркированного списка (ДОБАВИТЬ В КОНЕЦ ФАЙЛА) --- */
.privacy-point ul {
    list-style: none;
    /* Убираем стандартные маркеры */
    padding-left: 20px;
    /* Добавляем отступ слева */
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Расстояние между пунктами списка */
}

.privacy-point li {
    padding-left: 15px;
    /* Отступ для текста от маркера */
    position: relative;
    font-size: 14px;
    /* Размер маленького текста */
    color: #fff;
}

.privacy-point li::before {
    content: '*';
    /* Используем звездочку в качестве маркера */
    position: absolute;
    left: 0;
    top: 0;
    color: #E0E0E0;
    /* Тот же цвет, что и у текста */
}