:root {
  --bg: #050506;
  --bg-soft: #0b0b0d;
  --panel: rgba(17, 17, 20, 0.68);
  --panel-strong: rgba(24, 24, 28, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f3ef;
  --muted: #b8b2aa;
  --dim: #7d7770;
  --red: #c31322;
  --red-bright: #ff3345;
  --red-dark: #640712;
  --gold: #caa45a;
  --gold-muted: #8f763e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1220px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 22px);
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(195, 19, 34, 0.2), transparent 30%),
    radial-gradient(circle at 82% 4%, rgba(202, 164, 90, 0.11), transparent 28%),
    linear-gradient(180deg, #020203 0%, #080809 42%, #040405 100%);
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.section {
  position: relative;
  padding: 118px 0;
  scroll-margin-top: calc(var(--header) + 24px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(5, 5, 6, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 51, 69, 0.7), transparent);
  opacity: 0.74;
  pointer-events: none;
}

.site-header.scrolled {
  min-height: 62px;
  background: rgba(5, 5, 6, 0.91);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 51, 69, 0.9);
}

.glitch {
  text-shadow: 1px 0 rgba(255, 51, 69, 0.45), -1px 0 rgba(202, 164, 90, 0.25);
}

.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: rgba(255, 51, 69, 0.38);
  transform: translateX(1px);
  clip-path: inset(0 0 74% 0);
  opacity: 0;
  animation: glitch-slice 4.6s steps(1) infinite;
  pointer-events: none;
}

