/* ========================================
   GOD STAR DOMINION - Website Styles
   StarCraft-inspired dark cinematic design
   ======================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0f;
  --color-bg-alt: #0e0e16;
  --color-surface: #13131f;
  --color-surface-light: #1a1a2e;
  --color-border: #1f1f35;
  --color-text: #c8c8d4;
  --color-text-muted: #6e6e82;
  --color-text-bright: #e8e8f0;
  --color-accent: #d4a843;
  --color-accent-dim: #a07c2e;
  --color-accent-glow: rgba(212, 168, 67, 0.3);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --max-width: 1280px;
  --nav-height: 72px;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: #f0cc6a;
}

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

/* ---------- PLACEHOLDER IMAGES ---------- */
/* These show where AI-generated art should go */
.placeholder-img,
.hero__placeholder-img {
  width: 100%;
  min-height: 300px;
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #0d0d1a 100%);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.placeholder-img::after,
.hero__placeholder-img::after {
  content: attr(data-label);
}

.placeholder-img--tall {
  min-height: 500px;
}

.placeholder-img--wide {
  min-height: 350px;
}

.hero__placeholder-img {
  min-height: 100%;
  position: absolute;
  inset: 0;
}

/* ---------- TYPOGRAPHY ---------- */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-bright);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
}

.section-heading--light {
  color: #fff;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #0a0a0f;
}

.btn--primary:hover {
  background: #f0cc6a;
  color: #0a0a0f;
  box-shadow: 0 0 30px var(--color-accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-dim);
}

.btn--outline:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--color-accent);
  color: #f0cc6a;
}

.btn--large {
  padding: 1.1rem 3rem;
  font-size: 0.9rem;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 31, 53, 0.5);
  transition: background 0.3s;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.2em;
}

.nav__logo-sub {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.5em;
}

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

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--color-accent);
}

.nav__cta {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--color-accent-dim);
  color: var(--color-accent);
  transition: all 0.2s;
}

.nav__cta:hover {
  background: var(--color-accent);
  color: #0a0a0f;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.92) 70%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero__title span {
  display: block;
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--color-text-muted);
}

.hero__title-sub {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero__release-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  color: var(--color-text-muted);
}

.hero__release-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.2em;
}

.hero__release-platform {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ---------- PITCH ---------- */
.pitch {
  padding: 8rem 0;
  background: var(--color-bg);
}

.pitch__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pitch__lead {
  font-size: 1.3rem;
  color: var(--color-text-bright);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.pitch__text p {
  margin-bottom: 1.2rem;
  color: var(--color-text);
}

.pitch__text p:last-child {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ---------- LORE ---------- */
.lore {
  padding: 6rem 0 8rem;
  background: var(--color-bg-alt);
}

.lore__chapters {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.lore__chapter {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.lore__chapter--reverse {
  grid-template-columns: 1.2fr 1fr;
}

.lore__chapter--reverse .lore__chapter-img {
  order: 2;
}

.lore__chapter--reverse .lore__chapter-text {
  order: 1;
}

.lore__chapter-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.lore__chapter-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.lore__chapter-text p strong {
  color: var(--color-text-bright);
}

/* ---------- FACTIONS ---------- */
.factions {
  padding: 6rem 0 8rem;
  background: var(--color-bg);
}

.factions__selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 3rem;
}

.factions__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-display);
}

.factions__tab:hover {
  border-color: var(--color-border);
  background: var(--color-surface);
}

.factions__tab.active {
  border-color: var(--faction-color, var(--color-accent));
  background: var(--color-surface);
  box-shadow: 0 0 15px rgba(var(--faction-color, 212, 168, 67), 0.15);
}

.factions__tab-icon {
  font-size: 1.2rem;
  color: var(--faction-color, var(--color-text-muted));
  transition: all 0.2s;
}

.factions__tab.active .factions__tab-icon {
  filter: brightness(1.3);
  text-shadow: 0 0 10px currentColor;
}

.factions__tab-name {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.factions__tab.active .factions__tab-name {
  color: var(--color-text-bright);
}

.factions__panel {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
  animation: fadeIn 0.4s ease;
}

.factions__panel.active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.factions__panel-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--faction-color, var(--color-accent));
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.factions__panel-element {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.factions__panel-philosophy {
  font-style: italic;
  color: var(--color-accent-dim);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.factions__panel-desc {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.factions__panel-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--color-border);
}

.factions__detail {
  display: flex;
  gap: 1rem;
}

.factions__detail-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-dim);
  min-width: 90px;
  flex-shrink: 0;
  padding-top: 2px;
}

.factions__detail-value {
  font-size: 0.9rem;
  color: var(--color-text);
}

/* ---------- WORLD ---------- */
.world {
  position: relative;
  padding: 8rem 0;
  min-height: 80vh;
  overflow: hidden;
}

.world__bg {
  position: absolute;
  inset: 0;
}

.world__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.88);
  z-index: 1;
}

