:root {
    /* Light theme: ivory base, plum text, gold and amethyst accents */
    --color-bg: #FBF7F0;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F6EFFC;

    --color-text: #2A1740;
    --color-text-strong: #4E3D63;
    --color-muted: #7A6A8C;

    --color-header: #FFFFFF;
    --color-footer: #F3ECFA;

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

    --color-border-soft: rgba(122, 63, 181, 0.14);
    --color-border-softer: rgba(122, 63, 181, 0.08);

    --color-primary: #C9962E;
    --color-primary-hover: #B3831F;
    --color-primary-active: #8C6414;

    --color-secondary: #7B3FB5;
    --color-secondary-hover: #6A2FA3;
    --color-secondary-active: #52237F;

    --color-link: #7B3FB5;
    --color-link-hover: #52237F;

    --color-btn-text-dark: #2A1740;
    --color-btn-text-light: #FFFFFF;

    --gradient-btn-primary: linear-gradient(135deg, #E8C06A 0%, #C9962E 60%, #A87818 100%);
    --gradient-btn-secondary: linear-gradient(135deg, #9A5BD6, #6A2FA3 70%);
    --gradient-accent: linear-gradient(180deg, #D9A83F, #7B3FB5);

    --gradient-hero-left: radial-gradient(circle at top left, rgba(201, 150, 46, 0.12), transparent 55%);
    --gradient-hero-right: radial-gradient(circle at top right, rgba(123, 63, 181, 0.12), transparent 55%);

    --color-jackpot-bg1: #FFFFFF;
    --color-jackpot-bg2: #2A1740;

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

    --color-banner-bg: #1B0C2B;
    --color-banner-dot: rgba(255, 255, 255, 0.35);
    --color-banner-dot-border: rgba(255, 255, 255, 0.8);
    --color-banner-dot-active: #E8C06A;

    --color-link-underline-from: #C9962E;
    --color-link-underline-to: #7B3FB5;

    --focus-ring: rgba(123, 63, 181, 0.35);
    --color-success: #1F9D55;
    --color-error: #D63B3B;
    --color-warning: #C9962E;

    --shadow-card: 0 10px 30px rgba(42, 23, 64, 0.08);
    --shadow-card-hover: 0 16px 40px rgba(42, 23, 64, 0.14);
    --radius-lg: 20px;

    --font-display: "Cinzel", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  


*,
*::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 var(--color-primary);
}

.btn--primary:hover{
    box-shadow: 0 4px 10px 2px rgba(164, 88, 224, 0.35);
    background: #1F0F33;
    color: var(--color-primary);
}



.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(31, 15, 51, 0.86);
    border-bottom: 1px solid var(--color-border-soft);
    box-shadow: 0 1px 0 rgba(232, 184, 75, 0.08), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.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 {
    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-family: var(--font-display);
    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,
.banner-slide__content .banner-slide__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.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-family: var(--font-display);
    font-weight: 700;
    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;
    position: relative;
    padding-bottom: 10px;
}

.page-text h2::after,
.content-box h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.page-text h3,
.content-box h3 {
    font-size: 20px;
    color: var(--color-primary-hover);
}



.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: linear-gradient(160deg, rgba(164, 88, 224, 0.10), rgba(232, 184, 75, 0.06));
    border: 1px solid var(--color-border-soft);
    border-radius: 14px;
    overflow: hidden; 
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item:hover {
    border-color: rgba(232, 184, 75, 0.45);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.faq__item.open {
    border-color: var(--color-primary);
}


.faq__question {
    width: 100%;
    padding: 20px 24px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.faq__question:hover {
    background: rgba(232, 184, 75, 0.06);
}


.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: var(--color-text-strong) !important;
}


.faq__icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    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: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
}


.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    border-color: rgba(232, 184, 75, 0.55);
}



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

.review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #1F0F33;
    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: var(--gradient-btn-primary);
    color: var(--color-btn-text-dark);

    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: var(--color-text);
}
table {
    display: block !important;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    margin-bottom: 30px;
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    overflow: hidden;
    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: 12px 16px;
    border-bottom: 1px solid var(--color-border-softer);
    font-size: 15px;
    color: var(--color-text);
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    min-width: 110px;
    background-color: var(--color-jackpot-bg1);
  }

  table thead th {
    background-color: var(--color-jackpot-bg2);
    color: var(--color-primary);
    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;
}

/* =====================================================================
   Light theme layer (overrides earlier dark template rules)
   ===================================================================== */

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 12% 0%, rgba(201, 150, 46, 0.10), transparent 40%),
        radial-gradient(circle at 88% 12%, rgba(123, 63, 181, 0.10), transparent 42%);
    background-attachment: fixed;
    padding-bottom: 0;
}

