/* CSS Variables - Design System */
@font-face {
  font-family: 'Maplestory';
  src: url('../fonts/MaplestoryLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Maplestory';
  src: url('../fonts/MaplestoryBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* === Color Palette === */

  /* Main Colors - Black & White Theme */
  --color-primary: #000000;        /* Pure Black - Minimalism */
  --color-secondary: #1A1A1A;      /* Dark Gray - Depth */
  --color-accent: #333333;         /* Medium Gray - Accent */
  --color-gold: #666666;           /* Light Gray - Subtle Highlight */

  /* Text Colors */
  --color-text-dark: #000000;
  --color-text-light: #F7F7F7;
  --color-text-gray: #666666;
  --color-text-white: #FFFFFF;

  /* Background Colors */
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F5F5F5;
  --color-bg-dark: #000000;

  /* Gradients - Monochrome */
  --gradient-hero: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
  --gradient-accent: linear-gradient(135deg, #333333 0%, #1A1A1A 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);

  /* === Typography === */

  /* Font Families */
  --font-primary: 'Maplestory', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Font Sizes (Responsive with clamp) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12-14px */
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);        /* 14-16px */
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);      /* 16-18px */
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);        /* 18-24px */
  --text-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);              /* 24-32px */
  --text-2xl: clamp(2rem, 1.6rem + 2vw, 3rem);               /* 32-48px */
  --text-3xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);             /* 40-64px */
  --text-4xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);             /* 48-80px */

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;

  /* === Animation Timing === */

  /* Durations */
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;
  --duration-slower: 1s;
  --duration-slowest: 1.5s;

  /* Easing Functions */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);

  /* === Spacing === */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 2rem;      /* 32px */
  --space-lg: 4rem;      /* 64px */
  --space-xl: 6rem;      /* 96px */
  --space-2xl: 8rem;     /* 128px */

  /* === Layout === */
  --container-width: 1280px;
  --container-padding: 2rem;

  /* === Z-Index === */
  --z-behind: -1;
  --z-normal: 1;
  --z-overlay: 10;
  --z-nav: 100;
  --z-modal: 1000;
}

/* === Utility Classes === */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.smooth-transition {
  transition: all var(--duration-normal) var(--ease-in-out);
}