@keyframes glitch-slice {
  0%, 91%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
  92% {
    opacity: 0.9;
    transform: translateX(2px);
    clip-path: inset(12% 0 62% 0);
  }
  94% {
    opacity: 0.55;
    transform: translateX(-2px);
    clip-path: inset(70% 0 12% 0);
  }
  96% {
    opacity: 0.35;
    transform: translateX(1px);
    clip-path: inset(36% 0 42% 0);
  }
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  color: rgba(245, 243, 239, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active,
.main-nav a[aria-current="true"] {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after,
.main-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.main-nav a.active,
.main-nav a[aria-current="true"] {
  color: var(--red-bright);
}

.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid rgba(255, 51, 69, 0.48);
  border-radius: var(--radius);
  padding: 0 16px;
  background: rgba(195, 19, 34, 0.18);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(195, 19, 34, 0.14);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(255, 51, 69, 0.9);
  background: rgba(195, 19, 34, 0.34);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  padding: 136px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(0.86) contrast(1.12) brightness(0.56);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 2, 3, 0.96) 0%, rgba(2, 2, 3, 0.82) 36%, rgba(2, 2, 3, 0.2) 74%, rgba(2, 2, 3, 0.48) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, 1) 0%, rgba(5, 5, 6, 0.18) 44%, rgba(5, 5, 6, 0.78) 100%),
    radial-gradient(circle at 74% 45%, rgba(195, 19, 34, 0.24), transparent 36%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 850px) minmax(180px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(255, 51, 69, 0.4);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-title {
  position: relative;
  width: min(100%, 890px);
  margin-bottom: 26px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(4rem, 7.7vw, 8.8rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero-lead {
  max-width: 780px;
  color: rgba(245, 243, 239, 0.82);
  font-size: clamp(1.06rem, 1.6vw, 1.42rem);
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 28px;
}

.hero-badges span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(5, 5, 6, 0.48);
  color: rgba(245, 243, 239, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.hero-badges span:first-child,
.hero-badges span:nth-child(3) {
  border-color: rgba(202, 164, 90, 0.34);
  color: var(--gold);
}

.hero-badges span:nth-child(4) {
  border-color: rgba(255, 51, 69, 0.5);
  color: var(--red-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-source {
  margin: 18px 0 0;
  color: rgba(184, 178, 170, 0.64);
  font-size: 0.76rem;
  line-height: 1.5;
}

.hero-source a {
  color: var(--gold);
  border-bottom: 1px solid rgba(202, 164, 90, 0.36);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #8e0b15);
  color: white;
  box-shadow: 0 18px 40px rgba(195, 19, 34, 0.3);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.glass,
.intel-panel,
.season-card,
.character-card,
.theme-card,
.faq-item {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.intel-panel {
  border-radius: var(--radius);
  padding: 22px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--red-bright);
}

.intel-list {
  margin: 18px 0 0;
}

.intel-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.intel-list dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intel-list dd {
  margin: 0;
  color: rgba(245, 243, 239, 0.82);
  line-height: 1.5;
}

.source-note {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 0.78rem;
  line-height: 1.5;
}

.source-note a,
.footer-links a {
  color: var(--gold);
  border-bottom: 1px solid rgba(202, 164, 90, 0.36);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.section-copy h2,
.section-head h2,
.idea-block h2 {
  margin-bottom: 24px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-copy p,
.section-head p,
.idea-block p,
.about-card p,
.about-feature-card p,
.idea-card p,
.season-card p,
.theme-card p,
.character-card p,
.faq-answer p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.section-copy p {
  max-width: 720px;
  font-size: 1rem;
}

.about-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 70%),
    radial-gradient(circle at 92% 44%, rgba(195, 19, 34, 0.12), transparent 30%);
}

.about-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.72) 46%, rgba(5, 5, 6, 0.52)),
    linear-gradient(0deg, rgba(5, 5, 6, 0.98), rgba(5, 5, 6, 0.36) 52%, rgba(5, 5, 6, 0.9)),
    url("assets/guide-about.webp") center right / cover no-repeat;
  opacity: 0.78;
  pointer-events: none;
}

.about-intro {
  max-width: 860px;
  margin-bottom: 42px;
}

.about-intro p {
  max-width: 840px;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-feature-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.022)),
    rgba(17, 17, 20, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.about-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-bright), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.about-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 0%, rgba(195, 19, 34, 0.18), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.about-feature-card:hover,
.about-feature-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 69, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(20, 18, 21, 0.78);
}

.about-feature-card:hover::before,
.about-feature-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.about-feature-card:hover::after,
.about-feature-card:focus-within::after {
  opacity: 1;
}

.about-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(202, 164, 90, 0.42);
  border-radius: var(--radius);
  background: rgba(202, 164, 90, 0.08);
  color: var(--gold);
}

.about-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.about-feature-card h3 {
  position: relative;
  margin-bottom: 16px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.42rem, 2.1vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-feature-card p {
  position: relative;
  margin-bottom: 0;
}

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(195, 19, 34, 0.22), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px);
  opacity: 0.58;
  pointer-events: none;
}

.card-label {
  position: relative;
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--red-bright);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-card h3,
.season-card h3,
.theme-card h3,
.character-card h3 {
  position: relative;
  margin-bottom: 18px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-card p {
  position: relative;
  margin-bottom: 0;
}

.idea-section {
  overflow: hidden;
  padding: 124px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(195, 19, 34, 0.25), transparent 30%),
    linear-gradient(180deg, rgba(10, 8, 9, 0.98), rgba(5, 5, 6, 0.94));
  background-size: 58px 58px, 58px 58px, auto, auto;
  border-block: 1px solid rgba(255, 255, 255, 0.11);
}

.idea-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.92), transparent 44%, rgba(5, 5, 6, 0.72)),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(255, 51, 69, 0.035) 28px 29px);
  pointer-events: none;
}

.idea-section::after {
  content: "";
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  top: 86px;
  width: min(42vw, 520px);
  height: 300px;
  border: 1px solid rgba(255, 51, 69, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 51, 69, 0.14), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px);
  opacity: 0.34;
  pointer-events: none;
}

.idea-block {
  width: min(100%, 920px);
}

.idea-block h2 {
  margin-bottom: 30px;
}

