/* ════════════════════════════════════════
   CORE — variables, reset, layout, buttons
   ════════════════════════════════════════ */

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

:root {
  --blue:   #0085C7;
  --yellow: #F4C300;
  --black:  #111827;
  --green:  #009F3D;
  --red:    #DF0024;
  --bg:    #f4f7fc;
  --ink:   #07111f;
  --muted: #64748b;
  --line:  rgba(15,23,42,.11);
  --gold:   #f8c84e;
  --silver: #c8d5e4;
  --bronze: #c9894b;
  --r-xl: 26px; --r-lg: 18px; --r-md: 12px;
  --sh:  0 8px 32px rgba(15,23,42,.09);
  --sh2: 0 20px 60px rgba(15,23,42,.15);
  font-family: 'Barlow', system-ui, sans-serif;
  color: var(--ink);
}

body {
  background:
    radial-gradient(700px 320px at 5% 0%, rgba(0,133,199,.11), transparent 60%),
    radial-gradient(600px 260px at 95% 0%, rgba(223,0,36,.07), transparent 62%),
    var(--bg);
  min-height: 100vh;
}

.wrap { width: min(1100px,100%); margin: 0 auto; padding: clamp(16px,3vw,32px) 14px; }

.app {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh2);
  overflow: hidden;
  position: relative;
}

.ribbon {
  height: 7px;
  background: linear-gradient(90deg,
    var(--blue) 0% 20%, var(--yellow) 20% 40%,
    var(--black) 40% 60%, var(--green) 60% 80%, var(--red) 80% 100%);
}

.screen { display: none; padding: clamp(18px,4vw,36px); }
.screen.active { display: block; }

/* ── BUTTONS ── */
.btn {
  appearance: none; border: 0; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: transform .14s, filter .14s, box-shadow .14s;
  text-decoration: none !important; white-space: nowrap; font-family: inherit;
}
.btn:hover  { transform: translateY(-1px); filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(0,133,199,.35); outline-offset: 3px; }

.btn-primary { background: linear-gradient(135deg,var(--blue),#1db5e8 55%,var(--green)); color: #fff; box-shadow: 0 10px 28px rgba(0,133,199,.22); }
.btn-gold    { background: linear-gradient(135deg,#e8b600,var(--yellow)); color: #161616; box-shadow: 0 10px 24px rgba(244,195,0,.20); }
.btn-ghost   { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(15,23,42,.07); }

.mini-btn {
  min-height: 36px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(15,23,42,.05);
  cursor: pointer; font-family: inherit;
  transition: transform .13s, filter .13s;
}
.mini-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.mini-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0,133,199,.18);
}

/* ── BADGE & PILLS ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
  font-size: 11px; font-weight: 700; letter-spacing: .10em;
  text-transform: uppercase; margin-bottom: 16px;
  font-family: 'Barlow Condensed', sans-serif;
}

.badge-dots { display: inline-flex; gap: 5px; }
.badge-dots span { width: 7px; height: 7px; border-radius: 999px; display: block; }
.badge-dots span:nth-child(1) { background: var(--blue); }
.badge-dots span:nth-child(2) { background: var(--yellow); }
.badge-dots span:nth-child(3) { background: var(--black); }
.badge-dots span:nth-child(4) { background: var(--green); }
.badge-dots span:nth-child(5) { background: var(--red); }

.sport-count-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(0,133,199,.10); border: 1px solid rgba(0,133,199,.20);
  color: var(--blue); font-size: 12px; font-weight: 700;
  margin-bottom: 12px; font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .06em;
}

/* ── HERO ── */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px,4vw,40px); align-items: center; }

.title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px,5.5vw,68px); line-height: .92;
  letter-spacing: -.02em; font-weight: 900;
  margin-bottom: 18px; color: var(--ink);
}

.lead { font-size: clamp(15px,1.8vw,18px); line-height: 1.65; color: #334155; margin-bottom: 22px; max-width: 680px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.hero-card {
  border-radius: var(--r-xl);
  background: radial-gradient(380px 160px at 15% 0%, rgba(0,133,199,.24), transparent 65%), #06111f;
  color: #fff; padding: 24px;
  box-shadow: 0 20px 50px rgba(2,6,23,.25);
  border: 1px solid rgba(255,255,255,.10);
}
.hero-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.hero-card ul { list-style: none; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; color: #dbeafe; line-height: 1.45; font-size: 14px; font-weight: 600; }
.hero-card li .check { width: 22px; height: 22px; border-radius: 999px; background: rgba(34,197,94,.18); color: #86efac; display: grid; place-items: center; font-size: 11px; font-weight: 900; flex: 0 0 auto; }

.tiny { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 12px; }

/* ── ERROR ── */
.error {
  display: none; margin-top: 14px; padding: 11px 14px;
  border-radius: var(--r-md); border: 1px solid rgba(223,0,36,.22);
  background: rgba(223,0,36,.06); color: #821626;
  font-size: 13px; line-height: 1.45; font-weight: 600;
}

/* ── SAVED NOTE ── */
.saved-note {
  display: none; margin-top: 10px; padding: 10px 13px;
  border-radius: var(--r-md); border: 1px solid rgba(0,159,61,.20);
  background: rgba(0,159,61,.07); color: #075e2d;
  font-size: 13px; font-weight: 600; line-height: 1.45;
}

/* ── RESPONSIVE ── */
@media (max-width:860px) {
  .hero { grid-template-columns: 1fr; }
}
@media (max-width:520px) {
  .screen { padding: 14px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn, .mini-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
