* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    background-color: #1f2028;
}

/* 📌 Хедер */
.header {
    background: #000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* 🛠 Равномерное распределение */
    align-items: center; /* 📌 Выровняли элементы по центру */
    gap: 20px;
}

/* 📌 Логотип */
.logo {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo a {
    text-decoration: none;
}

.logo img {
    height: 40px;
}


/* 📌 Логотип */
.logo img {
    height: 60px;
    width: auto;
}

/* 📌 Бургер-меню */
.burger-menu {
    display: flex;
    justify-content: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 20;
    padding-left: 16px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease-in-out;
}

/* 📌 Бургер активный (Крестик) */
.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 📌 Навигация */
.nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
    justify-content: center;
}

.nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #c6ff62;
}

/* 📌 Блок с кнопками */
.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
}

/* 📌 Кнопка поиска */
.search-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* 📌 Кнопки авторизации */
.login-btn, .register-btn {
    border: none;
    padding: 8px 13px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    text-decoration: none;
}

.login-btn {
    background: white;
    color: black;
}

.register-btn {
    background: #c6ff62;
    color: black;
}

.login-btn:hover, .register-btn:hover {
    transform: scale(1.05);
}

/* 📌 Мобильное меню */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    transition: left 0.3s ease-in-out;
    z-index: 15;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav ul li a:hover {
    color: #c6ff62;
}

/* 📌 Активное мобильное меню */
.mobile-nav.active {
    left: 0;
}

/* 📌 🔥 Адаптивность */
@media screen and (max-width: 768px) {
    .header {
        grid-template-columns: 1fr 2fr 1fr;
    }

    .logo {
        display: flex;
        flex-direction: row; /* 📌 Размещаем элементы в одну линию */
        align-items: center; /* 📌 Выравниваем элементы по центру */
        justify-content: flex-start; /* 📌 Центрируем */
        gap: 5px; /* 📌 Отступ между иконками */
        width: 100%; /* 📌 Растягиваем на всю ширину */
        padding: 0;
    }

    .logo img {
        height: 40px; /* 📌 Делаем логотип меньше на мобилках */
        width: auto;
    }

    .nav {
        display: none;
    }

    .burger-menu {
        display: flex;
        justify-content: flex-end;
    }
}

/* 📌 Основной контейнер слайдера */
.custom-slider {
    position: relative;
    width: 100%;
    max-width: 1120px;
    height: 350px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* 📌 Слайд */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center; /* Центрирует по вертикали */
    justify-content: center; /* Центрирует по горизонтали */
    padding: 30px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* 📌 Активный слайд */
.slide.active {
    opacity: 1;
    position: relative;
}

/* 📌 Затемнение фона */
.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* 📌 Контент */
.slide-content {
    position: relative;
    max-width: 600px;
    z-index: 2;
    text-align: center; /* Центрируем контент */
}

.slide-content span {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ddd;
}

/* 📌 Кнопка */
.action-btn {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background: #c6ff62;
    color: rgb(0, 0, 0);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.action-btn:hover {
    background: #c6ff62;
    transform: scale(1.25);
}

/* 📌 Кнопки */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: black;
    border: none;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: #ffcc00;
}

/* 📌 Индикаторы */
.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.dots span.active {
    background: #ffcc00;
}

/* 📌 🔥 Адаптация */
@media screen and (max-width: 768px) {
    .custom-slider {
        height: 280px;
    }

    .slide-content span {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .action-btn {
        font-size: 14px;
        padding: 10px 18px;
    }

    .prev, .next {
        display: none;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .dots span {
        width: 10px;
        height: 10px;
    }
}

.interactive-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 📌 3 в ряд */
    gap: 15px;
    max-width: 1120px;
    margin: 20px auto;
}

.interactive-menu a {
    text-decoration: none;
    color: aliceblue;
}

/* 📌 Карточка */
.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e2126, #2b2e35);
    padding: 22px;
    border-radius: 14px;
    color: white;
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* 📌 Градиентная подсветка при наведении */
.menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: left 0.4s ease-in-out;
}

.menu-item:hover::before {
    left: 100%;
}

/* 📌 Иконка */
.menu-item img {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* 📌 Hover эффект */
.menu-item:hover {
    background: linear-gradient(135deg, #292c33, #3a3d44);
    transform: scale(1.02);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25);
}

.menu-item:hover img {
    transform: rotate(8deg) scale(1.15);
    filter: brightness(1.2);
}

.more-slots {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #ffcc00;
    transition: color 0.3s ease-in-out;
}

/* 📌 🔥 Адаптация для мобильных (по 2 в ряд) */
@media screen and (max-width: 768px) {
    .interactive-menu {
        grid-template-columns: repeat(2, 1fr); /* 📌 2 в ряд на телефонах */
        gap: 12px;
        padding: 10px;
    }

    .menu-item {
        padding: 18px;
        font-size: 16px;
    }

    .menu-item img {
        width: 50px;
    }
}

/* 📌 Основной контейнер */
.top-slots {
    max-width: 1120px;
    margin: 20px auto;
}

/* 📌 Заголовки категорий */
.slot-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 📌 Контейнер сетки */
.slot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* 📌 Автоматическое заполнение */
    gap: 12px;
    padding-bottom: 10px;
}

/* 📌 Карточка слота */
/* 📌 Карточка слота */
.slot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

/* 📌 Изображение слота */
.slot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: filter 0.3s ease-in-out;
}