.idea-block p {
  max-width: 820px;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.idea-card {
  position: relative;
  min-height: 238px;
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(12, 12, 14, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.idea-card:nth-child(4),
.idea-card-wide {
  grid-column: span 3;
}

.idea-card::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--red-bright), transparent);
  opacity: 0.62;
}

.idea-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(195, 19, 34, 0.18), transparent 32%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.idea-card:hover,
.idea-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 69, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026)),
    rgba(17, 14, 16, 0.82);
}

.idea-card:hover::after,
.idea-card:focus-within::after {
  opacity: 1;
}

.idea-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  color: var(--red-bright);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.idea-marker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 51, 69, 0.7);
}

.idea-card h3 {
  position: relative;
  margin-bottom: 14px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.idea-card p {
  position: relative;
  margin-bottom: 0;
  max-width: 560px;
}

.section-head {
  max-width: 850px;
  margin-bottom: 48px;
}

.seasons-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(195, 19, 34, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.012);
}

.seasons-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98), rgba(5, 5, 6, 0.76) 40%, rgba(5, 5, 6, 0.88)),
    linear-gradient(0deg, rgba(5, 5, 6, 1), rgba(5, 5, 6, 0.34) 48%, rgba(5, 5, 6, 0.92)),
    url("assets/guide-seasons.webp") center / cover no-repeat;
  opacity: 0.58;
  pointer-events: none;
}

.season-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding-top: 54px;
}

.season-timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 51, 69, 0.08), rgba(255, 51, 69, 0.78), rgba(202, 164, 90, 0.58));
  box-shadow: 0 0 28px rgba(255, 51, 69, 0.28);
}

.season-card {
  position: relative;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(17, 17, 20, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.season-card:nth-child(even) {
  transform: translateY(34px);
}

.season-card:hover,
.season-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 69, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.028)),
    rgba(22, 18, 20, 0.82);
}

.season-card:nth-child(even):hover,
.season-card:nth-child(even):focus-within {
  transform: translateY(24px);
}

.season-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 51, 69, 0.18), transparent 34%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
  opacity: 0.75;
  pointer-events: none;
}

.season-card > * {
  position: relative;
}

.season-dot {
  position: absolute;
  top: -30px;
  left: 24px;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 8px rgba(195, 19, 34, 0.18), 0 0 32px rgba(255, 51, 69, 0.86);
}

.season-year {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 44px;
  color: var(--red-bright);
  color: var(--red-bright);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 2.7rem;
  line-height: 1;
}

.season-card h3 {
  margin-bottom: 16px;
}

.season-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.season-featured {
  border-color: rgba(255, 51, 69, 0.45);
  background:
    linear-gradient(145deg, rgba(195, 19, 34, 0.28), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
}

.character-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  padding: 18px;
}

.search-field {
  flex: 1 1 360px;
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  outline: none;
}

.search-field input:focus {
  border-color: rgba(255, 51, 69, 0.72);
  box-shadow: 0 0 0 3px rgba(195, 19, 34, 0.18);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 243, 239, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.active {
  border-color: rgba(255, 51, 69, 0.68);
  background: rgba(195, 19, 34, 0.22);
  color: var(--text);
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.character-card {
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 14px 14px 20px;
  transition: opacity 220ms ease, transform 220ms ease, border-color 180ms ease, background 180ms ease;
}

.character-card.hidden {
  display: none;
}

.character-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 69, 0.42);
}

.character-portrait {
  position: relative;
  min-height: 224px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background-image:
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.74)),
    url("assets/guide-characters.webp");
  background-size: 100% 100%, 500% 200%;
  background-repeat: no-repeat;
  box-shadow: inset 0 -48px 54px rgba(0, 0, 0, 0.54);
}