a { color: var(--color-link); }
a:hover { color: var(--color-link-hover); }

/* Header */
.header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--color-card-border);
    box-shadow: 0 6px 24px rgba(42, 23, 64, 0.06);
}
.header__inner { gap: 24px; padding: 10px 16px; }
.logo-img { height: 56px; width: 140px; }
.header-menu { flex: 1; justify-content: center; }
.main-nav__list { gap: 26px; }
.main-nav__item a {
    color: var(--color-text);
    opacity: 1;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.main-nav__item a:hover { color: var(--color-secondary); text-decoration: none; }
.header-burger span,
.header-burger span::before,
.header-burger span::after { background: var(--color-text); }

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 11px 22px;
    font-weight: 700;
    border: 1px solid transparent;
}
.btn--primary {
    background: var(--gradient-btn-primary);
    color: var(--color-btn-text-dark);
    border-color: #B3831F;
    box-shadow: 0 6px 18px rgba(201, 150, 46, 0.35);
}
.btn--primary:hover {
    background: var(--gradient-btn-secondary);
    color: #FFFFFF;
    border-color: var(--color-secondary);
    box-shadow: 0 8px 22px rgba(123, 63, 181, 0.35);
}
.btn--outline {
    background: transparent;
    color: var(--color-secondary);
    border: 1.5px solid var(--color-secondary);
}
.btn--outline:hover {
    background: var(--color-secondary);
    color: #FFFFFF;
    box-shadow: none;
}
.content-btn {
    background: var(--gradient-btn-primary);
    color: var(--color-btn-text-dark);
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(201, 150, 46, 0.35);
}
.content-btn:hover { background: var(--gradient-btn-secondary); color: #FFFFFF; }

/* Hero banner */
.banner-carousel-wrapper { padding: 20px 16px 0; }
.banner-carousel {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(42, 23, 64, 0.25);
}
.banner-slide__image::after {
    background: linear-gradient(90deg, rgba(27, 12, 43, 0.85) 0%, rgba(27, 12, 43, 0.45) 45%, rgba(27, 12, 43, 0) 75%);
}
.banner-slide__content .banner-slide__title,
.banner-slide__content h1 { color: #FFFFFF; }
.banner-slide__content p { color: rgba(255, 255, 255, 0.9); }

/* Content card */
.content-box {
    background: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 40px 44px;
}
.page-text,
.content-box { color: var(--color-text-strong); }
.page-text p,
.content-box p { color: var(--color-text-strong); line-height: 1.75; }

/* Headings: vertical accent bar */
.page-text h2,
.content-box h2 {
    color: var(--color-text);
    font-size: 28px;
    margin: 48px 0 20px;
    padding: 2px 0 2px 20px;
}
.page-text h2::after,
.content-box h2::after {
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    height: auto;
    background: var(--gradient-accent);
}
.page-text h3,
.content-box h3 { color: var(--color-secondary); margin-top: 28px; }

/* Lists */
.page-text ul li,
.content-box ul li,
.page-text ol li,
.content-box ol li { color: var(--color-text-strong); }
.page-text ul li::before,
.content-box ul li::before { background: var(--color-primary); }
.page-text ol,
.content-box ol { counter-reset: step; list-style: none; padding-left: 0; margin: 12px 0 18px; }
.page-text ol li,
.content-box ol li { counter-increment: step; padding-left: 42px; margin-bottom: 12px; }
.page-text ol li::before,
.content-box ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-btn-secondary);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Images beside text */
.page-text img { width: 100%; margin: 0 !important; }
.media-row {
    display: -webkit-box;
    display: flex;
    align-items: center;
    margin: 8px 0 24px;
}
.media-row--reverse { flex-direction: row-reverse; }
.media-row__img { flex: 0 0 45%; max-width: 45%; margin: 0 36px 0 0 !important; }
.media-row--reverse .media-row__img { margin: 0 0 0 36px !important; }
.media-row__text { flex: 1 1 auto; min-width: 0; }
.media-row__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.media-row__img::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}
.media-row__img:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.media-row__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.media-row__text > :first-child { margin-top: 0; }
.media-row__text > :last-child { margin-bottom: 0; }

