:root {
    /* ===== Base / Neutrals (dark) ===== */
    --color-bg: #0D0F0E;

    --color-text: #EAF7EC;
    --color-text-strong: #9FB6A6;

    --color-header: #0A0C0B;
    --color-footer: #0A0C0B;

    --color-card-bg: rgba(123, 240, 140, 0.04);
    --color-card-border: #1E2A22;

    --color-border-soft: rgba(255, 255, 255, 0.06);
    --color-border-softer: rgba(255, 255, 255, 0.05);

    /* ===== Brand (Betninja neon green) ===== */
    --color-primary: #7BF08C;
    --color-primary-hover: #96F5A4;
    --color-primary-active: #4FD26A;

    --color-secondary: #37D96B;
    --color-secondary-hover: #5CE388;
    --color-secondary-active: #26A94F;

    --color-link: #7BF08C;
    --color-link-hover: #B6F8C2;

    --color-btn-text-dark: #06120A;
    --color-btn-text-light: #FFFFFF;

    --gradient-btn-primary: linear-gradient(135deg, #4FD26A, #7BF08C 70%);
    --gradient-btn-secondary: linear-gradient(135deg, #26A94F, #37D96B 70%);

    --gradient-hero-left: radial-gradient(circle at top left, rgba(123, 240, 140, 0.10), transparent 55%);
    --gradient-hero-right: radial-gradient(circle at top right, rgba(55, 217, 107, 0.14), transparent 55%);

    --color-jackpot-bg1: #101613;
    --color-jackpot-bg2: #060908;

    --color-games-bg: rgba(13, 15, 14, 0.98);
    --color-games-thumb-bg: #121A16;

    --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: #7BF08C;

    --color-link-underline-from: #7BF08C;
    --color-link-underline-to: #37D96B;

    --focus-ring: rgba(123, 240, 140, 0.35);
    --color-success: #37D96B;
    --color-error: #EF4444;
    --color-warning: #F0C14B;
}
  

*,
*::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: 240px;
    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 {
    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;
    border-radius: 12px;
}

@media (max-width: 600px) {
    .page-text img{
        width: 100%;
    }
}

.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__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;
}

.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;
}
/* ==========================================================================
   Betninja design layer — sits after the base template rules
   ========================================================================== */

body {
    background:
        radial-gradient(900px 420px at 78% -140px, rgba(123, 240, 140, 0.14), transparent 70%),
        radial-gradient(700px 360px at 10% 12%, rgba(55, 217, 107, 0.06), transparent 70%),
        var(--color-bg);
    background-attachment: fixed;
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 12, 11, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 240, 140, 0.16);
}

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

.auth {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 11px 22px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
    background: var(--gradient-btn-primary);
    color: var(--color-btn-text-dark);
    box-shadow: 0 0 0 rgba(123, 240, 140, 0);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(123, 240, 140, 0.28);
}

.btn--outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn--outline:hover {
    background: rgba(123, 240, 140, 0.12);
    transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.banner-carousel {
    border-radius: 18px;
    border: 1px solid rgba(123, 240, 140, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.banner-slide__content h1,
.banner-slide__title {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.banner-slide__content .btn {
    box-shadow: 0 8px 26px rgba(123, 240, 140, 0.22);
}

.banner-dot {
    width: 26px;
    height: 6px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.28);
    transition: background 0.2s ease, width 0.2s ease;
}

.banner-dot.is-active {
    width: 42px;
    background: var(--color-primary);
    transform: none;
    box-shadow: 0 0 16px rgba(123, 240, 140, 0.55);
}

/* ---------- Quick facts strip ---------- */
.facts {
    margin: 22px auto 0;
}

.facts__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fact {
    flex: 1 1 200px;
}

.fact {
    background: linear-gradient(160deg, rgba(123, 240, 140, 0.10), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(123, 240, 140, 0.18);
    border-radius: 14px;
    padding: 16px 18px;
}

.fact__value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
}

.fact__label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--color-text-strong);
}

@media (max-width: 760px) {
    .fact {
        flex: 1 1 140px;
    }
}

/* ---------- Content card ---------- */
.content-box {
    background: linear-gradient(180deg, #121614 0%, #0F1311 100%);
    border: 1px solid rgba(123, 240, 140, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    padding: 30px 30px;
}

.page-text h2 {
    position: relative;
    padding-left: 16px;
    margin-top: 34px;
}

.page-text h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--color-primary), rgba(55, 217, 107, 0.15));
}

