/* ==========================================================================
   VideoMatch.Date — base: design tokens, reset, typography, buttons, forms
   ========================================================================== */

:root {
  /* Brand (from the logo) */
  --coral: #ff5f7e;
  --pink: #e8305e;
  --magenta: #a3207f;
  --teal: #3db5c8;
  --teal-dark: #24719a;
  --ink: #1b2238;
  --ink-2: #26304d;

  /* Neutrals */
  --muted: #5f667d;
  --soft: #9aa0b2;
  --line: rgba(27, 34, 56, .09);
  --bg: #fbf8fa;
  --card: #ffffff;
  --tint-pink: #fff1f4;
  --tint-teal: #e9f8fa;

  /* Status */
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;

  /* Gradients */
  --grad: linear-gradient(135deg, var(--coral) 0%, var(--pink) 50%, var(--magenta) 100%);
  --grad-teal: linear-gradient(135deg, #5fd3e0 0%, var(--teal) 45%, var(--teal-dark) 100%);
  --grad-dark: linear-gradient(160deg, #1b2238 0%, #1e2f4a 100%);

  /* Shape & depth */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 4px 14px rgba(27, 34, 56, .07);
  --shadow-md: 0 12px 32px rgba(27, 34, 56, .08);
  --shadow-lg: 0 30px 70px rgba(27, 34, 56, .16);
  --shadow-pink: 0 10px 26px rgba(232, 48, 94, .32);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; }
[hidden] { display: none !important; }

/* Layout helpers ---------------------------------------------------------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: grid; gap: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: var(--gap, 12px); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -2px; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -1.3px; line-height: 1.1; }
.h3 { font-size: 22px; letter-spacing: -.4px; }
.lead { font-size: 19px; color: var(--muted); }
.sub { color: var(--muted); font-size: 18px; max-width: 620px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.teal-text { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: none;
  font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-pink); }
.btn-teal { background: var(--grad-teal); color: #fff; box-shadow: 0 10px 26px rgba(61, 181, 200, .32); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-white { background: #fff; color: var(--pink); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-xs { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--tint-pink); }
.icon-btn svg { width: 20px; height: 20px; }

/* Forms ------------------------------------------------------------------- */
.field { display: grid; gap: 7px; }
.field > label, .label { font-size: 13px; font-weight: 700; color: var(--ink); }
.hint { font-size: 12px; color: var(--muted); }
.error-text { font-size: 12px; color: var(--red); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; outline: none;
  font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(232, 48, 94, .12); }
.input.is-invalid { border-color: var(--red); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--pink); margin-top: 2px; flex: none; }
.check b { color: var(--ink); }

/* Option chips (single / multi select) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink); transition: all .15s; user-select: none;
}
.chip:hover { border-color: rgba(232, 48, 94, .4); }
.chip.is-on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(232, 48, 94, .25); }
.chip-lg { padding: 14px 22px; font-size: 16px; border-radius: 16px; }

/* Cards & badges ---------------------------------------------------------- */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 24px; }
.card-title { font-size: 17px; font-weight: 800; letter-spacing: -.2px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.badge-live { background: #ffe3ea; color: var(--pink); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.badge-soon { background: #dff5f8; color: var(--teal-dark); }
.badge-muted { background: #f0f1f5; color: var(--muted); }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-amber { background: #fef3c7; color: #b45309; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.count-dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; flex: none; display: inline-block; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Scroll reveal ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
