/* ============================================================
   DREAMBOOK - Cyberpunk Neon Dark
   Fonts: Red Hat Display (headings), IBM Plex Sans (body),
          IBM Plex Mono (numbers/data)
   ============================================================ */

:root {
  --bg: #121212;
  --bg-2: #0a0a0a;
  --surface: #1e1e1e;
  --surface-2: #242424;
  --white: #ffffff;
  --muted: #a0a0a0;
  --line: #2a2a2a;
  --pink: #ff2d55;
  --pink-soft: rgba(255, 45, 85, 0.3);
  --pink-glow: rgba(255, 45, 85, 0.2);
  --pink-strong: rgba(255, 45, 85, 0.5);
  --green: #2dff88;
  --amber: #ffbe2d;
  --red: #ff3b3b;
  --font-head: 'Red Hat Display', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --maxw: 1180px;
  --radius: 12px;
  --grid-line: rgba(255, 255, 255, 0.03);
}

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

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

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color .2s ease, box-shadow .2s ease; }
a:hover { color: #ff6b87; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.mono { font-family: var(--font-mono); }

/* ---------- Section labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--pink);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  padding: 15px 30px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 0 18px var(--pink-glow), 0 0 40px rgba(255,45,85,.12);
  animation: pulseGlow 2.6s ease-in-out infinite;
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 26px var(--pink-strong), 0 0 60px var(--pink-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--pink-soft);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 18px var(--pink-glow);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-block { width: 100%; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 14px var(--pink-glow), 0 0 30px rgba(255,45,85,.10); }
  50% { box-shadow: 0 0 26px var(--pink-strong), 0 0 55px var(--pink-glow); }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  position: relative;
  color: var(--white);
  font-weight: 500;
  font-size: .93rem;
  padding: 9px 14px;
  border-radius: 8px;
  display: block;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover {
  color: #fff;
  box-shadow: 0 0 8px var(--pink-soft);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--pink); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; font-size: .9rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--white);
  transition: .25s ease;
}

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--pink-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    transform: translateY(-140%);
    transition: transform .3s ease;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,45,85,.12), transparent 55%),
    linear-gradient(var(--surface) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
  opacity: .5;
  z-index: -1;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
}
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 0 10px rgba(255,45,85,.5), 0 0 40px rgba(255,45,85,.2);
  animation: flicker 4.5s infinite;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--pink); }
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@keyframes flicker {
  0%, 100% { text-shadow: 0 0 10px rgba(255,45,85,.5), 0 0 40px rgba(255,45,85,.2); }
  48% { text-shadow: 0 0 10px rgba(255,45,85,.5), 0 0 40px rgba(255,45,85,.2); }
  49% { text-shadow: 0 0 4px rgba(255,45,85,.28), 0 0 14px rgba(255,45,85,.1); }
  50% { text-shadow: 0 0 12px rgba(255,45,85,.6), 0 0 48px rgba(255,45,85,.28); }
  51% { text-shadow: 0 0 4px rgba(255,45,85,.28), 0 0 14px rgba(255,45,85,.1); }
  52% { text-shadow: 0 0 10px rgba(255,45,85,.5), 0 0 40px rgba(255,45,85,.2); }
}

/* Page hero (subpages, smaller) */
.page-hero { padding: 62px 0 50px; text-align: center; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,45,85,.10), transparent 60%);
  z-index: -1;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-shadow: 0 0 10px rgba(255,45,85,.4), 0 0 34px rgba(255,45,85,.16);
  margin-bottom: 16px;
}
.page-hero h1 .accent { color: var(--pink); }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--pink); }