.character-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 12%, rgba(255, 51, 69, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.character-card:hover .character-portrait::after {
  opacity: 1;
}

.portrait-1 { background-position: center, 0% 0%; }
.portrait-2 { background-position: center, 25% 0%; }
.portrait-3 { background-position: center, 50% 0%; }
.portrait-4 { background-position: center, 75% 0%; }
.portrait-5 { background-position: center, 100% 0%; }
.portrait-6 { background-position: center, 0% 100%; }
.portrait-7 { background-position: center, 25% 100%; }
.portrait-8 { background-position: center, 50% 100%; }
.portrait-9 { background-position: center, 75% 100%; }
.portrait-10 { background-position: center, 100% 100%; }

.character-card h3 {
  min-height: 2.1em;
}

.character-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.character-card p {
  min-height: 5.25em;
  margin-bottom: 18px;
  font-size: 0.93rem;
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.character-tags b {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(245, 243, 239, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state {
  margin: 26px 0 0;
  color: var(--muted);
}

.themes-section {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    rgba(255, 255, 255, 0.015);
  background-size: 52px 52px, 52px 52px, auto;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.themes-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98), rgba(5, 5, 6, 0.82) 46%, rgba(5, 5, 6, 0.68)),
    linear-gradient(0deg, rgba(5, 5, 6, 1), rgba(5, 5, 6, 0.26) 50%, rgba(5, 5, 6, 0.94)),
    url("assets/guide-themes.webp") center / cover no-repeat;
  opacity: 0.52;
  pointer-events: none;
}

.atmosphere-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(202, 164, 90, 0.09), transparent 28%),
    radial-gradient(circle at 12% 12%, rgba(195, 19, 34, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.015);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.atmosphere-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 76%, transparent);
  opacity: 0.52;
  pointer-events: none;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.theme-card {
  position: relative;
  grid-column: span 2;
  min-height: 318px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.022)),
    rgba(16, 16, 18, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-card:nth-child(4),
.theme-card:nth-child(5) {
  grid-column: span 3;
}

.theme-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-bright), transparent);
  opacity: 0;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 4%, rgba(195, 19, 34, 0.18), transparent 32%),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255, 255, 255, 0.025) 30px 31px);
  opacity: 0.58;
  pointer-events: none;
}

.theme-card:hover,
.theme-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 69, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(20, 17, 19, 0.84);
}

.theme-card:hover::before,
.theme-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.theme-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(202, 164, 90, 0.42);
  border-radius: var(--radius);
  background: rgba(202, 164, 90, 0.08);
  color: var(--gold);
}

.theme-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.theme-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--red-bright);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 2.2rem;
}

.theme-card h3 {
  z-index: 1;
}

.theme-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.popularity-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(195, 19, 34, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reason-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(15, 15, 17, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.reason-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 51, 69, 0.12), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 255, 255, 0.022) 34px 35px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.reason-card:hover,
.reason-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 69, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.028)),
    rgba(20, 17, 19, 0.82);
}

.reason-card:hover::before,
.reason-card:focus-within::before {
  opacity: 1;
}

.reason-card strong {
  position: relative;
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--red-bright);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.reason-card h3 {
  position: relative;
  margin-bottom: 16px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reason-card p {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.series-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.series-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 14, 0.78);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.series-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.06), rgba(5, 5, 6, 0.22) 42%, rgba(5, 5, 6, 0.92)),
    linear-gradient(90deg, rgba(195, 19, 34, 0.24), transparent 50%);
  pointer-events: none;
}

.series-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08) brightness(0.84);
  transform: scale(1.01);
  transition: transform 650ms ease, filter 650ms ease;
}

.series-card:hover,
.series-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 69, 0.44);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.series-card:hover img,
.series-card:focus-within img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.12) brightness(0.93);
}