.world__content {
  position: relative;
  z-index: 2;
}

.world__intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--color-text);
  max-width: 650px;
  margin: 0 auto 3rem;
}

.world__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.world__card {
  background: rgba(19, 19, 31, 0.7);
  border: 1px solid var(--color-border);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s;
}

.world__card:hover {
  border-color: var(--color-accent-dim);
  transform: translateY(-4px);
}

.world__card h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.world__card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- GAMEPLAY ---------- */
.gameplay {
  padding: 6rem 0 8rem;
  background: var(--color-bg-alt);
}

.gameplay__features {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-bottom: 5rem;
}

.gameplay__feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.gameplay__feature--reverse {
  grid-template-columns: 1fr 1.2fr;
}

.gameplay__feature--reverse .gameplay__feature-img {
  order: 2;
}

.gameplay__feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-bright);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.gameplay__feature-text p {
  line-height: 1.8;
}

.gameplay__pillars {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.gameplay__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gameplay__pillar-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.gameplay__pillar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- QUOTE BREAK ---------- */
.quote-break {
  padding: 5rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-break__text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-accent);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- NEWS ---------- */
.news {
  padding: 6rem 0 8rem;
  background: var(--color-bg);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.news__card:hover {
  border-color: var(--color-accent-dim);
  transform: translateY(-4px);
}

.news__card-img .placeholder-img {
  min-height: 200px;
  border: none;
}

.news__card-body {
  padding: 1.5rem;
}

.news__card-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-accent-dim);
}

.news__card-body h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-bright);
  letter-spacing: 0.05em;
  margin: 0.5rem 0;
}

.news__card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 8rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.95) 70%);
  z-index: 1;
}

.cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.cta__text {
  font-size: 1.15rem;
  color: var(--color-text);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta__socials {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.cta__social {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.cta__social:hover {
  color: var(--color-accent);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 2rem 0;
  background: #050508;
  border-top: 1px solid var(--color-border);
}

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

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer__links a:hover {
  color: var(--color-accent);
}

/* ---------- HERO CANVAS ---------- */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ---------- AMBIENT PARTICLES ---------- */
.ambient-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  bottom: -10px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: var(--particle-opacity, 0.15);
  }
  90% {
    opacity: var(--particle-opacity, 0.15);
  }
  100% {
    transform: translateY(-100vh) translateX(30px);
    opacity: 0;
  }
}

/* ---------- NAV SCROLL STATE ---------- */
.nav--scrolled {
  background: rgba(10, 10, 15, 0.97) !important;
  border-bottom-color: rgba(212, 168, 67, 0.1);
}

/* ---------- SECTION DIVIDERS ---------- */
.pitch, .lore, .gameplay, .news {
  position: relative;
}

.pitch::before,
.gameplay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-dim), transparent);
}

/* ---------- FACTIONS GLOW ---------- */
.factions {
  --active-faction-color: #b87333;
  position: relative;
}

