:root {
    /* Базові кольори */
    --color-bg: #474541;
    --color-text: #C2BDB2;
    --color-text-strong: #FFFFFF;

    --color-header: #171716;
    --color-footer: #05060b;

    --color-card-bg: rgba(255, 255, 255, 0.03);
    --color-card-border: rgba(255, 255, 255, 0.08);

    --color-border-soft: rgba(255, 255, 255, 0.06);
    --color-border-softer: rgba(255, 255, 255, 0.05);

    --color-btn-text-dark: #000000;
    --color-btn-text-light: #FFFFFF;
    --gradient-btn-primary: linear-gradient(135deg, #adff00, #e1f038 70%);

    --gradient-hero-left: radial-gradient(circle at top left, rgba(255, 148, 64, 0.14), transparent 55%);
    --gradient-hero-right: radial-gradient(circle at top right, rgba(102, 126, 234, 0.2), transparent 55%);

    --color-jackpot-bg1: #171b3a;
    --color-jackpot-bg2: #080914;

    --color-games-bg: rgba(14, 16, 30, 0.98);
    --color-games-thumb-bg: #141621;

    --color-banner-bg: #000000;
    --color-banner-dot: rgba(0, 0, 0, 0.6);
    --color-banner-dot-border: rgba(255, 255, 255, 0.6);
    --color-banner-dot-active: #42d7ff;

    --color-link-underline-from: #ff7a18;
    --color-link-underline-to: #ffb347;
}

/* ====== 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: 999px;
    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: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.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);
}

/* ====== ХЕДЕР ====== */

.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: 50px;
    width: auto;
    display: block;
}

/* КОНТЕЙНЕР МЕНЮ + КНОПОК (десктоп) */

.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: 10px 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Копірайт */
.footer__inner p {
    font-size: 14px;
    color: rgba(245,245,247,0.9);
    margin: 0;
    max-width: 500px;
    line-height: 1.45;
}

/* Блок лінків */
.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 h2,
.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%;
    }
}

/* ===== ТАБЛИЦЯ З ГОРИЗОНТАЛЬНИМ СКРОЛОМ ===== */

.table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* базовий стиль таблиці в тексті */

.page-text table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 16px 0;
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    overflow: hidden;
    min-width: 600px;
}

.page-text thead th {
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
}

.page-text th,
.page-text td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 10px;
    font-size: 14px;
    text-align: left;
}

.page-text tbody tr:last-child td {
    border-bottom: none;
}

.page-text tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

/* ===== ТЕКСТОВІ БЛОКИ НА СТОРІНКАХ ===== */

.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 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 {
    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;
}

/* Таблиця всередині контент-блоків */

.page-text table,
.content-box table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    overflow: hidden;
}

.page-text thead,
.content-box thead {
    background: rgba(255, 255, 255, 0.06);
}

.page-text th,
.page-text td,
.content-box th,
.content-box td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
}

.page-text th,
.content-box th {
    font-weight: 700;
    color: var(--color-text-strong);
}

.page-text tbody tr:last-child td,
.content-box tbody tr:last-child td {
    border-bottom: none;
}

.page-text tbody tr:nth-child(even),
.content-box tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* М’яка тінь та скруглення для всього блоку */

.content-box {
    background: #2A2621;
    border: 1px solid var(--color-card-border);
    padding: 26px 26px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

/* Таблиця в скролі */

.table-scroll table {
    min-width: 600px;
}

/* ====== АДАПТИВ ====== */

@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: #2A2621;
        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;
    }

    .page-text table,
    .content-box table {
        font-size: 14px;
    }

    .page-text th,
    .page-text td,
    .content-box th,
    .content-box td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

@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: #E1EF38;
    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 {
    margin: 16px 0 0;
    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(45deg);
}

.faq__icon::after {
    transform: rotate(-45deg);
}

/* Мінус (відкрито) */
.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: #E1EF38;
}

/* 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: #E1EF38;
    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, #adff00, #e1f038 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;
}
