.guide-page .layout {
  width: 100%;
}

.guide-shell,
.guide-shell * {
  min-width: 0;
}

.guide-shell {
  display: grid;
  gap: 18px;
}

.guide-hero,
.guide-start,
.guide-game,
.guide-story,
.guide-responsible,
.guide-final {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(23, 25, 37, .98), rgba(11, 13, 20, .98));
  box-shadow: 0 28px 84px rgba(0, 0, 0, .36);
}

.guide-hero {
  display: grid;
  gap: 28px;
  padding: 28px 20px;
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 79, 145, .2), transparent 35%),
    radial-gradient(circle at 8% 100%, rgba(255, 202, 102, .13), transparent 38%),
    linear-gradient(145deg, #20131e, #11131d 58%, #090a10);
}

.guide-hero::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 17px;
  content: "";
  pointer-events: none;
}

.guide-hero-copy {
  position: relative;
  z-index: 1;
}

.guide-hero .eyebrow,
.guide-game .eyebrow,
.guide-responsible .eyebrow,
.guide-final .eyebrow {
  margin: 0 0 12px;
}

.guide-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 15vw, 112px);
  font-weight: 780;
  line-height: .84;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.guide-hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.2px rgba(255, 202, 102, .8);
}

.guide-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #bbb8c2;
  font-size: 16px;
  line-height: 1.7;
}

.guide-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.guide-jump-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #d7d3dc;
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.guide-jump-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 202, 102, .4);
  background: rgba(255, 202, 102, .07);
}

.guide-hero-mark {
  position: relative;
  display: none;
  width: clamp(210px, 23vw, 330px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 202, 102, .16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 145, .14), transparent 62%);
  box-shadow: 0 0 80px rgba(255, 79, 145, .1), inset 0 0 60px rgba(255, 202, 102, .035);
}

.guide-hero-mark strong {
  color: transparent;
  font-size: clamp(88px, 11vw, 154px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.11em;
  -webkit-text-stroke: 1.5px rgba(255, 202, 102, .82);
  transform: translateX(-.05em);
}

.guide-hero-mark small {
  position: absolute;
  bottom: 21%;
  color: #c2bbc5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .28em;
}

.guide-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.guide-orbit-one {
  inset: 10%;
  border-top-color: rgba(255, 79, 145, .58);
  transform: rotate(34deg);
}

.guide-orbit-two {
  inset: 22%;
  border-right-color: rgba(255, 202, 102, .62);
  transform: rotate(-21deg);
}

.guide-start {
  display: grid;
  gap: 22px;
  padding: 24px 20px;
}

.guide-section-heading h2,
.guide-responsible h2,
.guide-final h2 {
  margin: 0;
  font-size: clamp(28px, 8vw, 46px);
  line-height: 1;
  letter-spacing: -.055em;
}

.guide-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}

.guide-steps li > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}

.guide-steps strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
}

.guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.guide-games {
  display: grid;
  gap: 18px;
}

.guide-story {
  padding: 24px 20px;
  background:
    radial-gradient(circle at 90% 0, rgba(91, 214, 255, .09), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(255, 79, 145, .08), transparent 34%),
    linear-gradient(145deg, #111621, #0b0d14);
}

.guide-story-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.guide-story-heading h2 {
  margin: 0;
  font-size: clamp(30px, 8vw, 52px);
  line-height: .95;
  letter-spacing: -.055em;
}

.guide-story-heading > p {
  max-width: 700px;
  margin: 0;
  color: #aeb5c2;
  font-size: 14px;
  line-height: 1.65;
}

.guide-story-grid {
  display: grid;
  gap: 13px;
}

.guide-story-card {
  --story-accent: #89dfff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
  transition: transform .2s ease, border-color .2s ease;
}

.guide-story-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--story-accent) 48%, transparent);
}

.guide-story-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080a10;
}

.guide-story-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 9, 15, .88));
  content: "";
}

.guide-story-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.guide-story-card:hover img { transform: scale(1.035); }

