/* ==========================================================================
   D247 — Always-On Data Stream
   Live terminal aesthetic · Pure black · Monochrome blue
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #0088cc;
  --primary-dark: #006699;
  --primary-light: #33aaee;
  --bg-body: #000000;
  --bg-section: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;
  --border: #222222;
  --border-blue: rgba(0, 136, 204, 0.35);
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent: #0088cc;
  --live: #00ff88;

  --font-head: 'Figtree', system-ui, sans-serif;
  --font-body: 'Albert Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --radius-card: 8px;
  --radius-btn: 6px;
  --maxw: 1200px;
  --shadow-glow: 0 0 24px rgba(0, 136, 204, 0.25);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

::selection { background: var(--primary); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ---------- Data-stream background ---------- */
.datastream {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
}
.datastream span {
  position: absolute;
  top: -40%;
  width: 1px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  animation: streamfall linear infinite;
}
@keyframes streamfall {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(360vh); opacity: 0; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap { position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-light);
  border: 1px solid var(--border-blue);
  background: rgba(0, 136, 204, 0.06);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px var(--live);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.25;} }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}
.section-title .hl { color: var(--primary); }
.section-sub {
  color: var(--text-secondary);
  max-width: 640px;
  font-size: 1.02rem;
}
.section-head { margin-bottom: 40px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--border-blue);
}
.btn-outline:hover {
  background: rgba(0, 136, 204, 0.1);
  color: #fff;
  border-color: var(--primary);
}
.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 8px 13px;
  border-radius: var(--radius-btn);
  transition: all .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
}
.header-right { display: flex; align-items: center; gap: 14px; }

/* Live clock in header */
.live-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary-light);
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  padding: 6px 11px;
  border-radius: var(--radius-btn);
}
.live-clock .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 8px var(--live);
  animation: blink 1.4s ease-in-out infinite;
}
.live-clock .time { letter-spacing: 0.05em; }

.menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 42px; height: 42px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 20px;
}
.hero h1 .hl { color: var(--primary); }
.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Big live clock in hero */
.clock-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-glow);
}
.clock-panel .panel-label {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.clock-panel .panel-label .live-tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--live);
}
.clock-panel .panel-label .live-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 8px var(--live);
  animation: blink 1.4s ease-in-out infinite;
}
.clock-big {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.02em;
  line-height: 1;
}
.clock-big .sep { animation: blink 1s step-end infinite; color: var(--primary); }
.clock-date {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.86rem;
  margin-top: 12px;
}
.clock-readout {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: grid;
  gap: 9px;
}
.readout-row {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.readout-row .label { color: var(--text-secondary); }
.readout-row .value { color: var(--live); }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.stat-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 20px 18px;
}
.stat-cell .num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-light);
}
.stat-cell .num .cursor {
  color: var(--live);
  animation: blink 1s step-end infinite;
}
.stat-cell .label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

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

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px;
  transition: border-color .22s ease, transform .22s ease;
}
.panel:hover { border-color: var(--border-blue); transform: translateY(-3px); }
.panel h3 { font-size: 1.15rem; margin-bottom: 10px; }
.panel p { color: var(--text-secondary); font-size: 0.95rem; }
.panel .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,136,204,0.08);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-btn);
  color: var(--primary-light);
  margin-bottom: 16px;
}
.panel .icon svg { width: 22px; height: 22px; }

/* Game card with blue left accent + live */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .22s ease;
}
.game-card:hover { border-left-color: var(--primary-light); transform: translateX(3px); box-shadow: var(--shadow-glow); }
.game-card .gc-top { display: flex; align-items: center; justify-content: space-between; }
.game-card .gc-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--live);
}
.game-card .gc-live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 8px var(--live);
  animation: blink 1.4s ease-in-out infinite;
}
.game-card h3 { font-size: 1.12rem; }
.game-card p { color: var(--text-secondary); font-size: 0.9rem; }
.game-card .gc-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--primary-light);
  margin-top: 4px;
}

/* Terminal-style feature rows (label: value) */
.readout-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: var(--font-mono);
}
.readout-list .rl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.readout-list .rl-row:last-child { border-bottom: none; }
.readout-list .rl-row .rl-label {
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.readout-list .rl-row .rl-label .k { color: var(--primary-light); }
.readout-list .rl-row .rl-value { color: var(--text-primary); font-weight: 500; }
.readout-list .rl-row .rl-value.ok { color: var(--live); }

/* ---------- Feature image cards ---------- */
.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all .22s ease;
}
.media-card:hover { border-color: var(--border-blue); box-shadow: var(--shadow-glow); }
.media-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.media-card .mc-body { padding: 18px 20px; }
.media-card .mc-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.media-card .mc-body p { color: var(--text-secondary); font-size: 0.88rem; }
.media-card .mc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--live); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.media-card .mc-tag .dot {
  width:6px;height:6px;border-radius:50%;background:var(--live);
  box-shadow:0 0 8px var(--live); animation:blink 1.4s ease-in-out infinite;
}