.factions::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--active-faction-color) 0%, transparent 70%);
  opacity: 0.04;
  pointer-events: none;
  transition: background 0.6s ease;
  z-index: 0;
}

/* ---------- ENHANCED BUTTONS ---------- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn--primary:hover::after {
  width: 300px;
  height: 300px;
}

/* ---------- ENHANCED SECTION HEADINGS ---------- */
.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

/* ---------- ENHANCED WORLD CARDS ---------- */
.world__card {
  position: relative;
  overflow: hidden;
}

.world__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.world__card:hover::before {
  opacity: 1;
}

/* ---------- ENHANCED NEWS CARDS ---------- */
.news__card {
  position: relative;
  overflow: hidden;
}

.news__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s;
  pointer-events: none;
}

.news__card:hover::after {
  border-color: var(--color-accent-dim);
}

/* ---------- SCROLL ANIMATIONS (enhanced) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.world__card.reveal,
.news__card.reveal,
.gameplay__pillar.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.world__card.visible,
.news__card.visible,
.gameplay__pillar.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- QUOTE BREAK ENHANCEMENT ---------- */
.quote-break__text {
  position: relative;
}

.quote-break__text::before,
.quote-break__text::after {
  font-size: 3em;
  color: var(--color-accent-dim);
  opacity: 0.3;
  position: absolute;
  font-family: Georgia, serif;
}

.quote-break__text::before {
  content: '\201C';
  top: -0.3em;
  left: -0.5em;
}

.quote-break__text::after {
  content: '\201D';
  bottom: -0.6em;
  right: -0.3em;
}

/* ---------- GAMEPLAY PILLAR COUNTER ---------- */
.gameplay__pillar-number {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- FACTION TAB HOVER GLOW ---------- */
.factions__tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--faction-color, var(--color-accent));
  transition: width 0.3s ease;
}

.factions__tab {
  position: relative;
}

.factions__tab:hover::after,
.factions__tab.active::after {
  width: 100%;
}

/* ---------- HERO RELEASE BADGE ---------- */
.hero__release {
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 1rem 2rem;
  backdrop-filter: blur(8px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

/* ---------- LINK UNDERLINE ANIMATION ---------- */
.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav__links a:hover::after {
  width: 100%;
}

/* ---------- MOBILE NAV OPEN ---------- */
body.nav-open .nav__links {
  display: flex;
}

body.nav-open .nav__burger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.nav-open .nav__burger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav__burger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pitch__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lore__chapter,
  .lore__chapter--reverse {
    grid-template-columns: 1fr;
  }

  .lore__chapter--reverse .lore__chapter-img,
  .lore__chapter--reverse .lore__chapter-text {
    order: unset;
  }

  .factions__panel,
  .factions__panel.active {
    grid-template-columns: 1fr;
  }

  .gameplay__feature,
  .gameplay__feature--reverse {
    grid-template-columns: 1fr;
  }

  .gameplay__feature--reverse .gameplay__feature-img {
    order: unset;
  }

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

  .news__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .factions__selector {
    gap: 0.15rem;
  }

  .factions__tab {
    padding: 0.5rem 0.6rem;
  }

  .factions__tab-name {
    font-size: 0.5rem;
  }

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

  .gameplay__pillars {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.news__grid--single {
  display: flex;
  justify-content: center;
}

.news__card--feature {
  width: min(100%, 960px);
}

.news__card--feature .news__card-img {
  min-height: 420px;
}

@media (max-width: 768px) {
  .news__card--feature .news__card-img {
    min-height: 260px;
  }
}

.feature-shot,
.feature-shot img,
.lore__chapter-img,
.lore__chapter-img img,
.gameplay__feature-img,
.gameplay__feature-img img,
.factions__panel-image,
.news__card-img,
.news__card-img img {
  border-radius: 18px;
}

.lore__chapter-img,
.news__card-img {
  overflow: hidden;
}

.gameplay__feature-img {
  overflow: visible;
}

.feature-shot {
  overflow: visible;
}

.feature-shot img {
  border-radius: 18px;
}
