@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --bg: #080810;
  --surface: #0e0e1c;
  --surface-2: #15152a;
  --text: #e2d9c8;
  --text-muted: #887c9a;
  --text-faint: #43404f;
  --accent: #ff7236;
  --accent-dim: #b84e20;
  --accent-glow: rgba(255, 114, 54, 0.28);
  --secondary: #00c8ff;
  --secondary-glow: rgba(0, 200, 255, 0.2);
  --border: rgba(255, 114, 54, 0.12);
  --divider: rgba(255, 255, 255, 0.04);

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: 0.15em;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Containers & Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 2rem;
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
  font-weight: 600;
}

.skip-to-content:focus {
  top: 0;
}

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

/* Utilities */
.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent);
}

.text-secondary {
  color: var(--secondary);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.flex {
  display: flex;
}

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

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

.grid {
  display: grid;
}

.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-rt {
  background-color: #ff6b6b;
  color: white;
}

.badge-audience {
  background-color: var(--surface-2);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.badge-imdb {
  background-color: #f4c430;
  color: var(--bg);
  font-weight: 700;
}

.badge-metacritic {
  background-color: var(--surface-2);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  padding: 0;
  font-weight: 700;
}

.badge-metacritic.green { color: #66cc33; }
.badge-metacritic.yellow { color: #ffcc33; }
.badge-metacritic.red { color: #ff3333; }

/* Section watermark */
.section-watermark {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 15rem);
  font-weight: 900;
  color: var(--text-faint);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}