/* Key figures strip */
.stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 8px;
}
.stats-strip .stat { flex: 1 1 0; min-width: 0; }
.stat {
    background: linear-gradient(160deg, #FFFFFF 0%, var(--color-surface-alt) 100%);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}
.stat:hover { transform: translateY(-3px); }
.stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, #C9962E, #7B3FB5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.15;
}
.stat__label { display: block; margin-top: 6px; font-size: 14px; color: var(--color-muted); }

/* Tables */
table {
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}
table th,
table td {
    background-color: var(--color-surface);
    color: var(--color-text-strong);
    border-bottom: 1px solid var(--color-card-border);
}
table tbody tr:nth-child(even) td { background-color: #FCF8F1; }
table thead th {
    background: linear-gradient(135deg, #3A1D5C, #2A1740);
    color: #E8C06A;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.03em;
}

/* FAQ */
.faq { padding: 24px 0 8px; }
.faq .container { padding: 0; }
.faq__title { color: var(--color-text); }
.faq__item {
    background: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}
.faq__item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-card-hover); }
.faq__item.open { border-color: var(--color-secondary); }
.faq__question { color: var(--color-text); }
.faq__question:hover { background: var(--color-surface-alt); }
.faq__question > h3 { color: var(--color-text); font-family: var(--font-body); font-size: 18px; margin: 0; }
.faq__icon::before,
.faq__icon::after { background: var(--color-primary); }
.faq__answer p { color: var(--color-text-strong) !important; }

/* Footer */
.footer {
    background: var(--color-footer);
    border-top: 1px solid var(--color-card-border);
    margin-top: 56px;
    padding: 36px 0 28px;
}
.footer__inner { align-items: center; text-align: center; gap: 18px; }
.footer__logo img { height: 70px; width: auto; }
.footer__nav-list { justify-content: center; gap: 10px 32px; margin: 0; }
.footer__nav-link { color: var(--color-text-strong); font-size: 15px; font-weight: 500; }
.footer__nav-link:hover { color: var(--color-secondary); }
.footer__copy { color: var(--color-muted); font-size: 14px; max-width: 820px; line-height: 1.6; }
.footer__age {
    display: inline-block;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary-active);
    border-radius: 8px;
    padding: 1px 8px;
    margin-right: 8px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
    .media-row,
    .media-row--reverse { flex-direction: column; align-items: stretch; }
    .media-row__img,
    .media-row--reverse .media-row__img { flex: none; max-width: 100%; width: 100%; margin: 0 0 20px 0 !important; }
    .stats-strip .stat { flex: 1 1 calc(50% - 16px); }
    .main-nav__list { gap: 16px; }
}
@media (max-width: 768px) {
    .header__inner { grid-template-columns: auto 1fr auto; }
    .logo-img { height: 44px; width: 110px; }
    .header-menu {
        background: #FFFFFF;
        top: 64px;
        border-bottom: 1px solid var(--color-card-border);
        box-shadow: 0 12px 24px rgba(42, 23, 64, 0.1);
    }
    .content-box { padding: 24px 18px; }
    .page-text h2,
    .content-box h2 { font-size: 23px; margin-top: 36px; }
    .footer__nav-list { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .stats-strip { gap: 10px; }
    .stats-strip .stat { flex: 1 1 calc(50% - 10px); }
    .stat__num { font-size: 24px; }
    .auth .btn { width: auto; padding: 8px 12px; }
}
