@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Montserrat:wght@500;600;700&display=swap');

/* БАЗА */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden; /* убираем белую полосу справа */
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #111827;
    background-color: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #5594d7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin: 0 0 15px;
}

.section-heading.gradient {
    background: linear-gradient(270deg, #F2AA37 25%, #AEBAE0 55%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 15px;
    color: #4b5563;
    text-align: center;
}

/* КНОПКИ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #173343;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1e4257;
    text-decoration: none;
}

.btn-secondary {
    background-color: #00cb99;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #05b388;
    text-decoration: none;
}

/* ОБЩИЙ ВЕРХНИЙ ГРАДИЕНТ (полоса + хедер + hero) */

.top-gradient-wrap {
    background: linear-gradient(180deg, #DBE4FE 0%, #FFFFFF 85%);
}

/* 1. ВЕРХНЯЯ ПОЛОСА */

.top-promo-bar {
    width: 100%;
    background-image: url('https://bonanzaluck.site/img/Secondary-Bar-BG.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.top-promo-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    text-align: center;
}

.top-promo-badge {
    background-color: #ffffff;
    color: #000000;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.top-promo-text {
    font-weight: 500;
}

.top-promo-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

.top-promo-link:hover {
    text-decoration: none;
}

@media (max-width: 576px) {
    .top-promo-inner {
        flex-wrap: wrap;
    }
}

/* 2. HEADER */

.site-header {
    padding: 18px 0 24px;
    position: relative;
    z-index: 50;
}

/* Верхняя полоска хедера: соцсети слева, ссылки справа */

.header-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 4px;
    font-size: 13px;
    color: #4b5563;
}

.header-top-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-social a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-top-social a i {
    font-size: 14px;
}

.header-top-social a:hover {
    background: #173343;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

.header-top-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-top-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    white-space: nowrap;
}

.header-top-links a:hover {
    color: #5594d7;
}

/* Адаптация верхней полоски на мобильных */
@media (max-width: 576px) {
    .header-top-bar {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        font-size: 12px;
    }

    .header-top-links {
        gap: 10px;
    }

    .header-top-links a {
        font-size: 11px;
    }
}


.header-box {
    background: #ffffff;
    border-radius: 999px;
    padding: 8px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #111827;
}

.nav-list a:hover {
    color: #5594d7;
}

/* Кнопка входа — круглая иконка */

.header-auth-btn {
    background-color: #0E1758BD;
    color: #ffffff;
    border-radius: 999px;
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 0;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.25s, transform 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-auth-btn i {
    font-size: 18px;
}

.header-auth-btn:hover {
    background-color: #0E1758;
    transform: translateY(-1px);
}

/* Мобильная адаптация хедера */

@media (max-width: 768px) {
    .site-header {
        padding: 12px 0 16px;
    }

    .header-box {
        padding: 6px 14px;
        gap: 12px;
    }

    .site-logo {
        flex-shrink: 0;
    }

    .site-logo img {
        height: 32px;
    }

    .main-nav {
        gap: 10px;
    }

    .header-auth-btn {
        width: 36px;
        height: 36px;
    }
}

/* Мобильное меню */

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background-color: #111827;
    border-radius: 999px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .main-nav {
        gap: 12px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 20px 16px;
        border-bottom: 1px solid #e5e7eb;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
        z-index: 40;
    }

    .nav-list--open {
        max-height: 260px;
        opacity: 1;
        visibility: visible;
    }
}

/* 3. HERO */

.hero-section {
    padding: 40px 0 30px;
    background: transparent;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1 1 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #EDEFFF;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
}

.hero-kicker i {
    color: #F2AA37;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    margin: 18px 0 8px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 14px;
    background: linear-gradient(270deg, #F2AA37 25%, #AEBAE0 55%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    font-size: 15px;
    color: #4b5563;
    max-width: 520px;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-note {
    margin-top: 10px;
    font-size: 11px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-note i {
    color: #F59E0B;
    font-size: 13px;
}

.hero-media {
    flex: 0 0 520px;
    max-width: 520px;
    position: relative;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: -30px;
    background-image: url('https://merketingsales.ru/wp-content/uploads/2021/11/Blob.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    animation: heroFloat 5s ease-in-out infinite alternate;
}

@keyframes heroFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-media {
        align-self: center;
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 22px; }
}

/* 4. ПАДАЮЩИЕ ШАРЫ + КНОПКИ */

.falling-section {
    position: relative;
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/circle1.svg');
    background-repeat: no-repeat;
    background-position: 60% 15%;
    background-size: 260px auto;
}

.falling-circles-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .falling-circles-wrapper {
        padding: 0 10px;
    }
}

#falling-circles {
    width: 100%;
    height: 360px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

#buttons-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

#buttons-container::-webkit-scrollbar {
    height: 6px;
}

#buttons-container::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.8);
    border-radius: 999px;
}

.button {
    width: 220px;
    height: 54px;
    background: linear-gradient(145deg, #252946, #225469);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, transform 0.3s;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .button {
        width: 160px;
        height: auto;
        min-height: 46px;
        font-size: 14px;
        padding: 8px 12px;
        white-space: normal;
        text-align: center;
    }
}

.button:hover {
    transform: translateY(0) scale(1.05);
    z-index: 10;
    color: white !important;
}

.button.visible {
    opacity: 1;
    transform: translateY(0);
}

.button.visible:hover {
    transform: scale(1.05);
}

.circle {
    width: 96px;
    height: 96px;
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 1;
    padding: 3px;
    background: #5594d7;
}

@media (max-width: 768px) {
    .circle {
        width: 72px;
        height: 72px;
        padding: 2px;
    }
}

.circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transform-origin: center;
    display: block;
}

.circle:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* 5. БОЛЬШАЯ КАРУСЕЛЬ БОНУСОВ */

.bonus-carousel-section {
    position: relative;
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/path4514-4.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 650px auto;
    padding-top: 40px;
    padding-bottom: 60px;
}

.bonus-section-header {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.bonus-section-header::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    border-radius: 999px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, #06C89D, #4E98D2);
}

.bonus-block-new {
    width: 200px;
    height: 270px;
    background: linear-gradient(145deg, #252946, #225469);
    border-radius: 15px;
    position: relative;
    border: 1px solid #5594d7;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    padding-bottom: 25px;
    margin: 50px 10px 10px 10px;
}

.circle-container-new {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #5594d7;
    background: white;
}

.circle-container-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars-wrapper-new {
    margin-top: 60px;
    display: flex;
    gap: 5px;
    align-items: center;
    height: 16px;
}

.star-new {
    color: #00cb99;
    font-size: 16px;
    line-height: 1;
}

.star-half-new {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block;
}

.star-half-new::before {
    content: '\f089';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #00cb99;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    line-height: 1;
}

.star-half-new::after {
    content: '\f005';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #00cb99;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    line-height: 1;
}

.bonus-text-new {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
}

.freespins-text-new {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.get-bonus-btn-new {
    background: linear-gradient(90deg, #00cb99, #5594d7);
    color: white;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 20px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.get-bonus-btn-new:hover {
    background: linear-gradient(90deg, #5594d7, #00cb99);
    transform: translateY(-2px);
    color: white !important;
}

.new-bonus-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.new-bonus-carousel-wrapper {
    overflow: hidden;
    margin: 0 auto;
    padding: 0 10px;
}

.new-bonus-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 0 10px;
    will-change: transform;
}

.new-bonus-carousel-item {
    flex: 0 0 220px;
    min-width: 220px;
    box-sizing: border-box;
    padding: 0 10px;
}

.new-bonus-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(85, 148, 215, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.new-bonus-carousel-arrow:hover {
    background: rgba(0, 203, 153, 0.8);
}

.new-bonus-prev {
    left: 0;
}

.new-bonus-next {
    right: 0;
}

@media (max-width: 1600px) {
    .new-bonus-carousel-container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .new-bonus-carousel-container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .new-bonus-carousel-container {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .new-bonus-carousel-container {
        max-width: 600px;
        padding: 0 30px;
    }

    .bonus-block-new {
        width: 180px;
        height: 250px;
    }

    .new-bonus-carousel-item {
        flex: 0 0 200px;
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .new-bonus-carousel-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .bonus-block-new {
        width: 160px;
        height: 230px;
    }

    .new-bonus-carousel-item {
        flex: 0 0 180px;
        min-width: 180px;
    }
}

/* 6. РЕЙТИНГИ | ПРОМОКОДЫ | БОНУСЫ */

.rating-promo-section {
    width: 100%;
    padding: 70px 0 110px;
    background: linear-gradient(135deg, #DAD0FF 0%, #D8FFD8 60%, #FFFFFF 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}

.rating-promo-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.rating-promo-text {
    flex: 1 1 280px;
    margin-top: 40px;
}

.rating-promo-kicker {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.rating-promo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.rating-promo-desc {
    font-size: 15px;
    color: #374151;
    margin: 0 0 20px;
    max-width: 520px;
}

.rating-promo-btn {
    background: linear-gradient(90deg, #06C89D, #4E98D2);
    color: #ffffff;
}

.rating-promo-btn:hover {
    opacity: 0.95;
}

.rating-promo-slider {
    flex: 1 1 360px;
}

/* Слайдер рейтингов казино (ПК стили) */

.slider-container {
    position: relative;
    max-width: 670px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(85, 148, 215, 0.8);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-button:hover {
    background: rgba(0, 203, 153, 0.8);
}

.prev-button {
    left: -50px;
}

.next-button {
    right: -50px;
}

.slider-container:hover .prev-button {
    left: 10px;
}

.slider-container:hover .next-button {
    right: 10px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5594d7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #00cb99;
    transform: scale(1.2);
}

/* Карточка рейтинга */

.casino-rating-block-unique {
    position: relative;
    width: 670px;
    height: 340px;
    background: linear-gradient(145deg, #252946, #225469);
    border-radius: 20px;
    border: 1px solid #5594d7;
    margin: 52px 0 0 0;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 5px 15px rgba(37, 41, 70, 0.3);
}

.casino-logo-circle-unique {
    position: absolute;
    top: -52px;
    left: 20px;
    width: 104px;
    height: 104px;
    background: white;
    border-radius: 50%;
    border: 2px solid #5594d7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(203, 205, 220, 0.3);
}

.casino-logo-circle-unique img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars-container {
    position: absolute;
    top: 60px;
    left: 8px;
    width: 108px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 16px;
    gap: 2px;
    padding: 0;
    box-sizing: border-box;
}

.star {
    color: #00cb99;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.star-half {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1;
    height: 16px;
    margin: 0;
    padding: 0;
}

.star-half:before {
    content: '\f089';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #00cb99;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.star-half:after {
    content: '\f005';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #00cb99;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.rating-text-unique {
    position: absolute;
    top: 20px;
    left: 140px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-container-unique {
    background: linear-gradient(180deg, #5594d7 0%, #225469 100%);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    width: 90%;
    box-shadow: 0 3px 10px rgba(37, 41, 70, 0.2);
}

.bonus-wrapper-unique {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bonus-text-unique {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    padding-right: 15px;
}

.get-bonus-button-unique {
    font-family: 'Montserrat', sans-serif;
    background: #00cb99;
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: 2px dashed #cbcddc;
    outline-offset: 2px;
}

.get-bonus-button-unique:hover {
    background: #5594d7;
    transform: translateY(-2px);
    color: #ffffff;
}

.additional-buttons-unique {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 90%;
    margin-bottom: 15px;
}

.play-now-button-unique,
.review-button-unique {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    color: #ffffff;
}

.play-now-button-unique {
    background: linear-gradient(90deg, #00cb99, #5594d7);
    border: 1px solid #00cb99;
}

.review-button-unique {
    background: linear-gradient(90deg, #252946, #225469);
    border: 1px solid #5594d7;
}

.play-now-button-unique:hover {
    background: linear-gradient(90deg, #5594d7, #00cb99);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 203, 153, 0.2);
}

.review-button-unique:hover {
    background: linear-gradient(90deg, #225469, #252946);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(85, 148, 215, 0.2);
}

.features-container-unique {
    position: absolute;
    bottom: 30px;
    left: 20px;
    display: flex;
    gap: 20px;
}

.feature-block-unique {
    width: 92px;
    height: 150px;
    border: 1px solid #5594d7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 15px 5px;
    background: linear-gradient(145deg, rgba(85, 148, 215, 0.1), rgba(37, 41, 70, 0.3));
    backdrop-filter: blur(5px);
}

.feature-icon-unique {
    color: #00cb99;
    font-size: 24px;
    margin-top: 20px;
}

.feature-text-unique {
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
    position: absolute;
    bottom: 15px;
    left: 5px;
    right: 5px;
    word-wrap: break-word;
    hyphens: auto;
}

.additional-features-unique {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    left: 380px;
    bottom: 30px;
}

.additional-block-unique {
    width: 256px;
    height: 43px;
    border: 1px solid #5594d7;
    border-radius: 10px;
    padding: 5px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(85, 148, 215, 0.1), rgba(37, 41, 70, 0.3));
    backdrop-filter: blur(5px);
}

.block-text-unique {
    color: #ffffff;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.block-icons-unique {
    display: flex;
    gap: 12px;
    align-items: center;
}

.block-icons-unique i {
    color: #00cb99;
    font-size: 16px;
}

.license-text {
    color: #ffffff;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 700px) {
    .casino-rating-block-unique {
        width: 90%;
        height: auto;
        min-height: 340px;
        margin: 60px auto 0;
        padding-bottom: 20px;
    }

    .rating-text-unique {
        left: 20px;
        top: 60px;
        position: relative;
    }

    .casino-logo-circle-unique {
        left: 50%;
        transform: translateX(-50%);
    }

    .stars-container {
        left: 50%;
        transform: translateX(-50%);
    }

    .bonus-wrapper-unique {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .bonus-text-unique {
        padding-right: 0;
        margin-bottom: 10px;
    }

    .additional-buttons-unique {
        flex-direction: column;
        width: 100%;
    }

    .play-now-button-unique,
    .review-button-unique {
        width: 100%;
        margin: 5px 0;
    }

    .features-container-unique {
        position: relative;
        left: 0;
        justify-content: center;
        margin-top: 40px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .additional-features-unique {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 15px;
        align-items: center;
    }

    .additional-block-unique {
        width: 90%;
        max-width: 256px;
        margin: 0 auto;
    }
}

/* Скрываем слайдер рейтингов на мобильных */

@media (max-width: 768px) {
    .rating-promo-section {
        padding: 40px 0 60px;
        clip-path: none;
    }

    .rating-promo-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-promo-text {
        margin-top: 0;
    }

    .rating-promo-slider {
        display: none;
    }
}

/* 7. МАКСИМАЛЬНАЯ ВЫГОДА + КАРУСЕЛЬ + ПОДПИСКА */

.max-benefit-section {
    width: 100%;
    background: linear-gradient(130deg, #2D3140 0%, #19272C 100%);
    padding-bottom: 10px; /* почти убираем "хвост" под формой */
}


.max-benefit-top {
    background: #ffffff;
    border-bottom-left-radius: 50% 18%;
    border-bottom-right-radius: 50% 18%;
    padding: 50px 0 60px;
}

.max-benefit-header {
    text-align: center;
    margin-bottom: 30px;
}

.max-benefit-header .section-heading {
    background: linear-gradient(270deg, #F2AA37, #AEBAE0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.max-benefit-header .section-subtitle {
    margin-top: 10px;
}

.max-benefit-carousel {
    margin-top: 20px;
}

/* Мини-карусель */

.bonus-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.bonus-carousel-wrapper {
    overflow: hidden;
    margin: 0 auto;
}

.bonus-carousel-track {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease;
}

.bonus-carousel-item {
    flex: 0 0 100px;
    min-width: 100px;
    box-sizing: border-box;
}

.bonus-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(85, 148, 215, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.bonus-carousel-arrow:hover {
    background: rgba(0, 203, 153, 0.8);
}

.bonus-prev {
    left: 0;
}

.bonus-next {
    right: 0;
}

/* Блоки мини-бонусов */

.bonus-block {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-block:hover {
    transform: translateY(-2px);
}

.bonus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonus-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, rgba(37, 41, 70, 0.9), rgba(34, 84, 105, 0.9));
    color: white;
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Обводки (как в оригинале) */

.border-purple { border: 3px solid #5594d7; }
.border-blue { border: 3px solid #00cb99; }
.border-green { border: 3px solid #5594d7; }
.border-red { border: 3px solid #00cb99; }
.border-orange { border: 3px solid #5594d7; }
.border-pink { border: 3px solid #00cb99; }
.border-cyan { border: 3px solid #5594d7; }
.border-yellow { border: 3px solid #00cb99; }
.border-lime { border: 3px solid #5594d7; }
.border-teal { border: 3px solid #00cb99; }
.border-indigo { border: 3px solid #5594d7; }
.border-violet { border: 3px solid #00cb99; }
.border-magenta { border: 3px solid #5594d7; }
.border-brown { border: 3px solid #00cb99; }
.border-gray { border: 3px solid #5594d7; }

/* Подписка */

.subscribe-wrapper {
    margin-top: 60px;
    margin-bottom: 0;
}

.subscribe-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(145deg, #252946, #225469);
    border-radius: 20px;
    border: 1px solid #5594d7;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(37, 41, 70, 0.3);
}

.subscribe-image {
    flex: 0 0 250px;
}

.subscribe-image img {
    width: 100%;
    height: auto;
    border-radius: 0%;
}

.subscribe-content {
    flex: 1;
}

.subscribe-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.subscribe-description {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.terms-text {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.4;
}

.terms-text a {
    color: #00cb99;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-text a:hover {
    color: #5594d7;
    text-decoration: underline;
}

.subscription-form {
    flex: 0 0 340px;
}

.subscription-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 5px 5px 5px 15px;
    border: 1px solid #5594d7;
    margin-bottom: 20px;
}

.email-input-wrapper i {
    color: #5594d7;
    margin-right: 8px;
}

.input-separator {
    width: 1px;
    height: 20px;
    background: #5594d7;
    margin: 0 8px;
}

.email-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #252946;
    background: transparent;
}

.email-input::placeholder {
    color: #999;
}

.subscribe-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #00cb99;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-button i {
    color: white;
    font-size: 16px;
}

.subscribe-button:hover {
    background: #5594d7;
    transform: scale(1.05);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-input {
    margin-top: 3px;
}

.checkbox-text {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    opacity: 0.8;
}

.telegram-button {
    width: 100%;
    background: #229ED9;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.telegram-button:hover {
    background: #1d8abf;
    transform: translateY(-2px);
}

.telegram-button i {
    color: white;
    font-size: 20px;
    margin-right: 10px;
}

.telegram-button span {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .subscribe-block {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .subscribe-image {
        margin: 0 auto;
    }

    .subscribe-content {
        text-align: center;
    }

    .subscription-form {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .subscribe-block {
        padding: 24px 16px 10px;  /* сверху 24, по бокам 16, снизу 10 */
        gap: 20px;
    }


    .subscribe-image {
        flex: 0 0 auto;
        width: 60%;
        max-width: 220px;
    }

    .telegram-button {
        margin-top: 12px;
    }

    /* убираем лишний отступ под формой */
    .subscription-form {
        margin-bottom: 0;
    }
}


/* 8. ЛУЧШИЕ СЛОТЫ */

.slots-section {
    padding: 60px 0;
    position: relative;
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/path4514-4.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 700px auto;
}

/* Декоративные картинки слева/справа от блока слотов */

/* Декоративные картинки слева/справа от блока слотов */

.slots-section::before,
.slots-section::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

/* Левая картинка (444.png) — ближе к карточкам */
.slots-section::before {
    left: 100px;                 /* ближе к контейнеру слотов */
    top: 55%;
    transform: translateY(-50%);
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/444.png');
    animation: slotsFloatLeft 7s ease-in-out infinite alternate;
}

/* Правая картинка (1-1.png) — ближе к карточкам */
.slots-section::after {
    right: 100px;                /* ближе к контейнеру слотов */
    top: 40%;
    transform: translateY(-50%);
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/1-1.png');
    animation: slotsFloatRight 6s ease-in-out infinite alternate;
}

/* Анимация плавного вертикального движения */

@keyframes slotsFloatLeft {
    0%   { transform: translateY(-55%); }
    100% { transform: translateY(-45%); }
}

@keyframes slotsFloatRight {
    0%   { transform: translateY(-45%); }
    100% { transform: translateY(-55%); }
}

/* Чтобы карточки слотов были поверх картинок */

.slots-widget-wrapper,
.slots-section .container {
    position: relative;
    z-index: 1;
}

/* На мобильных убираем декоративные картинки совсем */

@media (max-width: 768px) {
    .slots-section::before,
    .slots-section::after {
        display: none;
    }
}


.slots-section .section-heading,
.slots-section .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.slots-widget-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.slots-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* вместо center, чтобы ровно становились 4 в ряд */
}

/* Базовый размер карточки: чуть шире, но компактно помещаются 4 в ряд */
.slot-block {
    flex: 0 0 260px;
    max-width: 260px;
    background: linear-gradient(145deg, #252946, #225469);
    border-radius: 15px;
    border: 1px solid #5594d7;
    padding: 15px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 41, 70, 0.3);
    text-decoration: none;
}

.slot-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 41, 70, 0.4);
}

.slot-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.slot-block:hover .slot-hover-overlay {
    opacity: 1;
}

.click-icon {
    color: white;
    font-size: 40px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.slot-rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(2px);
    z-index: 3;
}

.slot-rating-badge i {
    color: #00ff99;
    font-size: 16px;
}

.slot-rating-badge span {
    color: #00ff99;
    font-weight: 700;
    font-size: 14px;
}

.slot-thumb {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.slot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slot-block:hover .slot-thumb img {
    transform: scale(1.05);
}

.slot-info {
    margin-bottom: 15px;
}

.slot-title {
    color: white;
    font-size: 18px;
    text-align: center;
    margin: 0 0 5px;
    font-weight: 600;
}

.slot-meta {
    background: rgba(85, 148, 215, 0.1);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(85, 148, 215, 0.2);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-bottom: 8px;
    font-size: 14px;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    color: #00cb99;
    width: 20px;
    text-align: center;
}

.slots-cta {
    margin-top: 24px;
    text-align: center;
}

/* На ширине до ~1200px — 3 карточки в ряд */
@media (max-width: 1200px) {
    .slot-block {
        flex: 0 0 calc(33.33% - 15px);
        max-width: calc(33.33% - 15px);
    }
}

/* До 768px — по 2 карточки */
@media (max-width: 768px) {
    .slot-block {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

    .slot-thumb {
        height: 160px;
    }

    .slot-title {
        font-size: 16px;
    }

    .meta-item {
        font-size: 12px;
    }
}

/* На совсем узком экране — по 1 карточке */
@media (max-width: 480px) {
    .slot-block {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

    .slots-widget-wrapper {
        padding: 10px;
    }
}

/* 9. ОТЗЫВЫ И ЖАЛОБЫ — фон пирамида + стопка карточек */

.reviews-section {
    padding: 80px 0 90px;
    background: linear-gradient(140deg, #ECE9FF 0%, #E0F7FF 55%, #FFFFFF 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    position: relative;
}

.reviews-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.reviews-text-col {
    flex: 1 1 300px;
}

.reviews-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px;
}

.reviews-desc {
    font-size: 15px;
    color: #4b5563;
    margin: 0 0 20px;
}

.reviews-btn {
    background: linear-gradient(90deg, #06C89D, #4E98D2);
    color: #ffffff;
}

.reviews-btn:hover {
    opacity: 0.95;
}

/* слайдер */

.reviews-slider-col {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
}

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-slider-viewport {
    position: relative;
    width: 670px;
    max-width: 100%;
}

/* Карточки: одна активная, эффект стопки через псевдоэлементы */

.reviews-card {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 670px;
    min-height: 390px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
    border: 1px solid #E5E7EB;
    overflow: visible;
    display: none;
}

.reviews-card.is-active {
    display: block;
}

/* Эффект стопки карточек */

.reviews-card.is-active::before,
.reviews-card.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    z-index: -1;
}

.reviews-card.is-active::before {
    transform: translate(10px, 12px);
    opacity: 0.7;
}

.reviews-card.is-active::after {
    transform: translate(20px, 24px);
    opacity: 0.4;
}

/* Верхняя картинка */

.reviews-card-top {
    position: absolute;
    top: -22px;
    left: 24px;
    width: 140px;
    height: 65px;
    z-index: 4;
}

.reviews-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    animation: reviewFloat 5s ease-in-out infinite alternate;
}

@keyframes reviewFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

/* Контент карточки */

.reviews-card-body {
    /* убрали position: relative, чтобы логотип цеплялся к .reviews-card */
    box-sizing: border-box;
    padding: 70px 40px 40px;   /* нормальный отступ снизу */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.reviews-card-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.reviews-card-stars i {
    color: #FBBF24;
}

.reviews-card-text {
    font-size: 14px;
    color: #111827;
    margin: 0 0 18px;
    max-width: 540px;
}

.reviews-card-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.reviews-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-user-avatar i {
    color: #6b7280;
    font-size: 18px;
}

.reviews-user-data {
    display: flex;
    flex-direction: column;
}

.reviews-user-name {
    font-weight: 600;
    font-size: 14px;
}

.reviews-user-meta {
    font-size: 12px;
    color: #6b7280;
}

/* Логотип казино внизу */

.reviews-card-logo {
    position: absolute;
    left: 50%;
    bottom: 20px;              /* отступ от низа карточки */
    transform: translateX(-50%);
}

.reviews-card-logo img {
    max-height: 60px;
    width: auto;
}



/* Навигация */

.reviews-nav {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: #E5E7EB;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.reviews-nav i {
    font-size: 14px;
}

.reviews-nav:hover {
    background: #4E98D2;
    color: #ffffff;
    transform: translateY(-1px);
}

.reviews-nav:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

/* Мобильная адаптация отзывов */

@media (max-width: 768px) {
    .reviews-section {
        clip-path: none;
        padding: 50px 0 60px;
    }

    .reviews-inner {
        flex-direction: column;
    }

    .reviews-slider {
        width: 100%;
        justify-content: center;
    }

    .reviews-slider-viewport {
        width: 100%;
    }

    .reviews-card {
        max-width: 100%;
    }

     .reviews-card-body {
        padding: 70px 16px 40px;  /* нормальный отступ снизу на мобиле */
    }

}

@media (max-width: 576px) {
    .reviews-card-top {
        top: -18px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 56px;
    }

    .reviews-card-text {
        font-size: 13px;
        max-width: 100%;
    }

    .reviews-card-logo img {
        max-height: 48px;
    }
}

/* 10. СЕТКА ПРОВАЙДЕРОВ */

.providers-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Заголовок блока провайдеров */

.providers-header {
    text-align: center;
    margin-bottom: 10px;
}

.providers-header .section-heading {
    margin-bottom: 8px;
}

.providers-header .section-subtitle {
    margin-bottom: 0;
}


.providers-section::before,
.providers-section::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/shape-4.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

/* ближе к сетке провайдеров */
.providers-section::before {
    left: 80px;
    top: 30%;
}

.providers-section::after {
    right: 80px;
    bottom: 18%;
}

.providers-section .grid-container {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-bottom: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(8, minmax(120px, 1fr));
    grid-template-rows: repeat(4, 85px);
    gap: 15px;
    justify-content: center;
    padding: 20px;
    perspective: 1000px;
    margin: 0 auto;
    max-width: 1400px;
    background: transparent;
}

.grid-item {
    position: relative;
}

.grid-item a {
    position: relative;
    height: 85px;
    background: linear-gradient(145deg, #252946, #225469);
    border-radius: 10px;
    border: 1px solid #5594d7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    text-decoration: none;
    width: 100%;
}

.grid-item img {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.grid-item a:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(85, 148, 215, 0.3);
    border-color: #00cb99;
    z-index: 1;
}

.grid-item a:hover img {
    transform: scale(1.1);
}

.grid-item a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 203, 153, 0);
    transition: all 0.3s ease;
}

.grid-item a:hover::after {
    box-shadow: 0 0 15px rgba(0, 203, 153, 0.5);
}

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(6, minmax(120px, 1fr));
        grid-template-rows: repeat(6, 85px);
    }
}

@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
        grid-template-rows: repeat(8, 85px);
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
        grid-template-rows: repeat(11, 85px);
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        grid-template-rows: repeat(16, 85px);
        gap: 10px;
    }
}

/* Сокращаем сетку провайдеров на мобильных: показываем только первые 4 ряда */

.providers-grid.providers-grid--collapsed {
    /* по умолчанию на десктопе класс есть, но не ограничивает высоту */
}

@media (max-width: 768px) {
    .providers-grid.providers-grid--collapsed {
        max-height: 380px; /* ~4 ряда по 85px + отступы */
        overflow: hidden;
    }

    .providers-toggle-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .providers-toggle {
        padding: 8px 18px;
        border-radius: 999px;
        border: 1px solid #5594d7;
        background: #ffffff;
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: #111827;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .providers-toggle:hover {
        background: #5594d7;
        color: #ffffff;
        border-color: #5594d7;
    }
}

@media (min-width: 769px) {
    .providers-toggle-wrapper {
        display: none;
    }

    .providers-grid {
        max-height: none !important;
        overflow: visible !important;
    }
}


@media (max-width: 400px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(32, 85px);
        gap: 10px;
    }
}

/* 11. FAQ */

.faq-section {
    padding: 60px 0 80px;
    background: #F9FAFB;
}

.faq-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 40px;
    align-items: center;
}

.faq-left {
    position: relative;
    min-height: 220px;
    padding: 20px 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.faq-left::before {
    content: '';
    position: absolute;
    left: -120px;
    top: 10%;
    width: 260px;
    height: 260px;
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/path4514-4.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    opacity: 0.8;
    pointer-events: none;
}

.faq-left::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 220px;
    height: 220px;
    background-image: url('https://merketingsales.ru/wp-content/uploads/2025/03/task.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.9;
    pointer-events: none;
}

.faq-oval {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #EDEFFF;
    max-width: 260px;
    position: relative;
    z-index: 1;
}

.faq-oval span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    text-align: center;
    white-space: nowrap;
}

.faq-main-text {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.faq-right {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 12px;
}

.faq-question-text {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b7280;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-toggle-icon i {
    pointer-events: none;
}

.faq-item.open .faq-toggle-icon {
    background: #EDEFFF;
    color: #111827;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-answer-inner {
    padding-bottom: 12px;
    font-size: 14px;
    color: #4b5563;
}

@media (max-width: 900px) {
    .faq-inner {
        grid-template-columns: 1fr;
    }

    .faq-left {
        order: 0;
    }

    .faq-right {
        order: 1;
    }
}

/* Плавающая кнопка меню */

.floating-menu-btn {
    position: fixed;
    right: 16px;
    bottom: 72px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #173343;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.4);
    z-index: 1000;
    cursor: pointer;
}

.floating-menu-btn i {
    font-size: 20px;
}

body.show-floating-menu .floating-menu-btn {
    display: flex;
}

/* Кнопка "Наверх" */

.scroll-top-btn {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #4E98D2;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
    z-index: 999;
    cursor: pointer;
}

.scroll-top-btn i {
    font-size: 18px;
}

body.show-scroll-top .scroll-top-btn {
    display: flex;
}

/* 12. FOOTER */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    padding: 40px 0 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.footer-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
}

.footer-about-logo img {
    height: 40px;
    width: auto;
}

.footer-about-text {
    font-size: 13px;
    color: #4b5563;
    margin: 10px 0 14px;
}

.footer-telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #229ED9;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

.footer-telegram-btn i {
    font-size: 16px;
}

.footer-nav,
.footer-providers,
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-providers li,
.footer-contacts li {
    margin-bottom: 6px;
}

.footer-nav a,
.footer-providers a,
.footer-contacts a {
    font-size: 13px;
    color: #4b5563;
}

.footer-nav a:hover,
.footer-providers a:hover,
.footer-contacts a:hover {
    color: #5594d7;
}

.footer-safe-play-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-safe-play-list a img {
    max-width: 150px;
    height: auto;
}

.footer-bottom {
    border-top: 1px solid #E5E7EB;
    padding-top: 14px;
}

.footer-bottom p {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}
