/*
Theme Name: JP Brand
Theme URI: https://example.com/
Author: the editorial team
Description: JP template 1 — a dark, high-contrast Japanese product gambling theme with a purple accent.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jpbrand
*/

/* dark violet-navy neutrals + a single vivid purple brand accent (reroll via
   `theorb template vary`); a teal secondary signals wins / live. */
:root {
  --bg: #0d0e15;
  --bg-elev: #12141d;
  --surface: #181b26;
  --surface-2: #1f2330;
  --border: #2a2f3d;
  --border-strong: #3a4054;
  --text: #eef0f6;
  --text-muted: #a2a8b8;
  --text-faint: #6b7288;
  --brand: #7c5cff;
  --brand-strong: #9d82ff;
  --brand-dark: #5b3fe0;
  --brand-dim: rgba(124, 92, 255, 0.14);
  --brand-border: rgba(124, 92, 255, 0.4);
  --accent2: #2fe0a7;
  --red: #ff5c7a;
  --red-dim: rgba(255, 92, 122, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-body: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.28);
}
.btn-brand:hover { background: linear-gradient(135deg, var(--brand-strong), var(--brand)); box-shadow: 0 8px 26px rgba(124, 92, 255, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); box-shadow: none; }

/* ── Header ──────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg-elev); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.site-branding { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); flex: 0 0 auto; }
.site-branding:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 900; font-size: 18px; flex: 0 0 auto;
}
.site-title { text-transform: uppercase; letter-spacing: 0.02em; }
.main-navigation { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.menu-item a {
  display: block; padding: 8px 12px; color: var(--text-muted);
  font-size: 14px; font-weight: 500; border-radius: 6px;
}
.menu-item a:hover { color: var(--brand-strong); background: var(--brand-dim); text-decoration: none; }
.nav-cta-group { margin-left: auto; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.nav-cta-group .btn { padding: 9px 20px; font-size: 14px; white-space: nowrap; }

/* Hamburger (CSS-only, driven by the #nav-toggle checkbox) */
.nav-toggle-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; cursor: pointer; border-radius: 8px;
  border: 1px solid var(--border-strong); align-items: center;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 1px; }

/* Language switcher — shown only when the site has >1 locale. */
.lang-switcher { display: flex; align-items: center; }
.lang-select {
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 6px; padding: 7px 10px; font-size: 13px; font-weight: 700; cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────── */
.index-hero {
  padding: 44px 0 32px;
  background:
    radial-gradient(1000px 400px at 80% -20%, var(--brand-dim), transparent 60%),
    linear-gradient(180deg, var(--bg-elev), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 40px 0;
  background:
    radial-gradient(900px 420px at 85% 15%, var(--brand-dim), transparent 60%),
    linear-gradient(180deg, var(--bg-elev), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  width: 100%;
}
.page-hero-text { min-width: 0; }
.page-hero-figure { margin: 0; display: flex; justify-content: center; }
.page-hero-figure img {
  width: 100%; max-width: 420px; height: auto; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}
.hero-kicker {
  margin: 0 0 10px; color: var(--brand-strong); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em;
}
.entry-title, .page-title {
  margin: 0 0 14px; font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2; font-weight: 800; letter-spacing: -0.01em;
}
.entry-subtitle, .archive-description { margin: 0 0 20px; color: var(--text-muted); font-size: 17px; max-width: 760px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 20px 0 0; }
.hero-bonus { color: var(--brand-strong); font-size: 14px; max-width: 420px; }

/* Eye-catching offer (a badge above the CTA) */
.hero-offer {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 6px 0 14px; padding: 10px 16px;
  border: 1px solid var(--brand-border);
  background: linear-gradient(135deg, var(--brand-dim), var(--surface));
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 15px; font-weight: 600;
}
.hero-offer-icon { width: 20px; height: 20px; flex: 0 0 auto; color: var(--brand-strong); }

/* Attractive, interactive CTA */
.hero-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-size: 17px; padding: 15px 34px;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4);
}
.hero-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 32px rgba(124, 92, 255, 0.55); }
.hero-cta::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: left 0.5s ease;
}
.hero-cta:hover::after { left: 120%; }
.hero-cta-arrow { display: inline-block; margin-left: 8px; transition: transform 0.15s ease; }
.hero-cta:hover .hero-cta-arrow { transform: translateX(4px); }

