@font-face {
    font-family: Poppinsreg;
    font-style: bold;
    font-weight: 400;
    font-display: swap;
    src: url('../spinlappo-fonts/spinlappo-poppins-regular.woff2') format("woff2")
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../spinlappo-fonts/spinlappo-poppins-bold.woff2') format("woff2")
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #0d0920;
    color: #fff;
}

html,
body {
    overflow-x: hidden;
}

ul {
    list-style: none;
    padding: 0;
}

.hero-container {
    background-image: url('../spinlappo-img/spinlappo-hero.webp');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 auto;
    margin-bottom: 70px;
    height: 740px;
}

.spinlappo-btn-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.spinlappo-btn-container p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
}

.about-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
}

.spinlappo-navbar {
    background: #0d0920;

}

.spinlappo-navbar-container {
    display: flex;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    align-items: center;
    padding: 15px 24px;
    flex-wrap: wrap;
}

.spinlappo-container-faq {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0px 24px;
    padding-bottom: 60px;
}

/* Navbar */

.spinlappo-navbar .container {
    background: #FFFFFF33;
    padding: 8px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    position: relative;
    /* ВАЖНО: для абсолютного меню */
    max-width: 1340px;
    margin: 0px auto;
    z-index: 10;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    backdrop-filter: blur(10px)
}

.spinlappo-nav {
    display: flex;
    gap: 32px;
    margin: 0;
    align-items: center;
}

.spinlappo-navbar nav a {
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: #ECA100;
}

.spinlappo-navbar nav a:hover {
    color: #fff;
    font-weight: 600;
}

.spinlappo-navbar nav a.active {
    color: #fff;
    font-weight: 700;
}

.spinlappo-navbar .spinlappo-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

.spinlappo-burger {
    display: none;
    cursor: pointer;
}

/* Hero */
.spinlappo-hero {
    background-size: cover;
    background-position: center;
}

.spinlappo-infohero {
    display: flex;
    padding-left: 24px;
    padding-right: 24px;
    justify-content: center;
    text-align: center;
    height: 740px;
    align-items: center;
}

.spinlappo-infohero-about {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 24px;
    padding-bottom: 149px;
}

.spinlappo-hero h1 {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 56px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #FF6F40;
}

.spinlappo-hero p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    text-align: center;
}

.spinlappo-hero-about h1 {
    font-family: Playfair Display;
    font-size: 64px;
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 120%;
}

.spinlappo-hero-about p {
    font-family: Open Sans;
    font-size: 24px;
    font-style: normal;
    margin-bottom: 24px;
}

.spinlappo-descr_block {
    max-width: 1240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 0px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 15%, rgba(0, 0, 0, 0.8) 85%, rgba(0, 0, 0, 0) 100%);
}

.spinlappo-btn {
    font-family: Poppinsreg;
    font-weight: 600;
    font-style: Bold;
    font-size: 20px;
    background: #ECA100;
    color: #1F1F1F;
    padding: 8px 10px;
    border: none;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: lowercase;
}

.spinlappo-btn-signup {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    background: #FF6F40;
    color: #101010;
    padding: 14px 20px;
    border: none;
    text-decoration: none;
    border-radius: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.spinlappo-btn-login {
    font-family: Poppinsreg;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    text-transform: uppercase;
    background: transparent;
    color: #ffffff;
    padding: 7px 53px;
    border: 2px solid #FFFFFF;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.spinlappo-btn:hover {
    opacity: 0.7;
    /* эффект затемнения */
}

/* About */
.spinlappo-about {
    padding: 0px 16px;
}

.spinlappo-about .container {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.spinlappo-about-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spinlappo-about-container h2 {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    text-transform: uppercase;
    color: #FF6F40;
}

.spinlappo-about-container p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    color: #fff;

}


.spinlappo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 70px;
}

.spinlappo-p_container-list {
    display: flex;
    gap: 24px;
    margin: 0;
    justify-content: center;
}

.spinlappo-p_container-img1 {
    background-image: url('../spinlappo-img/spinlappo-mushroom.png');
    width: 261px;
    height: 250px;
}

.spinlappo-p_container-img2 {
    background-image: url('../spinlappo-img/spinlappo-bee.png');
    width: 261px;
    height: 250px;
}

