:root {
    /* ===== Hopa Casino — light palette ===== */
    --color-bg: #F4F7FD;
    --color-bg-soft: #FFFFFF;

    --color-text: #16233F;
    --color-text-strong: #5A6A87;

    --color-header: #2E6BF6;
    --color-footer: #0F2038;

    --color-card-bg: #FFFFFF;
    --color-card-border: #DCE4F2;

    --color-border-soft: #E4EAF6;
    --color-border-softer: #EEF2FA;

    --color-primary: #2E6BF6;
    --color-primary-hover: #1E55D6;
    --color-primary-active: #1743AE;

    --color-secondary: #F5B93B;
    --color-secondary-hover: #FFC95C;
    --color-secondary-active: #D79C22;

    --color-link: #1E55D6;
    --color-link-hover: #12379A;

    --color-btn-text-dark: #16233F;
    --color-btn-text-light: #FFFFFF;

    --gradient-btn-primary: linear-gradient(135deg, #2E6BF6, #4B84FF 70%);
    --gradient-btn-secondary: linear-gradient(135deg, #F5B93B, #FFC95C 70%);

    --gradient-hero-left: radial-gradient(circle at top left, rgba(46, 107, 246, 0.10), transparent 60%);
    --gradient-hero-right: radial-gradient(circle at top right, rgba(245, 185, 59, 0.10), transparent 60%);

    --color-jackpot-bg1: #FFFFFF;
    --color-jackpot-bg2: #EEF3FD;

    --color-games-bg: #FFFFFF;
    --color-games-thumb-bg: #EEF3FD;

    --color-banner-bg: #E8EFFD;
    --color-banner-dot: rgba(22, 35, 63, 0.35);
    --color-banner-dot-border: rgba(255, 255, 255, 0.9);
    --color-banner-dot-active: #F5B93B;

    --color-link-underline-from: #2E6BF6;
    --color-link-underline-to: #F5B93B;

    --focus-ring: rgba(46, 107, 246, 0.40);
    --color-success: #16A34A;
    --color-error: #DC2626;
    --color-warning: #F5B93B;

    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-card: 0 8px 28px rgba(22, 35, 63, 0.08);
}
  

/* ====== RESET / БАЗА ====== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
    position: relative;
    padding-bottom: 60px;
}

/* Посилання, кнопки */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

/* ====== ЛЕЙАУТ ====== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.content {
    min-height: 60vh;
}

/* ====== КНОПКИ ====== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 15px;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    background: var(--gradient-btn-primary);
    color: var(--color-btn-text-dark);
    text-decoration: none;
    transition: 0.2s all;
    white-space: nowrap;
    border: 1px solid #ffffff;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px 2px rgba(108, 108, 108, 0.4);
    background-color: var(--color-btn-text-light);
    color: var(--color-btn-text-dark);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--color-btn-text-light);
}

.btn--primary {
    background: var(--gradient-btn-primary);
    color: var(--color-btn-text-dark);
    border: 1px solid #FEAF20;
}

.btn--primary:hover{
    box-shadow: 0 4px 10px 2px #4d5b00;
    background: #121418;
    color: #FEAF20;
}

/* ====== ХЕДЕР ====== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: var(--color-header);
    border-bottom: 1px solid var(--color-border-soft);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 16px;
}

/* ЛОГО */

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: 100px;
    display: block;
    object-fit: contain;
}

/* КОНТЕЙНЕР МЕНЮ + КНОПОК (десктоп) */

.header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 24px;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav__item a {
    font-size: 14px;
    opacity: 0.84;
    position: relative;
    padding: 4px 0;
}

.main-nav__item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-link-underline-from), var(--color-link-underline-to));
    transition: width 0.18s ease;
}

.main-nav__item a:hover::after,
.main-nav__item a.active::after {
    width: 100%;
}

/* КНОПКИ У ХЕДЕРІ (праворуч) */

.auth {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.auth a {
    font-size: 14px;
}

/* БУРГЕР */

.header-burger {
    display: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-burger span,
.header-burger span::before,
.header-burger span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text-strong);
    position: relative;
    transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease, bottom 0.18s ease;
}

.header-burger span::before,
.header-burger span::after {
    content: "";
    position: absolute;
}

.header-burger span::before {
    top: -5px;
}

.header-burger span::after {
    bottom: -5px;
}

.header-burger.active span {
    transform: rotate(45deg);
}

.header-burger.active span::before {
    top: 0;
    transform: rotate(-90deg);
}

