/* ============================================================
   999Exchange — Core Stylesheet
   Design: RED EXCHANGE POWER — bold red + cool white.
   Fonts: Russo One (blocky display headings) + Syne (body).
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #ef4444;
  --primary-soft: #fee2e2;
  --primary-glow: rgba(220, 38, 38, 0.35);

  /* Gold accent (from logo) */
  --gold: #f5c518;
  --gold-dark: #d4a017;

  /* Neutrals */
  --bg-body: #f8fafc;
  --bg-dark: #1e293b;
  --bg-darker: #0f172a;
  --bg-panel: #ffffff;
  --bg-tint: #f1f5f9;

  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-on-dark: #e2e8f0;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-dark: #334155;

  /* Effects */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);
  --shadow-red: 0 12px 30px rgba(220, 38, 38, 0.32);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.25s ease;

  /* Fonts */
  --font-head: 'Russo One', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Syne', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: var(--bg-body);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.5px;
  color: var(--text);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.8px; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--text); }
.text-red { color: var(--primary); }
.text-gold { color: var(--gold-dark); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 18px;
}
.section-dark .eyebrow { background: rgba(220,38,38,0.18); color: #fca5a5; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-top: 14px; }
.section-dark .section-head p { color: var(--text-light); }

.lead { font-size: 1.15rem; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.92rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap; cursor: pointer; text-align: center;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(220,38,38,0.42); }
.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: var(--bg-darker); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.section-dark .btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-wa { background: #25d366; color: #073b26; }
.btn-wa:hover { background: #1eb955; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,0.4); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 0; }
.brand img { height: 40px; width: auto; }
.brand-name { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.5px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family: var(--font-head);
  font-size: 0.82rem; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 10px 16px; border-radius: var(--radius-sm);
  color: var(--text); transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-soft); }
.nav .btn { padding: 11px 22px; font-size: 0.82rem; }
.nav-cta { margin-left: 6px; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.hamburger span { width: 24px; height: 2.5px; background: var(--text); border-radius: 3px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 85% 0%, #334155 0%, var(--bg-dark) 45%, var(--bg-darker) 100%);
  color: #fff; padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 10vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 12% 18%, var(--primary-glow) 0%, transparent 42%),
                    radial-gradient(circle at 88% 82%, rgba(245,197,24,0.14) 0%, transparent 45%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .text-red { color: var(--primary-light); text-shadow: 0 0 40px var(--primary-glow); }
.hero p { color: #cbd5e1; font-size: 1.18rem; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item b { font-family: var(--font-head); font-size: 1.7rem; color: #fff; }
.hero-trust-item span { font-size: 0.82rem; color: var(--text-light); letter-spacing: 0.5px; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 12px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card img { border-radius: 14px; width: 100%; }
.hero-badge {
  position: absolute; z-index: 3;
  background: var(--primary); color: #fff;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: 0.8rem; padding: 12px 20px; border-radius: 100px;
  box-shadow: var(--shadow-red);
}
.hero-badge.tl { top: -14px; left: -14px; }
.hero-badge.br { bottom: -14px; right: -14px; background: var(--gold); color: #1a1a1a; box-shadow: 0 12px 30px rgba(245,197,24,0.4); }

.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-collage figure { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.12); position: relative; }
.hero-collage figure.wide { grid-column: 1 / -1; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.hero-collage figure:hover img { transform: scale(1.05); }
.hero-collage .wide img { aspect-ratio: 16 / 6; }
.hero-collage .tall img { aspect-ratio: 4 / 5; object-position: center 30%; }
.hero-collage figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: rgba(15,23,42,0.72); padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(4px); }

/* ---------- Marquee strip ---------- */
.strip { background: var(--primary); color: #fff; padding: 14px 0; overflow: hidden; }
.strip-track { display: flex; gap: 48px; white-space: nowrap; animation: scroll-x 26s linear infinite; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; }
.strip-track span { display: inline-flex; align-items: center; gap: 12px; }
.strip-track span::after { content: "◆"; color: rgba(255,255,255,0.55); font-size: 0.7rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card-num { font-family: var(--font-head); font-size: 2.6rem; color: var(--primary); opacity: 0.18; position: absolute; top: 14px; right: 22px; }

/* Feature media cards (using brand banners) */
.feature-card {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-media { position: relative; overflow: hidden; background: var(--bg-darker); aspect-ratio: 3 / 4; }
.feature-media.wide { aspect-ratio: 16 / 6; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.feature-card:hover .feature-media img { transform: scale(1.05); }
.feature-body { padding: 24px; }
.feature-body h3 { margin-bottom: 8px; }
.feature-body p { color: var(--text-muted); font-size: 0.96rem; }
.tag { display: inline-block; font-family: var(--font-head); font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }

/* ---------- Split / Feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--text-muted); }
.check-list li:last-child { margin-bottom: 0; }
.check-list .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-top: 2px; }
.check-list .ic svg { width: 15px; height: 15px; }
.check-list b { color: var(--text); }
.section-dark .check-list li { color: var(--text-light); }
.section-dark .check-list b { color: #fff; }
.section-dark .check-list .ic { background: rgba(220,38,38,0.2); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--primary); line-height: 1; }
.section-dark .stat b { color: var(--primary-light); }
.stat span { display: block; margin-top: 10px; color: var(--text-muted); font-size: 0.9rem; letter-spacing: 0.5px; text-transform: uppercase; }
.section-dark .stat span { color: var(--text-light); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-dark); color: #fff; font-family: var(--font-head); font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 18px; }
.step h4 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: "9"; position: absolute; font-family: var(--font-head); font-size: 20rem; opacity: 0.08; right: 4%; top: 50%; transform: translateY(-50%); line-height: 1; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 620px; margin: 16px auto 32px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.cta-band .btn-primary:hover { background: #fff; color: var(--primary-dark); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; text-align: left; font-family: var(--font-head); font-size: 1.02rem; text-transform: none; letter-spacing: 0.2px; color: var(--text); }
.faq-q .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.3rem; transition: var(--transition); }
.faq-item.open .plus { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--text-muted); }

/* ---------- Forms / Auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-visual { background: radial-gradient(120% 120% at 20% 10%, #334155, var(--bg-darker)); color: #fff; padding: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 90%, var(--primary-glow), transparent 50%); }
.auth-visual > * { position: relative; z-index: 2; }
.auth-visual h2 { color: #fff; margin-bottom: 18px; }
.auth-visual p { color: #cbd5e1; margin-bottom: 30px; }
.auth-visual .brand img { height: 48px; margin-bottom: 40px; }
.auth-perks li { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; color: #e2e8f0; }
.auth-perks .ic { width: 30px; height: 30px; border-radius: 8px; background: rgba(220,38,38,0.25); color: var(--primary-light); display: grid; place-items: center; flex-shrink: 0; }
.auth-perks .ic svg { width: 16px; height: 16px; }

.auth-form-wrap { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 72px); background: var(--bg-body); }
.auth-form { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-form h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 8px; }
.auth-sub { color: var(--text-muted); margin-bottom: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.input-wrap { position: relative; }
.input-wrap .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-light); width: 20px; height: 20px; }
.field input, .field select {
  width: 100%; padding: 15px 16px 15px 46px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field.no-icon input { padding-left: 16px; }
.toggle-pw { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-light); padding: 4px; }
.toggle-pw:hover { color: var(--primary); }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.checkbox { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.link-red { color: var(--primary); font-weight: 700; }
.link-red:hover { text-decoration: underline; }
.auth-alt { text-align: center; margin-top: 26px; color: var(--text-muted); font-size: 0.95rem; }
.divider { display: flex; align-items: center; gap: 16px; margin: 26px 0; color: var(--text-light); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.form-note { font-size: 0.82rem; color: var(--text-light); text-align: center; margin-top: 20px; line-height: 1.5; }
.form-msg { display: none; padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; font-weight: 600; }
.form-msg.show { display: block; }
.form-msg.ok { background: #dcfce7; color: #166534; border: 1px solid #86efac; }

/* ---------- Tools ---------- */
.tool-hero { background: radial-gradient(120% 120% at 80% 0%, #334155, var(--bg-darker)); color: #fff; padding: clamp(48px, 7vw, 84px) 0; text-align: center; position: relative; overflow: hidden; }
.tool-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, var(--primary-glow), transparent 45%); }
.tool-hero .container { position: relative; z-index: 2; }
.tool-hero h1 { color: #fff; }
.tool-hero p { color: #cbd5e1; max-width: 640px; margin: 18px auto 0; font-size: 1.12rem; }
.tool-hero .breadcrumb { justify-content: center; margin-bottom: 20px; }

.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.84rem; color: var(--text-light); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { opacity: 0.5; }

.tool-panel {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); max-width: 940px; margin: 0 auto;
}
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.range-field { margin-bottom: 26px; }
.range-field .rf-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.range-field label { font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.6px; text-transform: uppercase; }
.range-field .rf-val { font-family: var(--font-head); font-size: 1.3rem; color: var(--primary); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 100px; background: var(--border); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 3px 10px var(--primary-glow); border: 3px solid #fff; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 3px solid #fff; }
.num-input { margin-bottom: 22px; }
.num-input label { display: block; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 8px; }
.num-input .wrap { position: relative; }
.num-input .prefix { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 700; }
.num-input input, .num-input select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; font-weight: 600; }
.num-input.has-prefix input { padding-left: 32px; }
.num-input input:focus, .num-input select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

.result-box { background: var(--bg-dark); color: #fff; border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.result-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, var(--primary-glow), transparent 55%); }
.result-box > * { position: relative; z-index: 2; }
.result-box h4 { color: var(--text-light); font-size: 0.78rem; letter-spacing: 1.5px; margin-bottom: 6px; }
.result-hero { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--primary-light); line-height: 1.1; margin-bottom: 6px; }
.result-sub { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; }
.result-rows { display: flex; flex-direction: column; gap: 2px; }
.result-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; }
.result-row span { color: var(--text-light); }
.result-row b { font-family: var(--font-head); color: #fff; font-weight: 400; }
.result-row.hl b { color: var(--gold); }

/* Fee comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
table.data th, table.data td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
table.data thead th { background: var(--bg-dark); color: #fff; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.8px; text-transform: uppercase; }
table.data tbody tr:hover { background: var(--bg-tint); }
table.data td b { font-family: var(--font-head); font-weight: 400; }
table.data .best { color: var(--primary); }
.tier-badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.tier-2 { background: #dcfce7; color: #166534; }
.tier-3 { background: #fef9c3; color: #854d0e; }
.tier-5 { background: var(--primary-soft); color: var(--primary-dark); }

/* Triple 9 slot game */
.slot-machine { max-width: 560px; margin: 0 auto; }
.slot-frame { background: linear-gradient(160deg, #334155, var(--bg-darker)); border: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0,0,0,0.4); position: relative; }
.slot-title { text-align: center; font-family: var(--font-head); color: var(--gold); font-size: 1.6rem; letter-spacing: 2px; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.slot-sub { text-align: center; color: var(--text-light); font-size: 0.82rem; margin-bottom: 22px; letter-spacing: 1px; text-transform: uppercase; }
.reels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: #0b1120; border-radius: var(--radius); padding: 18px; margin-bottom: 22px; border: 2px solid rgba(245,197,24,0.3); }
.reel { background: linear-gradient(#fff, #e2e8f0); border-radius: var(--radius-sm); height: 120px; overflow: hidden; position: relative; box-shadow: inset 0 4px 10px rgba(0,0,0,0.2); }
.reel-strip { display: flex; flex-direction: column; align-items: center; position: absolute; width: 100%; left: 0; top: 0; }
.reel-item { height: 120px; display: grid; place-items: center; font-size: 4rem; flex-shrink: 0; user-select: none; }
.reel.spinning .reel-strip { animation: reel-spin 0.4s linear infinite; }
@keyframes reel-spin { from { transform: translateY(0); } to { transform: translateY(-480px); } }
.slot-payline { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: var(--primary); opacity: 0.5; transform: translateY(-50%); pointer-events: none; }
.slot-display { display: flex; justify-content: space-between; align-items: center; background: #0b1120; border-radius: var(--radius-sm); padding: 12px 18px; margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.1); }
.slot-stat { text-align: center; }
.slot-stat span { display: block; font-size: 0.68rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.slot-stat b { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); }
.slot-msg { text-align: center; min-height: 28px; font-family: var(--font-head); letter-spacing: 1px; color: #fff; margin-bottom: 18px; transition: var(--transition); }
.slot-msg.win { color: var(--gold); animation: pulse 0.6s ease; }
.slot-msg.jackpot { color: var(--primary-light); font-size: 1.3rem; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.slot-controls { display: flex; gap: 12px; }
.slot-controls .btn { flex: 1; }
.slot-frame.win-flash { animation: winflash 0.5s ease; }
@keyframes winflash { 0%,100% { border-color: var(--gold); } 50% { border-color: var(--primary); box-shadow: var(--shadow-lg), 0 0 50px var(--primary-glow); } }
.paytable { margin-top: 26px; }
.paytable table { width: 100%; border-collapse: collapse; }
.paytable td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.paytable td:first-child { font-size: 1.4rem; }
.paytable td:last-child { text-align: right; font-family: var(--font-head); color: var(--primary); }

/* Disclaimer / info notes */
.note {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius);
  padding: 18px 20px; color: #854d0e; font-size: 0.92rem;
}
.note .ic { flex-shrink: 0; color: #d97706; margin-top: 2px; }
.note strong { color: #713f12; }
.note.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.note.info .ic { color: #2563eb; }
.note.info strong { color: #1e3a8a; }

/* Prose (legal pages) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 40px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 12px; text-transform: none; letter-spacing: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { margin: 0 0 18px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); }
.prose a { color: var(--primary); font-weight: 700; }
.prose a:hover { text-decoration: underline; }
.prose .updated { color: var(--text-light); font-size: 0.9rem; margin-bottom: 32px; }

.page-head { background: var(--bg-dark); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.page-head h1 { color: #fff; }
.page-head .breadcrumb { margin-bottom: 18px; }
.page-head p { color: var(--text-light); margin-top: 14px; max-width: 640px; }

/* ---------- Footer (legal only) ---------- */
.site-footer { background: var(--bg-darker); color: var(--text-light); padding: 50px 0 28px; }
.footer-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 34px; border-bottom: 1px solid var(--border-dark); }
.footer-support-txt { max-width: 480px; }
.footer-support-txt img { height: 44px; margin-bottom: 16px; }
.footer-support-txt p { color: var(--text-light); font-size: 0.95rem; }
.footer-wa { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.9rem; background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.35); padding: 12px 20px; border-radius: var(--radius-sm); transition: background var(--transition), transform var(--transition); }
.footer-wa:hover { background: rgba(37,211,102,0.2); transform: translateY(-2px); }
.footer-wa .ic { width: 34px; height: 34px; border-radius: 9px; background: #25d366; color: #073b26; display: grid; place-items: center; flex-shrink: 0; }
.footer-disclaimer { padding: 26px 0; border-bottom: 1px solid var(--border-dark); font-size: 0.82rem; color: var(--text-light); line-height: 1.65; display: flex; gap: 16px; align-items: flex-start; }
.age-badge { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); color: var(--primary-light); display: grid; place-items: center; font-family: var(--font-head); font-size: 0.95rem; }
.footer-disclaimer strong { color: #e2e8f0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 26px 0; border-bottom: 1px solid var(--border-dark); }
.footer-links a { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-light); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.86rem; color: var(--text-light); }
.footer-tag { font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-light); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-light); }
.footer-legal a:hover { color: var(--primary-light); }

/* ---------- Reveal animation ---------- */
/* Hidden state only applies when JS is active (html.js). Without JS, or via the
   inline failsafe, content is always visible — it can never get stuck hidden. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .tool-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 18px 24px 26px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform 0.35s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 16px; font-size: 0.95rem; }
  .nav .btn { padding: 15px 22px; margin-top: 6px; }
  .nav-cta { margin-left: 0; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .steps, .stats-band { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