/* 📌 Название слота */
.slot-title {
    text-align: center;
    font-size: 14px;
    color: white;
    margin-top: 5px;
}

/* 📌 Ссылка "Играть" */
.slot-overlay a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffcc00;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-decoration: none;
}

/* 📌 Эффект наведения */
.slot-item:hover img {
    filter: brightness(50%);
}

.slot-item:hover .slot-overlay a {
    opacity: 1;
}

/* 📌 🔥 Адаптация */
@media screen and (max-width: 768px) {
    .slot-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }

    .slot-title {
        font-size: 12px;
    }

    .slot-overlay a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* 📌 Основной контейнер */
.article-container {
    max-width: 1120px;
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient( #1e2126, #2b2e35);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* 📌 Заголовки */
.article-container h1 {
    font-size: 32px;
    font-weight: bold;
    text-align: start;
    color: #ffcc00;
    margin-bottom: 20px;
}

.article-container h2 {
    font-size: 24px;
    color: #ffcc00;
    margin-top: 20px;
    border-bottom: 2px solid rgba(255, 204, 0, 0.5);
    padding-bottom: 0px;
    margin-bottom: 15px;
}

/* 📌 Основной текст */
.article-container p {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 15px;
}

/* 📌 Изображения */
.article-container img {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

/* 📌 Список преимуществ */
.article-container ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.article-container ul li {
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

/* 📌 Иконка перед каждым пунктом списка */
.article-container ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #00c309;
    font-weight: bold;
}

/* 📌 🔥 Адаптация */
@media screen and (max-width: 768px) {
    .article-container {
        padding: 15px;
    }

    .article-container h1 {
        font-size: 26px;
    }

    .article-container h2 {
        font-size: 20px;
    }

    .article-container p {
        font-size: 14px;
    }

    .article-container ul li {
        font-size: 14px;
    }
}

/* 📌 Основной контейнер футера */
.footer {
    background: #000;
    color: white;
    padding: 20px 0;
    font-size: 14px;
    margin: auto;
}

/* 📌 Верхний блок футера */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 15px;
}

/* 📌 Колонки футера */
.footer-column {
    width: 30%;
}

.footer-column h3 {
    color: #c6ff62;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #bbb;
    transition: color 0.3s ease-in-out;
}

.footer-column ul li a:hover {
    color: #ffcc00;
}

/* 📌 Способы оплаты */
.footer-payments {
    text-align: start;
    margin: 20px 0;
    padding: 15px;
}

.payment-icons {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.payment-icons img {
    height: 35px;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

.payment-icons img:hover {
    opacity: 1;
}

/* 📌 Социальные сети */
.footer-social {
    text-align: start;
    padding: 15px;
}

.social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;

}

.social-icons a img {
    width: 35px;
    transition: transform 0.3s ease-in-out;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

/* 📌 Нижняя часть футера */
.footer-bottom {
    text-align: start;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 20px;
    font-size: 12px;
    color: #bbb;
    padding: 15px;
}

.footer-age {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.footer-age img {
    width: 40px;
}

/* 📌 🔥 Адаптация */
@media screen and (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-icons {
        flex-wrap: wrap;
    }

    .top-slots h3 {
        padding: 15px;
    }

    .footer-social {
        justify-content: center;
        text-align: center;
    }

    .social-icons {
        margin-top: 15px;
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

.article-container h3 {
    font-size: 20px;
    color: #ffcc00;
}

/* 📌 Основной контейнер */
feedback {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: left;
}

/* 📌 Заголовок */
feedback > h2 {
    color: #ffcc00;
    font-size: 24px;
    margin-bottom: 20px;
}

/* 📌 Список отзывов */
feedback > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

feedback blockquote {
    background: linear-gradient(309deg, #1a1d24, #000);
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    color: #ddd;
    position: relative;
    text-align: left;
}

feedback blockquote p {
    font-size: 16px;
    margin-bottom: 8px;
}

feedback blockquote footer {
    font-size: 14px;
    color: #ffcc00;
    text-align: right;
}

/* 📌 Форма оставления отзыва */
feedback > form {
    margin-top: 20px;
    padding: 20px;
    background: #000;
    border-radius: 8px;
    text-align: left;
}

feedback > form h3 {
    color: #ffcc00;
    font-size: 20px;
    margin-bottom: 15px;
}

feedback > form label {
    font-size: 14px;
    color: #ddd;
}

feedback > form input,
feedback > form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    background: #292c33;
    color: white;
    font-size: 14px;
}

feedback > form textarea {
    height: 100px;
    resize: none;
}

/* 📌 Ссылка "Оставить отзыв" */
feedback > a:last-of-type {
    display: block;
    margin: 15px auto 0; /* Центрируем кнопку */
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background: #c6ff62;
    color: rgb(0, 0, 0);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    width: fit-content; /* Автоширина */
}

feedback > a:last-of-type:hover {
    background: #c6ff62;
    transform: scale(1.05);
}


/* 📌 🔥 Адаптация */
@media screen and (max-width: 768px) {
    feedback > div {
        grid-template-columns: 1fr;
    }

    .more-slots {
        padding: 15px;
    }
}

/* 📌 Основной контейнер */
figure {
    width: 100%;
    margin: 40px auto;
    background: #000;
    padding: 20px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* 📌 Заголовок таблицы */
figcaption {
    font-size: 22px;
    font-weight: bold;
    text-align: s;
    color: #ffcc00;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 204, 0, 0.5);
    padding-bottom: 8px;
}

/* 📌 Таблица */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

/* 📌 Строки */
tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tr:last-child {
    border-bottom: none;
}

/* 📌 Ячейки */
td {
    padding: 12px;
    font-size: 16px;
    color: white;
}

/* 📌 Левая колонка (иконки + текст) */
td:first-child {
    font-weight: bold;
    color: #ffcc00;
    width: 40%;
}

/* 📌 Чередование строк */
tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

/* 📌 Ссылки */
td a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

td a:hover {
    text-decoration: underline;
}

/* 📌 🔥 Адаптация */
@media screen and (max-width: 768px) {
    figure {
        padding: 15px;
    }

    td {
        font-size: 14px;
        padding: 10px;
    }

    figcaption {
        font-size: 18px;
    }

    .footer-payments {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;

    }
}

