/* ArakIce — shared stylesheet for static SEO landing pages.
   Mirrors the app design tokens from index.html so marketing pages stay
   visually consistent with the product. Pure CSS, no JS (CSP-safe). */

:root {
  --color-base:       #0A0E0C;
  --color-surface:    #131A12;
  --color-surface2:   #1B2419;
  --color-border:     #283323;
  --color-text:       #F3F7F0;
  --color-text-muted: #92A08A;
  --color-accent:       #1A8AFF; /* light-blue logo accent for marketing pages */
  --color-accent-hover: #4FA8FF;
  --color-accent2:      #0A6BD6;
  --color-edge-high:    #4FA8FF;
  --color-edge-mid:     #1A8AFF;
  --color-success:      #4BD200;
  --color-danger:       #E5564D;
  --color-logo-blue:    #1A8AFF;
  --maxw: 820px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--color-base);
  color: var(--color-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: 'Oswald', sans-serif; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header / nav ── */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: rgba(10, 14, 12, 0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 10;
}
.site-header .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--color-text);
}
.brand span { color: var(--color-accent); }
.nav-cta {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  background: var(--color-accent);
  padding: 9px 16px;
  border-radius: 8px;
}
.nav-cta:hover { text-decoration: none; background: var(--color-accent-hover); }

/* ── Layout ── */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 80px; }

.hero { padding: 56px 0 32px; border-bottom: 1px solid var(--color-border); }
.eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
  color: var(--color-accent);
  margin: 0 0 14px;
}
h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
  margin: 0 0 18px;
}
h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 4vw, 30px);
  margin: 44px 0 14px;
  padding-top: 8px;
}
h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--color-text);
}
p { margin: 0 0 18px; color: #DCE4D6; }
.lede { font-size: 20px; color: var(--color-text); }
strong { color: var(--color-text); }

ul, ol { margin: 0 0 18px; padding-left: 22px; color: #DCE4D6; }
li { margin: 0 0 9px; }

/* ── Callout / CTA blocks ── */
.cta-box {
  background: linear-gradient(160deg, var(--color-surface2), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px 28px;
  margin: 40px 0;
  text-align: center;
}
.cta-box h3 { margin-top: 0; font-size: 24px; }
.cta-box p { color: var(--color-text-muted); margin-bottom: 22px; }
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 16px;
  color: #fff;
  background: var(--color-accent);
  padding: 14px 30px;
  border-radius: 10px;
}
.btn:hover { text-decoration: none; background: var(--color-accent-hover); }

/* ── Feature grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
}
.card h3 { margin-top: 0; color: var(--color-accent); font-size: 18px; }
.card p { margin-bottom: 0; font-size: 15px; color: var(--color-text-muted); }

/* ── FAQ ── */
.faq { margin: 20px 0; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 12px;
  background: var(--color-surface);
}
.faq summary {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-accent); }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { padding-bottom: 8px; margin-bottom: 0; }

/* ── Related links ── */
.related { margin-top: 40px; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 8px; }

/* ── Disclaimer / footer ── */
.disclaimer {
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-danger);
  border-radius: 8px;
  background: var(--color-surface);
  padding: 16px 20px;
  margin: 40px 0 0;
  font-size: 14px;
  color: var(--color-text-muted);
}
.disclaimer p { color: var(--color-text-muted); margin: 0; font-size: 14px; }

.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
}
.site-footer .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 20px 48px;
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.site-footer a { color: var(--color-text-muted); }
.site-footer nav a { margin-right: 16px; }

/* ── Player search hub ── */
.search-wrap { margin: 24px 0 8px; }
#player-search {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 15px 18px;
}
#player-search:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(26, 138, 255, 0.2);
}
#player-search::placeholder { color: var(--color-text-muted); }
#player-count { font-size: 14px; color: var(--color-text-muted); margin: 10px 2px 4px; }

#player-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
#player-list li { margin: 0; }
.player-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 15px;
}
.player-row:hover { text-decoration: none; border-color: var(--color-accent); }
.player-name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px; color: var(--color-text); }
.player-meta { font-size: 13px; color: var(--color-text-muted); }

/* ── Stat cards (player pages) ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.stat .value { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 28px; color: var(--color-accent); line-height: 1; }
.stat .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--color-text-muted); margin-top: 6px; }

/* ── Matchup header ── */
.matchup-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 10px 0 6px;
}
.matchup-teams .team { text-align: center; }
.matchup-teams img { width: 72px; height: 72px; }
.matchup-teams .abbr { font-family: 'Oswald', sans-serif; font-weight: 600; margin-top: 6px; }
.matchup-teams .vs { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 24px; color: var(--color-text-muted); }