/* ---------- Sections ---------- */
section { padding: 66px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.left { text-align: left; margin-left: 0; }

.divider {
  border: 0;
  border-top: 1px solid var(--pink);
  box-shadow: 0 0 10px var(--pink-soft);
  max-width: var(--maxw);
  margin: 0 auto;
  opacity: .6;
}

/* ---------- Prose (legal + guide content) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 42px 0 14px; color: #fff; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; color: var(--pink); }
.prose p { margin-bottom: 16px; color: #d6d6d6; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: #d6d6d6; }
.prose li { margin-bottom: 9px; }
.prose strong { color: #fff; }
.prose a { text-decoration: underline; }
.prose .updated {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.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(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.card:hover {
  border-color: var(--pink);
  box-shadow: 0 0 20px var(--pink-glow);
  transform: translateY(-3px);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .icon {
  font-size: 1.7rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,45,85,.08);
  border: 1px solid var(--pink-soft);
  border-radius: 10px;
  margin-bottom: 16px;
}

/* Feature card top-border glow variant */
.card-top {
  border-top: 2px solid var(--pink-soft);
}
.card-top:hover { border-top-color: var(--pink); }

/* Left-border variant */
.card-left { border-left: 3px solid var(--pink); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--pink);
  text-shadow: 0 0 12px var(--pink-glow);
  display: block;
}
.stat .label {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 6px;
}

/* ---------- Game cards (casino thumbnails) ---------- */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pink-soft);
  background: var(--surface);
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.game-card:hover {
  border-color: var(--pink);
  box-shadow: 0 0 22px var(--pink-glow);
  transform: translateY(-4px);
}
.game-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.game-card .game-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(transparent, rgba(10,10,10,.92));
}
.game-card .game-meta h4 { font-size: 1rem; margin-bottom: 2px; }
.game-card .game-meta span {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ---------- Payment methods ---------- */
.pay-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pay-chip {
  font-family: var(--font-mono);
  font-size: .85rem;
  padding: 10px 18px;
  border: 1px solid var(--pink-soft);
  border-radius: 8px;
  background: var(--surface);
  color: #e6e6e6;
  letter-spacing: .04em;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.pay-chip:hover { border-color: var(--pink); box-shadow: 0 0 12px var(--pink-glow); }

/* ---------- Testimonials ---------- */
.testi {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-left: 3px solid var(--pink);
  border-radius: var(--radius);
  padding: 24px;
}
.testi p { color: #e2e2e2; font-style: italic; margin-bottom: 16px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #7a1730);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.testi .who strong { display: block; font-size: .95rem; }
.testi .who span { color: var(--muted); font-size: .82rem; font-family: var(--font-mono); }

/* ---------- Winner cards ---------- */
.winner-card {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.winner-card:hover {
  border-color: var(--pink);
  box-shadow: 0 0 24px var(--pink-glow);
  transform: translateY(-3px);
}
.winner-card .amount {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--pink);
  text-shadow: 0 0 14px var(--pink-glow);
  margin-bottom: 6px;
}
.winner-card .game-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #ffb3c2;
  border: 1px solid var(--pink-soft);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.winner-card blockquote { color: #d9d9d9; font-style: italic; margin: 12px 0; font-size: .95rem; }
.winner-card .who { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.winner-card .who strong { font-size: .95rem; }
.winner-card .who span { color: var(--muted); font-size: .8rem; font-family: var(--font-mono); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item:hover { border-color: var(--pink-soft); }
.faq-item[open] { border-color: var(--pink-soft); box-shadow: 0 0 16px rgba(255,45,85,.08); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--pink);
  font-size: 1.4rem;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Forms ---------- */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  position: relative;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: 16px;
  padding: 38px 34px;
  box-shadow: 0 0 40px rgba(0,0,0,.5), 0 0 30px rgba(255,45,85,.06);
}
.auth-card .brand { text-align: center; margin-bottom: 8px; }
.auth-card .brand img { height: 40px; margin: 0 auto 6px; }
.auth-card h1 { font-size: 1.7rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .82rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 15px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: #6a6a6a; }
.input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255,45,85,.18), 0 0 16px var(--pink-glow);
}
textarea.input { resize: vertical; min-height: 130px; }
select.input { appearance: none; cursor: pointer; }

.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 8px;
}
.pw-toggle:hover { color: var(--pink); }

/* Strength meter */
.strength { margin-top: 10px; }
.strength-bars { display: flex; gap: 6px; }
.strength-bars .bar {
  height: 5px; flex: 1; border-radius: 3px;
  background: var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.strength-bars .bar.on {
  background: linear-gradient(90deg, var(--pink), #ff6b87);
  box-shadow: 0 0 8px var(--pink-glow);
}
.strength-label { font-size: .75rem; color: var(--muted); margin-top: 6px; font-family: var(--font-mono); }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .88rem;
  color: var(--muted);
}
.check-row input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--pink);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.check-row a { text-decoration: underline; }

.form-alt { text-align: center; margin-top: 20px; color: var(--muted); font-size: .92rem; }
.form-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: .85rem; }
.form-meta a { font-family: var(--font-mono); }

/* ---------- Tools ---------- */
.tool {
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 30px rgba(0,0,0,.35);
}
.tool-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tool-head .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,45,85,.1); border: 1px solid var(--pink-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  flex-shrink: 0;
}
.tool-head h3 { font-size: 1.35rem; }
.tool > p.tool-desc { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }

.control { margin-bottom: 20px; }
.control label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .82rem; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px;
}
.control label .val { color: var(--pink); font-size: 1rem; text-transform: none; letter-spacing: 0; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 4px;
  background: var(--line); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink-strong);
  cursor: pointer; border: 2px solid #fff;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink); border: 2px solid #fff;
  box-shadow: 0 0 10px var(--pink-strong); cursor: pointer;
}