/* ── Breadcrumbs ─────────────────────────────────────── */
.breadcrumbs { padding: 16px 0 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; margin-right: 0.4rem; color: var(--border-strong); }
.breadcrumb-current { color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand-strong); }

/* Author / EEAT — subtle byline just before the text */
.article-byline {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.author-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: var(--surface-2); color: var(--brand-strong);
  border: 1px solid var(--border); font-weight: 800; font-size: 13px;
}
.author-meta { display: flex; flex-direction: row; gap: 8px; align-items: baseline; }
.author-name { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.author-date { font-size: 12px; color: var(--text-faint); }

/* ── Article layout ──────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  padding: 36px 0 20px;
}
.article-sidebar { position: sticky; top: 96px; align-self: start; }
.article-main { min-width: 0; }

/* ── Entry content (dark editorial) ──────────────────── */
.entry-content { font-family: var(--font-body); font-size: 17.5px; color: #d8dbe0; }
.entry-content h2 { font-family: var(--font-ui); font-size: 26px; font-weight: 800; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); color: var(--text); }
.entry-content h3 { font-family: var(--font-ui); font-size: 20px; font-weight: 700; margin: 30px 0 12px; color: var(--text); }
.entry-content p { margin: 0 0 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 24px; }
.entry-content li { margin: 6px 0; }
.entry-content a { color: var(--brand-strong); }
.entry-content blockquote {
  margin: 24px 0; padding: 14px 20px; border-left: 3px solid var(--brand);
  background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}
.entry-content code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-family: var(--font-ui); font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.entry-content th { background: var(--surface-2); color: var(--brand-strong); }
.entry-content tr:nth-child(even) td { background: var(--surface); }

/* ── TOC ─────────────────────────────────────────────── */
.table-of-contents {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}
.toc-title {
  margin: 0 0 10px; font-weight: 700; color: var(--brand-strong);
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em;
}
.table-of-contents ol { margin: 0; padding-left: 20px; }
.table-of-contents li { margin: 5px 0; font-size: 14px; }
.table-of-contents a { color: var(--text-muted); }
.table-of-contents a:hover { color: var(--brand-strong); }

/* ── Pros / cons ─────────────────────────────────────── */
.pros-cons { margin: 8px 0 28px; }
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-col { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); }
.pc-pros { border-top: 3px solid var(--accent2); }
.pc-cons { border-top: 3px solid var(--red); }
.pc-title { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
.pc-pros .pc-title { color: var(--accent2); }
.pc-cons .pc-title { color: var(--red); }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li { display: flex; gap: 10px; margin: 10px 0; font-size: 14.5px; color: var(--text); }
.pc-icon { flex: 0 0 auto; font-weight: 800; font-size: 13px; line-height: 1.5; }
.pc-check { color: var(--accent2); }
.pc-cross { color: var(--red); }

/* ── Offer box ───────────────────────────────────────── */
.offer-box {
  margin: 8px 0 28px; border: 1px solid var(--brand-border);
  background: linear-gradient(135deg, var(--brand-dim), var(--surface));
  border-radius: var(--radius); padding: 26px;
}
.offer-kicker { margin: 0 0 6px; color: var(--brand-strong); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.offer-title { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.offer-bonus { margin: 0 0 18px; color: var(--text-muted); font-size: 15px; }
.offer-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.offer-stat { background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.offer-stat-value { font-weight: 800; color: var(--brand-strong); font-size: 16px; }
.offer-stat-label { font-size: 12px; color: var(--text-faint); }

/* ── Features grid ───────────────────────────────────── */
.features-section { margin: 8px 0 28px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.feature-icon { font-size: 22px; }
.feature-title { margin: 8px 0 6px; font-size: 15.5px; font-weight: 700; }
.feature-desc { margin: 0; font-size: 13.5px; color: var(--text-muted); }

/* ── Plan tables ─────────────────────────────────────── */
.plan-table-block { margin: 8px 0 28px; }
.plan-table-title { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.plan-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 14px; min-width: 560px; }
.plan-table th { background: var(--brand); color: #fff; padding: 11px 14px; text-align: left; font-weight: 700; }
.plan-table td { padding: 11px 14px; border-top: 1px solid var(--border); color: var(--text); }
.plan-table tbody tr:nth-child(even) { background: var(--surface); }

/* ── Steps / HowTo block-scheme ───────────────────────── */
.plan-steps-list { list-style: none; margin: 8px 0 28px; padding: 0; counter-reset: step; }
.plan-steps-list li { display: flex; gap: 16px; align-items: flex-start; margin: 0; position: relative; padding-bottom: 18px; }
.plan-steps-list li::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px;
  width: 2px; background: var(--brand-border);
}
.plan-steps-list li:last-child::before { display: none; }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px; flex: 1 1 auto;
}
.step-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  position: relative; z-index: 1;
}
.step-text { padding-top: 4px; color: var(--text); flex: 1 1 auto; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section { margin: 8px 0 28px; }
.faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question { cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 15.5px; color: var(--text); list-style: none; }
.faq-question::marker { color: var(--brand-strong); }
.faq-question:hover { color: var(--brand-strong); }
.faq-answer { padding: 0 18px 16px; color: var(--text-muted); font-size: 15px; }
.faq-answer p { margin: 0; }
.faq-item[open] .faq-question { color: var(--brand-strong); }

/* ── Related ─────────────────────────────────────────── */
.related-posts { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.related-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px; color: var(--text);
  font-size: 14.5px; font-weight: 600; transition: border-color 0.12s ease, background 0.12s ease;
}
.related-card:hover { border-color: var(--brand-border); background: var(--brand-dim); text-decoration: none; color: var(--brand-strong); }
.related-card span { color: var(--brand-strong); }

/* ── Section titles ──────────────────────────────────── */
.section-title { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--text); }

/* ── Author block ────────────────────────────────────── */
.author { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px; }
.author-wrapper { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 32px; }
.author-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.author-header .author-avatar { width: 40px; height: 40px; font-size: 18px; }
.author-name { font-size: 15px; font-weight: 700; color: var(--text); }
.author-title { font-size: 12px; color: var(--text-faint); }
.author-body { margin: 0; font-size: 14px; color: var(--text-muted); max-width: 760px; }

/* ── Payment strip ───────────────────────────────────── */
.payment-strip { margin: 8px 0 28px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.strip-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.payment-icon {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text-muted); font-size: 13px; font-weight: 600;
}

/* ── App banner ──────────────────────────────────────── */
.app-banner {
  display: flex; align-items: center; gap: 24px;
  margin: 8px 0 28px; padding: 24px;
  background: linear-gradient(135deg, var(--brand-dim), var(--surface));
  border: 1px solid var(--brand-border); border-radius: var(--radius);
}
.app-banner-content { min-width: 0; }
.app-banner-title { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.app-banner-message { margin: 0 0 16px; font-size: 14.5px; color: var(--text-muted); }
.app-banner-button {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  font-weight: 700; font-size: 14px;
}
.app-banner-button:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4); }

/* ── Home / product lobby ────────────────────────────── */
.home-container { padding-top: 24px; padding-bottom: 48px; }
.home-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
}
.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
  position: sticky;
  top: 88px;
}
.sidebar-title {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 8px;
  padding: 0 10px;
}
.activity-nav, .game-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 8px;
}
.activity-item, .game-cat {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.cat-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.activity-item:hover, .game-cat:hover { color: var(--brand-strong); background: var(--brand-dim); text-decoration: none; }
.activity-item.active { color: var(--brand-strong); background: var(--brand-dim); font-weight: 700; }
.home-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.mobile-nav-rail { display: none; }

.page-header { margin: 4px 0 0; }
.page-header .page-title { margin-bottom: 10px; }
.page-header .intro { color: var(--text-muted); font-size: 16px; max-width: 860px; }

/* Bonus highlight card (mcta) */
.mcta-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--brand-dim), var(--surface));
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
}
.mcta-over { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-strong); }
.mcta-main { font-size: 19px; font-weight: 800; color: var(--text); }
.mcta-btn {
  align-self: flex-start; margin-top: 8px;
  display: inline-block; padding: 11px 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  font-weight: 700; font-size: 14px;
}
.mcta-btn:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4); }