.spinlappo-p_container-img3 {
    background-image: url('../spinlappo-img/spinlappo-kotel.png');
    width: 261px;
    height: 250px;
}

.spinlappo-p_container-list h3 {
    font-family: Poppinsreg;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

.spinlappo-p_container-list-item p {
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    text-align: center;
}

.spinlappo-p_container-list-item {
    border-radius: 25px;
    border: 1px solid #584500;
    background-image: url('../spinlappo-img/spinlappo-back.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 442px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 0px 50px;
}

.spinlappo-p_container-descr {
    max-width: 192px;
}

.spinlappo-about-us {
    padding: 70px 16px;
}

.spinlappo-about-info {
    display: flex;
    gap: 48px;
}

.spinlappo-about-info_img {
    background-image: url('../spinlappo-img/spinlappo-pharaon.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 545 / 426;
    border-radius: 30px;
}

.spinlappo-about-info_img_why {
    background-image: url('../spinlappo-img/spinlappo-girl.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 545 / 492;
    border-radius: 30px;
}

.spinlappo-about-info-descr-container h3 {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 28px;
}

.spinlappo-cards-list {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

.spinlappo-cards-list-item h3 {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
}

.spinlappo-cards-list-item p {
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
}

/* Основной контейнер секции с карточками */
.spinlappo-cards {
    padding: 40px 20px;
    /* Внутренние отступы вокруг всей сетки */
}

/* Список (<ul>) становится грид-контейнером */
.spinlappo-cards-list {
    display: grid;
    /* Создаёт 2 колонки одинаковой ширины */
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    /* Пространство между карточками */

    /* Сброс стандартных стилей списка */
    list-style: none;
    padding: 0;
    max-width: 1240px;
    margin: 0 auto;
}

/* Стили для каждой отдельной карточки (<li>) */
.spinlappo-cards-list-item {
    padding: 0px 24px;
    border-radius: 20px;
    /* Закругленные углы */
    min-height: 380px;
    /* Минимальная высота, чтобы все карточки были одинаковыми */

    border: 1px solid #584500;

    /* Настройка фонового изображения */
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;

}


/* --- Назначение фоновых изображений для каждой карточки --- */
/* ВАЖНО! Замените URL-адреса на пути к вашим собственным изображениям. */

.spinlappo-cards-list-item:nth-child(1) {
    background:
        linear-gradient(rgba(48, 38, 26, 0.74), rgba(48, 38, 26, 0.74)),
        url('../spinlappo-img/spinlappo-card1.webp');
    background-position: center;
    background-size: cover;
    min-height: 423px;
    /* Замените это */
}

.spinlappo-cards-list-item:nth-child(2) {
    background:
        linear-gradient(rgba(48, 38, 26, 0.74), rgba(48, 38, 26, 0.74)),
        url('../spinlappo-img/spinlappo-card2.webp');
    background-position: center;
    background-size: cover;
    min-height: 423px;
    /* Замените это */
}

.spinlappo-cards-list-item:nth-child(3) {
    background:
        linear-gradient(rgba(48, 38, 26, 0.74), rgba(48, 38, 26, 0.74)),
        url('../spinlappo-img/spinlappo-card3.webp');
    background-position: center;
    background-size: cover;
    min-height: 423px;
    /* Замените это */
}

.spinlappo-cards-list-item:nth-child(4) {
    background:
        linear-gradient(rgba(48, 38, 26, 0.74), rgba(48, 38, 26, 0.74)),
        url('../spinlappo-img/spinlappo-card4.webp');
    background-position: center;
    background-size: cover;
    min-height: 423px;
    /* Замените это */
}

.spinlappo-list-item-text1,
.spinlappo-list-item-text2,
.spinlappo-list-item-text3,
.spinlappo-list-item-text4 {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 16px;
}

.spinlappo-populargames-witch {
    padding: 0px 20px;
}


/* Стили для текста внутри карточек */
.spinlappo-cards-list-item h3 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
}

.spinlappo-cards-list-item p {
    font-size: 16px;
    line-height: 1.6;
    /* Межстрочный интервал */
    margin-bottom: 0;
    opacity: 0.9;
    /* Делает текст немного менее ярким, чем заголовок */
}

/* --- Адаптивный дизайн --- */
/* Когда ширина экрана меньше 900px, карточки будут складываться в одну колонку. */
@media (max-width: 900px) {
    .spinlappo-cards-list {
        grid-template-columns: 1fr;
        /* Меняем на 1 колонку */
    }
}



.spinlappo-title-about {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 28px;
    line-height: 38px;
    text-transform: uppercase;
    text-align: center;
}

.spinlappo-about-list {
    list-style: disc;
    padding-left: 20px;
}

.spinlappo-about-list2 {
    margin: 0;
}

.spinlappo-about-info-descr-container {
    max-width: 603px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

.spinlappo-about-info-descr-container p {
    font-family: Poppins;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    line-height: 22px;
}

.spinlappo-list_title {
    margin-bottom: 0px !important;
}

.spinlappo-p_container_list {
    margin-top: 0px;
    padding-left: 1em;
    list-style: disc;
}

.spinlappo-text h2 {
    font-family: Poppinsreg;
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    text-align: center;
    text-transform: uppercase;
}

/* Popular Games */

.spinlappo-populargames {
    background: linear-gradient(360deg, #351A57 0%, #161736 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 16px;
}

.spinlappo-populargames-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spinlappo-populargames-list {
    display: flex;
    gap: 35px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.spinlappo-populargames h2 {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    text-transform: uppercase;
    color: #EB731F;
}

.spinlappo-populargames p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
}


.spinlappo-text-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.spinlappo-game-block {
    background: #151635;
    box-shadow: 0px 0px 50px 0px #E2612B7A;
    /* пример */
    width: 100%;
    max-width: 1236px;
    aspect-ratio: 1236 / 600;
    /* сохраняем пропорции */
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 24px;
    margin-top: 80px;
    margin-bottom: 80px;
    padding-bottom: 24px;
}

.spinlappo-game-block img {
    max-width: 390px;
    max-height: 390px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.spinlappo-btn-signup-game {

    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    background: #FF6F40;
    color: #101010;
    padding: 10px 40px;
    border: none;
    text-decoration: none;
    border-radius: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;

}

.spinlappo-populargames .spinlappo-text-game h2 {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 34px;
    line-height: 41px;
    text-align: center;
    text-transform: uppercase;
}

.spinlappo-p_container-list-game {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    justify-content: center;
}

.spinlappo-p_container-list-item-game {
    background: #00000047;
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spinlappo-star {
    background-image: url('../spinlappo-img/spinlappo-icons/star.svg');
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    margin-right: 4px;
}

.spinlappo-list-item-game-descr {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.spinlappo-list-item-game-descr h3 {
    font-family: Poppins;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 5%;
    text-align: center;
}

.spinlappo-list-item-game-descr p {
    font-family: Poppins;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 5%;
    text-align: center;
}

.spinlappo-rating {
    display: flex;
    align-items: center;
    align-items: flex-end;
}

.spinlappo-btn-games {
    font-family: Poppinsreg;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #C64C14 0%, #A21914 100%);
    color: #ffffff;
    padding: 8px 85px;
    border: none;
    text-decoration: none;
    box-shadow: 0px 0px 4px 0px #52110B inset;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
}

.spinlappo-btn-games:hover {
    opacity: 0.7;
    /* эффект затемнения */
}

.spinlappo-btn-games a {
    color: #fff;
    text-decoration: none;
}

/* FAQ */

.spinlappo-faq {
    padding-bottom: 0px;
}

.spinlappo-faq_title {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    text-transform: uppercase;
    color: #FF6F40;
    padding-top: 80px;
    padding-bottom: 50px;
}

/* Стили для каждого элемента (вопрос + ответ) */
.accordion-item {
    transition: all 0.3s ease-in-out;
}

/* Заголовок-кнопка */
.accordion-header {
    background: #151635;
    font-family: Poppins;
    font-weight: 700;
    font-style: Regular;
    font-size: 16px;
    border-radius: 20px;
    width: 100%;
    padding: 25px;
    border: none;
    text-align: left;
    color: #FF6F40;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}



/* Контент (ответ) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-content p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 150%;
    padding: 0px 25px 25px 25px;
}


/* --- СТИЛИ ДЛЯ АКТИВНОГО (ОТКРЫТОГО) СОСТОЯНИЯ --- */

/* Когда элемент активен, применяем рамку и отступы */
.accordion-item.active {
    background: #151635;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* Убираем нижнюю границу у заголовка, когда весь блок в рамке */
.accordion-item.active .accordion-header {
    background: transparent;
    border-bottom: none;
    border-radius: 0px;
    border: none;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
}

/* Показываем контент, устанавливая ему максимальную высоту */
.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Установите значение, достаточное для вашего текста */
}

.accordion-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    /* фиксированная ширина */
    height: 20px;
    /* фиксированная высота */
    margin-left: 20px;
    flex-shrink: 0;
    /* запрещаем сжатие иконки */
}

/* Горизонтальная линия */
.accordion-icon::before,
.accordion-icon::after {
    content: "";
    position: absolute;
    background-color: #ECA100;
    transition: transform 0.3s ease-in-out;
    border-radius: 2px;
    /* чуть скруглим для аккуратности */
}

/* Горизонтальная */
.accordion-icon::before {
    top: 50%;
    left: 10%;
    width: 80%;
    /* делаем адаптивной */
    height: 2px;
    transform: translateY(-50%);
}

/* Вертикальная */
.accordion-icon::after {
    top: 10%;
    left: 50%;
    width: 2px;
    height: 80%;
    /* адаптивная высота */
    transform: translateX(-50%);
}

/* Когда блок открыт — "+" превращается в "-" */
.accordion-item.active .accordion-icon::after {
    transform: scaleY(0);
}

/* Responsible */

.spinlappo-responsible {
    margin: 0;
    background: linear-gradient(180deg, #6E321F 0%, #B75433 100%);

}

.spinlappo-responsible-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 80px 16px;
}

.spinlappo-responsible-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spinlappo-responsible-list h3 {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    text-transform: uppercase;
}

.spinlappo-responsible-list p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
}

.spinlappo-responsible-list img {
    padding-bottom: 10px;
}

/* --- Секция контактов --- */

.spinlappo-contacts {
    padding-top: 40px;
}

.spinlappo-contacts h2 {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 28px;
    line-height: 38px;
    text-align: center;
    padding-bottom: 70px;
}

/* Контейнер для контента внутри секции */
.contact-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 0px 10px;
}

/* --- ИЗМЕНЕНО: Пропорции формы и изображения --- */

/* Обертка для формы (теперь занимает в 2 раза больше места) */
.form-wrapper {
    flex: 2;
    /* Занимает 2 части доступного пространства */
    max-width: 65%;
    /* Добавим ограничение на всякий случай */
}

/* Обертка для изображения (теперь занимает 1 часть) */
.image-wrapper {
    flex: 1;
    /* Занимает 1 часть доступного пространства */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
}

/* --- Стили для полей формы (без изменений) --- */
.form-wrapper input,
.form-wrapper textarea {
    width: 100%;
    padding: 18px 25px;
    margin-bottom: 20px;
    background-color: #E0E0E0;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

.form-wrapper input::placeholder,
.form-wrapper textarea::placeholder {
    color: #555;
    opacity: 1;
}

.form-wrapper textarea {
    resize: none;
}

/* --- Стили для кнопки (без изменений) --- */
.form-wrapper button {
    width: 100%;
    padding: 18px 25px;
    background-color: #E5A00D;
    color: #1c1c1c;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-wrapper button:hover {
    background-color: #d4950c;
}

/* --- Адаптивный дизайн для мобильных устройств (без изменений) --- */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column-reverse;

    }

    .image-wrapper {
        order: -1;
        /* Ставим картинку над формой */

        /* Задаем максимальную ширину для контейнера картинки */
        max-width: 297px;

        /* Делаем так, чтобы контейнер занимал 100% от своей максимальной ширины */
        width: 100%;

        /* Центрируем контейнер и добавляем нижний отступ */
        margin: 0 auto 30px auto;
    }

    /* Сбросим максимальную ширину для мобильных */
    .form-wrapper {
        max-width: 100%;
    }
}


/* Footer */
footer {
    padding: 40px 0;
}

.spinlappo-footer-grid {
    padding: 0px 24px 0px 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.spinlappo-footer-grid h2 {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #FF6F40;
}

.spinlappo-footer-grid p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 30px;
}

.spinlappo-block_1 {
    display: flex;
    gap: 40px;
}

.spinlappo-footer-list {
    list-style: disc !important;
    padding-left: 15px;
}

.spinlappo-links-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0px 16px;
}

.spinlappo-partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin: 0;
    flex-wrap: wrap;
}

.spinlappo-coopyright {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    padding-right: 16px;
    padding-left: 16px;
}

.spinlappo-coopyright a {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    color: #FF6F40;
    text-decoration: none;
}

.spinlappo-coopyright p {
    font-family: Poppinsreg;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 150%;
}

.spinlappo-block_1 div {
    width: 50%;
}

.spinlappo-policy {
    display: flex;
    gap: 56px;
    margin: 0;
}

.hover-opacity:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;

}

.spinlappo-popupauth {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100vw;
    height: 600px;
    z-index: 8;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    align-items: center;
    justify-content: center;
    /*  Центрируем контент по вертикали и горизонтали */
}

.spinlappo-popupauth.active {
    opacity: 1;
    visibility: visible;
}

.spinlappo-popupauth__close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.spinlappo-popupauth__content {
    position: relative;
    z-index: 2;
    background: #303030;
    /*  Темный фон для контента */
    border-radius: 20px;
    padding: 30px;
    width: 600px;
    /*  Фиксированная ширина */
    box-sizing: border-box;
    /*  Чтобы padding не ломал ширину */
    margin: 15px;
    backdrop-filter: blur(10px)
}

.spinlappo-popupauth__item {
    display: none;
}

.spinlappo-popupauth__item.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spinlappo-popupauth_link-forgot {
    font-family: Poppins;
    font-weight: 400;
    font-size: 14px;
    text-decoration: underline;
    text-decoration-style: solid;
    color: #FFFFFFCC;
    margin-bottom: 20px;
}

.spinlappo-popupauth_link-sign-log {
    font-family: Poppinsreg;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-style: solid;
    color: #fff;
}

.button_sign {
    background: transparent;
    border: none;
    cursor: pointer;
}

.spinlappo-popupauth-help {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.spinlappo-popupauth__title {
    font-family: Poppinsreg;
    font-weight: 700;
    font-size: 26px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    /*  Белый цвет для заголовков */
}

.spinlappo-popupauth__form {
    display: flex;
    flex-direction: column;
    width: 72%;
}

.spinlappo-popupauth__input {
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    color: #02101B;
}

.spinlappo-popupauth__button {
    font-family: Poppinsreg;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #C64C14 0%, #A21914 100%);
    color: #ffffff;
    padding: 8px 90px;
    border: none;
    text-decoration: none;
    box-shadow: 0px 0px 4px 0px #52110B inset;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-bottom: 20px;
}

.spinlappo-popupauth__button:hover {
    opacity: 0.8;
}

.tx-16 {
    font-family: Poppinsreg;
    font-size: 16px;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.w100 {
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

.tx-main {
    font-size: 16px;
    color: #fff;
    margin-top: 20px;
}

.status {
    font-family: Poppinsreg;
    border-radius: 30px;
    margin-top: 15px;
    padding: 10px;
    background-color: green;
    display: none
}

.form.active .status {
    display: block
}

.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;
}

.spinlappo-populargames-list a {
    display: block;
    height: max-content;
}

.spinlappo-game-block iframe.game-iframe {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 22px;
}

.container-page {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #2a2a4e;
    border-radius: 8px;
}

.container-page h1,
h2 {
    font-family: Poppins;
    color: #ff6b6b;
    border-bottom: 1px solid #4a4a7e;
    padding-bottom: 10px;
    word-break: break-all;
}

.container-page p {
    font-family: Poppinsreg;
    margin-bottom: 8px;
    font-size: 15px;
}

.container-page a {
    color: #ffb4b4;
}

@media(max-width: 1064px) {
    .spinlappo-p_container-list {
        flex-wrap: wrap;
    }
}

@media(max-width: 983px) {

    .spinlappo-navbar .container {
        margin-bottom: 50px;
    }

    .spinlappo-hero h1 {
        font-size: 32px;
        font-weight: 700;
        line-height: 120%;
    }

    .spinlappo-hero p {
        font-size: 17px;
        font-style: normal;
        max-width: 702px;
    }

    .spinlappo-hero-about h1 {
        font-size: 44px;
        font-weight: 700;
        line-height: 120%;
    }

    .spinlappo-hero-about p {
        font-size: 17px;
        font-style: normal;
        max-width: 702px;
    }


    .spinlappo-about .container {
        flex-wrap: wrap;
        justify-content: center;
    }


    .spinlappo-burger {
        display: block;
        background: none;
        padding: 0;
        border: none;
    }

    .spinlappo-nav {
        display: none;
        /* спрятано по умолчанию */
        flex-direction: column;
        position: absolute;
        top: 55px;
        /* сразу под шапкой */
        right: 0px;
        width: 100%;
        background: linear-gradient(180deg, #19140E 0%, #3D3121 100%);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
        z-index: 1000;
        padding-top: 20px;
        padding-bottom: 20px;
        /* поверх всего */
    }

    .spinlappo-nav a {
        padding: 10px 16px;
    }

    .spinlappo-nav.active {
        display: flex;
        /* показать меню */
    }

    .spinlappo-navbar .container {
        padding: 10px 16px;
    }

    .spinlappo-about-info {
        flex-wrap: wrap;
    }
}

@media(max-width: 665px) {
    .spinlappo-descr_block {
        gap: 16px;
        align-items: stretch;
    }

    .accordion-content p {
        font-size: 12px;
    }

    .spinlappo-navbar .container {
        margin-bottom: 24px;
    }

    .spinlappo-infohero {
        display: flex;
        padding-left: 16px;
    }

    .spinlappo-hero h1 {
        font-size: 18px;
    }

    .spinlappo-hero p {
        font-size: 12px;
        font-style: normal;
    }

    .spinlappo-about {
        padding: 32px 16px;
    }

    .spinlappo-populargames .spinlappo-text-game h2 {
        font-size: 24px;
    }

    .spinlappo-about-info h2 {
        font-size: 24px;
    }

    .spinlappo-about-info-descr-container p {
        font-size: 14px;
    }

    .spinlappo-block_1 {
        display: flex;
        flex-direction: column;
        gap: 76px;
    }

    .spinlappo-block_1 div {
        width: 100%;
    }

    .spinlappo-partners {
        flex-wrap: wrap;
        gap: 30px;
    }

    .spinlappo-coopyright {
        flex-direction: column;
        gap: 30px;
        justify-content: space-between;
    }

    .spinlappo-policy {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
    }

    .spinlappo-hero-about h1 {
        font-size: 37px;
    }

    .spinlappo-text h2 {
        font-size: 24px;
    }

    .spinlappo-p_container-list h3 {
        font-size: 18px;
    }

    .spinlappo-p_container-list-item p {
        font-size: 14px;
    }

    .spinlappo-hero-about p {
        font-size: 15px;
        font-style: normal;
        margin-bottom: 24px;
    }

    .spinlappo-infohero-about {
        padding-bottom: 67px;
        padding-top: 43px;
    }

    .spinlappo-p_container {
        font-size: 15px;
    }

    .spinlappo-footer-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .accordion-header {
        font-size: 15px;
    }


    .faq-accordion {
        margin-bottom: 40px;
    }

    .spinlappo-popupauth__form {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .spinlappo-p_container-list-game {
        display: flex;
        flex-wrap: wrap;
        /* Позволяет карточкам переноситься на новую строку */
        justify-content: center;
        /* Центрирует карточки */
        gap: 12px;
        /* Расстояние между карточками */
        width: 100%;
        /* Контейнер занимает всю доступную ширину */

        align-items: stretch;
    }

    /* === ОСНОВНЫЕ ИЗМЕНЕНИЯ ДЛЯ АДАПТИВНОСТИ КАРТОЧЕК === */
    .spinlappo-p_container-list-item-game {
        background: #00000047;
        backdrop-filter: blur(15px);
        padding: 12px;
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        gap: 12px;

        /* 1. Устанавливаем базовую ширину для двух колонок. */
        /* calc(50% - 20px) = 50% ширины контейнера минус половина gap (40px / 2) */
        flex-basis: calc(50% - 20px);

        /* 2. Позволяем карточкам расти и сжиматься */
        flex-grow: 1;
        flex-shrink: 1;

        /* 3. Ограничиваем максимальную ширину, чтобы на больших экранах они не были слишком широкими */
        max-width: 320px;

        /* 4. Важно для правильного расчета ширины с учетом padding */
        box-sizing: border-box;

        justify-content: space-between;

    }

    /* === ДЕЛАЕМ ИЗОБРАЖЕНИЕ ВНУТРИ КАРТОЧКИ АДАПТИВНЫМ === */
    .spinlappo-p_container-list-item-game img {
        width: 100%;
        height: auto;
        /* Сохраняет пропорции изображения */
        border-radius: 8px;
        /* Небольшое скругление для красоты */
    }

    .spinlappo-star {
        background-image: url('../spinlappo-img/spinlappo-icons/star.svg');
        background-repeat: no-repeat;
        background-size: contain;
        /* Чтобы звезда не обрезалась */
        width: 22px;
        height: 22px;
        margin-right: 4px;
    }

    .spinlappo-list-item-game-descr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        gap: 8px;
    }

    .spinlappo-list-item-game-descr h3 {
        font-family: Poppins;
        font-weight: 500;
        font-size: 20px;
    }

    .spinlappo-list-item-game-descr p {
        font-family: Poppins;
        font-weight: 400;
        font-size: 18px;
    }

    .spinlappo-rating {
        display: flex;
        align-items: center;
    }

    /* === ИЗМЕНЕНИЯ ДЛЯ КНОПКИ === */
    .spinlappo-btn-games {
        font-family: Poppinsreg;
        font-weight: 700;
        font-size: 16px;
        text-transform: uppercase;

        color: #ffffff;

        /* 1. Делаем кнопку на всю ширину карточки */
        width: 100%;
        padding: 12px 20px;
        /* Более сбалансированные отступы */
        text-decoration: none;
        box-sizing: border-box;
        /* Чтобы padding не ломал ширину */
        border-radius: 10px;
        cursor: pointer;
        transition: opacity 0.3s ease;
        text-align: center;
    }

    .spinlappo-about-info {
        padding-left: 16px;
        padding-right: 16px;
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
        border-radius: 16px;
    }

    .spinlappo-faq_title {
        font-size: 18px;
    }

    .spinlappo-populargames h2 {
        font-size: 18px;
    }

    .spinlappo-populargames-container {
        text-align: center;
    }

    .spinlappo-populargames p {
        font-size: 12px;
    }

    .spinlappo-about-container h2 {
        font-size: 18px;
    }

    .spinlappo-about-container p {
        font-size: 12px;
    }

    .hero-container {
        background:
            linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.36)),
            url('../spinlappo-img/spinlappo-hero-mob.webp');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .spinlappo-descr_block {
        padding: 50px 0px;
    }

    .spinlappo-navbar-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .spinlappo-btn-container p {
        font-size: 10px;
    }

    .spinlappo-about-container {
        align-items: center;
        text-align: center;
    }

    .spinlappo-about img {
        max-width: 100%;
        /* чтобы не выходила за пределы контейнера */
        height: auto;
        /* сохраняем пропорции */
        display: block;
        /* убираем лишние нижние отступы */
        border-radius: 12px;
        /* опционально: скругление */
    }

}

@media(max-width: 360px) {
    .spinlappo-about-info {
        background-image: url('../spinlappo-img/spinlappo-about-mob.webp');
        min-height: 790px;
        padding-bottom: 0px;
    }

    .spinlappo-about-info-descr-container p {
        margin-bottom: 10px;
    }

    .spinlappo-navbar .container {
        margin: 0px;
    }

    .spinlappo-popupauth__content {
        padding: 20px;
    }

    .spinlappo-descr_block {
        padding: 34px 0px;
    }

    .spinlappo-about-info h2 {
        line-height: 100%;
        margin-bottom: 20px;
    }

    .spinlappo-navbar .spinlappo-logo {
        font-size: 14px;
    }
}



.policy-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 20px;
}

.policy-section {
    margin-bottom: 45px;
}

/* --- Стили для типографики --- */
.policy-section h2 {
    font-family: 'Poppinsreg', sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
}

.policy-section ul {
    list-style: disc;
    padding-left: 20px;
}

.policy-section li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .policy-section h2 {
        font-size: 16px;
    }
}