.page-text p + p {
    margin-top: 12px;
}

.page-text ul li,
.page-text ol li {
    margin: 8px 0 8px 4px;
}

.page-text ol {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.page-text ol li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    margin: 14px 0;
}

.page-text ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(123, 240, 140, 0.14);
    border: 1px solid rgba(123, 240, 140, 0.45);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 14px;
}

.page-text img {
    border-radius: 14px;
    border: 1px solid rgba(123, 240, 140, 0.16);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

/* Article images sit beside the text, alternating sides */
.page-text img.page-img {
    width: 36%;
    margin: 6px 0 14px !important;
}

.page-text img.img--right {
    float: right;
    margin-left: 26px !important;
}

.page-text img.img--left {
    float: left;
    margin-right: 26px !important;
}

.page-text h2 {
    clear: both;
}

.page-text .center-btn {
    clear: both;
}

@media (max-width: 760px) {
    .page-text img.page-img {
        float: none;
        width: 100%;
        margin: 16px auto !important;
    }
}

/* ---------- Tables ---------- */
.table-scroll {
    border: 1px solid rgba(123, 240, 140, 0.16);
    border-radius: 14px;
    overflow-x: auto;
    margin: 18px 0;
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
}

.table-scroll thead th {
    background: linear-gradient(180deg, rgba(123, 240, 140, 0.18), rgba(123, 240, 140, 0.07));
    color: var(--color-primary);
    text-align: left;
    font-weight: 700;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(123, 240, 140, 0.22);
}

.table-scroll tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table-scroll tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.02);
}

.table-scroll tbody tr:last-child td {
    border-bottom: none;
}

/* ---------- CTA inside the article ---------- */
.center-btn {
    display: flex;
    justify-content: center;
    margin: 26px 0;
}

.content-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 800;
    background: var(--gradient-btn-primary);
    color: var(--color-btn-text-dark);
    box-shadow: 0 10px 30px rgba(123, 240, 140, 0.22);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.content-btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(123, 240, 140, 0.32);
}

/* ---------- FAQ ---------- */
.faq {
    padding: 10px 0 46px;
}

.faq__title {
    margin-bottom: 18px;
}

.faq__item {
    background: linear-gradient(180deg, #121614 0%, #0F1311 100%) !important;
    border: 1px solid rgba(123, 240, 140, 0.14);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq__item:hover,
.faq__item.open {
    border-color: rgba(123, 240, 140, 0.38);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: var(--color-text) !important;
}

.faq__question h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text) !important;
}

.faq__icon::before,
.faq__icon::after {
    background: var(--color-primary) !important;
}

.faq__item.open .faq__icon::before {
    transform: rotate(180deg);
}

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

.faq__answer p {
    color: rgba(255, 255, 255, 0.82) !important;
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid rgba(123, 240, 140, 0.16);
    margin-top: 10px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 16px;
}

.footer__copy {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-strong);
}

@media (max-width: 600px) {
    .content-box {
        padding: 20px 16px;
    }

    .page-text h2 {
        margin-top: 26px;
    }

    .fact__value {
        font-size: 20px;
    }
}


/* ---------- Main navigation ---------- */
.menu-link {
    position: relative;
    color: var(--color-text);
    font-weight: 600;
    font-size: 15px;
    padding: 6px 2px;
    text-decoration: none;
    white-space: nowrap;
}

.menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transition: right 0.22s ease;
}

.menu-link:hover {
    color: var(--color-primary);
}

.menu-link:hover::after {
    right: 0;
}

.header-menu {
    gap: 26px;
}

.header-burger span,
.header-burger span::before,
.header-burger span::after {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .header-menu {
        background: rgba(10, 12, 11, 0.98);
        border-bottom: 1px solid rgba(123, 240, 140, 0.2);
        backdrop-filter: blur(10px);
    }

    .menu-link {
        font-size: 16px;
    }
}