.guide-story-art > span {
  position: absolute;
  right: 13px;
  bottom: 9px;
  z-index: 1;
  color: var(--story-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}

.guide-story-card > div {
  display: grid;
  align-content: start;
  padding: 18px;
}

.guide-story-card .eyebrow {
  margin: 0 0 9px;
  color: var(--story-accent);
  font-size: 9px;
}

.guide-story-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.guide-story-card p:not(.eyebrow) {
  margin: 11px 0 16px;
  color: #aeb4c0;
  font-size: 13px;
  line-height: 1.55;
}

.guide-story-card > div > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  justify-self: start;
  color: var(--story-accent);
  font-size: 12px;
  font-weight: 800;
}

.story-void { --story-accent: #ee7488; }
.story-crumb { --story-accent: #72e6d4; }
.story-pirate { --story-accent: #f0b865; }
.story-angler { --story-accent: #56dff7; }
.story-neon { --story-accent: #ff62c7; }
.story-vesper { --story-accent: #c7a2ff; }

.guide-game {
  scroll-margin-top: 104px;
}

.guide-game-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: #0d0f16;
}

.guide-game-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, transparent 25%, rgba(7, 8, 13, .15) 56%, rgba(10, 11, 17, .96));
  pointer-events: none;
}

.guide-game-visual img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  filter: saturate(.82) brightness(.73);
  transform: scale(1.02);
}

.guide-game-emerald .guide-game-visual img { object-position: center; }
.guide-game-cosmic .guide-game-visual img { object-position: center 48%; }
.guide-game-desert .guide-game-visual img { object-position: center 45%; }

.guide-game-index {
  position: absolute;
  right: 14px;
  bottom: -15px;
  z-index: 1;
  color: transparent;
  font-size: 112px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.1em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .18);
}

.guide-game-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  color: #f6f3eb;
  background: rgba(7, 8, 13, .72);
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}

.guide-game-badge i {
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
}

.guide-game-content {
  display: grid;
  gap: 22px;
  padding: 22px 20px 24px;
}

.guide-game-content header h2 {
  margin: 0;
  font-size: clamp(34px, 10vw, 62px);
  line-height: .95;
  letter-spacing: -.06em;
}

.guide-game-content header > p:last-child {
  max-width: 680px;
  margin: 13px 0 0;
  color: #b8b5bf;
  font-size: 15px;
  line-height: 1.65;
}

.guide-game-emerald { --game-accent: #79ffc9; --game-rgb: 121, 255, 201; }
.guide-game-cosmic { --game-accent: #76dcff; --game-rgb: 118, 220, 255; }
.guide-game-desert { --game-accent: #ffca66; --game-rgb: 255, 202, 102; }

.guide-game::after {
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--game-rgb), .075), transparent 68%);
  content: "";
  pointer-events: none;
}

.guide-game .eyebrow,
.guide-game-badge i,
.guide-game-content strong {
  color: var(--game-accent);
}

.guide-rule-grid {
  display: grid;
  gap: 12px;
}

.guide-rule-grid section {
  padding: 18px;
  border: 1px solid rgba(var(--game-rgb), .13);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(var(--game-rgb), .045), rgba(255, 255, 255, .018));
}

.guide-rule-grid h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guide-rule-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-rule-grid li {
  position: relative;
  padding-left: 18px;
  color: #aaa8b2;
  font-size: 13px;
  line-height: 1.6;
}

.guide-rule-grid li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--game-accent);
  box-shadow: 0 0 10px rgba(var(--game-rgb), .48);
  content: "";
}

.guide-honesty {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: -4px 0 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(var(--game-rgb), .55);
  color: #918f9a;
  background: rgba(255, 255, 255, .018);
  font-size: 12px;
  line-height: 1.55;
}

.guide-honesty span { color: var(--game-accent); }

.guide-play-link,
.guide-primary-link,
.guide-quiet-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 850;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}

