/* Design System for Football Club */
:root {
  /* Colors mapped from club theme */
  --primary: var(--club-primary, #1a365d);
  --primary-light: color-mix(in srgb, var(--primary) 85%, #ffffff);
  --secondary: var(--club-secondary, #d69e2e);
  --white: #ffffff;
  --off-white: #f7fafc;
  --light-gray: #e2e8f0;
  --dark-gray: #4a5568;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* Base Styles */
body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--dark-gray);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 var(--space-md) 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary { background: var(--primary); color: var(--club-text-on-primary, #ffffff); }

.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }

/* Cards */
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section-light {
  background: var(--off-white);
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
}
