@import url('../review-base.css');

:root {
  color-scheme: dark;
  --page: #130403;
  --surface: #250807;
  --surface-2: #3a0d0a;
  --ink: #fff8ef;
  --muted: #d4aaa0;
  --accent: #ff3b2f;
  --accent-2: #f5bd45;
  --line: rgb(255 132 105 / 20%);
  --danger: #ff6e5f;
  --success: #61e3ac;
  --radius: 1.25rem;
  --shadow: 0 30px 95px rgb(0 0 0 / 52%);
  --content: 1240px;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -8%, rgb(255 59 47 / 28%), transparent 34rem),
    radial-gradient(circle at 95% 18%, rgb(245 189 69 / 10%), transparent 25rem),
    linear-gradient(125deg, transparent 0 48%, rgb(255 59 47 / 4%) 48% 49%, transparent 49%),
    #130403;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.lobby-atlas::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.site-header {
  margin-top: 1rem;
  padding: .65rem .8rem;
  border: 1px solid rgb(245 189 69 / 26%);
  border-radius: .75rem;
  background: linear-gradient(180deg, rgb(48 10 8 / 92%), rgb(25 5 4 / 94%));
  box-shadow: 0 12px 45px rgb(0 0 0 / 34%), inset 0 1px rgb(255 255 255 / 5%);
  backdrop-filter: blur(16px);
}

.brand img {
  border: 1px solid rgb(245 189 69 / 48%);
  border-radius: .65rem;
  box-shadow: 0 0 20px rgb(255 59 47 / 20%);
}

.brand small,
nav a {
  color: #c4978e;
}

nav a {
  border: 1px solid transparent;
  border-radius: .55rem;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: #fff9ef;
  border-color: rgb(245 189 69 / 28%);
  background: linear-gradient(135deg, rgb(255 59 47 / 35%), rgb(245 189 69 / 14%));
}

.atlas-hero {
  min-height: 44rem;
  padding: clamp(4rem, 7vw, 7rem) 0 4rem;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.map-code,
.zone-type,
.route-steps span,
.map-index span {
  color: #ba8d84;
  font: 850 .68rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .1em;
}

.map-code {
  width: fit-content;
  padding: .42rem .7rem;
  border: 1px solid rgb(245 189 69 / 27%);
  border-radius: .45rem;
  background: rgb(245 189 69 / 6%);
}

.atlas-copy h1 {
  max-width: 11ch;
  margin: .55rem 0 1.2rem;
  color: #fff8ed;
  font-size: clamp(3.1rem, 6vw, 6.5rem);
  line-height: .91;
  text-shadow: 0 8px 45px rgb(131 21 14 / 50%);
}

.atlas-copy .lead {
  color: #d1aaa1;
}

.eyebrow {
  color: var(--accent-2);
}

.button {
  border-radius: .55rem;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #ff3b2f, #b9120d);
  box-shadow: 0 12px 34px rgb(255 59 47 / 24%);
}

.button.secondary {
  color: #fff4e7;
  border-color: rgb(245 189 69 / 35%);
  background: rgb(54 11 9 / 72%);
}

.route-note {
  padding-left: .8rem;
  color: #bc9289;
  border-left: 2px solid var(--accent-2);
}

.mini-map {
  position: relative;
  min-height: 32rem;
  padding: 1.45rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 1rem;
  border: 1px solid rgb(245 189 69 / 36%);
  border-radius: 1.35rem;
  background:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(150deg, #3a0d0a, #170504 72%);
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow:
    18px 20px 0 rgb(255 59 47 / 7%),
    0 0 0 .4rem rgb(245 189 69 / 3%),
    var(--shadow);
}

.mini-map::before {
  content: "GAME HALL";
  position: absolute;
  right: -1.5rem;
  top: 4rem;
  color: rgb(245 189 69 / 5%);
  font-size: 5rem;
  font-weight: 950;
  letter-spacing: -.06em;
  rotate: 90deg;
}

.map-top,
.map-middle,
.map-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
}

.map-top {
  align-items: center;
}

.map-line {
  flex: 1;
  height: .24rem;
  background: repeating-linear-gradient(90deg, var(--accent-2) 0 1rem, transparent 1rem 1.5rem);
  box-shadow: 0 0 14px rgb(245 189 69 / 25%);
}

.map-middle {
  align-items: stretch;
}

.central-zone {
  flex: 1;
  display: grid;
  gap: 1rem;
}

.node {
  padding: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 132 105 / 23%);
  border-radius: .85rem;
  background: #40100d;
  text-align: center;
  font-weight: 900;
}

