/* ============================================================
   ATS Archery Results — Design Tokens (single source of truth)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    /* Brand — forest green + target red */
    --primary-color: #1a472a;
    --primary-light: #2d6a4f;
    --primary-dark: #0f2b19;
    --primary-gradient: linear-gradient(135deg, #1a472a 0%, #0f2b19 100%);
    --primary-gradient-soft: linear-gradient(135deg, #2d6a4f 0%, #1a472a 100%);

    --accent-color: #c92a2a;
    --accent-hover: #a61e1e;
    --accent-soft: #fef2f2;
    --gold-accent: #d4a017;
    --gold-soft: #fffbeb;

    /* Surfaces */
    --bg-body: #f4f6f4;
    --bg-card: #ffffff;
    --bg-muted: #eef2ee;
    --bg-accent-tint: #e8f5e9;

    /* Text */
    --text-main: #1a1f1c;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-on-primary: #ffffff;

    /* Borders & focus */
    --border-subtle: #dfe5df;
    --border-strong: #b8c4b8;
    --focus-ring: rgba(26, 71, 42, 0.2);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 43, 25, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 43, 25, 0.08);
    --shadow-lg: 0 12px 24px rgba(15, 43, 25, 0.1);
    --shadow-hover: 0 16px 32px rgba(15, 43, 25, 0.12);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Type scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 999px;

    /* Brackets page aliases (legacy variable names) */
    --primary-core: var(--primary-dark);
    --primary-container: var(--primary-color);
    --primary-fixed: #bdefc6;
    --secondary-core: var(--accent-hover);
    --secondary-container: var(--accent-color);
    --surface: var(--bg-body);
    --surface-container-low: var(--bg-muted);
    --surface-container: #e8ece8;
    --surface-container-lowest: var(--bg-card);
    --outline: var(--text-muted);
    --outline-variant: var(--border-subtle);
    --on-surface: var(--text-main);
    --font-tech: var(--font-display);
}
