/* ==========================================================================
   7Cric — Global Stylesheet
   Theme: Teal / Coral Cricket
   Fonts: Dosis (headings, geometric rounded) + Spectral (body, elegant serif)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --primary: #1a535c;        /* dark teal */
  --primary-600: #164851;
  --primary-700: #123a41;
  --secondary: #ff6b35;      /* coral */
  --accent: #ff6b35;
  --accent-600: #f2551b;
  --bg-body: #f7f7f7;
  --bg-dark: #0d2f35;
  --bg-dark-2: #0a262b;
  --bg-card: #ffffff;
  --text: #1a2e35;
  --text-muted: #5a6f76;
  --text-invert: #eaf3f4;
  --line: #e2e8e9;
  --line-dark: rgba(255, 255, 255, 0.12);
  --gold: #ffcb45;

  /* Typography */
  --font-head: "Dosis", "Trebuchet MS", sans-serif;
  --font-body: "Spectral", Georgia, "Times New Roman", serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(13, 47, 53, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 47, 53, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 47, 53, 0.16);
  --shadow-coral: 0 12px 28px rgba(255, 107, 53, 0.32);

  /* Layout */
  --maxw: 1180px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
ul, ol { padding-left: 1.25rem; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
strong { font-weight: 600; color: var(--text); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text-muted); }
::selection { background: var(--accent); color: #fff; }

/* Eyebrow / kicker label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--bg-body) 100%); }
.section--dark {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(255,107,53,.18), transparent 60%),
              linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-invert);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(234, 243, 244, 0.78); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.text-center { text-align: center; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .01em;
  padding: .82rem 1.7rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-coral);
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,107,53,.42); color: #fff; }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--primary); box-shadow: 0 12px 26px rgba(26,83,92,.32); }
.btn--primary:hover { box-shadow: 0 16px 32px rgba(26,83,92,.42); }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--primary); color: #fff; }
.btn--light { background: #fff; color: var(--primary); box-shadow: var(--shadow-md); }
.btn--light:hover { color: var(--accent); }
.btn--wa { --btn-bg: #25d366; box-shadow: 0 12px 26px rgba(37,211,102,.32); }
.btn--wa:hover { box-shadow: 0 16px 32px rgba(37,211,102,.42); }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.12rem; }
.btn--block { display: flex; width: 100%; }
.btn__ico { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: .55rem .95rem;
  border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { background: rgba(26,83,92,.08); color: var(--primary); }
.nav-links a.nav-cta { color: #fff; background: var(--accent); box-shadow: var(--shadow-coral); }
.nav-links a.nav-cta:hover { background: var(--accent-600); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 22px; height: 2.4px;
  background: var(--primary); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--bg-dark) 0%, var(--primary-700) 55%, var(--primary) 100%);
  color: var(--text-invert);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(680px 340px at 88% 8%, rgba(255,107,53,.28), transparent 62%),
    radial-gradient(520px 300px at 0% 100%, rgba(255,203,69,.14), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { color: rgba(234,243,244,.82); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.6rem; }
.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
  transform: rotate(.6deg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-family: var(--font-head); font-weight: 600; }
.hero-badges span { display: inline-flex; align-items: center; gap: .45rem; color: rgba(234,243,244,.9); font-size: .96rem; }
.hero-badges span::before { content: "✦"; color: var(--accent); }

/* Seam divider (cricket-ball stitch motif) */
.seam {
  height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 26px);
  border: none; opacity: .9; border-radius: 2px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(255,107,53,.35); }
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; color: var(--text-muted); }
.card-ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(255,107,53,.16), rgba(26,83,92,.12));
  color: var(--accent);
  margin-bottom: 1.1rem;
  font-size: 1.6rem;
}
.card-ico svg { width: 28px; height: 28px; }

/* Numbered feature card */
.step-card { position: relative; overflow: hidden; }
.step-card .step-n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(255,107,53,.16);
  position: absolute; top: .6rem; right: 1rem;
}

/* Tool card (feature) */
.tool-card { display: flex; flex-direction: column; }
.tool-card .tool-tag {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: rgba(255,107,53,.12);
  padding: .3rem .7rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.tool-card .btn { margin-top: 1.3rem; align-self: flex-start; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 4.5vw, 3rem); color: var(--accent); line-height: 1; }
.stat .lbl { font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; color: rgba(234,243,244,.82); text-transform: uppercase; font-size: .82rem; margin-top: .4rem; }

