/* ============================================
   GHOST WARDENS - Prestige TV Pitch Site
   Thomas R. Bowman / Progenitor Records LLC
   Dread Chapel Studios
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Reset & Base ---- */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0a0a;
  color: #c0c0c0;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #888888;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d0d0d0;
}

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

/* ---- Typography ---- */

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.4rem; color: #999999; }
h3 { font-size: 1.6rem; color: #888888; }
h4 { font-size: 1.2rem; color: #777777; }

p {
  margin-bottom: 1.2em;
  font-weight: 300;
}

/* ---- Navigation ---- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666666;
  transition: color 0.3s ease;
}

.nav-brand:hover {
  color: #999999;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555555;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #888888;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #aaaaaa;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #999999;
}

.nav-links a.active::after {
  width: 100%;
  background: #666666;
}

/* ---- Hero Section ---- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(transparent, #0a0a0a);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-emblem {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  opacity: 0.5;
}

.hero-emblem-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.hero-emblem-bg {
  position: absolute;
  width: 550px;
  height: auto;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: lighten;
}

.hero-emblem-wrap .hero-title {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}

.hero-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #2d5a27;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #555555;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  font-style: italic;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 60px;
  background: linear-gradient(transparent, #333333, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ---- Voiceover / Franchise Quote ---- */

.voiceover-section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.voiceover-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a0a0a, #0e0e0e, #0a0a0a);
}

.voiceover-text {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 2;
  color: #777777;
  text-align: center;
  font-style: italic;
  letter-spacing: 0.02em;
}

.voiceover-text::before,
.voiceover-text::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: #2d5a27;
  margin: 0 auto 2rem;
  opacity: 0.4;
}

.voiceover-text::after {
  margin: 2rem auto 0;
}

/* ---- Section Layouts ---- */

.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-dark {
  background: #0a0a0a;
}