/* ---------- Footer ---------- */
.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav-link {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.footer__nav-link:hover {
    color: var(--color-primary);
    border-bottom-color: rgba(123, 240, 140, 0.55);
}

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(123, 240, 140, 0.45);
    border-radius: 50%;
    background: rgba(10, 12, 11, 0.9);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease;
    z-index: 60;
}

.to-top::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 55%;
    width: 11px;
    height: 11px;
    border-left: 2px solid var(--color-primary);
    border-top: 2px solid var(--color-primary);
    transform: translate(-50%, -50%) rotate(45deg);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    box-shadow: 0 0 22px rgba(123, 240, 140, 0.35);
}

/* ---------- Extra polish ---------- */
.page-text h2 + p {
    margin-top: 10px;
}

.page-text a {
    color: var(--color-primary);
}

.facts {
    position: relative;
}

.content-box::before {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    margin-bottom: 18px;
}

.faq__title {
    position: relative;
    padding-left: 16px;
}

.faq__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--color-primary), rgba(55, 217, 107, 0.15));
}

/* Fallbacks for engines without flex-gap support */
.footer__nav-list li {
    margin-right: 26px;
}

.faq__question h3 {
    flex: 1 1 auto;
}

.faq__icon {
    flex: 0 0 24px;
    margin-left: auto;
}

.header-menu .menu-link {
    margin-right: 26px;
}

/* ==========================================================================
   Revision 4 fixes
   ========================================================================== */

/* 1. Article images keep their aspect ratio: the width/height attributes must
      not win over the CSS width. */
.page-text img,
.page-text img.page-img {
    height: auto;
}

/* 2. Button labels were washed out: the generic .page-text a rule was
      repainting them green on a green fill. */
.page-text a.content-btn,
.content-btn,
.content-btn:hover,
.content-btn:visited {
    background: var(--gradient-btn-primary) !important;
    color: #06120A !important;
    font-weight: 800;
    border: none;
    text-shadow: none;
}

.btn--primary,
.btn--primary:visited {
    background: var(--gradient-btn-primary) !important;
    color: #06120A !important;
    border: 1px solid rgba(123, 240, 140, 0.6) !important;
}

.btn--primary:hover {
    background: #0F1311 !important;
    color: var(--color-primary) !important;
    box-shadow: 0 10px 28px rgba(123, 240, 140, 0.28);
}

.btn--outline,
.btn--outline:visited {
    color: var(--color-primary) !important;
}

/* 3. FAQ: tighter blocks, no dead space between questions. */
.faq__list {
    gap: 8px;
}

.faq__item {
    margin-bottom: 0;
}

.faq__question {
    padding: 14px 18px;
}

.faq__question h3 {
    font-size: 16px;
    line-height: 1.35;
}

.faq__answer {
    padding: 0 18px;
}

.faq__item.open .faq__answer {
    padding: 0 18px 16px;
}

/* 4. Footer: centred, compact, 18+ badge in a ring. */
.footer__inner {
    align-items: center;
    text-align: center;
    padding: 22px 16px 26px;
    gap: 14px;
}

.footer__nav-list {
    justify-content: center;
}

.footer__copy {
    max-width: 780px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.65;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: rgba(123, 240, 140, 0.12);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.02em;
    vertical-align: middle;
    box-shadow: 0 0 18px rgba(123, 240, 140, 0.25);
}

/* ==========================================================================
   Revision 5 — tighter page gutters (halved, but still present)
   ========================================================================== */

.container {
    padding-left: 8px;
    padding-right: 8px;
}

.content-box {
    padding: 15px 15px;
}

.banner-carousel-wrapper {
    padding-left: 8px;
    padding-right: 8px;
}

.footer__inner {
    padding: 18px 8px 20px;
}

@media (max-width: 600px) {
    .container {
        padding-left: 6px;
        padding-right: 6px;
    }

    .content-box {
        padding: 12px 10px;
    }

    .banner-carousel-wrapper {
        padding: 0 6px;
    }
}