/* ==========================================================================
   TOOLS
   ========================================================================== */
.tool {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-card);
  padding: 28px;
}
.tool-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
}
.tool-head .t-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,136,204,0.1);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-btn);
  color: var(--primary-light);
}
.tool-head .t-icon svg { width: 22px; height: 22px; }
.tool-head h3 { font-size: 1.2rem; }
.tool-sub { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 7px;
}
.field input, .field select {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,136,204,0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

/* Profit tracker */
.pt-log {
  margin: 14px 0;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg-body);
}
.pt-log-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.pt-log-row:last-child { border-bottom: none; }
.pt-log-row .stake { color: var(--text-secondary); }
.pt-log-row .res-win { color: var(--live); }
.pt-log-row .res-loss { color: #ff5566; }
.pt-log-row .del {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1rem; line-height: 1;
}
.pt-log-row .del:hover { color: #ff5566; }
.pt-empty { padding: 20px; text-align: center; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.82rem; }

.pt-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.pt-metric {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 14px;
  text-align: center;
}
.pt-metric .m-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}
.pt-metric .m-val.pos { color: var(--live); }
.pt-metric .m-val.neg { color: #ff5566; }
.pt-metric .m-lab {
  font-size: 0.72rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: var(--font-mono); margin-top: 3px;
}

/* 7-day mini chart */
.pt-chart {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.pt-chart .chart-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
}
.chart-bars .bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.chart-bars .bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  min-height: 3px;
  transition: height .4s ease;
}
.chart-bars .bar.pos { background: linear-gradient(to top, var(--primary-dark), var(--live)); }
.chart-bars .bar.neg { background: linear-gradient(to top, #661122, #ff5566); }
.chart-bars .bar-lab {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* Lucky Card Draw */
.card-deck {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.play-card {
  aspect-ratio: 2/3;
  perspective: 800px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.play-card .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .55s cubic-bezier(.2,.7,.2,1.2);
  transform-style: preserve-3d;
}
.play-card.flipped .card-inner { transform: rotateY(180deg); }
.play-card .card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-blue);
}
.play-card .card-back {
  background:
    repeating-linear-gradient(45deg, #001a2b 0 6px, #002a44 6px 12px);
  color: var(--primary-light);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  box-shadow: inset 0 0 0 4px rgba(0,136,204,0.25);
}
.play-card .card-back::after {
  content: "D247";
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.play-card .card-front {
  background: var(--bg-elevated);
  color: var(--primary-light);
  transform: rotateY(180deg);
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 6px;
}
.play-card .card-front .cf-rank {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
}
.play-card .card-front .cf-prize {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.play-card.win .card-front { border-color: var(--live); box-shadow: 0 0 16px rgba(0,255,136,0.3); }
.play-card.win .card-front .cf-rank { color: var(--live); }
.card-result {
  text-align: center;
  min-height: 52px;
  font-family: var(--font-mono);
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.card-result.reveal { border-color: var(--border-blue); color: var(--primary-light); }
.card-result strong { color: var(--live); }

/* Withdrawal calculator */
.wd-result {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.wd-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(0,136,204,0.06);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-btn);
  padding: 13px 15px;
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.wd-alert.fast { background: rgba(0,255,136,0.06); border-color: rgba(0,255,136,0.3); }
.wd-alert .a-icon { color: var(--primary-light); flex-shrink: 0; }
.wd-alert.fast .a-icon { color: var(--live); }
.wd-alert strong { color: var(--text-primary); }

/* ---------- Scrolling data feed (social proof) ---------- */
.feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  height: 340px;
}
.feed::before, .feed::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}
.feed::before { top: 0; background: linear-gradient(to bottom, var(--bg-card), transparent); }
.feed::after { bottom: 0; background: linear-gradient(to top, var(--bg-card), transparent); }
.feed-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative; z-index: 3;
  background: var(--bg-card);
}
.feed-head .live-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--live); }
.feed-head .live-tag .dot {
  width:6px;height:6px;border-radius:50%;background:var(--live);
  box-shadow:0 0 8px var(--live);animation:blink 1.4s ease-in-out infinite;
}
.feed-track {
  padding: 14px 20px;
  animation: feedscroll 22s linear infinite;
}
.feed:hover .feed-track { animation-play-state: paused; }
@keyframes feedscroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  border-bottom: 1px dashed var(--border);
}
.feed-row .fr-time { color: var(--text-muted); flex-shrink: 0; font-size: 0.76rem; }
.feed-row .fr-user { color: var(--primary-light); }
.feed-row .fr-act { color: var(--text-secondary); }
.feed-row .fr-amt { color: var(--live); margin-left: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(0,136,204,0.12), rgba(0,0,0,0));
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 26px; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .q-mark { color: var(--primary); font-family: var(--font-mono); flex-shrink: 0; transition: transform .25s ease; }
.faq-item.open .faq-q .q-mark { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 20px; }

/* ---------- Article / legal content ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article h2 {
  font-size: 1.5rem;
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}
.article h3 { font-size: 1.18rem; margin: 26px 0 10px; color: var(--primary-light); }
.article p { color: var(--text-secondary); margin-bottom: 15px; }
.article ul.bullets { margin: 0 0 18px; padding-left: 4px; }
.article ul.bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}
.article ul.bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-family: var(--font-mono);
}
.article strong { color: var(--text-primary); }
.article a { text-decoration: underline; }

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  margin-bottom: 28px;
  display: inline-block;
}

.callout {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin: 24px 0;
}
.callout.warn { border-color: rgba(255,85,102,0.4); border-left-color: #ff5566; }
.callout p { margin-bottom: 0; }
.callout .c-title { color: var(--text-primary); font-weight: 700; font-family: var(--font-head); margin-bottom: 6px; display: block; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); max-width: 620px; margin: 0 auto; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb .sep { color: var(--primary); margin: 0 6px; }

/* ---------- Auth (login/signup) ---------- */
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 68px);
}
.auth-visual {
  background: linear-gradient(160deg, #001522, #000);
  border-right: 1px solid var(--border);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-visual h2 { font-size: 2rem; margin-bottom: 16px; }
.auth-visual h2 .hl { color: var(--primary); }
.auth-visual p { color: var(--text-secondary); margin-bottom: 28px; max-width: 420px; }
.auth-perks { display: grid; gap: 14px; }
.auth-perks li {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-secondary); font-size: 0.94rem;
}
.auth-perks li .chk {
  width: 26px; height: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 50%;
  color: var(--live);
}
.auth-perks li .chk svg { width: 14px; height: 14px; }
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
}
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 1.9rem; margin-bottom: 8px; }
.auth-card .sub { color: var(--text-secondary); margin-bottom: 28px; font-size: 0.95rem; }
.auth-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 18px;
}
.form-check {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.86rem; color: var(--text-secondary);
  margin-bottom: 18px;
}
.form-check input { width: 16px; height: 16px; accent-color: var(--primary); }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--text-muted); font-size: 0.8rem;
  margin: 22px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-methods { display: grid; gap: 14px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  transition: border-color .2s ease;
}
.contact-method:hover { border-color: var(--border-blue); }
.contact-method .cm-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,136,204,0.08);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-btn);
  color: var(--primary-light);
}
.contact-method .cm-label { font-size: 0.76rem; color: var(--text-secondary); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-method .cm-value { color: var(--text-primary); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--live);
  background: var(--bg-card); border: 1px solid rgba(0,255,136,0.2);
  padding: 8px 13px; border-radius: var(--radius-btn); margin-bottom: 16px;
}
.footer-status .dot { width:7px;height:7px;border-radius:50%;background:var(--live);box-shadow:0 0 8px var(--live);animation:blink 1.4s ease-in-out infinite; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.84rem; }
.footer-bottom .fb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .fb-links a { color: var(--text-secondary); font-size: 0.84rem; }
.age-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #ff5566; color: #ff5566;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.78rem;
  padding: 4px 9px; border-radius: 4px;
}

.disclaimer-strip {
  background: var(--bg-body);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.disclaimer-strip p {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0088cc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,136,204,0.5);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float .ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #0088cc; animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 0%{transform:scale(1);opacity:.8;} 100%{transform:scale(1.7);opacity:0;} }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0;} .mt-1{margin-top:8px;} .mt-2{margin-top:16px;} .mt-3{margin-top:24px;} .mt-4{margin-top:32px;}
.mb-2{margin-bottom:16px;} .mb-3{margin-bottom:24px;}
.hide-mobile{}
.reveal-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal-up.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
    transform: translateY(-140%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; }
  .menu-toggle { display: flex; }
  .header-right .live-clock { display: none; }
  .header-right .btn { padding: 10px 16px; font-size: 0.88rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .card-deck { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .pt-results { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 52px 0 44px; }
  .cta-band { padding: 36px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .pt-results { grid-template-columns: 1fr; }
  .card-deck { gap: 5px; }
  .play-card .card-front .cf-rank { font-size: 1.3rem; }
}
