/* ============================================================
   STRIKE77 — Strike Zone Impact Design System
   Fonts: Bungee (headings) + Geologica (body)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #dc2626;        /* strike red */
  --primary-dark: #b91c1c;
  --primary-darker: #991b1b;
  --accent: #f87171;         /* light red */
  --accent-soft: #fca5a5;
  --bg-body: #fef2f2;        /* pale red body */
  --bg-dark: #000000;        /* pure black */
  --bg-dark-2: #0d0d0d;
  --bg-dark-3: #171717;
  --surface: #ffffff;
  --surface-alt: #fff7f7;
  --text: #1a1a1a;
  --text-soft: #4b4b4b;
  --text-muted: #7a7a7a;
  --text-on-dark: #f5f5f5;
  --text-on-dark-soft: #b9b9b9;
  --gold: #d9b451;           /* from logo */
  --gold-soft: #ecd48a;
  --line: #f3d3d3;
  --line-dark: #2a2a2a;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(220,38,38,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-red: 0 14px 40px rgba(220,38,38,.35);
  --shadow-dark: 0 20px 50px rgba(0,0,0,.45);

  --font-head: 'Bungee', 'Arial Black', sans-serif;
  --font-body: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 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(--nav-h) + 12px); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-body);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.05; letter-spacing: .5px; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; letter-spacing: .8px; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }
.text-red { color: var(--primary); }
.text-gold { color: var(--gold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 820px; }
.section { padding: 84px 0; position: relative; }
.section-sm { padding: 56px 0; }
.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; }
.section-alt { background: var(--surface-alt); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: .72rem; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--primary);
  background: rgba(220,38,38,.09);
  border: 1px solid rgba(220,38,38,.22);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 20px;
}
.section-dark .eyebrow { color: var(--accent); background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.28); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--primary); border-radius: 2px; transform: rotate(45deg); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; margin-top: 14px; }
.section-dark .section-head p { color: var(--text-on-dark-soft); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-size: .82rem; letter-spacing: 1px;
  padding: 15px 30px; border-radius: var(--radius-sm);
  transition: all .25s var(--ease); cursor: pointer; text-align: center;
  border: 2px solid transparent; white-space: nowrap; position: relative;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 22px rgba(220,38,38,.35);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(220,38,38,.45); }
.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: #1c1c1c; color: #fff; transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--bg-dark); border-color: #fff; }
.btn-lg { padding: 18px 38px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; font-family: var(--font-body); font-weight: 700; transition: transform .25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(0,0,0,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-family: var(--font-head); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-on-dark-soft); padding: 10px 16px; border-radius: 8px; transition: all .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.nav-cta { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(220,38,38,.4); }
.nav-links a.nav-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--bg-dark); color: #fff;
  padding: 92px 0 100px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(220,38,38,.30), transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(248,113,113,.12), transparent 40%);
  pointer-events: none;
}
.hero-stripes {
  position: absolute; top: 0; right: -8%; width: 55%; height: 100%;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(220,38,38,.05) 40px 44px);
  transform: skewX(-8deg); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .74rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; height: 2px; width: 30px; background: linear-gradient(90deg, transparent, var(--primary)); }
.hero-eyebrow::before { background: linear-gradient(90deg, var(--primary), transparent); }
.hero h1 { color: #fff; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(220,38,38,.4); }
.hero h1 .hl { color: var(--primary); position: relative; }
.hero-sub { font-size: 1.18rem; color: var(--text-on-dark-soft); max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .n { font-family: var(--font-head); font-size: 1.9rem; color: var(--accent); line-height: 1; }
.hero-stat .l { font-size: .82rem; color: var(--text-on-dark-soft); letter-spacing: .5px; margin-top: 6px; }

/* Cricket ball hero graphic */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.ball {
  position: relative; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ef4444, #dc2626 45%, #991b1b 100%);
  box-shadow: inset -18px -22px 50px rgba(0,0,0,.55), inset 12px 14px 30px rgba(255,255,255,.18), 0 30px 70px rgba(220,38,38,.4);
  animation: ballFloat 5s ease-in-out infinite;
}
.ball::before, .ball::after {
  content: ""; position: absolute; left: 12%; right: 12%; height: 40%;
  border: 3px dashed rgba(255,255,255,.85); border-radius: 50%;
}
.ball::before { top: 6%; border-bottom: none; }
.ball::after { bottom: 6%; border-top: none; }
.ball-seam { position: absolute; top: 50%; left: 8%; right: 8%; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 6px, transparent 6px 12px); opacity: .5; }
.ball-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-head); font-size: 3rem; color: rgba(0,0,0,.35); letter-spacing: 2px;
}
.ball-orbit { position: absolute; inset: -30px; border: 1px dashed rgba(248,113,113,.25); border-radius: 50%; animation: spin 22s linear infinite; }
.ball-orbit::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 16px var(--accent); }

