:root {
    --bg: #07091a;
    --bg-grad-1: #0d1330;
    --bg-grad-2: #06081a;
    --surface: #10162e;
    --surface-2: #161d3a;
    --card: #131a36;
    --card-hover: #1a2245;
    --border: #232b4d;
    --border-soft: #1c2342;
    --text: #ecedf6;
    --text-dim: #9aa1c2;
    --text-mute: #6a7099;
    --gold: #f5b324;
    --gold-2: #e9a212;
    --gold-soft: rgba(245, 179, 36, 0.14);
    --green: #2dd47a;
    --green-2: #21b265;
    --red: #e54052;
    --red-2: #c52a3c;
    --blue: #4f7ce5;
    --purple: #8a5cf5;
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-gold: 0 8px 28px rgba(245, 179, 36, 0.28);
    --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(79, 124, 229, 0.12), transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 30%, rgba(245, 179, 36, 0.06), transparent 60%),
        linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2) 60%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.15;
    color: var(--text);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

p {
    color: var(--text-dim);
    font-size: 1rem;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(7, 9, 26, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
}

.logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(245, 179, 36, 0.35));
}

.logo-mark {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--gold);
    font-family: var(--sans);
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav a {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--text-dim);
    font-weight: 500;
    transition: all var(--t);
}

.nav a:hover {
    color: var(--text);
    background: var(--surface-2);
}

.nav a.active {
    color: var(--gold);
    background: var(--gold-soft);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(245, 179, 36, 0.18), rgba(245, 179, 36, 0.06));
    border: 1px solid rgba(245, 179, 36, 0.35);
    border-radius: 999px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.coin-pill::before {
    content: "★";
    color: var(--gold);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text);
    left: 0;
    border-radius: 2px;
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--t);
    border: 1px solid transparent;
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #1a1206;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(245, 179, 36, 0.4);
}

.btn-ghost {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--card-hover);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-green {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #051a0e;
    box-shadow: 0 8px 28px rgba(45, 212, 122, 0.32);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(45, 212, 122, 0.45);
}

.btn-red {
    background: linear-gradient(135deg, var(--red), var(--red-2));
    color: #fff;
    box-shadow: 0 8px 24px rgba(229, 64, 82, 0.3);
}

