/* TitanScores landing page. Same dark palette as the app (gray-900 #111827, blue-600 #2563EB, orange #F97316). */
:root {
  --bg: #0b1220;
  --bg-2: #111827;
  --card: #1f2937;
  --line: #374151;
  --text: #f9fafb;
  --muted: #9ca3af;
  --blue: #2563eb;
  --blue-2: #60a5fa;
  --orange: #f97316;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(55, 65, 81, 0.6);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand img { height: 22px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav a.link { color: var(--muted); font-size: 14px; padding: 8px; display: none; }
.lang {
  font-size: 13px; font-weight: 700; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.lang:hover { text-decoration: none; border-color: var(--blue-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; border-radius: 14px; padding: 14px 22px;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue-2); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

/* Hero */
.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(600px 300px at -10% 110%, rgba(249, 115, 22, 0.18), transparent 60%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); background: rgba(249, 115, 22, 0.12); border: 1px solid rgba(249, 115, 22, 0.35);
  padding: 6px 12px; border-radius: 999px;
}
h1 { font-size: clamp(34px, 7vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 18px 0 16px; font-weight: 900; }
h1 .accent { color: var(--blue-2); }
.lead { color: #d1d5db; font-size: 18px; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* Scoreboard mock (pure HTML/CSS) */
.board {
  background: linear-gradient(180deg, #1f2937, #111827);
  border: 1px solid var(--line); border-radius: 24px; padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.board-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.live { color: #fca5a5; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 20px 0; text-align: center; }
.team-badge {
  width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 8px; display: grid; place-items: center;
  font-weight: 900; font-size: 18px;
}
.team-name { font-weight: 800; font-size: 14px; }
.score { font-size: 40px; font-weight: 900; letter-spacing: .04em; }
.linescore { width: 100%; border-collapse: collapse; font-size: 12px; color: #d1d5db; }
.linescore th, .linescore td { padding: 6px 4px; text-align: center; border-top: 1px solid var(--line); }
.linescore th { color: var(--muted); font-weight: 600; }
.linescore td:first-child, .linescore th:first-child { text-align: left; }
.linescore .r { font-weight: 900; color: #fff; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 40em; margin-bottom: 28px; }
h2 { font-size: clamp(26px, 4.5vw, 38px); line-height: 1.15; margin: 0 0 10px; font-weight: 900; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0; }
.alt { background: var(--bg-2); border-top: 1px solid rgba(55, 65, 81, 0.5); border-bottom: 1px solid rgba(55, 65, 81, 0.5); }

.grid { display: grid; gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(96, 165, 250, 0.3); font-size: 22px;
}

.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); color: #111; font-weight: 900; display: grid; place-items: center;
}
.step h3 { margin-top: 0; }

.sports { display: flex; flex-wrap: wrap; gap: 12px; }
.sport {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px;
}
.sport span { font-size: 22px; }

.community a.card { display: block; color: var(--text); transition: border-color .15s, transform .15s; }
.community a.card:hover { border-color: var(--blue-2); text-decoration: none; transform: translateY(-2px); }
.community .arrow { color: var(--blue-2); font-weight: 800; font-size: 14px; margin-top: 10px; display: inline-block; }

.about { display: grid; gap: 24px; align-items: center; }
.about blockquote {
  margin: 0; font-size: clamp(20px, 3.4vw, 28px); line-height: 1.35; font-weight: 800;
  border-left: 4px solid var(--orange); padding-left: 18px;
}

.final { text-align: center; }
.final .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: grid; gap: 18px; }
.foot img { height: 18px; width: auto; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: #d1d5db; }

@media (min-width: 720px) {
  .nav a.link { display: inline-block; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr auto; align-items: start; }
}

@media (min-width: 960px) {
  .hero { padding: 88px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .about { grid-template-columns: 1.2fr 0.8fr; }
  section { padding: 80px 0; }
}

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