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

/* Base Body Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  background: #1a1a2e;
  color: #eee;
  overflow-x: hidden; /* Prevent horizontal scroll during shake */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0.5rem 0;
}

/* Container Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus Visible for Keyboard Navigation */
:focus-visible {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}

/* Links */
a {
  color: #4a9eff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7db9ff;
}
