/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

:root {
  /* Y2K Color Palette */
  --primary: #FF1493; /* Hot Pink */
  --primary-dark: #C71585; /* Medium Violet Red */
  --accent: #00FFFF; /* Cyan */
  --accent-hover: #00E6E6;
  
  /* Y2K Backgrounds */
  --bg-primary: #0D001A; /* Deep space purple */
  --bg-secondary: #1A0033; /* Dark purple */
  --bg-card: rgba(255, 255, 255, 0.1); /* Glass effect */
  
  /* Y2K Text Colors */
  --text-primary: #FFFFFF; /* White */
  --text-secondary: #E0E0FF; /* Light lavender */
  --text-accent: #FF69B4; /* Hot pink */
  
  /* Chrome/Metallic */
  --chrome: linear-gradient(135deg, #C0C0C0, #808080, #C0C0C0);
  --chrome-text: linear-gradient(135deg, #FFD700, #FFA500, #FF69B4);
  
  /* Borders */
  --border-color: rgba(0, 255, 255, 0.3);
  --border-glow: rgba(255, 20, 147, 0.6);
  
  /* Fonts */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(255, 20, 147, 0.2);
  --shadow-md: 0 4px 20px rgba(255, 20, 147, 0.3);
  --shadow-lg: 0 8px 40px rgba(255, 20, 147, 0.4);
  --glow-pink: 0 0 20px rgba(255, 20, 147, 0.8);
  --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* Typography Reset */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

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

.container-fluid {
  width: 100%;
  padding: 0 var(--space-md);
}

/* Layout Utilities */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background: var(--bg-secondary);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.flex {
  display: flex;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  align-items: center;
  justify-content: space-between;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Responsive Utilities */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Form Reset */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* List Reset */
ul, ol {
  list-style: none;
}

/* Focus Styles */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}