.result-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.result-row:last-child { border-bottom: 0; }
.result-row .k { color: var(--muted); font-size: .9rem; }
.result-row .v { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; }
.v.pos { color: var(--green); text-shadow: 0 0 10px rgba(45,255,136,.3); }
.v.neg { color: var(--red); text-shadow: 0 0 10px rgba(255,59,59,.3); }
.v.neutral { color: var(--muted); }
.v.pink { color: var(--pink); text-shadow: 0 0 10px var(--pink-glow); }

.chart-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-top: 18px;
}
.chart-box svg { width: 100%; height: auto; display: block; }
.chart-caption { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); text-align: center; margin-top: 8px; }

.formula {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: #cfcfcf;
  background: var(--bg);
  border: 1px dashed var(--pink-soft);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 18px;
  overflow-x: auto;
}

.badge-health {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 600;
  padding: 8px 16px; border-radius: 24px; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-health .dot { width: 10px; height: 10px; border-radius: 50%; }
.badge-health.healthy { color: var(--green); border: 1px solid rgba(45,255,136,.4); background: rgba(45,255,136,.06); }
.badge-health.healthy .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.badge-health.caution { color: var(--amber); border: 1px solid rgba(255,190,45,.4); background: rgba(255,190,45,.06); }
.badge-health.caution .dot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.badge-health.danger { color: var(--red); border: 1px solid rgba(255,59,59,.4); background: rgba(255,59,59,.06); }
.badge-health.danger .dot { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* ---------- Fruit Catch Game ---------- */
.game-shell {
  max-width: 520px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: 16px;
  padding: 20px;
}
.game-hud {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; font-family: var(--font-mono);
}
.game-hud .score { color: var(--pink); font-size: 1.3rem; font-weight: 600; text-shadow: 0 0 10px var(--pink-glow); }
.game-hud .hi { color: var(--muted); font-size: .82rem; }
.timer-track { height: 8px; background: var(--bg); border-radius: 6px; overflow: hidden; margin-bottom: 12px; border: 1px solid var(--line); }
.timer-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--pink), #ff6b87); box-shadow: 0 0 10px var(--pink-glow); transition: width .25s linear; }
#gameCanvas {
  display: block; width: 100%; height: auto;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    #0d0d0d;
  background-size: 28px 28px, 28px 28px, auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  touch-action: none;
  cursor: pointer;
}
.game-canvas-wrap { position: relative; }
.flash-red {
  position: absolute; inset: 0; border-radius: 12px;
  background: rgba(255,59,59,.35); opacity: 0; pointer-events: none;
}
.flash-red.show { animation: redFlash .35s ease; }
@keyframes redFlash { 0% { opacity: .6; } 100% { opacity: 0; } }

