/*
  css/base.css
  Global design tokens, resets, typography.
  Theme: Mint & Sports Green
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #10b981;
  /* Mint Green */
  --primary-hover: #059669;
  /* Darker Mint */
  --secondary: #064e3b;
  /* Deep Forest */
  --accent: #34d399;
  /* Bright Mint Accent */

  /* Functional Colors */
  --danger: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;

  /* Backgrounds & Surfaces */
  --bg-body: #f0fdf4;
  /* Very light mint white */
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-dark: rgba(255, 255, 255, 0.90);

  /* Text */
  --text-main: #1e293b;
  /* Slate 800 */
  --text-muted: #64748b;
  /* Slate 500 */
  --text-light: #94a3b8;
  /* Slate 400 */
  --text-inv: #ffffff;

  /* Borders */
  --border: #e2e8f0;
  /* Slate 200 */
  --border-focus: #10b981;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 70px;
  --gap: 24px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-primary: 0 10px 25px -5px rgba(16, 185, 129, 0.4);

  --transition: all 0.2s ease-in-out;
  --font-main: 'Outfit', sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  /* Subtle sports mesh pattern overlay */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(6, 78, 59, 0.05) 0%, transparent 20%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

button {
  font-family: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