.header-burger.active span::after {
    bottom: 0;
    opacity: 0;
}

/* ====== МОБІЛЬНИЙ ХЕДЕР: бургер по центру, кнопки справа ====== */

@media (max-width: 768px) {
    .header__inner {
        padding: 10px 12px;
        display: grid;
        grid-template-columns: auto 1fr auto; /* logo | burger | buttons */
        align-items: center;
        column-gap: 8px;
    }

    body {
        padding-bottom: 240px;
    }

    .logo-img {
        height: 40px;
    }

    .header-burger {
        display: inline-flex;
        justify-self: center; /* бургер по центру хедера */
    }

    .auth {
        justify-self: end;
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    .auth .btn {
        padding-inline: 14px;
        white-space: nowrap;
    }

    .header-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--color-header);
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
        z-index: 40;
    }

    .header-menu.header-menu--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ====== HERO (ГОЛОВНА) ====== */

.hero {
    padding: 40px 0 32px;
    background: var(--gradient-hero-left), var(--gradient-hero-right);
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero p {
    font-size: 15px;
    max-width: 520px;
    color: rgba(245, 245, 247, 0.88);
    margin-bottom: 20px;
}

.hero .hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Блок джекпоту / бічна колонка */

.hero-side {
    justify-self: end;
}

.jackpot-widget {
    min-width: 260px;
    max-width: 320px;
    padding: 16px 18px;
    border-radius: 18px;
    background: radial-gradient(circle at top, var(--color-jackpot-bg1), var(--color-jackpot-bg2));
    border: 1px solid var(--color-border-soft);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.jackpot-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.7;
    margin-bottom: 10px;
}

.jackpot-amount {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.jackpot-timer {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 14px;
}

/* ====== СЕКЦІЇ ====== */

section {
    padding: 32px 0;
}

section h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

section p {
    font-size: 14px;
    color: rgba(245, 245, 247, 0.9);
}

/* ====== ПРОМО-КАРТКИ ====== */

.promos .promo-list {
    margin-top: 16px;
    display: grid;
    gap: 16px;
}

.promo-card {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(18, 20, 36, 0.95);
    border: 1px solid var(--color-border-soft);
}

.promo-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.promo-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* ====== ІГРИ / СІТКА ====== */

.games {
    border-top: 1px solid var(--color-border-softer);
}

.games-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.games-header a {
    font-size: 13px;
    opacity: 0.8;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.game-card {
    background: var(--color-games-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--color-border-softer);
    display: flex;
    flex-direction: column;
    min-height: 190px;
}

.game-thumb {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
    background: var(--color-games-thumb-bg);
}

.game-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.game-name {
    font-size: 14px;
    font-weight: 600;
}

.game-actions {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

/* ====== КОНТЕНТНІ СТОРІНКИ ====== */

.page-content {
    padding-top: 28px;
    padding-bottom: 32px;
    margin-top: 0;
}

.page-content h1 {
    font-size: 28px;
    margin-bottom: 14px;
}

.page-content p + p {
    margin-top: 10px;
}

/* ===== ФУТЕР (НОВИЙ, ПРАВИЛЬНИЙ) ===== */

/* Робимо сторінку гнучкою — це дозволяє футеру притискатися до низу */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* Контент тягнеться, футер внизу */
main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    background: #05060b;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Контейнер футера */
.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}


/* Блок лінків */
.footer__links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

/* Списки */
.footer__col {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__col li + li {
    margin-top: 6px;
}

.footer__col a {
    font-size: 14px;
    color: rgba(245,245,247,0.9);
    text-decoration: none;
}

.footer__col a:hover {
    text-decoration: underline;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__links {
        flex-direction: column;
        gap: 16px;
    }

    .footer__inner p {
        max-width: 100%;
    }
}


/* ====== ОБГОРТКА БАНЕРА ====== */

.banner-carousel-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto 0;
}

/* ===== БАНЕР ===== */

.banner-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 360px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-banner-bg);
}

.banner-carousel__viewport {
    position: absolute;
    inset: 0;
}

/* Слайди */

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.banner-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Картинка */

.banner-slide__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Текст */

.banner-slide__content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    text-align: left;
    margin-left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.banner-slide__content p {
    color: #efefef;
}

.banner-slide__content h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.banner-slide__content p {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

/* Точки */

.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-banner-dot-border);
    background: var(--color-banner-dot);
    cursor: pointer;
    transition: all 0.2s ease;
}