.game-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.92);
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 8px;
}
.game-overlay.hidden { display: none; }
.game-overlay h4 { font-size: 1.6rem; margin-bottom: 4px; }
.game-overlay .end-stats { display: flex; gap: 20px; margin: 10px 0 6px; flex-wrap: wrap; justify-content: center; }
.game-overlay .end-stats .es { text-align: center; }
.game-overlay .end-stats .es b { font-family: var(--font-mono); color: var(--pink); font-size: 1.3rem; display: block; }
.game-overlay .end-stats .es small { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.game-overlay .btn { margin-top: 8px; }
.game-hint { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 10px; font-family: var(--font-mono); }

/* ---------- Info / callout boxes ---------- */
.callout {
  background: rgba(255,45,85,.05);
  border: 1px solid var(--pink-soft);
  border-left: 3px solid var(--pink);
  border-radius: 10px;
  padding: 20px 24px;
}
.callout h3 { color: var(--pink); margin-bottom: 8px; font-size: 1.1rem; }
.callout p { color: #d4d4d4; font-size: .95rem; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 22px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.step:hover { border-color: var(--pink-soft); box-shadow: 0 0 16px rgba(255,45,85,.06); }
.step .n {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,45,85,.1); border: 1px solid var(--pink-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; color: var(--pink);
}
.step .n::before { content: counter(step); }
.step h4 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .93rem; }

/* CTA band */
.cta-band {
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,45,85,.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--pink-soft);
  border-radius: 18px;
  padding: 48px 30px;
}
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 12px; text-shadow: 0 0 14px var(--pink-glow); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Responsible gaming strip ---------- */
.rg-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--pink-soft);
  border-bottom: 1px solid var(--pink-soft);
  padding: 26px 0;
}
.rg-strip .inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.rg-strip .age {
  font-family: var(--font-head); font-weight: 900; font-size: 1.1rem;
  color: var(--pink); border: 2px solid var(--pink); border-radius: 50%;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px var(--pink-glow); flex-shrink: 0;
}
.rg-strip p { color: var(--muted); font-size: .92rem; max-width: 720px; }
.rg-strip a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--pink-soft);
  box-shadow: 0 -1px 20px rgba(255,45,85,.06);
  padding: 56px 0 26px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 300px; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--pink); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: .92rem; }
.footer-col a:hover { color: var(--pink); }

.footer-badges {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  padding: 24px 0; border-top: 1px solid var(--line); margin-bottom: 20px;
}
.footer-badges .fb {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; color: #cfcfcf;
  border: 1px solid var(--pink-soft); border-radius: 6px; padding: 8px 14px;
}
.footer-bottom {
  text-align: center; color: var(--muted); font-size: .82rem;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.footer-bottom p { margin-bottom: 8px; }
.footer-disclaimer { max-width: 760px; margin: 0 auto 14px; font-size: .8rem; color: #808080; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 22px; }
.mb-2 { margin-bottom: 22px; }
.hl { color: var(--pink); }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  font-size: 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 26px rgba(37,211,102,.4); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 50px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding: 66px 0 56px; }
  .auth-card { padding: 30px 22px; }
}
@media (max-width: 420px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion: kill all glow animation / flicker / movement ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn-primary { animation: none !important; }
  .hero h1 { animation: none !important; text-shadow: 0 0 10px rgba(255,45,85,.5), 0 0 40px rgba(255,45,85,.2); }
  .nav-links a::after { transition: none !important; }
  .card:hover, .game-card:hover, .winner-card:hover, .step:hover { transform: none !important; }
}