.btn-blue {
    background: linear-gradient(135deg, #5a8af0, #3a6ed5);
    color: #fff;
    box-shadow: 0 8px 24px rgba(79, 124, 229, 0.3);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ===== FREE WARNING BANNER ===== */
.free-banner {
    background: linear-gradient(90deg, #1a3a1f, #1f5530, #1a3a1f);
    border-bottom: 1px solid rgba(45, 212, 122, 0.4);
    color: #d8ffe6;
    padding: 12px 24px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
}

.free-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.free-banner strong {
    color: #6effaa;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== HERO ===== */
.hero {
    padding: 64px 0 96px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--gold-soft);
    border: 1px solid rgba(245, 179, 36, 0.3);
    border-radius: 999px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 .gold {
    background: linear-gradient(135deg, var(--gold), #ffd576);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-mute);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Hero floating cards */
.hero-visual {
    position: relative;
    height: 460px;
}

.float-card {
    position: absolute;
    background: linear-gradient(155deg, var(--card), var(--card-hover));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px;
    box-shadow: var(--shadow-lg);
    width: 240px;
    backdrop-filter: blur(10px);
}

.float-card .fc-emoji {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.float-card .fc-title {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 6px;
}

.float-card .fc-meta {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fc-1 {
    top: 30px;
    right: 60px;
    transform: rotate(-3deg);
    animation: float1 6s ease-in-out infinite;
}

.fc-2 {
    top: 180px;
    right: 0;
    transform: rotate(4deg);
    animation: float2 7s ease-in-out infinite;
}

.fc-3 {
    bottom: 20px;
    right: 100px;
    transform: rotate(-2deg);
    animation: float3 8s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: rotate(-3deg) translateY(0);
    }

    50% {
        transform: rotate(-3deg) translateY(-12px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: rotate(4deg) translateY(0);
    }

    50% {
        transform: rotate(4deg) translateY(-16px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: rotate(-2deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-10px);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 96px 0;
}

.section-tight {
    padding: 64px 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-head p {
    margin-top: 18px;
    font-size: 1.05rem;
}

/* ===== GAME CARDS ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.game-card {
    background: linear-gradient(165deg, var(--card), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--accent-glow, rgba(245, 179, 36, 0.18)), transparent 60%);
    opacity: 0;
    transition: opacity var(--t);
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card.theme-slots {
    --accent-glow: rgba(245, 179, 36, 0.22);
}

.game-card.theme-blackjack {
    --accent-glow: rgba(229, 64, 82, 0.18);
}

.game-card.theme-roulette {
    --accent-glow: rgba(79, 124, 229, 0.2);
}

.game-card-art {
    height: 160px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.theme-slots .game-card-art {
    background: radial-gradient(circle at center, rgba(245, 179, 36, 0.16), transparent 70%), #1a2440;
    color: var(--gold);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0.18em;
}

.theme-blackjack .game-card-art {
    background: radial-gradient(circle at center, rgba(229, 64, 82, 0.18), transparent 70%), #2a1623;
    color: #ff7a8c;
    font-family: var(--serif);
    font-weight: 600;
}

.theme-roulette .game-card-art {
    background: radial-gradient(circle at center, rgba(79, 124, 229, 0.2), transparent 70%), #161d3a;
    color: #8aa8ff;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tag-hot {
    background: rgba(229, 64, 82, 0.14);
    color: #ff7a8c;
    border: 1px solid rgba(229, 64, 82, 0.3);
}

.tag-top {
    background: rgba(245, 179, 36, 0.14);
    color: var(--gold);
    border: 1px solid rgba(245, 179, 36, 0.3);
}

.tag-new {
    background: rgba(45, 212, 122, 0.14);
    color: #6effaa;
    border: 1px solid rgba(45, 212, 122, 0.3);
}

.game-card h3 {
    margin-bottom: 10px;
}

.game-card p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.game-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.game-feature {
    padding: 6px 12px;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ===== FEATURES (4-up) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: all var(--t);
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gold-soft);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.feature h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: var(--sans);
    font-weight: 600;
}

.feature p {
    font-size: 0.9rem;
}

/* ===== NOTICE BOX ===== */
.notice {
    background: linear-gradient(135deg, rgba(45, 212, 122, 0.08), rgba(45, 212, 122, 0.02));
    border: 1px solid rgba(45, 212, 122, 0.35);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    margin: 32px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.notice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(45, 212, 122, 0.15);
    color: #6effaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.notice h4 {
    font-family: var(--sans);
    color: #6effaa;
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.notice p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.testimonial {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
}

.testimonial .stars {
    color: var(--gold);
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial p {
    font-size: 0.92rem;
    margin-bottom: 18px;
    color: var(--text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.testimonial-author .name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial-author .meta {
    font-size: 0.78rem;
    color: var(--text-mute);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 96px 0;
    text-align: center;
}

.cta-inner {
    background: linear-gradient(135deg, var(--surface-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 72px 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, transparent, rgba(245, 179, 36, 0.15), transparent);
    border-radius: var(--r-xl);
    pointer-events: none;
}

.cta-inner h2 {
    margin-bottom: 16px;
}

.cta-inner p {
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-disclaimer {
    margin-top: 28px;
    font-size: 0.82rem;
    color: var(--text-mute);
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
    border-top: 1px solid var(--border-soft);
    padding: 64px 0 40px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.92rem;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 340px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

.footer-col h4 {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-dim);
    font-size: 0.92rem;
    transition: color var(--t);
}

.footer-col a:hover {
    color: var(--gold);
}

/* Responsible gaming partners */
.partners {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 32px 0;
    margin-bottom: 32px;
}

.partners-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.partners-label {
    font-size: 0.82rem;
    color: var(--text-mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.partners-logos a {
    display: flex;
    align-items: center;
    height: 48px;
    opacity: 0.7;
    transition: opacity var(--t);
}

.partners-logos a:hover {
    opacity: 1;
}

.partners-logos img {
    max-height: 44px;
    width: auto;
    filter: brightness(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-mute);
}

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
    padding: 80px 0 56px;
    text-align: center;
}

.page-hero .section-eyebrow {
    margin-bottom: 12px;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
}

/* ===== CONTENT (legal pages) ===== */
.content {
    padding: 32px 0 64px;
}

.content-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 56px;
}

.content-card h2 {
    font-size: 1.7rem;
    margin: 36px 0 14px;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    font-size: 1.25rem;
    font-family: var(--sans);
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text);
}

.content-card p,
.content-card li {
    margin-bottom: 12px;
    color: var(--text-dim);
    font-size: 0.98rem;
    line-height: 1.75;
}

.content-card ul,
.content-card ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.content-card strong {
    color: var(--text);
}

.content-card a {
    color: var(--gold);
    border-bottom: 1px solid rgba(245, 179, 36, 0.3);
}

.content-card a:hover {
    border-bottom-color: var(--gold);
}

.last-updated {
    display: inline-block;
    padding: 6px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-mute);
    margin-bottom: 32px;
}

/* ===== STEPS (How it works / About) ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    position: relative;
}

.step-num {
    position: absolute;
    top: -16px;
    left: 28px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #1a1206;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.step h3 {
    font-family: var(--sans);
    font-size: 1.15rem;
    margin: 14px 0 8px;
}

.step p {
    font-size: 0.92rem;
}

/* ===== GAME PAGES ===== */
.game-topbar {
    background: rgba(7, 9, 26, 0.6);
    border-bottom: 1px solid var(--border-soft);
    padding: 16px 0;
}

.game-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.game-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.game-back:hover {
    color: var(--gold);
}

.game-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-title-row .game-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--text);
}

.game-quick-nav {
    display: flex;
    gap: 10px;
}

.game-quick-nav a {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: all var(--t);
}

.game-quick-nav a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.game-stage {
    padding: 48px 0 32px;
}

.game-board {
    background: linear-gradient(165deg, var(--card), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.game-board h2 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 2rem;
}

/* SLOTS */
.slots-frame {
    background: linear-gradient(180deg, #0d1430, #06091e);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    margin: 0 auto 32px;
    max-width: 560px;
    box-shadow: inset 0 0 60px rgba(245, 179, 36, 0.06);
}

.slots-reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 0;
}

.slot-reel {
    background: #0a0e22;
    border: 1px solid #1f2848;
    border-radius: var(--r);
    height: 180px;
    overflow: hidden;
    position: relative;
}

.slot-strip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.slot-symbol {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-family: var(--serif);
    border-bottom: 1px dashed rgba(245, 179, 36, 0.18);
    color: var(--gold);
}

.slot-symbol:last-child {
    border-bottom: 0;
}

.slot-symbol.s-7 {
    color: #ff8a3a;
}

.slot-symbol.s-h {
    color: #ff5a6a;
}

.slot-symbol.s-d {
    color: #6aa9ff;
}

.slot-symbol.s-c {
    color: #6affa0;
}

.slot-symbol.s-s {
    color: #d8d8e8;
}

.slot-symbol.s-a {
    color: #ffd576;
}

.slot-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    border-top: 1px dashed rgba(245, 179, 36, 0.32);
    border-bottom: 1px dashed rgba(245, 179, 36, 0.32);
    pointer-events: none;
}

.bet-row {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.bet-row .bet-label {
    font-size: 0.92rem;
    color: var(--text-dim);
    font-weight: 600;
}

.bet-chip {
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-weight: 600;
    transition: all var(--t);
    font-size: 0.92rem;
}

.bet-chip:hover {
    border-color: var(--gold);
    color: var(--text);
}

.bet-chip.active {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold);
}

.spin-btn {
    width: 100%;
    padding: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #051a0e;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 12px 40px rgba(45, 212, 122, 0.32);
    margin-bottom: 14px;
    transition: all var(--t);
}

.spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(45, 212, 122, 0.45);
}

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auto-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0 auto;
    display: flex;
    width: max-content;
    transition: all var(--t);
}

.auto-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.auto-btn.on {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold);
}

.win-message {
    text-align: center;
    margin: 16px 0;
    min-height: 32px;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: opacity var(--t);
}

.paytable {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 28px;
    margin-top: 32px;
}

.paytable h3 {
    text-align: center;
    font-family: var(--sans);
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 20px;
    font-weight: 600;
}

.paytable-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 1.05rem;
}

.paytable-row:last-child {
    border-bottom: 0;
}

.paytable-symbols {
    color: var(--gold);
    font-family: var(--serif);
    letter-spacing: 0.1em;
    font-size: 1.1rem;
}

.paytable-payout {
    color: var(--gold);
    font-weight: 700;
}

/* BLACKJACK */
.bj-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.bj-row {
    background: rgba(8, 16, 24, 0.6);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 24px;
}

.bj-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bj-row-label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 600;
}

.bj-score {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    padding: 4px 14px;
    border-radius: 999px;
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    min-width: 48px;
    text-align: center;
}

.bj-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 130px;
}

.bj-card {
    width: 88px;
    height: 124px;
    background: linear-gradient(145deg, #ffffff, #f0f0f5);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    padding: 10px;
    color: #111;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: var(--serif);
    transition: transform 0.4s ease;
}

.bj-card.red {
    color: #c5283d;
}

.bj-card.placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border);
    box-shadow: none;
    color: var(--text-mute);
}

.bj-card .rank {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.bj-card .suit-small {
    font-size: 1rem;
    margin-top: 2px;
}

.bj-card .suit-big {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 1.9rem;
}

.bj-card.back {
    background: linear-gradient(135deg, #1f2a55, #0d1330);
    color: var(--gold);
    border: 1px solid var(--gold);
    align-items: center;
    justify-content: center;
}

.bj-card.back::after {
    content: "★";
    font-size: 2.2rem;
    color: var(--gold);
}

.bj-card.deal {
    animation: bjDeal 0.45s ease;
}

@keyframes bjDeal {
    from {
        opacity: 0;
        transform: translateY(-30px) rotate(-8deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

.bj-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 8px 0;
}

.bj-message {
    text-align: center;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--gold);
    margin: 8px 0 4px;
    min-height: 32px;
    font-weight: 600;
}

.bj-message.win {
    color: #6effaa;
}

.bj-message.lose {
    color: #ff7a8c;
}

.bj-message.push {
    color: var(--text);
}

.bj-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
}

.bj-controls .btn {
    flex: 1 1 140px;
    max-width: 200px;
}

.bj-rules {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.bj-rule {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-dim);
}

.bj-rule b {
    color: var(--gold);
}

/* ROULETTE */
.roul-stage {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
}

.roul-wheel-wrap {
    text-align: center;
}

.roul-wheel {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 20px;
}

.roul-wheel-svg {
    width: 100%;
    height: 100%;
    transition: transform 4s cubic-bezier(0.15, 0.85, 0.25, 1);
}

.roul-pointer {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 22px solid var(--gold);
    z-index: 4;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.roul-result {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 18px;
    margin-bottom: 16px;
}

.roul-result-num {
    font-family: var(--serif);
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 1;
}

.roul-result-label {
    font-size: 0.82rem;
    color: var(--text-mute);
    margin-top: 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.roul-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chip-row {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.chip-row .chip-label {
    font-weight: 600;
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-right: 4px;
}

.chip {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px dashed rgba(255, 255, 255, 0.5);
    background: var(--surface-2);
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t);
    position: relative;
}

.chip[data-value="5"] {
    border-color: #4f7ce5;
    color: #5a8af0;
}

.chip[data-value="25"] {
    border-color: var(--green);
    color: #6effaa;
}

.chip[data-value="50"] {
    border-color: var(--red);
    color: #ff7a8c;
}

.chip[data-value="100"] {
    border-color: #cccccc;
    color: #ffffff;
}

.chip[data-value="200"] {
    border-color: var(--gold);
    color: var(--gold);
}

.chip:hover {
    transform: scale(1.05);
}

.chip.active {
    background: rgba(245, 179, 36, 0.1);
    border-style: solid;
    box-shadow: 0 0 0 4px rgba(245, 179, 36, 0.18);
}

.bet-info {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.bet-info b {
    color: var(--gold);
}

.roul-betgrid {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.outside-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.outside-row.dozens {
    grid-template-columns: repeat(3, 1fr);
}

.bet-cell {
    padding: 14px 10px;
    border-radius: var(--r-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
    user-select: none;
}

.bet-cell:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
}

.bet-cell.red {
    background: rgba(229, 64, 82, 0.18);
    border-color: rgba(229, 64, 82, 0.5);
    color: #ff7a8c;
}

.bet-cell.black {
    background: rgba(20, 24, 50, 0.8);
    border-color: var(--border);
    color: #cdd2eb;
}

.bet-cell.green {
    background: rgba(45, 212, 122, 0.16);
    border-color: rgba(45, 212, 122, 0.45);
    color: #6effaa;
}

.bet-cell.gold {
    background: rgba(245, 179, 36, 0.14);
    border-color: rgba(245, 179, 36, 0.45);
    color: var(--gold);
}

.bet-cell .ratio {
    font-size: 0.7rem;
    color: var(--text-mute);
    display: block;
    font-weight: 500;
    margin-top: 2px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: 1fr 6fr;
    gap: 8px;
}

.num-zero {
    background: rgba(45, 212, 122, 0.16);
    border: 1px solid rgba(45, 212, 122, 0.5);
    border-radius: var(--r-sm);
    color: #6effaa;
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
    user-select: none;
}

.num-zero:hover {
    border-color: var(--green);
    transform: translateY(-1px);
}

.num-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-rows: 1fr;
    gap: 6px;
}

.num-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.16s ease;
    user-select: none;
    position: relative;
}

.num-cell.red {
    background: rgba(229, 64, 82, 0.85);
    color: #fff;
}

.num-cell.black {
    background: #14182d;
    color: #fff;
    border: 1px solid var(--border);
}

.num-cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.placed-chip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1206;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1206;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2;
}

.roul-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.roul-message {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 16px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 16px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roul-message.win {
    color: #6effaa;
    border-color: rgba(45, 212, 122, 0.3);
}

.roul-message.lose {
    color: #ff7a8c;
    border-color: rgba(229, 64, 82, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {

    .games-grid,
    .features-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        height: 380px;
        max-width: 480px;
        margin: 0 auto;
    }

    .roul-stage {
        grid-template-columns: 1fr;
    }

    .roul-wheel-wrap {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .header-inner {
        height: 64px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta .btn {
        display: none;
    }

    .hero {
        padding: 40px 0 64px;
    }

    .section,
    .cta-section {
        padding: 64px 0;
    }

    .games-grid,
    .features-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-card {
        padding: 32px 24px;
    }

    .cta-inner {
        padding: 48px 24px;
    }

    .num-grid {
        grid-template-columns: repeat(10, minmax(28px, 1fr));
        gap: 4px;
    }

    .num-cell {
        font-size: 0.78rem;
    }

    .roul-wheel {
        width: 280px;
        height: 280px;
    }

    .game-board {
        padding: 24px;
    }

    .partners-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
