/* Kickoff Bali shared styles. Brand guide: Night Black, Sunset Orange, Pitch Green.
   Fonts: Bricolage Grotesque (headlines), DM Sans (everything else). */

:root {
  --black: #0A0A0A;
  --orange: #FF6B35;
  --orange-hover: #FF8A5C;
  --green: #3DDC97;
  --white: #FFFFFF;
  --surface: #161616;
  --surface-2: #1F1F1F;
  --line: #2C2C2C;
  --muted: #B3B3B3;

  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); }
a:hover { color: var(--orange-hover); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Type */
h1, h2, h3, .wordmark { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 9vw, 84px); line-height: 0.98; }
h2 { font-size: clamp(30px, 6vw, 52px); line-height: 1.02; }
h3 { font-size: 22px; line-height: 1.15; }
p { margin: 0; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green);
}
.muted { color: var(--muted); }
.accent { color: var(--orange); }

/* Wordmark */
.wordmark { font-size: 26px; line-height: 1; color: var(--white); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--orange); }
a.wordmark:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--orange-hover); color: var(--black); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--black); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Pills and badges */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.badge-sport { background: var(--orange); color: var(--black); }
.badge-sound { background: transparent; color: var(--green); border: 1px solid var(--green); }
.badge-example { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge svg { width: 14px; height: 14px; }

/* Match card (used on the home page now, the Match Finder in Phase 2) */
.match-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.match-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.match-time { display: flex; align-items: baseline; gap: 10px; }
.match-time strong { font-family: var(--font-head); font-size: 30px; line-height: 1; }
.match-time .tz { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 0.06em; }
.match-time .date { font-size: 15px; color: var(--muted); }
.match-league { font-size: 14px; color: var(--muted); }
.match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.match-teams .team { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.1; }
.match-teams .team:last-child { text-align: right; }
.match-teams .vs { font-size: 13px; font-weight: 700; color: var(--muted); }
.match-event { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.1; }
.match-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.match-bars { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--white); }
.match-bars svg { width: 20px; height: 20px; color: var(--orange); }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 10, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header .brand img { width: 40px; height: 40px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a.link { display: none; color: var(--white); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.site-nav a.link:hover { color: var(--orange); }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
.site-nav .btn .hide-sm { display: none; }
@media (min-width: 420px) { .site-nav .btn .hide-sm { display: inline; } .site-nav .btn .show-sm { display: none; } }
@media (min-width: 760px) { .site-nav a.link { display: inline-block; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand { display: flex; align-items: center; gap: 14px; }
.site-footer .brand img { width: 56px; height: 56px; border-radius: 50%; }
.site-footer small { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