.guide-play-link {
  color: #0b0d12;
  background: linear-gradient(135deg, #fff0b7, var(--game-accent));
  box-shadow: 0 15px 34px rgba(var(--game-rgb), .12);
}

.guide-play-link:hover,
.guide-primary-link:hover,
.guide-quiet-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.guide-play-link span,
.guide-primary-link span {
  font-size: 18px;
  transition: transform .2s ease;
}

.guide-play-link:hover span,
.guide-primary-link:hover span { transform: translateX(3px); }

.guide-responsible {
  display: grid;
  gap: 18px;
  padding: 24px 20px;
  background:
    radial-gradient(circle at 4% 50%, rgba(121, 255, 201, .09), transparent 33%),
    linear-gradient(145deg, rgba(17, 27, 27, .98), rgba(11, 13, 20, .98));
}

.guide-responsible-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(121, 255, 201, .25);
  border-radius: 17px;
  color: var(--success);
  background: rgba(121, 255, 201, .05);
  box-shadow: 0 0 30px rgba(121, 255, 201, .08);
  font-size: 25px;
}

.guide-responsible p:last-child {
  max-width: 820px;
  margin: 13px 0 0;
  color: #aaaeb4;
  font-size: 14px;
  line-height: 1.7;
}

.guide-quiet-link {
  border: 1px solid rgba(121, 255, 201, .2);
  color: var(--success);
  background: rgba(121, 255, 201, .045);
}

.guide-final {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 28px 20px;
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 79, 145, .13), transparent 38%),
    linear-gradient(145deg, #1b141e, #0d0f17);
}

.guide-primary-link {
  color: #151016;
  background: linear-gradient(135deg, #ffd275, #ff9f5d 55%, #ff5a91);
  box-shadow: 0 14px 34px rgba(255, 79, 145, .15);
}

@media (min-width: 600px) {
  .guide-hero,
  .guide-start,
  .guide-game-content,
  .guide-story,
  .guide-responsible,
  .guide-final { padding-right: 30px; padding-left: 30px; }

  .guide-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-steps li { grid-template-columns: 1fr; }
  .guide-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-play-link,
  .guide-primary-link,
  .guide-quiet-link { width: fit-content; }
}

@media (min-width: 860px) {
  .guide-shell { gap: 22px; }
  .guide-games { gap: 22px; }

  .guide-hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, .5fr);
    align-items: center;
    min-height: 530px;
    padding: clamp(42px, 5vw, 70px);
  }

  .guide-hero-mark { display: grid; }
  .guide-start { padding: 30px; }

  .guide-game {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  }

  .guide-game:nth-child(even) { grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr); }
  .guide-game:nth-child(even) .guide-game-visual { grid-column: 2; grid-row: 1; }
  .guide-game:nth-child(even) .guide-game-content { grid-column: 1; grid-row: 1; }

  .guide-game-visual,
  .guide-game-visual img { min-height: 100%; }
  .guide-game-content { align-content: center; padding: clamp(34px, 4vw, 58px); }

  .guide-responsible {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 32px;
  }

  .guide-final {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 36px;
  }
}

@media (min-width: 1180px) {
  .guide-start {
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 38px;
  }

  .guide-game { grid-template-columns: minmax(400px, .88fr) minmax(0, 1.12fr); }
  .guide-game:nth-child(even) { grid-template-columns: minmax(0, 1.12fr) minmax(400px, .88fr); }
  .guide-story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-story-heading { grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); align-items: end; }
}

@media (max-width: 370px) {
  .guide-hero,
  .guide-start,
  .guide-game-content,
  .guide-story,
  .guide-responsible,
  .guide-final { padding-right: 16px; padding-left: 16px; }

  .guide-hero h1 { font-size: 43px; }
  .guide-jump-nav { display: grid; grid-template-columns: 1fr; }
  .guide-game-visual,
  .guide-game-visual img { min-height: 205px; }
  .guide-game-content header h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .guide-jump-nav a,
  .guide-play-link,
  .guide-primary-link,
  .guide-quiet-link,
  .guide-play-link span,
  .guide-primary-link span { transition: none; }
}