.banner-dot.is-active {
    background: var(--color-banner-dot-active);
    border-color: var(--color-text-strong);
    transform: scale(1.15);
}

/* Напівпрозорий затемнюючий шар */
.banner-slide__image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

/* Кнопка на банері: не на всю ширину на мобільних */
@media (max-width: 600px) {
    .banner-slide__content .btn {
        width: auto;
        max-width: 100%;
        display: inline-flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .banner-slide__content .btn {
        width: auto;
        max-width: 100%;
    }
}

.page-text,
.content-box {
    font-family: "Inter", system-ui, sans-serif;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.55;
}
.page-text img{
    width: 50%;
    margin: 15px auto !important;
}

/* Заголовки */

.page-text h1,
.content-box h1,
.page-text h2,
.content-box h2,
.page-text h3,
.content-box h3 {
    font-weight: 800;
    line-height: 1.25;
    margin: 26px 0 12px;
    color: var(--color-text);
}

/* Ієрархія заголовків у тексті */
.page-text h1,
.content-box h1 {
    font-size: 28px;
}

.page-text h2,
.content-box h2 {
    font-size: 24px;
    margin-top: 0;
}

.page-text h3,
.content-box h3 {
    font-size: 20px;
}

/* Абзаци */

.page-text p,
.content-box p {
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--color-text-strong);
}

/* Списки */

.page-text ul,
.content-box ul {
    list-style: none;
    margin: 10px 0 20px 0;
    padding-left: 0;
}

.page-text ul li,
.content-box ul li,
.page-text ol li,
.content-box ol li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: rgba(235, 235, 245, 0.9);
}

.page-text ul li::before,
.content-box ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--color-text-strong);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 6px;
}


.content-box {
    background: #121418;
    border: 1px solid var(--color-card-border);
    padding: 26px 26px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

/* ====== АДАПТИВ ====== */

@media (max-width: 960px) {
    .hero .container {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-side {
        justify-self: start;
    }

    .main-nav__list {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .header__inner {
        padding-inline: 12px;
    }

    .logo-img {
        height: 40px;
    }

    .header-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: #171716;
        padding: 0 16px 16px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
        z-index: 40;
    }

    .header-menu.header-menu--open {
        transform: translateY(16px);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auth {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
        margin-top: 8px;
    }

    .auth .btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .banner-carousel-wrapper {
        padding: 0 12px;
    }

    .banner-carousel {
        width: 100%;
        height: 260px;
        border-radius: 12px;
    }

    .banner-slide__content {
        margin-left: 16px;
        margin-right: 16px;
        max-width: none;
        top: 50%;
        transform: translateY(-50%);
    }

    .banner-slide__content h1 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .banner-slide__content p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .btn--primary {
        display: inline-block;
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero .hero-actions {
        flex-direction: column;
    }

    .game-card {
        min-height: 170px;
    }
}

/* ===== FAQ ===== */

.faq {
    padding: 32px 0 40px;
}

.faq__title {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--color-text-strong);
}

/* список */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Один блок FAQ */
.faq__item {
    background: #FFB020;
    border-radius: 14px;
    overflow: hidden; /* робить блок монолітним */
}

/* Верхня частина */
.faq__question {
    width: 100%;
    padding: 20px 24px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.faq__question:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Анімаційний блок відповіді */
.faq__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

/* Відповідь у відкритому стані */
.faq__item.open .faq__answer {
    max-height: 500px; /* збільшено щоб текст точно влазив */
    padding: 0 24px 22px 24px; /* НИЖНІЙ ВІДСТУП ДОДАНО */
}

/* Текст відповіді */
.faq__answer p {
    font-size: 16px;
    line-height: 1.45;
    color: #000 !important;
}

/* Іконка */
.faq__icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #000;
    top: 50%;
    left: 0;
    transform-origin: center;
    transition: transform 0.25s ease;
}

/* Плюс (закрито) */
.faq__icon::before {
    transform: rotate(0deg);
}

.faq__icon::after {
    transform: rotate(90deg);
}

/* Мінус (відкрито) */
.faq__item.open .faq__icon::before {
    transform: rotate(0deg);
}

.faq__item.open .faq__icon::after {
    transform: rotate(0deg);
    opacity: 0;
}

/* Мобільний */
@media (max-width: 600px) {
    .faq__question {
        padding: 16px 18px;
        font-size: 16px;
    }

    .faq__answer p {
        font-size: 14px;
    }
}



/* ===== ОТЗЫВЫ ===== */

.reviews {
    padding: 32px 0 40px;
}

.reviews__title {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--color-text-strong);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

/* Карточка отзыва */

.review-card {
    position: relative;
    padding: 18px 20px 20px;
    border-radius: 18px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* акцентная полоса слева */
.review-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FEAF20;
}

/* hover-анимация */
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    border-color: rgba(225, 239, 56, 0.9);
}

/* шапка карточки (аватар + имя) */

.review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FEAF20;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.review-card__name {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-text-strong);
}

.review-card__meta {
    font-size: 12px;
    opacity: 0.75;
}

/* текст отзыва */

.review-card__text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(245, 245, 247, 0.94);
}

