html, body { overflow-x: hidden; max-width: 100vw; }

  :root {
    --page-bg: var(--bg, #0a0e1a);
    --card-bg: rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.08);
    --accent: var(--acc, #f0c040);
    --accent2: var(--acc2, #e05a20);
    --glow: 0 0 30px rgba(240,192,64,0.25);
  }

  [data-section="games-hero"] {
    position: relative;
    padding: var(--sp3, 3rem) 0 var(--sp2, 2rem);
    text-align: center;
    overflow: hidden;
  }

  [data-section="games-hero"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240,192,64,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .games-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    background: rgba(240,192,64,0.12);
    border: 1px solid rgba(240,192,64,0.3);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
  }

  .games-hero-eyebrow .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 1.6s ease-in-out infinite;
  }

  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
  }

  .games-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--fg, #fff);
    margin: 0 0 1rem;
  }

  .games-hero-title span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .games-hero-desc {
    max-width: 640px;
    margin: 0 auto 2rem;
    color: var(--fg2, rgba(255,255,255,0.7));
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .stats-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin: 2rem 0 0;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--rad, 1rem);
    backdrop-filter: blur(8px);
  }

  .stat-item {
    text-align: center;
  }

  .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    text-shadow: var(--glow);
  }

  .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--fg2, rgba(255,255,255,0.55));
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
  }

  /* ── CATEGORIES TABS ── */
  [data-section="game-categories"] {
    padding: var(--sp3, 3rem) 0;
  }

  .section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--fg, #fff);
    margin: 0 0 0.5rem;
  }

  .section-sub {
    color: var(--fg2, rgba(255,255,255,0.6));
    font-size: 0.95rem;
    margin: 0 0 2rem;
  }

  .category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .cat-tab {
    padding: 0.55rem 1.2rem;
    border-radius: 2rem;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--fg2, rgba(255,255,255,0.6));
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans, all 0.3s ease);
    user-select: none;
  }

  .cat-tab:hover,
  .cat-tab.is-active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(240,192,64,0.3);
  }

  .category-panels .cat-panel {
    display: none;
    animation: fadeIn 0.35s ease;
  }

  .category-panels .cat-panel.is-open {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

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

  .game-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--rad, 1rem);
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
  }

  .game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), var(--glow);
    border-color: rgba(240,192,64,0.2);
  }

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

  .game-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(240,192,64,0.15) 0%, rgba(224,90,32,0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(240,192,64,0.2);
  }

  .game-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg, #fff);
    margin: 0 0 0.5rem;
  }

  .game-card-desc {
    font-size: 0.875rem;
    color: var(--fg2, rgba(255,255,255,0.6));
    line-height: 1.6;
    margin: 0 0 1rem;
  }

  .game-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .game-tag-gold {
    background: rgba(240,192,64,0.15);
    color: var(--accent);
    border: 1px solid rgba(240,192,64,0.25);
  }

  .game-tag-green {
    background: rgba(40,200,100,0.12);
    color: #3ddc84;
    border: 1px solid rgba(40,200,100,0.2);
  }

  .game-tag-blue {
    background: rgba(60,120,255,0.12);
    color: #5b9cff;
    border: 1px solid rgba(60,120,255,0.2);
  }

  /* ── TABLE SECTION ── */
  [data-section="table-games"] {
    padding: var(--sp3, 3rem) 0;
  }

  .split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .split-text .section-heading {
    margin-bottom: 1rem;
  }

  .split-text p {
    color: var(--fg2, rgba(255,255,255,0.65));
    line-height: 1.75;
    margin-bottom: 1.25rem;
  }

  /* ── LIVE CASINO ── */
  [data-section="live-casino"] {
    padding: var(--sp3, 3rem) 0;
  }

  .live-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(224,90,32,0.15) 0%, rgba(240,192,64,0.1) 50%, rgba(60,120,255,0.1) 100%);
    border: 1px solid rgba(240,192,64,0.15);
    border-radius: var(--rad, 1rem);
    padding: 2.5rem;
    overflow: hidden;
    margin-bottom: 2rem;
  }

  .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    background: rgba(220,50,50,0.9);
    border-radius: 2rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .live-badge .live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-dot 1s ease-in-out infinite;
  }

  .live-games-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .live-game-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 0.75rem;
    transition: all 0.25s ease;
  }

  .live-game-item:hover {
    border-color: rgba(240,192,64,0.25);
    background: rgba(240,192,64,0.06);
    transform: translateX(3px);
  }

  .live-game-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .live-game-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fg, #fff);
  }

  .live-game-sub {
    font-size: 0.75rem;
    color: var(--fg3, rgba(255,255,255,0.45));
  }

  /* ── DEMO + KYC TIMELINE ── */
  [data-section="demo-kyc"] {
    padding: var(--sp3, 3rem) 0;
  }

  .two-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .panel-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--rad, 1rem);
    padding: 2rem;
  }

  .panel-box-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fg, #fff);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .panel-box-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2rem;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 100%);
    border-radius: 2px;
    flex-shrink: 0;
  }

  .kyc-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
  }

  .kyc-step:last-child { margin-bottom: 0; }

  .kyc-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
    margin-top: 0.15rem;
  }

  .kyc-step-text {
    font-size: 0.9rem;
    color: var(--fg2, rgba(255,255,255,0.65));
    line-height: 1.55;
  }

  .kyc-step-text strong {
    display: block;
    color: var(--fg, #fff);
    font-weight: 600;
    margin-bottom: 0.2rem;
  }

  .demo-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.9rem;
    color: var(--fg2, rgba(255,255,255,0.65));
  }

  .demo-feature:last-of-type { border-bottom: none; }

  .demo-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(61,220,132,0.15);
    border: 1px solid rgba(61,220,132,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #3ddc84;
    flex-shrink: 0;
  }

  /* ── RESPONSIBLE GAMBLING ── */
  [data-section="responsible-gambling"] {
    padding: var(--sp3, 3rem) 0;
  }

  .rg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .rg-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--rad, 1rem);
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .rg-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240,192,64,0.2);
  }

  .rg-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
  }

  .rg-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fg, #fff);
    margin: 0 0 0.5rem;
  }

  .rg-desc {
    font-size: 0.85rem;
    color: var(--fg2, rgba(255,255,255,0.6));
    line-height: 1.6;
  }

  .rg-notice {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(240,192,64,0.06);
    border: 1px solid rgba(240,192,64,0.15);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--fg2, rgba(255,255,255,0.65));
    line-height: 1.7;
  }

  /* ── FAQ ACCORDION ── */
  [data-section="faq"] {
    padding: var(--sp3, 3rem) 0;
  }

  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 820px;
  }

  .faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.875rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
  }

  .faq-item.is-open {
    border-color: rgba(240,192,64,0.25);
  }

  .faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--fg, #fff);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease;
  }

  .faq-trigger:hover {
    color: var(--accent);
  }

  .faq-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
    font-size: 0.7rem;
    color: var(--fg2, rgba(255,255,255,0.5));
  }

  .faq-item.is-open .faq-arrow {
    transform: rotate(180deg);
    background: rgba(240,192,64,0.15);
    color: var(--accent);
  }

  .faq-body {
    display: none;
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--fg2, rgba(255,255,255,0.65));
    line-height: 1.7;
  }

  .faq-item.is-open .faq-body {
    display: block;
    animation: fadeIn 0.25s ease;
  }

  /* ── CTA BAND ── */
  [data-section="cta-band"] {
    padding: var(--sp3, 3rem) 0 var(--sp2, 2rem);
    text-align: center;
  }

  .cta-band-inner {
    background: linear-gradient(135deg, rgba(240,192,64,0.1) 0%, rgba(224,90,32,0.12) 50%, rgba(60,120,255,0.08) 100%);
    border: 1px solid rgba(240,192,64,0.2);
    border-radius: var(--rad, 1rem);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
  }

  .cta-band-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--fg, #fff);
    margin: 0 0 0.75rem;
  }

  .cta-band-sub {
    color: var(--fg2, rgba(255,255,255,0.65));
    font-size: 1rem;
    margin: 0 0 2rem;
  }

  .cta-band-sub a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
  }

  /* ── DIVIDER ── */
  .fancy-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    margin: 0.5rem 0;
  }

  /* ── PROVIDERS ── */
  .providers-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .provider-pill {
    padding: 0.5rem 1.1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fg2, rgba(255,255,255,0.7));
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
  }

  .provider-pill:hover {
    border-color: rgba(240,192,64,0.35);
    color: var(--accent);
    background: rgba(240,192,64,0.08);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    .split-layout { grid-template-columns: 1fr; }
    .rg-grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 768px) {
    .games-grid { grid-template-columns: 1fr; }
    .two-panel-grid { grid-template-columns: 1fr; }
    .rg-grid { grid-template-columns: 1fr; }
    .live-games-list { grid-template-columns: 1fr 1fr; }
    .stats-strip { gap: 0.75rem 1.5rem; }
    .split-layout { gap: 1.5rem; }
  }

  @media (max-width: 480px) {
    .live-games-list { grid-template-columns: 1fr; }
    .category-tabs { gap: 0.4rem; }
    .cat-tab { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
    .cta-band-inner { padding: 2rem 1.25rem; }
    .stats-strip { padding: 1.25rem 1rem; }
  }