/* ==========================================================================
   HATCO SPORTS INFRA - DESIGN SYSTEM & MAIN STYLESHEET
   Brand Palette:
   - Primary: #204F37 (Deep Forest Green)
   - Accent: #FAFF54 (Acid Yellow / Neon Volt)
   - Dark Surface: #09130D, #0E1F16, #162B20
   - Light Neutral: #F7F9F6, #FFFFFF
   ========================================================================== */

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

:root {
  /* Colors */
  --color-primary: #204F37;
  --color-primary-dark: #143524;
  --color-primary-light: #2c6849;
  --color-accent: #FAFF54;
  --color-accent-hover: #e8ed3e;
  --color-accent-glow: rgba(250, 255, 84, 0.35);
  
  --color-bg-dark: #070e0a;
  --color-bg-surface: #0e1d15;
  --color-bg-card: #13271d;
  --color-bg-card-hover: #183326;
  --color-bg-light: #f7f9f6;
  --color-surface-white: #ffffff;
  
  --color-text-light: #ffffff;
  --color-text-muted: #94a39b;
  --color-text-dark: #0f1f17;
  --color-text-dark-muted: #4b6354;
  
  --color-border-dark: rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(250, 255, 84, 0.25);
  --color-border-light: rgba(32, 79, 55, 0.12);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max-width: 1320px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);
  --section-spacing: clamp(4.5rem, 8vw, 8rem);
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-accent-glow: 0 0 30px rgba(250, 255, 84, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  height: auto;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.65;
  position: relative;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-light);
}

.text-accent {
  color: var(--color-accent) !important;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(250, 255, 84, 0.1);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--border-radius-full);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.tag-pill-dark {
  background: rgba(32, 79, 55, 0.15);
  border-color: rgba(32, 79, 55, 0.3);
  color: var(--color-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.6;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
}

.section-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--color-text-dark);
}

.section-light .section-subtitle {
  color: var(--color-text-dark-muted);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Atmospheric Visual Grids & Textures
   ========================================================================== */
.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-field-lines {
  position: relative;
}

.bg-field-lines::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(32, 79, 55, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(250, 255, 84, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #09130d;
}
::-webkit-scrollbar-thumb {
  background: #204F37;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FAFF54;
}

/* Selection */
::selection {
  background: var(--color-accent);
  color: #070e0a;
}
