:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #b9c1cc;
  --panel: rgba(14, 19, 27, 0.82);
  --panel-solid: #111820;
  --line: rgba(255, 255, 255, 0.13);
  --aqua: #42e8d8;
  --lime: #b7ff5a;
  --pink: #ff5fab;
  --amber: #ffcd5d;
  --blue: #6fa8ff;
  --bg: #090c12;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 7rem;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.4), var(--bg) 34rem),
    radial-gradient(circle at top left, rgba(66, 232, 216, 0.18), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  background: rgba(6, 9, 14, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-facts,
.thumb-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, var(--aqua), var(--lime) 48%, var(--pink));
  color: #071018;
  font-size: 0.8rem;
  border-radius: 8px;
}

.nav-links {
  gap: clamp(0.75rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta {
  background: var(--lime);
  color: #09120d;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.14) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.62) 42%, rgba(5, 7, 10, 0.15)),
    linear-gradient(0deg, var(--bg), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 48rem;
  color: #e8eef6;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.65rem 0 2.2rem;
}

.button.primary {
  background: linear-gradient(135deg, var(--lime), var(--aqua));
  color: #071018;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 58rem;
}

.hero-facts div {
  min-width: min(11rem, 100%);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 12, 18, 0.62);
}

dt {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

dd {
  margin: 0.28rem 0 0;
  font-weight: 850;
}

.intro-band,
.section,
.roles-section,
.media-section,
.reviews-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
}

.intro-copy {
  max-width: 100%;
}

.intro-copy h2,
.section-heading h2 {
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-copy p,
.section-heading {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.capsule,
.media-feature img {
  width: 100%;
  max-width: 56rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.capsule {
  justify-self: start;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  color: var(--ink);
  margin-bottom: 0;
}

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

.tip-card,
.role-panel,
.index-list a,
.bio-copy,
.tag-panel,
.map-card,
.review-score,
.review-cards article,
.reach-notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1rem;
}

.bio-copy,
.tag-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.bio-copy p,
.tag-panel p,
.map-card p,
.review-score p,
.review-cards p,
.reach-notes p {
  color: var(--muted);
  line-height: 1.65;
}

.tag-panel h3 {
  margin-bottom: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(66, 232, 216, 0.35);
  border-radius: 999px;
  background: rgba(66, 232, 216, 0.1);
  color: #dffef9;
  text-decoration: none;
  font-weight: 800;
}

.tip-card {
  min-height: 15rem;
  padding: 1.2rem;
}

.tip-number {
  color: var(--amber);
  font-weight: 950;
}

.tip-card h3,
.role-panel h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.35rem;
}

.tip-card p,
.role-panel li,
.footer {
  color: var(--muted);
  line-height: 1.65;
}

.role-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.role-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.role-panel.hider {
  border-top: 5px solid var(--pink);
}

.role-panel.seeker {
  border-top: 5px solid var(--blue);
}

.role-panel ul {
  padding-left: 1.2rem;
  margin: 0;
}

.role-panel li + li {
  margin-top: 0.65rem;
}

.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.1rem;
}

.map-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.85rem;
  min-height: 17rem;
  padding: clamp(1.15rem, 2.4vw, 1.65rem);
}

.map-card h3 {
  grid-column: 2;
  order: 0;
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.08;
}

.map-label {
  grid-column: 1;
  order: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 205, 93, 0.15);
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.map-card.workshop {
  border-color: rgba(255, 95, 171, 0.38);
}

.map-tip[hidden] {
  display: none;
}

.map-tip {
  grid-column: 1 / -1;
  order: 2;
}

.map-images {
  grid-column: 1 / -1;
  order: 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0.35rem;
}

.map-image-button {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.map-image-button::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 18%;
  border-radius: 6px 6px 0 0;
  background: rgba(4, 8, 12, 0.22);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.map-image-button img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #101820;
  transition: transform 160ms ease, filter 160ms ease;
}

.map-image-button:hover img {
  filter: brightness(1.08);
  transform: scale(1.03);
}

.reviews-section {
  width: min(1180px, calc(100% - 2rem));
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.review-score,
.review-cards article {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.review-score span {
  color: var(--lime);
  font-weight: 950;
  text-transform: uppercase;
}

.review-score strong {
  display: block;
  margin: 0.7rem 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.review-cards {
  display: grid;
  gap: 1rem;
}

.reach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1rem;
}

.world-map {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(9, 12, 18, 0.45), rgba(9, 12, 18, 0.45)),
    radial-gradient(ellipse at 50% 42%, rgba(66, 232, 216, 0.18), transparent 42%),
    linear-gradient(135deg, #102234, #0b1018);
}

.world-map::before,
.world-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.world-map::before {
  inset: 20% 10% 24% 8%;
  clip-path: polygon(3% 45%, 17% 22%, 34% 32%, 43% 18%, 55% 27%, 64% 16%, 83% 27%, 96% 47%, 84% 64%, 67% 58%, 58% 76%, 42% 66%, 29% 74%, 16% 63%);
}

.world-map::after {
  inset: 57% 22% 12% 55%;
  clip-path: polygon(22% 4%, 70% 12%, 92% 42%, 75% 78%, 30% 88%, 8% 42%);
}

.region {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: #071018;
  font-size: 0.76rem;
  font-weight: 950;
  box-shadow: 0 0 36px rgba(66, 232, 216, 0.28);
}

.region.hot {
  background: var(--pink);
}

.region.warm {
  background: var(--aqua);
}

.region.mild {
  background: var(--amber);
}

.japan {
  top: 40%;
  left: 78%;
}

.usa {
  top: 38%;
  left: 19%;
}

.brazil {
  top: 66%;
  left: 35%;
}

.korea {
  top: 36%;
  left: 72%;
}

.china {
  top: 46%;
  left: 66%;
}

.europe {
  top: 33%;
  left: 49%;
}

.reach-notes {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.player-stats div {
  display: grid;
  align-content: center;
  min-height: 6.6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.player-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.player-stats strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.15vw, 1.9rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.player-stats .long-stat {
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
}

.media-section {
  width: min(1320px, calc(100% - 2rem));
}

.media-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #101820;
}

.media-feature img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.media-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(5, 8, 13, 0.62);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.media-prev {
  left: 0.75rem;
}

.media-next {
  right: 0.75rem;
}

.media-arrow:hover {
  background: rgba(5, 8, 13, 0.82);
}

.thumb-row {
  gap: 0.75rem;
  padding-top: 0.85rem;
  overflow-x: auto;
}

.thumb {
  flex: 0 0 clamp(8rem, 19vw, 15rem);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
}

.thumb.active {
  border-color: var(--aqua);
  opacity: 1;
}

.thumb img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.wiki-section {
  position: fixed;
  top: 7rem;
  right: clamp(1rem, 3vw, 2.5rem);
  z-index: 14;
  width: min(15rem, 18vw);
  padding: 0;
  pointer-events: none;
}

.toc-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.toc-shell .section-heading {
  margin-bottom: 0.85rem;
}

.toc-shell .section-heading h2 {
  font-size: 1.15rem;
  line-height: 1.05;
}

.index-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.18rem;
  max-height: calc(100vh - 11rem);
  overflow: hidden;
  pointer-events: auto;
}

.index-list a {
  position: relative;
  display: grid;
  gap: 0.75rem;
  min-height: 2.35rem;
  padding: 0.38rem 0 0.38rem 1rem;
  border: 0;
  background: transparent;
  text-decoration: none;
  opacity: 0.32;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.index-list a::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  bottom: 0.42rem;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  transition: background 160ms ease, width 160ms ease;
}

.index-list a.active {
  color: var(--ink);
  opacity: 1;
  transform: translateX(-0.18rem);
}

.index-list a.active::before {
  width: 4px;
  background: linear-gradient(180deg, var(--aqua), var(--lime));
}

.index-list a:hover {
  opacity: 0.82;
}

.index-list span {
  font-size: 0.98rem;
  font-weight: 850;
}

.index-list small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .intro-band,
  .section,
  .roles-section,
  .reviews-section {
    width: min(940px, calc(100% - 22rem));
    margin-left: clamp(1rem, 5vw, 4.5rem);
    margin-right: auto;
  }

  .media-section {
    width: min(1040px, calc(100% - 22rem));
    margin-left: clamp(1rem, 5vw, 4.5rem);
    margin-right: auto;
  }

  .section.wiki-section {
    width: min(15rem, 18vw);
    margin-left: 0;
    margin-right: 0;
  }
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: rgba(10, 15, 22, 0.78);
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--aqua);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td {
  color: #d8e0ea;
}

tr:last-child td {
  border-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: #070a0f;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(3, 5, 8, 0.88);
}

.image-lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: min(100%, 1180px);
  max-height: 86vh;
}

.lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: 74vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.lightbox-privacy-mask {
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 12%;
  border-radius: 8px 8px 0 0;
  background: rgba(4, 8, 12, 0.24);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.lightbox-note {
  width: min(100%, 920px);
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 10, 15, 0.88);
  color: var(--ink);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  min-width: 4.25rem;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: clamp(0.75rem, 3vw, 2rem);
}

.lightbox-next {
  right: clamp(0.75rem, 3vw, 2rem);
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 899px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.95), rgba(5, 7, 10, 0.65)),
      linear-gradient(0deg, var(--bg), transparent 42%);
  }

  .intro-band,
  .bio-layout,
  .toc-shell,
  .tip-grid,
  .role-layout,
  .map-grid,
  .review-layout,
  .reach-layout,
  .index-list {
    grid-template-columns: 1fr;
  }

  .wiki-section {
    position: sticky;
    top: 6.8rem;
    width: min(1180px, calc(100% - 2rem));
    padding: 0.5rem 0;
    margin: 0 auto;
    pointer-events: auto;
    backdrop-filter: blur(16px);
  }

  .toc-shell {
    padding: 0.55rem 0;
  }

  .toc-shell .section-heading {
    display: none;
  }

  .index-list {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    max-height: none;
    padding: 0.2rem 0;
  }

  .index-list a {
    flex: 0 0 auto;
    min-height: 2.3rem;
    padding: 0.35rem 0 0.35rem 0.8rem;
  }

  .index-list small {
    display: none;
  }

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 0.75rem;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.92rem;
  }

  .nav-cta {
    min-height: 2.35rem;
    padding-inline: 0.8rem;
  }

  .hero-content {
    padding-top: 5rem;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts div {
    min-width: 0;
  }

  .player-stats,
  .map-images {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
    min-width: 5rem;
    transform: none;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 3.35rem);
  }
}