@keyframes ballFloat { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Angular divider */
.slash-divider { height: 6px; background: repeating-linear-gradient(115deg, var(--primary) 0 26px, var(--bg-dark) 26px 52px); }

/* ---------- Marquee ---------- */
.marquee { background: var(--primary); color: #fff; overflow: hidden; padding: 13px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 40px; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--font-head); font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "◆"; color: rgba(255,255,255,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature cards ---------- */
.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(--surface); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(220,38,38,.3); }
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: #fff; font-size: 1.5rem; margin-bottom: 20px; box-shadow: 0 8px 18px rgba(220,38,38,.3);
}
.card h3 { margin-bottom: 12px; font-size: 1.15rem; letter-spacing: .3px; }
.card p { color: var(--text-soft); font-size: .98rem; }

.section-dark .card { background: var(--bg-dark-3); border-color: var(--line-dark); }
.section-dark .card p { color: var(--text-on-dark-soft); }
.section-dark .card:hover { border-color: rgba(248,113,113,.4); }

/* Tool preview cards (homepage) */
.tool-card { display: flex; flex-direction: column; }
.tool-card .tag { font-family: var(--font-head); font-size: .62rem; letter-spacing: 1.5px; color: var(--primary); text-transform: uppercase; margin-bottom: 14px; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step-num { font-family: var(--font-head); font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h4 { font-family: var(--font-head); margin-bottom: 8px; letter-spacing: .3px; }
.step p { font-size: .92rem; color: var(--text-soft); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-dark); position: relative; background: var(--bg-dark); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist .ck { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 6px; background: rgba(220,38,38,.12); color: var(--primary); display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 3px; }
.section-dark .checklist .ck { background: rgba(248,113,113,.16); color: var(--accent); }
.checklist span.tx { color: var(--text-soft); font-size: .98rem; }
.section-dark .checklist span.tx { color: var(--text-on-dark-soft); }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-band .item { padding: 20px; }
.stat-band .n { font-family: var(--font-head); font-size: clamp(2rem,4vw,2.8rem); color: var(--accent); line-height: 1; }
.stat-band .l { font-size: .86rem; color: var(--text-on-dark-soft); margin-top: 10px; letter-spacing: .5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(135deg, var(--primary-darker), var(--primary)); color: #fff; border-radius: var(--radius-lg); padding: 56px 48px; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 30px, rgba(0,0,0,.06) 30px 34px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--primary-darker); }
.cta-band .btn-primary:hover { background: #000; color: #fff; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s; }
.faq-item.open { border-color: rgba(220,38,38,.35); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-family: var(--font-head); font-size: .98rem; letter-spacing: .3px; color: var(--text); }
.faq-q .ic { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 7px; background: rgba(220,38,38,.1); color: var(--primary); display: grid; place-items: center; font-size: 1.3rem; transition: all .3s var(--ease); }
.faq-item.open .ic { background: var(--primary); color: #fff; transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--text-soft); font-size: .98rem; }

/* ---------- Auth (login/signup) ---------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual {
  background: var(--bg-dark); color: #fff; padding: 60px 54px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.auth-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(220,38,38,.35), transparent 55%); }
.auth-visual::after { content: ""; position: absolute; bottom: -10%; right: -8%; width: 60%; height: 70%; background: repeating-linear-gradient(115deg, transparent 0 34px, rgba(248,113,113,.06) 34px 38px); transform: skewX(-8deg); }
.auth-visual-inner { position: relative; z-index: 2; }
.auth-visual .logo { height: 46px; margin-bottom: 40px; }
.auth-visual h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 18px; }
.auth-visual p { color: var(--text-on-dark-soft); max-width: 400px; margin-bottom: 30px; }
.auth-perks { display: grid; gap: 16px; }
.auth-perks li { display: flex; gap: 13px; align-items: center; color: var(--text-on-dark-soft); }
.auth-perks .pk { width: 30px; height: 30px; border-radius: 8px; background: rgba(248,113,113,.15); color: var(--accent); display: grid; place-items: center; font-size: .9rem; }

.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 50px 40px; background: var(--surface); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card > h1 { font-size: clamp(1.9rem,4vw,2.4rem); margin-bottom: 10px; }
.auth-card .sub { color: var(--text-soft); margin-bottom: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text); margin-bottom: 9px; }
.field .input-wrap { position: relative; }
.field input {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-alt); color: var(--text); transition: all .2s var(--ease);
}
.field input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.field input::placeholder { color: #b6a4a4; }
.field .toggle-pw { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .8rem; font-family: var(--font-head); letter-spacing: .5px; padding: 4px 8px; }
.field-hint { font-size: .8rem; color: var(--text-muted); margin-top: 7px; }
.field-error { font-size: .82rem; color: var(--primary); margin-top: 7px; display: none; }
.field.invalid input { border-color: var(--primary); }
.field.invalid .field-error { display: block; }
.form-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.check { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--text-soft); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--primary); }
.check.check-invalid { color: var(--primary); }
.check.check-invalid input { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }
.auth-alt { text-align: center; margin-top: 26px; color: var(--text-soft); font-size: .95rem; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: var(--text-muted); font-size: .78rem; letter-spacing: 1px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-note { background: rgba(220,38,38,.06); border: 1px solid rgba(220,38,38,.18); border-radius: var(--radius-sm); padding: 12px 15px; font-size: .84rem; color: var(--text-soft); margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; }
.form-note .i { color: var(--primary); flex: 0 0 auto; }
.form-success { display: none; background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.3); color: #15803d; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .92rem; }

/* ---------- Tools ---------- */
.tool-hero { background: var(--bg-dark); color: #fff; padding: 60px 0 70px; position: relative; overflow: hidden; }
.tool-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(220,38,38,.28), transparent 50%); }
.tool-hero .container { position: relative; z-index: 2; }
.tool-hero h1 { color: #fff; margin-bottom: 16px; }
.tool-hero p { color: var(--text-on-dark-soft); max-width: 640px; }
.tool-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--text-on-dark-soft); margin-bottom: 22px; font-family: var(--font-head); letter-spacing: .5px; text-transform: uppercase; }
.tool-breadcrumb a { color: var(--accent); }
.tool-breadcrumb .sep { color: #555; }

.tool-layout { display: grid; grid-template-columns: 1.4fr .95fr; gap: 34px; margin-top: -46px; position: relative; z-index: 5; align-items: start; }
.tool-panel { background: var(--surface); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.tool-panel h2 { font-size: 1.4rem; margin-bottom: 6px; }
.tool-panel .panel-sub { color: var(--text-soft); font-size: .95rem; margin-bottom: 26px; }
.tool-side { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 20px); }

.input-group { margin-bottom: 22px; }
.input-group label { display: block; font-family: var(--font-head); font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.input-group .with-unit { position: relative; display: flex; align-items: center; }
.input-group input[type="number"], .input-group input[type="text"], .input-group select {
  width: 100%; padding: 15px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-alt); color: var(--text); font-size: 1.05rem; font-weight: 500; transition: all .2s var(--ease);
}
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.input-group .unit { position: absolute; right: 16px; font-family: var(--font-head); font-size: .72rem; color: var(--text-muted); letter-spacing: .5px; pointer-events: none; }
.seg { display: inline-flex; background: var(--surface-alt); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { padding: 9px 16px; border-radius: 7px; font-family: var(--font-head); font-size: .66rem; letter-spacing: .5px; color: var(--text-soft); transition: all .2s var(--ease); text-transform: uppercase; }
.seg button.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(220,38,38,.3); }

/* Result card */
.result-card { background: var(--bg-dark); color: #fff; border-radius: var(--radius); padding: 30px; text-align: center; position: relative; overflow: hidden; }
.result-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(220,38,38,.35), transparent 60%); }
.result-card > * { position: relative; z-index: 1; }
.result-label { font-family: var(--font-head); font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.result-value { font-family: var(--font-head); font-size: clamp(2.6rem,7vw,3.8rem); color: #fff; line-height: 1; }
.result-value .u { font-size: 1.1rem; color: var(--text-on-dark-soft); margin-left: 6px; }
.result-tag { display: inline-block; margin-top: 16px; padding: 7px 18px; border-radius: 100px; font-family: var(--font-head); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; background: var(--primary); color: #fff; }
.result-desc { color: var(--text-on-dark-soft); font-size: .92rem; margin-top: 16px; }

.meter { height: 12px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 100px; overflow: hidden; margin: 8px 0; }
.meter-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); border-radius: 100px; width: 0; transition: width .8s var(--ease); }
.meter-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-muted); margin-top: 6px; font-family: var(--font-head); letter-spacing: .5px; }

.mini-stat { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mini-stat:last-child { border-bottom: none; }
.mini-stat .k { color: var(--text-soft); font-size: .92rem; }
.mini-stat .v { font-family: var(--font-head); font-size: .95rem; color: var(--primary); }

.info-box { background: var(--surface-alt); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 20px 22px; }
.info-box h4 { font-family: var(--font-head); margin-bottom: 10px; letter-spacing: .3px; }
.info-box p, .info-box li { font-size: .92rem; color: var(--text-soft); }
.info-box ul { display: grid; gap: 8px; margin-top: 8px; }
.info-box li { display: flex; gap: 10px; }
.info-box li::before { content: "▪"; color: var(--primary); }

/* Speed converter compare list */
.compare-list { display: grid; gap: 10px; margin-top: 10px; }
.compare-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: all .2s var(--ease); }
.compare-row.hit { background: rgba(220,38,38,.08); border-color: var(--primary); }
.compare-row .name { font-weight: 600; font-size: .92rem; }
.compare-row .who { font-size: .78rem; color: var(--text-muted); }
.compare-row .spd { font-family: var(--font-head); font-size: .82rem; color: var(--primary); text-align: right; }

/* Strike counter */
.counter-stage { text-align: center; padding: 10px 0; }
.counter-timer { font-family: var(--font-head); font-size: 1.4rem; color: var(--primary); letter-spacing: 1px; }
.counter-score { font-family: var(--font-head); font-size: clamp(3.4rem,12vw,5.5rem); color: var(--text); line-height: 1; margin: 6px 0; }
.section-dark .counter-score { color: #fff; }
.strike-btn {
  position: relative; width: 190px; height: 190px; border-radius: 50%; margin: 20px auto;
  background: radial-gradient(circle at 35% 30%, #ef4444, #dc2626 50%, #991b1b);
  color: #fff; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: 1px;
  box-shadow: 0 16px 40px rgba(220,38,38,.5), inset -10px -12px 30px rgba(0,0,0,.4), inset 8px 8px 20px rgba(255,255,255,.2);
  transition: transform .08s ease; user-select: none; display: grid; place-items: center; text-align: center;
}
.strike-btn:active { transform: scale(.93); }
.strike-btn.pop { animation: pop .18s ease; }
@keyframes pop { 0% { transform: scale(1);} 40% { transform: scale(1.08);} 100% { transform: scale(1);} }
.strike-btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.strike-btn .seam { position: absolute; top: 14%; left: 12%; right: 12%; height: 34%; border: 2px dashed rgba(255,255,255,.6); border-bottom: none; border-radius: 50%; }
.strike-btn .seam.b { top: auto; bottom: 14%; border: 2px dashed rgba(255,255,255,.6); border-top: none; }

/* Bowling pins */
.pins { display: flex; justify-content: center; gap: 8px; margin: 20px 0 8px; min-height: 66px; align-items: flex-end; }
.pin { width: 26px; height: 60px; position: relative; transition: transform .4s var(--ease), opacity .4s; transform-origin: bottom center; }
.pin svg { width: 100%; height: 100%; display: block; }
.pin.down { transform: rotate(72deg) translateY(6px); opacity: .3; }
.counter-hint { color: var(--text-muted); font-size: .88rem; }
.section-dark .counter-hint { color: var(--text-on-dark-soft); }

.best-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); background: rgba(217,180,81,.12); border: 1px solid rgba(217,180,81,.3); padding: 8px 16px; border-radius: 100px; }

/* ---------- Content / article ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin: 40px 0 16px; font-size: clamp(1.5rem,3vw,2rem); }
.prose h3 { margin: 30px 0 12px; font-size: 1.2rem; }
.prose p { color: var(--text-soft); margin-bottom: 16px; }
.prose ul { display: grid; gap: 10px; margin: 0 0 20px; padding-left: 4px; }
.prose ul li { display: flex; gap: 12px; color: var(--text-soft); }
.prose ul li::before { content: "◆"; color: var(--primary); font-size: .8rem; margin-top: 4px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 34px; }
.toc h4 { font-family: var(--font-head); margin-bottom: 14px; letter-spacing: .5px; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.toc li { counter-increment: toc; }
.toc a { color: var(--text-soft); font-size: .94rem; }
.toc a::before { content: counter(toc) ". "; color: var(--primary); font-family: var(--font-head); font-size: .8rem; }
.toc a:hover { color: var(--primary); }

/* Page hero (generic) */
.page-hero { background: var(--bg-dark); color: #fff; padding: 66px 0 58px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 25%, rgba(220,38,38,.26), transparent 50%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: var(--text-on-dark-soft); max-width: 640px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: var(--text-on-dark-soft); padding: 56px 0 26px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: repeating-linear-gradient(115deg, var(--primary) 0 22px, #000 22px 44px); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { max-width: 360px; }
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; color: var(--text-on-dark-soft); }
.footer-cols { display: flex; gap: 40px 44px; flex-wrap: wrap; }
.footer-col { min-width: 130px; }
.footer-col h4 { font-family: var(--font-head); font-size: .74rem; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-on-dark-soft); font-size: .92rem; padding: 6px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-wa { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; font-family: var(--font-head); font-size: .74rem; letter-spacing: .5px; padding: 12px 20px; border-radius: 10px; margin-top: 4px; transition: all .2s var(--ease); }
.footer-wa:hover { background: #1eb955; color: #fff; transform: translateY(-2px); }
.footer-disclaimer { padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.footer-disclaimer p { font-size: .8rem; color: #7a7a7a; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.footer-bottom p { font-size: .84rem; color: #6b6b6b; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { font-size: .84rem; color: var(--text-on-dark-soft); }
.footer-legal a:hover { color: var(--accent); }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--primary); border-radius: 50%; font-family: var(--font-head); font-size: .74rem; color: var(--accent); flex: 0 0 auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .ball { width: 220px; height: 220px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-side { position: static; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .stat-band { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #0a0a0a; border-bottom: 1px solid var(--line-dark); padding: 16px; gap: 6px;
    transform: translateY(-140%); transition: transform .35s var(--ease); box-shadow: var(--shadow-dark);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; font-size: .8rem; }
  .nav-links a.nav-cta { text-align: center; margin-top: 6px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2,1fr); }
  .cta-band { padding: 40px 26px; }
  .footer-top { flex-direction: column; gap: 30px; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .stat-band { grid-template-columns: 1fr; }
  .strike-btn { width: 160px; height: 160px; }
  .btn { padding: 13px 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .1ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
