/* ===== V2 Design System ===== */
:root {
  --bg-body: #111318;
  --bg-surface: #1a1d25;
  --bg-card: #21252f;
  --bg-card-alt: #272c38;
  --bg-header: rgba(17, 19, 24, 0.96);
  --bg-hero: linear-gradient(135deg, #1a1028 0%, #111318 50%, #0e1a20 100%);
  --text-white: #f0f2f5;
  --text-light: #b0b8c8;
  --text-muted: #6b7485;
  --accent: #e8a838;
  --accent-hover: #d49830;
  --accent-red: #e74c5e;
  --accent-red-hover: #d43e4f;
  --accent-teal: #38b2ac;
  --accent-teal-light: #4fd1c5;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(232, 168, 56, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1100px;
  --header-h: 60px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text-white); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; }
p { color: var(--text-light); margin-bottom: 1rem; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--bg-header); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); height: var(--header-h); }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.hdr-logo { display: flex; align-items: center; gap: 6px; font-size: 1.15rem; font-weight: 700; color: var(--text-white); text-decoration: none; }
.hdr-logo .icon { color: var(--accent); font-size: 1.3rem; }

.hdr-nav { display: flex; align-items: center; gap: 28px; }
.hdr-nav a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.hdr-nav a:hover, .hdr-nav a.on { color: var(--text-white); }

.mob-btn { display: none; background: none; border: none; color: var(--text-white); font-size: 1.5rem; cursor: pointer; }
.mob-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 12px 20px; flex-direction: column; gap: 8px; z-index: 999; }
.mob-nav.open { display: flex; }
.mob-nav a { color: var(--text-light); padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }

/* ===== Hero ===== */
.hero { padding: 100px 0 60px; background: var(--bg-hero); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--bg-body)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(232, 168, 56, 0.12); color: var(--accent); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.5px; }
.hero h1 span { color: var(--accent); }
.hero-sub { font-size: 1.05rem; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; z-index: 1; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-hover); color: #000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232, 168, 56, 0.25); }
.btn-danger { background: var(--accent-red); color: #fff; }
.btn-danger:hover { background: var(--accent-red-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(231, 76, 94, 0.25); }
.btn-ghost { background: transparent; color: var(--text-white); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== Meta Line ===== */
.meta-line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; flex-wrap: wrap; }
.meta-author { display: flex; align-items: center; gap: 8px; }
.meta-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.meta-author a { font-weight: 600; font-size: 0.9rem; }
.meta-sep { color: var(--text-muted); }
.meta-date { color: var(--text-muted); font-size: 0.85rem; }

/* ===== Sections ===== */
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--border); }

/* ===== Quick Facts Banner ===== */
.facts-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; margin: 2rem 0; }
.fact { background: var(--bg-card); padding: 20px; text-align: center; }
.fact-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.fact-value { font-size: 1.2rem; font-weight: 700; color: var(--accent); }

/* ===== Specs Table ===== */
.spec-tbl { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; border: 1px solid var(--border); }
.spec-tbl th { background: var(--bg-card-alt); color: var(--accent); padding: 12px 20px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.spec-tbl td { padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.spec-tbl tr { background: var(--bg-card); transition: background var(--transition); }
.spec-tbl tr:hover { background: var(--bg-card-alt); }
.spec-tbl td:first-child { font-weight: 600; color: var(--text-white); }
.spec-tbl td:last-child { color: var(--text-light); }

/* ===== Casino Cards ===== */
.casino-stack { display: flex; flex-direction: column; gap: 14px; margin: 1.5rem 0; }
.cas-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; transition: all var(--transition); }
.cas-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cas-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.cas-body { display: flex; flex-direction: column; gap: 2px; }
.cas-name { font-weight: 700; font-size: 1rem; }
.cas-bonus { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.cas-desc { color: var(--text-muted); font-size: 0.85rem; }

/* ===== Bonus Tiers ===== */
.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.5rem 0; }
.tier { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: all var(--transition); position: relative; overflow: hidden; }
.tier::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.tier.t-blue::before { background: #4a9eff; }
.tier.t-orange::before { background: #ff8c42; }
.tier.t-red::before { background: var(--accent-red); }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier-icon { font-size: 2.2rem; margin-bottom: 10px; }
.tier-name { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 6px; }
.tier.t-blue .tier-name { color: #4a9eff; }
.tier.t-orange .tier-name { color: #ff8c42; }
.tier.t-red .tier-name { color: var(--accent-red); }
.tier-mult { font-size: 1.6rem; font-weight: 800; }
.tier-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }

/* ===== Info Boxes ===== */
.box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 1.5rem 0; }
.box:hover { border-color: rgba(255,255,255,0.1); }
.box-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 1.5rem 0; }
.box h4 { margin-bottom: 8px; }

/* ===== RTP Visualization ===== */
.rtp-wrap { margin: 1.5rem 0; }
.rtp-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rtp-label { width: 120px; font-size: 0.85rem; font-weight: 600; flex-shrink: 0; }
.rtp-track { flex: 1; height: 10px; background: rgba(255,255,255,0.05); border-radius: 5px; overflow: hidden; }
.rtp-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--accent-teal)); }
.rtp-val { width: 60px; text-align: right; font-size: 0.85rem; font-weight: 600; color: var(--accent); flex-shrink: 0; }