/* Hero carousel */
.hero-carousel { overflow: hidden; border-radius: var(--radius); }
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.promo-card {
  position: relative;
  flex: 0 0 62%;
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
}
.promo-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.promo-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0));
}
.promo-kicker {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.promo-title { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.2; }
.promo-cta {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

/* Winners — a single horizontal line, no wrap */
.winners-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.winners-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; font-weight: 800; color: var(--text); }
.winners-title svg { color: var(--brand-strong); }
.winners-all { font-size: 13px; color: var(--brand-strong); white-space: nowrap; }
.winners-track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.winner-item {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  text-decoration: none; white-space: nowrap;
}
.winner-item:hover { border-color: var(--brand-border); text-decoration: none; }
.winner-thumb { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); flex: 0 0 auto; }
.winner-name { font-size: 13px; font-weight: 600; color: var(--text); }
.winner-nick { font-size: 12px; color: var(--text-faint); }
.winner-amount { font-size: 13px; font-weight: 800; color: var(--accent2); }

/* Game rows — horizontal scrollable lines of slots/games */
.game-row { min-width: 0; }
.game-row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.game-row-title { margin: 0; font-size: 20px; font-weight: 800; color: var(--text); }
.game-row-all {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.game-row-all:hover { border-color: var(--brand); background: var(--brand-dim); text-decoration: none; }
.game-row-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.game-tile {
  position: relative;
  flex: 0 0 160px;
  scroll-snap-align: start;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.game-tile:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.game-tile img { width: 100%; height: 100px; object-fit: cover; display: block; }
.game-tile-name {
  display: block; padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-tile-badge {
  position: absolute; top: 6px; left: 6px; z-index: 1;
  background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 4px;
}
.game-tile-badge.live { background: var(--accent2); color: #06281d; }

/* Provider tiles (text) */
.provider-tile {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  min-width: 140px; min-height: 64px; padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  text-decoration: none;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.provider-tile:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.provider-tile span { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; }

/* Folded text */
.home-text-fold { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.fold-summary { cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 15.5px; color: var(--text); list-style: none; }
.fold-summary:hover { color: var(--brand-strong); }
.fold-summary::marker { color: var(--brand-strong); }
.fold-body { padding: 0 18px 18px; color: var(--text-muted); }

/* Games showcase grid (article bottom) */
.games-showcase { margin: 8px 0 28px; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.game-card { display: block; text-decoration: none; color: var(--text); }
.game-card:hover { text-decoration: none; }
.game-thumbnail { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.game-thumbnail img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.game-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(13, 14, 21, 0); transition: background 0.15s ease; opacity: 0;
}
.game-card:hover .game-overlay { background: rgba(13, 14, 21, 0.55); opacity: 1; }
.play-btn {
  padding: 8px 18px; border-radius: 999px; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 13px; transform: translateY(4px); transition: transform 0.15s ease;
}
.game-card:hover .play-btn { transform: translateY(0); }
.game-name { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Category lobby ──────────────────────────────────── */
.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-top: 24px;
  background:
    radial-gradient(800px 380px at 85% 0%, var(--brand-dim), transparent 60%),
    linear-gradient(180deg, var(--bg-elev), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.category-hero-text { min-width: 0; }
.category-hero-figure { margin: 0; }
.category-hero-figure img {
  width: 100%; max-width: 380px; height: auto; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  margin-left: auto;
}

/* ── Go modal (game/category click interception) ────────── */
.go-modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  visibility: hidden; opacity: 0; transition: opacity 0.2s ease, visibility 0.2s ease;
}
.go-modal.is-open { visibility: visible; opacity: 1; }
.go-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 5, 6, 0.82);
  backdrop-filter: blur(4px);
}
.go-modal-dialog {
  position: relative; width: 100%; max-width: 420px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  padding: 30px 28px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  text-align: center;
}
.go-modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 30px; height: 30px; border: none; background: transparent;
  color: var(--text-faint); font-size: 22px; line-height: 1; cursor: pointer;
  border-radius: 6px;
}
.go-modal-close:hover { color: var(--text); background: var(--surface-2); }
.go-modal-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.go-modal-logo { width: 40px; height: 40px; border-radius: 9px; }
.go-modal-kicker { margin: 0; color: var(--brand-strong); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.go-modal-title { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--text); }
.go-modal-text { margin: 0 0 20px; font-size: 14.5px; color: var(--text-muted); }
.go-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.go-modal-actions .btn { width: 100%; font-size: 15px; }
/* LOGIN — least attractive (ghost). */
.go-modal-login {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border-strong);
}
.go-modal-login:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); transform: none; box-shadow: none; }
/* REGISTER — main button. */
.go-modal-register {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4);
}
.go-modal-register:hover { box-shadow: 0 12px 32px rgba(124, 92, 255, 0.55); }
/* BONUS — distinct secondary CTA (teal). */
.go-modal-bonus {
  background: var(--accent2); color: #06281d; box-shadow: 0 6px 18px rgba(47, 224, 167, 0.3);
}
.go-modal-bonus:hover { background: #57eab9; }
.go-modal-note { margin: 16px 0 0; font-size: 11.5px; color: var(--text-faint); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { margin-top: 40px; background: var(--bg-elev); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 40px; padding-bottom: 32px; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  text-decoration: none; color: var(--text);
}
.footer-logo:hover { text-decoration: none; }
.footer-logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 900; font-size: 24px;
}
.footer-logo-text {
  font-family: var(--font-ui); font-size: 26px; font-weight: 900;
  letter-spacing: -0.01em; text-transform: uppercase; line-height: 1;
}
.footer-logo-accent { color: var(--brand-strong); }
.footer-disclosure { font-size: 13px; color: var(--text-faint); max-width: 320px; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.widget-title { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--brand-strong); text-transform: uppercase; letter-spacing: 0.05em; }
.widget-title::after { content: "▾"; margin-left: 6px; font-size: 11px; color: var(--text-faint); }
.widget .menu { flex-direction: column; align-items: stretch; gap: 0; }
.widget .widget-menu { display: none; }
.widget:hover .widget-menu, .widget:focus-within .widget-menu { display: flex; }
.widget .menu-item a { padding: 5px 0; color: var(--text-muted); font-size: 13.5px; }
.widget .menu-item a:hover { color: var(--brand-strong); background: transparent; }
@media (hover: none) { .widget .widget-menu { display: flex; } }
.site-info { background: #0a0b10; border-top: 1px solid var(--border); }
.site-info-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 18px 0; font-size: 12.5px; color: var(--text-faint); }
.site-info-inner p { margin: 0; }
.age-warning { color: var(--text-muted); }
.footer-license { color: var(--text-faint); }
.footer-claim a { color: var(--brand-strong); font-weight: 600; }
.proudly-powered a { color: var(--text-faint); }

/* ── Sticky bar ──────────────────────────────────────── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: linear-gradient(180deg, #181b26, #0d0e15);
  border-top: 2px solid var(--brand);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.6);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-inner { position: relative; display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.sticky-logo { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 10px; }
.sticky-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sticky-title { margin: 0; font-size: 16px; font-weight: 800; color: var(--brand-strong); }
.sticky-text { margin: 0; font-size: 13px; color: var(--text-muted); }
.sticky-cta {
  flex: 0 0 auto; margin-left: auto; padding-left: 18px; border-left: 1px solid var(--border-strong);
  background: var(--accent2); color: #06281d;
  box-shadow: 0 6px 18px rgba(47, 224, 167, 0.3);
}
.sticky-cta:hover { background: #57eab9; }
.sticky-close {
  position: absolute; top: 4px; right: 8px;
  width: 22px; height: 22px; border: none; background: transparent;
  color: var(--text-faint); font-size: 16px; line-height: 1; cursor: pointer;
  padding: 0;
}
.sticky-close:hover { color: var(--text); }

/* ── Scroll to top ───────────────────────────────────── */
.scroll-top {
  position: fixed; right: 20px; bottom: 90px; z-index: 55;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--brand-strong); font-size: 20px; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ── Mobile bottom nav ───────────────────────────────── */
.mobile-nav { display: none; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 860px) {
  body { padding-bottom: 68px; }
  .nav-inner { flex-wrap: nowrap; gap: 8px; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
  .site-branding { order: 0; font-size: 17px; gap: 8px; margin-right: auto; }
  .brand-mark { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }
  .site-title { display: none; }
  .nav-cta-group { order: 1; margin-left: 0; gap: 6px; }
  .nav-cta-group .btn { padding: 8px 13px; font-size: 13px; white-space: nowrap; }

  .nav-toggle { order: 2; display: flex; margin-left: 0; }
  .main-navigation { order: 10; width: 100%; display: none; }
  .nav-toggle-input:checked ~ .main-navigation { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 4px 0 10px; }
  .menu-item a { padding: 10px 12px; }
  .mobile-nav-rail { display: block; padding: 4px 0 14px; }
  .mobile-nav-rail .activity-nav, .mobile-nav-rail .game-cats { background: transparent; border: none; padding: 4px 0; }

  .pros-cons-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 0; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-figure img { max-height: 260px; object-fit: cover; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-sidebar { position: static; }
  .home-layout { grid-template-columns: 1fr; }
  .home-sidebar { display: none; }
  .promo-card { flex: 0 0 86%; }
  .game-tile { flex: 0 0 120px; }
  .category-hero { grid-template-columns: 1fr; padding: 20px; }
  .category-hero-figure img { max-width: 100%; max-height: 240px; object-fit: cover; }
  .app-banner { flex-direction: column; align-items: flex-start; }

  .mobile-nav {
    display: block;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 58;
    background: var(--bg-elev); border-top: 1px solid var(--border);
  }
  .mobile-nav-inner { display: flex; align-items: stretch; }
  .mobile-nav-item {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 4px 10px; color: var(--text-muted); font-size: 11px; text-decoration: none;
  }
  .mobile-nav-item svg { width: 22px; height: 22px; }
  .mobile-nav-item:hover { color: var(--brand-strong); text-decoration: none; }
  .mobile-nav-item-center { color: var(--brand-strong); }
  .mobile-nav-circle {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
    margin-top: -16px; box-shadow: 0 6px 18px rgba(124, 92, 255, 0.4);
  }
  .mobile-nav-circle svg { width: 22px; height: 22px; }
  .scroll-top { bottom: 80px; }
  .sticky-bar { bottom: 62px; }
}

@media (max-width: 480px) {
  .nav-cta-group .btn { padding: 7px 10px; font-size: 12px; }
  .game-tile { flex: 0 0 104px; }
  .game-tile img { height: 82px; }
  .promo-card img { height: 160px; }
  .sticky-content { display: none; }
}
