/* ============================================
   GLOBAL CSS - Foundation & Design Tokens
   Light theme matching Casino Guru / Halstock Village
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors - Blue accent like Halstock Village */
  --color-primary: #0d6efd;
  --color-primary-hover: #0b5ed7;
  --color-primary-light: #e7f1ff;

  /* Secondary - Green like Casino Guru */
  --color-secondary: #44be4c;
  --color-secondary-hover: #359a3c;

  /* Backgrounds - Light theme */
  --color-bg-hero: linear-gradient(135deg, #1a1f3c 0%, #0d1221 100%);
  --color-bg-page: #f0f3f7;
  --color-bg-white: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-section-alt: #f8f9fa;

  /* Text Colors */
  --color-text-dark: #1a202c;
  --color-text-body: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #ffffff;

  /* Accent Colors */
  --color-star: #ffb400;
  --color-success: #44be4c;
  --color-warning: #ed9c00;
  --color-danger: #ed3445;
  --color-info: #17a2b8;

  /* Borders */
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows - Subtle for light backgrounds */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-bg-page);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 var(--spacing-sm);
  }
}