.node small {
  color: #d0a59b;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.profile-node {
  background: linear-gradient(145deg, #c21c15, #6f0e0a);
}

.utility-node {
  color: #211002;
  background: linear-gradient(145deg, #f5bd45, #c67d15);
}

.utility-node small {
  color: #3f2807;
}

.side-node {
  width: 6rem;
  background: linear-gradient(145deg, #7d1711, #3c0907);
}

.category-node {
  min-height: 5rem;
  background: linear-gradient(145deg, #bd1a14, #680d09);
}

.tile-node {
  min-height: 10rem;
  color: #211002;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 18%), transparent 42%),
    linear-gradient(145deg, #f5bd45, #be6810);
}

.action-node {
  width: 100%;
  background: linear-gradient(145deg, #75211b, #3d0b08);
}

.mini-map > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #c69a90;
  text-align: center;
  font-size: .8rem;
}

.map-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
}

.map-legend div {
  padding: .85rem 1rem;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: .5rem;
  align-items: center;
  border: 1px solid rgb(255 132 105 / 17%);
  border-radius: .65rem;
  background: linear-gradient(145deg, #2a0907, #1b0504);
  box-shadow: 0 14px 32px rgb(0 0 0 / 20%);
}

.map-legend small {
  color: #bd9188;
}

.legend-dot {
  width: .75rem;
  height: .75rem;
  border-radius: .2rem;
  background: var(--accent);
  box-shadow: 0 0 12px rgb(255 59 47 / 42%);
}

.dot-b {
  background: var(--accent-2);
}

.dot-c {
  background: #e86726;
}

.dot-d {
  background: #b71b15;
}

.screen-map-section,
.zone-directory,
.route-planner,
.category-station,
.safe-navigation,
.map-index,
.faq-section {
  margin-top: clamp(5rem, 9vw, 8rem);
}

.section-heading {
  max-width: 790px;
}

.section-heading h2,
.zone-directory > header h2,
.planner-intro h2,
.category-station > header h2,
.safe-copy h2,
.faq-section > h2 {
  margin: .55rem 0 1rem;
  color: #fff8ef;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .96;
}

.section-heading > p:last-child,
.planner-intro p,
.safe-copy p,
.station-note,
.zone-card p,
.zone-card li,
.route-steps p,
.category-track p,
.pause-grid p,
.map-index p {
  color: #c59b92;
}

.panorama {
  margin: 2rem 0 0;
  padding: .9rem;
  border: 1px solid rgb(245 189 69 / 36%);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #3b0c09, #1b0504);
  box-shadow:
    0 0 0 .42rem rgb(255 59 47 / 4%),
    var(--shadow);
}

.image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: .85rem;
}

.image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: inherit;
  box-shadow: inset 0 0 55px rgb(0 0 0 / 18%);
  pointer-events: none;
}

.panorama img {
  width: 100%;
  aspect-ratio: 1100 / 497;
  object-fit: cover;
}

.panorama figcaption {
  padding: .85rem .45rem .25rem;
  color: #bd9188;
  font-size: .78rem;
}

.map-pin {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: #fff;
  border: .22rem solid #fff2dc;
  border-radius: .55rem;
  background: var(--accent);
  box-shadow: 0 7px 18px rgb(42 5 3 / 52%), 0 0 16px rgb(255 59 47 / 40%);
  font-weight: 950;
}

.pin-a { top: 7%; left: 4%; }
.pin-b { top: 19%; left: 39%; color: #261502; background: #f5bd45; }
.pin-c { top: 53%; left: 58%; background: #e86726; }
.pin-d { top: 50%; left: 3%; background: #9e1611; }
.pin-e { top: 5%; right: 3%; color: #261502; background: #e6a52b; }
.pin-f { bottom: 5%; right: 10%; background: #bd1b14; }

.zone-directory > header {
  max-width: 760px;
}

.zone-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.zone-card {
  position: relative;
  min-height: 21rem;
  padding: 1.3rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border: 1px solid rgb(255 132 105 / 18%);
  border-radius: 1.05rem;
  background:
    linear-gradient(145deg, rgb(255 59 47 / 8%), transparent 42%),
    #250807;
  box-shadow: var(--shadow);
}

.zone-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1.2rem solid rgb(245 189 69 / 5%);
  border-radius: 50%;
}

.zone-card:hover {
  border-color: rgb(245 189 69 / 38%);
  translate: 0 -3px;
}

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

.zone-card:nth-child(2),
.zone-card:nth-child(3) {
  grid-column: span 7;
}

.zone-card:nth-child(5),
.zone-card:nth-child(6) {
  grid-column: span 6;
}

.zone-letter {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: .65rem;
  background: linear-gradient(145deg, #ff3b2f, #8e100b);
  box-shadow: 0 0 20px rgb(255 59 47 / 22%);
  font-size: 1.4rem;
  font-weight: 950;
}

.zone-b .zone-letter,
.zone-e .zone-letter {
  color: #291702;
  background: linear-gradient(145deg, #f7cc6d, #c57810);
}

.zone-c .zone-letter {
  background: linear-gradient(145deg, #ee7a28, #a53608);
}

.zone-d .zone-letter {
  background: linear-gradient(145deg, #b21d17, #620b08);
}

.zone-f .zone-letter {
  background: linear-gradient(145deg, #e33329, #7f0d09);
}

.zone-card > div {
  position: relative;
  z-index: 1;
}

.zone-card h3 {
  margin: .35rem 0 .7rem;
  color: #fff8ed;
  font-size: 1.5rem;
}

.zone-card ul {
  padding-left: 1.1rem;
}

.zone-card li {
  margin: .35rem 0;
}

.route-planner {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgb(245 189 69 / 32%);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 0 0, rgb(255 59 47 / 20%), transparent 23rem),
    linear-gradient(145deg, #310a08, #160403);
  box-shadow: var(--shadow);
}

.planner-intro {
  max-width: 760px;
}

.route-steps {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
}

.route-steps li {
  position: relative;
  min-height: 16rem;
  padding: 1.3rem;
  overflow: hidden;
  border: 1px solid rgb(255 132 105 / 20%);
  border-radius: 1rem;
  background: linear-gradient(145deg, #42100d, #260706);
}

.route-steps li::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1.35rem solid rgb(245 189 69 / 7%);
  border-radius: 50%;
}

.route-steps span {
  color: var(--accent-2);
}

.route-steps h3 {
  margin: 1rem 0 .5rem;
  color: #fff7eb;
  font-size: 2rem;
}

.category-station {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.category-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .65rem;
}

.category-track article {
  min-height: 15rem;
  padding: 1rem;
  display: grid;
  align-content: start;
  border: 1px solid rgb(255 132 105 / 18%);
  border-radius: 1rem;
  background: linear-gradient(155deg, #36100c, #210605);
  box-shadow: 0 16px 38px rgb(0 0 0 / 25%);
}

.category-track span {
  padding: .7rem .55rem;
  color: #fff;
  border: 1px solid rgb(245 189 69 / 20%);
  border-radius: .55rem;
  background: linear-gradient(145deg, #cf2019, #750d09);
  text-align: center;
  font: 900 .7rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.category-track article:nth-child(2) span {
  color: #281602;
  background: linear-gradient(145deg, #f4c55d, #c87b12);
}

.category-track article:nth-child(3) span {
  background: linear-gradient(145deg, #e66d25, #9b2d08);
}

.category-track article:nth-child(4) span {
  background: linear-gradient(145deg, #9d1712, #540805);
}

.category-track article:nth-child(5) span {
  color: #281602;
  background: linear-gradient(145deg, #ebaa30, #b05b0b);
}

.category-track p {
  margin: 1rem 0 0;
}

.station-note {
  grid-column: 2;
  margin: .4rem 0 0;
  padding-left: .8rem;
  border-left: 2px solid var(--accent-2);
  font-size: .82rem;
}

.safe-navigation {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.pause-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.pause-grid article {
  min-height: 11rem;
  padding: 1.2rem;
  border: 1px solid rgb(255 132 105 / 18%);
  border-radius: .9rem;
  background: linear-gradient(145deg, #2e0b09, #1d0504);
}

.pause-grid strong {
  display: block;
  color: var(--accent-2);
  font-size: 1.05rem;
}

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

.map-index a {
  position: relative;
  min-height: 16rem;
  padding: 1.4rem;
  overflow: hidden;
  color: inherit;
  border: 1px solid rgb(255 132 105 / 19%);
  border-radius: 1.05rem;
  background: linear-gradient(145deg, #3b0e0b, #1c0504);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.map-index a::after {
  content: "";
  position: absolute;
  right: -2.8rem;
  bottom: -2.8rem;
  width: 7.5rem;
  height: 7.5rem;
  border: 1.2rem solid rgb(245 189 69 / 6%);
  border-radius: 50%;
}

.map-index a:nth-child(2) {
  background: linear-gradient(145deg, #b51913, #4f0806);
}

.map-index a:nth-child(3) {
  color: #271602;
  border-color: rgb(245 189 69 / 38%);
  background: linear-gradient(145deg, #f6cd73, #c87b12);
}

.map-index a:nth-child(3) p,
.map-index a:nth-child(3) span {
  color: #583307;
}

.map-index a:hover {
  border-color: rgb(245 189 69 / 52%);
  translate: 0 -3px;
}

.map-index h2 {
  margin: .7rem 0;
  color: inherit;
  font-size: 1.55rem;
}

.faq-list {
  grid-template-columns: 1fr 1fr;
}

details {
  border-color: rgb(255 132 105 / 18%);
  border-radius: .9rem;
  background: #250807;
}

details[open] {
  border-color: rgb(245 189 69 / 35%);
}

.disclosure {
  border-left-color: var(--accent-2);
  border-radius: .85rem;
  background: linear-gradient(90deg, rgb(245 189 69 / 8%), transparent);
}

footer {
  color: #b48980;
  border-top-color: rgb(255 132 105 / 17%);
}

@media (max-width: 1060px) {
  .category-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-track article:last-child {
    grid-column: 1 / -1;
    min-height: 10rem;
  }
}

@media (max-width: 960px) {
  .atlas-hero,
  .category-station,
  .safe-navigation {
    grid-template-columns: 1fr;
  }

  .station-note {
    grid-column: auto;
  }

  .zone-card:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .map-legend,
  .route-steps,
  .map-index,
  .faq-list,
  .category-track {
    grid-template-columns: 1fr;
  }

  .category-track article:last-child {
    grid-column: auto;
  }

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

  .zone-card:nth-child(n) {
    grid-column: auto;
    min-height: 0;
  }

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

  .map-pin {
    width: 1.8rem;
    height: 1.8rem;
    border-width: .15rem;
    font-size: .75rem;
  }

  .mini-map {
    min-height: 28rem;
    box-shadow: 9px 11px 0 rgb(255 59 47 / 7%), var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zone-card,
  .map-index a {
    translate: none !important;
  }
}