/* адаптив */

@media (max-width: 600px) {
    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .review-card {
        padding: 16px 16px 18px;
    }

    .review-card__text {
        font-size: 13px;
    }
}

.img-center {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.img-center img {
    max-width: 100%;
    height: auto;
    display: block;
}

.content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;

    background: linear-gradient(135deg, rgb(114, 137, 0), #FEAF20 70%);
    color: #000000;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    text-decoration: none;
}

.content-btn:active {
    transform: translateY(0);
    box-shadow: none;
}
.center-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.faq__question > h3 {
    margin: 0;
    color: #000000;
}
table {
    display: block !important;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    margin-bottom: 30px;
    border: 1px solid #1a1a2e;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  thead,
  tbody {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  tr {
    display: flex;
    width: 100%;
  }

  table th,
  table td {
    display: flex;
    width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 15px;
    color: #ffffff;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    min-width: 110px;
    background-color: #1D2027;
  }

  table thead th {
    background-color: #000000;
    color: #FEAF20;
    font-weight: 800;
    font-size: 18px;
  }
  .content-box > a > img {
    margin: 20px auto;
  }
  .banner-slide__content > .banner-slide__title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}
.footer__nav {
    width: 100%;
}
.footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.footer__nav-link {
    font-size: 13px;
    color: rgba(245,245,247,0.6);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.footer__nav-link:hover {
    color: rgba(245,245,247,1);
    text-decoration: underline;
}
.footer__copy {
    font-size: 13px;
    color: rgba(245,245,247,0.45);
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .footer__nav-list {
        flex-direction: column;
        gap: 10px;
    }
    .footer__nav-link {
        font-size: 14px;
    }
}
.content-img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
}

/* =========================================================
   HOPA CASINO — light redesign layer
   ========================================================= */

body {
    font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--gradient-hero-left), var(--gradient-hero-right), var(--color-bg);
    background-attachment: fixed;
    color: var(--color-text);
}
.content, .page-content, .page-text { color: var(--color-text); }
.page-text p, .page-text li { color: #2B3A57; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; color: var(--color-text); }
h2 {
    margin-top: 34px;
    padding-left: 14px;
    border-left: 4px solid var(--color-secondary);
    line-height: 1.25;
    font-size: 26px;
}

/* ---------- Header (синій, щоб біле лого читалось) ---------- */
.header { background: var(--color-header); border-bottom: 1px solid rgba(255,255,255,.14); }
.header.scrolled { box-shadow: 0 6px 20px rgba(22, 35, 63, .16); }
.logo-img { height: 38px; width: auto; }
.header-menu__list { display: flex; gap: 22px; list-style: none; }
.header-menu__link {
    color: rgba(255,255,255,.92); text-decoration: none; font-weight: 600; font-size: 15px;
    padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.header-menu__link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.7); }
.header-menu__link.is-active { color: var(--color-secondary); border-bottom-color: var(--color-secondary); }
.header-burger span, .header-burger span::before, .header-burger span::after { background: #fff; }

/* ---------- Buttons ---------- */
.btn, .content-btn { border-radius: 999px; font-weight: 700; transition: transform .15s, box-shadow .2s, background .2s; }
.btn--primary { background: #fff; color: var(--color-primary); box-shadow: 0 6px 16px rgba(10,25,60,.18); }
.btn--primary:hover { transform: translateY(-1px); background: #fff; color: var(--color-primary-hover); }
.btn--outline { border: 2px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--outline:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.content-btn {
    background: var(--gradient-btn-primary); color: #fff;
    box-shadow: 0 8px 20px rgba(46,107,246,.28); padding: 13px 30px; display: inline-block; text-decoration: none;
}
.content-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(46,107,246,.38); }
.banner-slide__content .btn--primary { background: var(--gradient-btn-primary); color: #fff; }
.banner-slide__content .btn--primary:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- Banner ---------- */
.banner-carousel { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); background: var(--color-banner-bg); }
.banner-slide__image { background-color: transparent; }
.banner-slide__image::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,25,60,.86) 0%, rgba(10,25,60,.70) 38%, rgba(10,25,60,.16) 62%, rgba(10,25,60,0) 80%);
}
.banner-slide__content h1 { color: #fff; text-shadow: 0 2px 14px rgba(3,10,28,.5); }
.banner-slide__content p { color: rgba(255,255,255,.92); }

/* ---------- Content card ---------- */
.content-box {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px 30px;
}
.page-text a { color: var(--color-link); }
.page-text a:hover { color: var(--color-link-hover); }
.page-text ul li::marker, .page-text ol li::marker { color: var(--color-primary); }
.center-btn { text-align: center; margin: 26px 0; }

/* ---------- Малі картинки в тексті ---------- */
.page-figure { margin: 24px auto; max-width: 440px; text-align: center; }
.page-figure img {
    width: 100%; height: auto; display: block;
    border-radius: var(--radius-md); border: 1px solid var(--color-card-border);
    box-shadow: 0 6px 18px rgba(22,35,63,.08);
}
.page-figure--wide { max-width: 640px; }
.page-figure--phone { max-width: 210px; }
.page-figure--phone img { border: 0; box-shadow: none; background: transparent; }
.page-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--color-text-strong); }
@media (min-width: 900px) {
    .page-figure--float { float: right; max-width: 320px; margin: 8px 0 18px 26px; }
}

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 18px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-card-border); }
.faq__item + .faq__item { border-top: 1px solid var(--color-border-soft); }
.faq__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; background: #fff; border: 0; cursor: pointer; text-align: left;
    font: 600 16px/1.4 "Poppins", system-ui, sans-serif; color: var(--color-text);
    transition: background .18s ease;
}
.faq__q:hover { background: #F3F7FF; }
.faq__item.is-open .faq__q { background: #EEF4FF; color: var(--color-primary-hover); }
.faq__icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
    content: ""; position: absolute; left: 50%; top: 50%; background: var(--color-primary);
    transform: translate(-50%, -50%); transition: transform .2s ease, opacity .2s ease;
}
.faq__icon::before { width: 14px; height: 2px; border-radius: 2px; }
.faq__icon::after  { width: 2px; height: 14px; border-radius: 2px; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 18px 18px; background: #fff; }
.faq__a p { margin: 0; color: #2B3A57; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); margin: 20px 0; border: 1px solid var(--color-card-border); }
.page-text table { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; }
.page-text thead th { background: var(--color-primary); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.page-text tbody td { padding: 11px 14px; border-bottom: 1px solid var(--color-border-soft); }
.page-text tbody tr:nth-child(even) { background: #F7FAFF; }
.page-text tbody tr:hover { background: #EEF4FF; }

.disclaimer {
    margin-top: 28px; padding: 14px 16px; border-radius: var(--radius-md);
    background: #FFF8E8; border: 1px solid #F3DDAA; font-size: 14px; color: #6B5A2E;
}

/* ---------- Footer ---------- */
.footer { background: var(--color-footer); border-top: 0; color: #C7D2E6; }
.footer__nav-list { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; justify-content: center; }
.footer__nav-link { color: #C7D2E6; text-decoration: none; font-size: 14px; }
.footer__nav-link:hover { color: var(--color-secondary); }
.footer__trust { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin: 18px 0 12px; }
.footer__trust-link { color: #C7D2E6; font-size: 13px; text-decoration: none; }
.footer__trust-link:hover { color: #fff; text-decoration: underline; }
.footer__age {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    border-radius: 50%; border: 2px solid var(--color-secondary); color: var(--color-secondary); font-weight: 800; font-size: 13px;
}
.footer__copy { font-size: 13px; line-height: 1.6; color: #9AABC6; text-align: center; }

@media (max-width: 900px) { .header-menu__list { gap: 14px; } .header-menu__link { font-size: 14px; } }
@media (max-width: 768px) {
    h2 { margin-top: 26px; font-size: 21px; }
    .logo-img { height: 32px; }
    .content-box { padding: 20px 16px; }
    .header-menu { background: var(--color-header); }
    .header-menu__list { flex-direction: column; align-items: flex-start; gap: 14px; }
    .header-menu__link { font-size: 16px; }
    .page-figure, .page-figure--wide { max-width: 100%; }
    .page-figure--float { float: none; margin: 24px auto; }
    .banner-slide__image::after {
        background: linear-gradient(180deg, rgba(10,25,60,.86) 0%, rgba(10,25,60,.7) 55%, rgba(10,25,60,.55) 100%);
    }
}

/* =========================================================
   HOPA — fixes & polish (перекриває донорські правила)
   ========================================================= */

/* --- списки: донор фарбував їх у світлий, на білому було не видно --- */
.page-text ul li, .page-text ol li,
.content-box ul li, .content-box ol li { color: #2B3A57; }
.page-text ul li::before, .content-box ul li::before { background: var(--color-primary); }

.page-text ol { list-style: none; counter-reset: step; padding-left: 0; margin: 14px 0 22px; }
.page-text ol li {
    counter-increment: step; position: relative; padding: 2px 0 2px 46px; margin-bottom: 12px;
}
.page-text ol li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--gradient-btn-primary); color: #fff;
    font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(46,107,246,.28);
}

/* --- таблиці: донор робив комірки темно-сірими --- */
.page-text table, .content-box table { border: 0; margin: 0; background: transparent; }
.page-text table th, .page-text table td, .content-box table th, .content-box table td {
    background-color: #FFFFFF; color: #2B3A57; border-bottom: 1px solid var(--color-border-soft);
    font-size: 15px; align-items: center;
}
.page-text table thead th, .content-box table thead th {
    background: linear-gradient(135deg, #2E6BF6, #4B84FF); color: #fff; font-weight: 700; font-size: 15px;
}
.page-text tbody tr:nth-child(even) td { background-color: #F6F9FF; }
.page-text tbody tr:hover td { background-color: #EAF1FF; }
.table-scroll { border: 1px solid var(--color-card-border); box-shadow: 0 4px 14px rgba(22,35,63,.05); }

/* --- картинки збоку від тексту --- */
.page-figure--float {
    float: right; max-width: 340px; margin: 6px 0 18px 28px; clear: right;
}
.page-figure--phone { max-width: 244px; }
.page-figure--phone img { border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.page-text h2 { clear: both; }
.page-figure img { transition: transform .25s ease, box-shadow .25s ease; }
.page-figure:hover img { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,35,63,.14); }

/* --- галерея скріншотів реєстрації --- */
.shots {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin: 24px 0 30px; clear: both;
}
.shots__item { margin: 0; }
.shots__link {
    position: relative; display: block; border-radius: 10px; overflow: hidden;
    border: 1px solid var(--color-card-border); box-shadow: 0 4px 12px rgba(22,35,63,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}
.shots__link:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(22,35,63,.16); }
.shots__link img { width: 100%; height: auto; display: block; }
.shots__zoom {
    position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%;
    background: rgba(46,107,246,.92); opacity: 0; transition: opacity .2s ease;
}
.shots__zoom::before, .shots__zoom::after {
    content: ""; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%,-50%);
}
.shots__zoom::before { width: 12px; height: 2px; }
.shots__zoom::after  { width: 2px; height: 12px; }
.shots__link:hover .shots__zoom { opacity: 1; }
.shots figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--color-text-strong); }
.shots figcaption b { color: var(--color-text); }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .shots { grid-template-columns: 1fr; } }

/* --- лайтбокс --- */
.lightbox {
    position: fixed; inset: 0; z-index: 100; display: none;
    align-items: center; justify-content: center; padding: 28px;
    background: rgba(9, 20, 43, .88); backdrop-filter: blur(3px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.lightbox__close {
    position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.26); }

/* --- трохи характеру --- */
.content-box { position: relative; overflow: hidden; }
.content-box::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #2E6BF6 0%, #6FA0FF 45%, #F5B93B 100%);
}
.page-text > p:first-of-type { font-size: 18px; line-height: 1.65; color: #1B2B4B; }
h2 {
    border-left: 0; padding-left: 0; position: relative; padding-top: 14px;
}
h2::before {
    content: ""; position: absolute; top: 0; left: 0; width: 52px; height: 5px; border-radius: 3px;
    background: linear-gradient(90deg, #2E6BF6, #F5B93B);
}
.banner-carousel { box-shadow: 0 16px 40px rgba(22,35,63,.16); }
.faq__q { font-size: 16.5px; }
.disclaimer { position: relative; padding-left: 46px; }
.disclaimer::before {
    content: "18+"; position: absolute; left: 14px; top: 13px;
    font-weight: 800; font-size: 12px; color: #B98613;
}
html { scroll-behavior: smooth; }