/* ===== Odds Table ===== */
.odds-tbl { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; border: 1px solid var(--border); }
.odds-tbl th { background: var(--bg-card-alt); color: var(--accent); padding: 11px 16px; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.odds-tbl td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); }
.odds-tbl tr { background: var(--bg-card); }
.odds-tbl tr:hover { background: var(--bg-card-alt); }
.odds-tbl td:first-child { font-weight: 600; color: var(--text-white); }

/* ===== Steps ===== */
.steps { counter-reset: step; margin: 1.5rem 0; }
.step { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.step::before { counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; margin-top: 2px; }
.step-body h4 { margin-bottom: 4px; }
.step-body p { margin-bottom: 0; font-size: 0.92rem; }

/* ===== Pros & Cons ===== */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.5rem 0; }
.pc-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pc-box h4 { margin-bottom: 12px; }
.pc-box.pros h4 { color: var(--accent-teal); }
.pc-box.cons h4 { color: var(--accent-red); }
.pc-list { list-style: none; padding: 0; }
.pc-list li { padding: 6px 0 6px 24px; position: relative; color: var(--text-light); font-size: 0.92rem; }
.pc-list li::before { position: absolute; left: 0; }
.pros .pc-list li::before { content: '✓'; color: var(--accent-teal); font-weight: 700; }
.cons .pc-list li::before { content: '✗'; color: var(--accent-red); font-weight: 700; }

/* ===== List ===== */
.chk-list { list-style: none; padding: 0; margin: 1rem 0; }
.chk-list li { padding: 8px 0 8px 26px; position: relative; color: var(--text-light); line-height: 1.6; }
.chk-list li::before { content: '🐟'; position: absolute; left: 0; top: 8px; font-size: 0.85rem; }
.chk-list li strong { color: var(--text-white); }

/* ===== Two-Col ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.two-col .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.two-col .img-wrap img { transition: transform 0.4s ease; }
.two-col .img-wrap:hover img { transform: scale(1.03); }

/* ===== Game Preview ===== */
.game-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); margin: 1.5rem 0; position: relative; }
.game-img img { width: 100%; display: block; }

/* ===== Author Card ===== */
.author-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 20px; align-items: flex-start; margin: 2rem 0; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--accent); }
.author-card .a-name { font-weight: 700; font-size: 1.05rem; }
.author-card .a-title { color: var(--accent); font-size: 0.82rem; font-weight: 500; margin-bottom: 8px; }
.author-card .a-bio { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 8px; }
.author-card .a-link { font-size: 0.88rem; font-weight: 600; }

/* ===== CTA Block ===== */
.cta-block { background: linear-gradient(135deg, rgba(232,168,56,0.08) 0%, rgba(56, 178, 172, 0.06) 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px; text-align: center; margin: 2rem 0; }
.cta-block h2 { margin-bottom: 0.75rem; }
.cta-block p { max-width: 560px; margin: 0 auto 1.5rem; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-list { margin: 1.5rem 0; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 16px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background var(--transition); }
.faq-q:hover { background: var(--bg-card-alt); }
.faq-q .arrow { color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.open .faq-a { padding: 0 20px 16px; max-height: 500px; }
.faq-a p { font-size: 0.92rem; margin-bottom: 0; }

/* ===== Footer ===== */
.ftr { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 48px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.ftr-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }
.ftr-heading { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-white); margin-bottom: 14px; font-weight: 600; }
.ftr-links { list-style: none; padding: 0; }
.ftr-links li { margin-bottom: 8px; }
.ftr-links a { color: var(--text-muted); font-size: 0.88rem; }
.ftr-links a:hover { color: var(--accent); }
.ftr-bottom { border-top: 1px solid var(--border); padding: 18px 0; }
.ftr-disc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.ftr-disc strong { color: var(--accent); }
.ftr-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 24px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hdr-nav { display: none; }
  .mob-btn { display: block; }
  .hero { padding: 80px 0 48px; }
  .cas-card { grid-template-columns: 1fr; text-align: center; gap: 12px; }
  .cas-num { margin: 0 auto; }
  .tier-row { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .ftr-grid { grid-template-columns: 1fr; gap: 24px; }
  .facts-bar { grid-template-columns: repeat(2, 1fr); }
  .meta-line { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 480px) {
  .hero-btns, .cta-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .facts-bar { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: slideUp 0.5s ease forwards; }
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.2s; }
.anim-d3 { animation-delay: 0.3s; }