.section-darker {
  background: #080808;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: #333333;
  margin: 0 auto 3rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: #555555;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Character Grid ---- */

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.character-card {
  position: relative;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.character-card:hover {
  transform: translateY(-4px);
  border-color: #333333;
}

.character-card img,
.character-card svg {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.character-card-info {
  padding: 1.2rem;
  text-align: center;
}

.character-card-callsign {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaaaaa;
  margin-bottom: 0.3rem;
}

.character-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #555555;
  letter-spacing: 0.08em;
}

.character-card-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: #444444;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* Character card accent hovers */
.character-card[data-accent="cormorant"]:hover {
  border-color: #2d5a27;
  box-shadow: 0 4px 30px rgba(45, 90, 39, 0.15);
}
.character-card[data-accent="cormorant"] .character-card-callsign { color: #2d5a27; }

.character-card[data-accent="ballast"]:hover {
  border-color: #4a4a4a;
  box-shadow: 0 4px 30px rgba(74, 74, 74, 0.15);
}
.character-card[data-accent="ballast"] .character-card-callsign { color: #6a6a6a; }

.character-card[data-accent="override"]:hover {
  border-color: #1a5a8c;
  box-shadow: 0 4px 30px rgba(26, 90, 140, 0.15);
}
.character-card[data-accent="override"] .character-card-callsign { color: #1a5a8c; }

.character-card[data-accent="halogen"]:hover {
  border-color: #c45a1a;
  box-shadow: 0 4px 30px rgba(196, 90, 26, 0.15);
}
.character-card[data-accent="halogen"] .character-card-callsign { color: #c45a1a; }

.character-card[data-accent="drift"]:hover {
  border-color: #6a8a9a;
  box-shadow: 0 4px 30px rgba(106, 138, 154, 0.15);
}
.character-card[data-accent="drift"] .character-card-callsign { color: #6a8a9a; }

.character-card[data-accent="crale"]:hover {
  border-color: #8a7a2a;
  box-shadow: 0 4px 30px rgba(138, 122, 42, 0.15);
}
.character-card[data-accent="crale"] .character-card-callsign { color: #8a7a2a; }

.character-card[data-accent="nth-degree"]:hover {
  border-color: #3a6a3a;
  box-shadow: 0 4px 30px rgba(58, 106, 58, 0.15);
}
.character-card[data-accent="nth-degree"] .character-card-callsign { color: #3a6a3a; }

/* ---- Character Page Layout ---- */

.character-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.character-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.character-hero-content {
  position: relative;
  z-index: 1;
}

.character-hero .callsign {
  font-family: 'Oswald', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.character-hero .real-name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #666666;
  text-transform: uppercase;
}

.character-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.character-sidebar {
  position: sticky;
  top: 80px;
}

.character-portrait {
  width: 100%;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.character-stats {
  list-style: none;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
}

.character-stats li {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid #1a1a1a;
  font-size: 0.85rem;
}

.character-stats li:last-child {
  border-bottom: none;
}

.stat-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555555;
  display: block;
  margin-bottom: 0.2rem;
}

.stat-value {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #999999;
}

.character-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.character-content h3:first-child {
  margin-top: 0;
}

.character-content p {
  color: #999999;
  font-size: 0.95rem;
  line-height: 1.8;
}

.character-quote {
  border-left: 2px solid #333333;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.01);
}

.character-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: #888888;
  margin-bottom: 0;
}

/* Character page accent colors */
.accent-cormorant .character-hero::before {
  background: radial-gradient(ellipse at center, rgba(45, 90, 39, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0a, #0d0d0d);
}
.accent-cormorant .callsign { color: #2d5a27; }
.accent-cormorant .character-quote { border-left-color: #2d5a27; }
.accent-cormorant .character-content h3 { color: #2d5a27; }

.accent-ballast .character-hero::before {
  background: radial-gradient(ellipse at center, rgba(74, 74, 74, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0a, #0d0d0d);
}
.accent-ballast .callsign { color: #6a6a6a; }
.accent-ballast .character-quote { border-left-color: #4a4a4a; }
.accent-ballast .character-content h3 { color: #6a6a6a; }

.accent-override .character-hero::before {
  background: radial-gradient(ellipse at center, rgba(26, 90, 140, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0a, #0d0d0d);
}
.accent-override .callsign { color: #1a5a8c; }
.accent-override .character-quote { border-left-color: #1a5a8c; }
.accent-override .character-content h3 { color: #1a5a8c; }

.accent-halogen .character-hero::before {
  background: radial-gradient(ellipse at center, rgba(196, 90, 26, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0a, #0d0d0d);
}
.accent-halogen .callsign { color: #c45a1a; }
.accent-halogen .character-quote { border-left-color: #c45a1a; }
.accent-halogen .character-content h3 { color: #c45a1a; }

.accent-drift .character-hero::before {
  background: radial-gradient(ellipse at center, rgba(106, 138, 154, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0a, #0d0d0d);
}
.accent-drift .callsign { color: #6a8a9a; }
.accent-drift .character-quote { border-left-color: #6a8a9a; }
.accent-drift .character-content h3 { color: #6a8a9a; }

.accent-crale .character-hero::before {
  background: radial-gradient(ellipse at center, rgba(138, 122, 42, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0a, #0d0d0d);
}
.accent-crale .callsign { color: #8a7a2a; }
.accent-crale .character-quote { border-left-color: #8a7a2a; }
.accent-crale .character-content h3 { color: #8a7a2a; }

.accent-nth .character-hero::before {
  background: radial-gradient(ellipse at center, rgba(58, 106, 58, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0a, #0d0d0d);
}
.accent-nth .callsign { color: #3a6a3a; }
.accent-nth .character-quote { border-left-color: #3a6a3a; }
.accent-nth .character-content h3 { color: #3a6a3a; }

/* ---- Villain / Crale Corporate Style ---- */

.corporate-section {
  background: linear-gradient(180deg, #0e0d0a, #0a0a0a);
}

.corporate-section .section-divider {
  background: #8a7a2a;
  opacity: 0.3;
}

/* ---- Premise Section ---- */

.premise-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.premise-text p {
  font-size: 1.05rem;
  color: #888888;
  line-height: 1.9;
}

/* ---- Story / Arc Layout ---- */

.story-arc {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #151515;
}

.story-arc:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.story-arc h3 {
  margin-bottom: 1rem;
}

.story-arc p {
  color: #888888;
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 800px;
}

.world-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.world-rule-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  padding: 2rem;
}

.world-rule-card h4 {
  margin-bottom: 0.8rem;
  color: #888888;
}

.world-rule-card p {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 0;
}

/* ---- Tone Comp Tags ---- */

.tone-comps {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tone-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid #2a2a2a;
  color: #777777;
  background: rgba(255, 255, 255, 0.02);
}

/* ---- Coming Soon ---- */

.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
}

.coming-soon h2 {
  margin-bottom: 1.5rem;
  letter-spacing: 0.2em;
}

.logo-placeholder {
  display: inline-block;
  border: 1px solid #1a1a1a;
  padding: 1.5rem 3rem;
  margin-top: 1rem;
}

.logo-placeholder span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: #444444;
  text-transform: uppercase;
}

/* ---- Mission Statement ---- */

.mission-statement {
  text-align: center;
  padding: 5rem 2rem;
  background: #080808;
}

.mission-statement h2 {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Antagonist Section ---- */

.antagonist-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid #1a1a1a;
}

.antagonist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Back Link ---- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 3rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #999999;
}

.back-link::before {
  content: '\2190';
  font-size: 1rem;
}

/* ---- Footer ---- */

.site-footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid #141414;
  background: #080808;
}

.footer-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #333333;
  letter-spacing: 0.08em;
}

/* ---- Parallax Sections ---- */

.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  z-index: 0;
  will-change: transform;
}

.parallax-content {
  position: relative;
  z-index: 1;
}

/* ---- Fade In Animation ---- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Endgame Teaser ---- */

.endgame-teaser {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0a0a0a, #0c0c0c, #0a0a0a);
}

.endgame-teaser p {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #2d5a27;
  text-transform: uppercase;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero-title {
    font-size: 3.5rem;
    letter-spacing: 0.15em;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 1.8rem; }

  .character-page {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .character-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .character-portrait {
    margin-bottom: 0;
  }

  .character-hero .callsign {
    font-size: 3rem;
  }

  .character-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .nav-links {
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.4rem;
    letter-spacing: 0.1em;
  }

  .hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }

  .section {
    padding: 4rem 1.5rem;
  }

  .character-page {
    padding: 2rem 1rem;
  }

  .character-sidebar {
    grid-template-columns: 1fr;
  }

  .character-hero .callsign {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
  }

  .character-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .antagonist-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .nav-brand {
    font-size: 0.9rem;
  }

  .voiceover-text {
    font-size: 1rem;
  }

  .world-rules {
    grid-template-columns: 1fr;
  }

  .mission-statement h2 {
    font-size: 1.3rem;
  }

  .tone-comps {
    justify-content: center;
  }
}

/* ---- Utility ---- */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