/* ---------- Split / media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature-list { list-style: none; padding: 0; margin-top: 1rem; }
.feature-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: 50%;
  font-size: .78rem; font-weight: 700; font-family: var(--font-head);
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: .85rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--primary);
  padding: 1.15rem 1.3rem; background: none; border: none;
}
.faq-q:hover { color: var(--accent); }
.faq-q .chev { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(26,83,92,.08); color: var(--primary); transition: transform .25s ease, background .2s; font-size: 1.1rem; }
.faq-item[open] .faq-q .chev, .faq-q[aria-expanded="true"] .chev { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { padding: 0 1.3rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-a p { color: var(--text-muted); }
.faq-a.open { padding: 0 1.3rem 1.25rem; }

/* ---------- Forms ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-md);
}
.auth-aside {
  background: linear-gradient(160deg, var(--primary) 0%, var(--bg-dark) 100%);
  color: var(--text-invert); border-radius: var(--r-lg); padding: clamp(1.8rem, 3vw, 2.8rem);
  position: relative; overflow: hidden;
}
.auth-aside h2 { color: #fff; }
.auth-aside .feature-list li { color: rgba(234,243,244,.9); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--primary); margin-bottom: .4rem; font-size: .98rem; }
.field input, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.6px solid var(--line);
  border-radius: var(--r-sm); background: #fbfdfd; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,53,.15); outline: none; }
.field .hint { font-size: .85rem; color: var(--text-muted); margin-top: .35rem; }
.field .err { font-size: .85rem; color: var(--accent-600); margin-top: .35rem; min-height: 1rem; display: block; }
.input-wrap { position: relative; }
.input-wrap .toggle-pw { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .3rem .5rem; }
.checkrow { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--text-muted); margin-bottom: 1.15rem; }
.checkrow input { width: 1.1rem; height: 1.1rem; margin-top: .28rem; accent-color: var(--accent); flex: none; }
.form-note { text-align: center; font-size: .95rem; color: var(--text-muted); margin-top: 1rem; }
.form-alert { display: none; padding: .85rem 1rem; border-radius: var(--r-sm); margin-bottom: 1.15rem; font-size: .95rem; }
.form-alert.show { display: block; }
.form-alert.ok { background: rgba(37,211,102,.12); color: #128a3e; border: 1px solid rgba(37,211,102,.3); }
.divider-or { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); margin: 1.3rem 0; font-family: var(--font-head); font-size: .85rem; letter-spacing: .1em; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
  color: #fff; border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.92); }
.cta-band .btn--light { background: #fff; color: var(--accent-600); }

/* ---------- Alert / notice ---------- */
.notice {
  display: flex; gap: .8rem; align-items: flex-start;
  background: rgba(255,203,69,.14); border: 1px solid rgba(255,203,69,.4);
  border-radius: var(--r-md); padding: 1rem 1.2rem; color: #7a5c12; font-size: .95rem;
}
.notice strong { color: #6a4e0a; }
.age-pill { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; background: var(--accent); color: #fff; border-radius: var(--r-pill); padding: .2rem .7rem; font-size: .8rem; }

/* ---------- Content / legal pages ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; color: var(--text); }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 2px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.toc h4 { font-family: var(--font-head); color: var(--primary); margin-bottom: .5rem; }
.toc ol { margin: 0; }
.page-hero { background: linear-gradient(150deg, var(--bg-dark), var(--primary)); color: #fff; padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { color: #fff; }
.page-hero .crumbs { font-family: var(--font-head); font-weight: 600; color: rgba(234,243,244,.7); font-size: .92rem; margin-bottom: .6rem; }
.page-hero .crumbs a { color: rgba(234,243,244,.9); }
.updated { font-family: var(--font-head); font-weight: 600; color: var(--text-muted); font-size: .9rem; }

/* ---------- Table (format comparer + generic) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; position: sticky; top: 0; }
table.cmp tbody th { font-family: var(--font-head); font-weight: 700; color: var(--primary); background: #f2f7f7; }
table.cmp tbody tr:nth-child(even) td { background: #fafcfc; }
table.cmp td.hl { color: var(--accent-600); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(234,243,244,.75); padding-block: 3rem 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 2.5rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(234,243,244,.65); max-width: 42ch; font-size: .98rem; }
.footer-brand .btn { margin-top: 1.1rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col h4 { color: #fff; font-family: var(--font-head); margin-bottom: .8rem; letter-spacing: .04em; font-size: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(234,243,244,.78); font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--accent); }
.footer-copy { margin-top: 1.2rem; font-size: .85rem; color: rgba(234,243,244,.5); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: .88rem; }
.footer-bottom .disclaimer { max-width: 70ch; color: rgba(234,243,244,.55); font-size: .84rem; }
.footer-flags { display: flex; align-items: center; gap: .8rem; font-family: var(--font-head); font-weight: 700; }
.footer-flags .b18 { border: 2px solid var(--accent); color: var(--accent); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; font-size: .85rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   TOOL STYLES
   ========================================================================== */
.tool-shell { max-width: 860px; margin-inline: auto; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(1.4rem, 3vw, 2.4rem); }
.tool-panel + .tool-panel { margin-top: 1.5rem; }
.tool-legend { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.tool-legend .badge7 { background: var(--accent); color: #fff; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; }

/* Scoreboard */
.scoreboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; margin-bottom: 1.5rem; }
.scoreboard .sb { background: linear-gradient(160deg, var(--primary), var(--bg-dark)); color: #fff; border-radius: var(--r-md); padding: 1.1rem .5rem; }
.scoreboard .sb .k { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: rgba(234,243,244,.75); }
.scoreboard .sb .v { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.scoreboard .sb .v small { font-size: .9rem; font-weight: 600; color: rgba(234,243,244,.7); }

/* Over strip */
.over-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.over-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: #eef4f4; color: var(--primary); border: 2px solid var(--line); font-size: .95rem; }
.over-dot.done { background: var(--primary); color: #fff; border-color: var(--primary); }
.over-dot.now { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,53,.18); }
.over-dot.six { background: var(--accent); color: #fff; border-color: var(--accent); }
.over-dot.wkt { background: #b3202f; color: #fff; border-color: #b3202f; }

.choice-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.choice-row .btn { flex: 1; min-width: 160px; }
.commentary { background: #f2f7f7; border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: .9rem 1.1rem; margin-top: 1.2rem; min-height: 3.4rem; font-style: italic; color: var(--text); }
.commentary strong { font-style: normal; }
.result-banner { text-align: center; padding: 1.4rem; border-radius: var(--r-md); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; margin-top: 1.2rem; }
.result-banner.win { background: rgba(37,211,102,.14); color: #128a3e; border: 1px solid rgba(37,211,102,.35); }
.result-banner.loss { background: rgba(179,32,47,.1); color: #b3202f; border: 1px solid rgba(179,32,47,.28); }
.result-banner.tie { background: rgba(255,203,69,.16); color: #8a6a10; border: 1px solid rgba(255,203,69,.4); }

/* Lucky 7 balls */
.ball-tray { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1.5rem 0; min-height: 90px; }
.ball {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), var(--primary);
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.25), var(--shadow-md);
  animation: pop .45s cubic-bezier(.2,1.2,.4,1) both;
}
.ball.c0 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), #1a535c; }
.ball.c1 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), #ff6b35; }
.ball.c2 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), #2a9d8f; }
.ball.c3 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), #e76f51; }
.ball.c4 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), #457b9d; }
.ball.c5 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), #e9a12b; color:#3a2a05;}
.ball.c6 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 42%), #8a4fff; }
@keyframes pop { from { opacity: 0; transform: scale(.3) translateY(10px);} to { opacity: 1; transform: scale(1) translateY(0);} }
.ball-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; text-align: center; color: var(--text-muted); font-size: .95rem; }
.ball-meta b { color: var(--primary); font-family: var(--font-head); }
.pick-controls { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: center; }
.history-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.history-chips .chip { font-family: var(--font-head); font-weight: 600; font-size: .85rem; background: #eef4f4; border: 1px solid var(--line); border-radius: var(--r-pill); padding: .3rem .8rem; color: var(--primary); }

/* Comparer controls */
.cmp-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.chip-toggle { font-family: var(--font-head); font-weight: 600; border: 1.6px solid var(--line); background: #fff; color: var(--primary); border-radius: var(--r-pill); padding: .5rem 1.1rem; transition: all .18s ease; }
.chip-toggle[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip-toggle:hover { border-color: var(--accent); }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; transform: none; max-height: 320px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; padding: 1rem clamp(1rem,4vw,2rem) 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-links a.nav-cta { text-align: center; margin-top: .3rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { order: 2; }
  .scoreboard { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .choice-row .btn { min-width: 100%; }
  .ball { width: 64px; height: 64px; font-size: 1.4rem; }
  .scoreboard .sb .v { font-size: 1.5rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}
