/* Foot Holics App — Design Tokens
 * Premium iOS / Apple feel. We bundle Inter because Android's system font is
 * Roboto; Inter is the free SF Pro substitute that gives the Apple look.
 * Download the .ttf files into ../fonts/  (see fonts/README.md).
 */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* ---- Type ---- */
  /* SF Pro / -apple-system listed first so iOS-in-future / previews look native;
     Inter is the bundled fallback that renders on Android. */
  --font-ui:      'SF Pro Text', -apple-system, 'Inter', system-ui, sans-serif;
  --font-display: 'SF Pro Display', -apple-system, 'Inter', system-ui, sans-serif;
  /* tabular + slashed-zero figures for scoreboard-style numbers */
  --num-feat: "tnum" 1, "cv05" 1;

  /* ---- Color: "stadium night" + electric pitch-green (provisional) ---- */
  --bg:         #0A0B0F;   /* app background */
  --surface:    #14161D;   /* cards */
  --surface-2:  #1E212B;   /* raised: tab bars, sheets */
  --surface-3:  #272B36;   /* pressed / hover */
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(255,255,255,0.14);

  --accent:     #00E676;   /* live dot, active tab, CTA */
  --accent-press:#00C566;
  --on-accent:  #04120A;   /* text on accent buttons */
  --live:       #FF3D57;   /* LIVE badge / alerts */

  --text:       #F4F6FB;
  --text-2:     #B6BCC9;
  --muted:      #8A90A2;

  /* ---- Radius (iOS-generous) ---- */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-pill: 999px;

  /* ---- Spacing scale ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;

  /* ---- Elevation (soft, iOS-like) ---- */
  --shadow-1: 0 1px 3px rgba(0,0,0,.40);
  --shadow-2: 0 8px 24px rgba(0,0,0,.45);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur:  200ms;

  /* ---- Layout ---- */
  --nav-h: 64px;          /* bottom nav height */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Base reset hooks (full base.css comes in the screens phase) */
:root { color-scheme: dark; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: var(--num-feat); }
.score {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: var(--num-feat);
  letter-spacing: -0.02em;
}