.series-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.series-card figcaption span {
  color: var(--red-bright);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.series-card figcaption strong {
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.series-card figcaption a {
  width: fit-content;
  color: rgba(245, 243, 239, 0.72);
  font-size: 0.78rem;
  line-height: 1.4;
  transition: color 180ms ease;
}

.series-card figcaption a:hover,
.series-card figcaption a:focus-visible {
  color: var(--gold);
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.atmosphere-card {
  position: relative;
  min-height: clamp(360px, 32vw, 520px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 14, 0.78);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.atmosphere-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 4, 5, 0.08) 0%, rgba(4, 4, 5, 0.16) 34%, rgba(4, 4, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(195, 19, 34, 0.22), transparent 42%);
  pointer-events: none;
}

.atmosphere-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-top: 2px solid rgba(255, 51, 69, 0);
  background: linear-gradient(90deg, rgba(255, 51, 69, 0.2), transparent 34%);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.atmosphere-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
  transform: scale(1.01);
  transition: transform 650ms ease, filter 650ms ease;
}

.atmosphere-card:hover,
.atmosphere-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(255, 51, 69, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.atmosphere-card:hover::after,
.atmosphere-card:focus-within::after {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255, 51, 69, 0.8);
}

.atmosphere-card:hover img,
.atmosphere-card:focus-within img {
  transform: scale(1.06);
  filter: saturate(0.98) contrast(1.14) brightness(0.94);
}

.atmosphere-card-content {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 3;
  max-width: 560px;
}

.atmosphere-card-content span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--red-bright);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.atmosphere-card-content h3 {
  margin-bottom: 12px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.atmosphere-card-content p {
  max-width: 470px;
  margin: 0;
  color: rgba(245, 243, 239, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-section {
  background:
    radial-gradient(circle at 78% 12%, rgba(195, 19, 34, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.02));
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 2px;
  background: linear-gradient(180deg, var(--red-bright), rgba(202, 164, 90, 0.44));
  opacity: 0.28;
  transform: scaleY(0.42);
  transform-origin: top;
  transition: opacity 180ms ease, transform 180ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: rgba(255, 51, 69, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026)),
    rgba(17, 15, 16, 0.78);
}

.faq-item.is-open {
  border-color: rgba(255, 51, 69, 0.48);
  background:
    linear-gradient(145deg, rgba(195, 19, 34, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(20, 17, 19, 0.86);
}

.faq-item.is-open::before,
.faq-item:hover::before,
.faq-item:focus-within::before {
  opacity: 1;
  transform: scaleY(1);
}

.faq-question {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  padding: 22px 24px 22px 26px;
  background: transparent;
  color: var(--text);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
  color: #fff;
}

.faq-question span {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 51, 69, 0.42);
  border-radius: 50%;
  background: rgba(195, 19, 34, 0.12);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.faq-question:hover span,
.faq-question[aria-expanded="true"] span {
  border-color: rgba(255, 51, 69, 0.78);
  background: rgba(195, 19, 34, 0.22);
}

.faq-question span::before,
.faq-question span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--red-bright);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-question span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 260ms ease, opacity 220ms ease;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer p {
  padding: 0 24px 24px 26px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 72px) 0 48px;
  border-top: 1px solid rgba(255, 51, 69, 0.42);
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.98), rgba(3, 3, 4, 0.9)),
    radial-gradient(circle at 12% 0%, rgba(195, 19, 34, 0.18), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    url("assets/guide-final-cta.webp") center / cover no-repeat,
    #030304;
  background-size: auto, auto, 56px 56px, 56px 56px, cover, auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-bright), rgba(202, 164, 90, 0.64), transparent);
  box-shadow: 0 0 26px rgba(255, 51, 69, 0.34);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 51, 69, 0.04), transparent 38%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(150px, 0.45fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.footer-brand-block {
  max-width: 520px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2,
.footer-disclaimer h2 {
  margin: 0 0 10px;
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-column a {
  position: relative;
  width: fit-content;
  color: rgba(245, 243, 239, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red-bright), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-column a:hover::after,
.footer-column a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.footer-disclaimer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 18px clamp(24px, 4vw, 54px);
  margin-top: 6px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer h2 {
  margin-bottom: 0;
}

.footer-disclaimer p {
  max-width: 980px;
  font-size: 0.84rem;
  color: rgba(245, 243, 239, 0.58);
}

.footer-notes {
  grid-column: 2;
  display: grid;
  gap: 7px;
  max-width: 980px;
}

.footer-note {
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.5;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 18;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 51, 69, 0.5);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.82);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .character-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 88px 0;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .header-panel {
    position: fixed;
    inset: var(--header) 14px auto;
    z-index: 21;
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 12px;
    max-height: calc(100svh - var(--header) - 28px);
    overflow-y: auto;
    margin-left: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
      linear-gradient(145deg, rgba(195, 19, 34, 0.11), rgba(8, 8, 10, 0.94) 46%),
      rgba(5, 5, 7, 0.99);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(28px) saturate(0.9);
    transform: translateY(-18px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .menu-open .header-panel {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    display: grid;
    gap: 0;
  }

  .main-nav a {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
  }

  .hero {
    min-height: calc(100svh - var(--header));
    padding: 110px 0 72px;
  }

  .hero-bg {
    object-position: 67% center;
  }

  .about-card-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-card {
    min-height: auto;
  }

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

  .idea-card,
  .idea-card:nth-child(4),
  .idea-card-wide {
    grid-column: auto;
    min-height: auto;
  }

  .season-timeline {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 10px;
    padding-left: 24px;
  }

  .season-timeline::before {
    top: 18px;
    bottom: 18px;
    left: 8px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(255, 51, 69, 0.78), rgba(202, 164, 90, 0.48));
  }

  .season-card,
  .season-card:nth-child(even),
  .season-card:hover,
  .season-card:focus-within,
  .season-card:nth-child(even):hover,
  .season-card:nth-child(even):focus-within {
    transform: none;
  }

  .season-dot {
    top: 30px;
    left: -24px;
    width: 15px;
    height: 15px;
  }

  .season-year {
    margin-bottom: 28px;
  }

  .hero-grid,
  .split-layout,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intel-panel {
    max-width: 560px;
  }

  .character-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    flex: 0 1 auto;
  }

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

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

  .theme-card,
  .theme-card:nth-child(4),
  .theme-card:nth-child(5) {
    grid-column: auto;
  }

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

  .series-card-grid {
    grid-template-columns: 1fr;
  }

  .series-card {
    min-height: 320px;
  }

  .footer-disclaimer {
    grid-template-columns: 1fr;
  }

  .footer-notes {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .hero-title {
    font-size: clamp(3.05rem, 14vw, 5.6rem);
    line-height: 0.94;
  }

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

  .season-card,
  .character-card,
  .theme-card {
    min-height: auto;
  }

  .character-card p {
    min-height: auto;
  }

  .filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

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

  .reason-card {
    min-height: auto;
  }

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

  .atmosphere-card {
    min-height: 410px;
  }

  .series-card {
    min-height: 280px;
  }
}

@media (max-width: 460px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 98px;
  }

  .hero-title {
    font-size: clamp(2.85rem, 14.5vw, 4.4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-badges {
    margin-top: 22px;
  }

  .hero-badges span {
    min-height: 32px;
    padding: 0 11px;
    font-size: 0.66rem;
  }

  .hero-source {
    font-size: 0.7rem;
  }

  .section-copy h2,
  .section-head h2,
  .idea-block h2 {
    font-size: clamp(2.05rem, 13vw, 3.35rem);
  }

  .intel-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .filter-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atmosphere-card {
    min-height: 360px;
  }

  .atmosphere-card-content {
    right: 20px;
    bottom: 20px;
    left: 20px;
    max-width: calc(100% - 62px);
  }

  .faq-question span {
    margin-right: 50px;
  }

  .footer-grid {
    gap: 26px;
  }

  .footer-column {
    gap: 12px;
  }

  .footer-disclaimer {
    padding-top: 22px;
  }

  .site-footer {
    padding-bottom: 92px;
  }

  .footer-disclaimer p,
  .footer-notes {
    padding-right: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
