:root {
  --forest: #10281a;
  --forest-2: #173628;
  --forest-3: #214833;
  --cream: #f6efe2;
  --cream-2: #fffaf2;
  --ink: #142117;
  --tomato: #e23d32;
  --gold: #f0b429;
  --leaf: #2f8f4e;
  --line: rgba(247, 241, 230, 0.18);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--cream);
}
body, button, input, select { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, .btn, select { min-height: 44px; min-width: 44px; }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 40;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: calc(8px + env(safe-area-inset-top)) 18px 8px;
  background: #0d2218;
  border-bottom: 1px solid rgba(246, 239, 226, 0.12);
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; max-width: calc(100% - 108px); }
.brand img {
  height: 48px;
  width: auto;
  max-width: 100%;
  background: transparent;
}
.site-header .menu-toggle { display: none; margin-left: auto; }
.nav {
  display: flex;
  flex: 1;
  min-width: 0;
  margin-left: auto;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: flex-end;
  overflow: visible;
}
.nav a {
  text-decoration: none;
  color: var(--cream-2);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.nav a:hover { background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] { background: var(--cream); color: var(--ink); }

.text-btn {
  text-decoration: none;
  color: var(--cream-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 241, 230, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: none;
  cursor: pointer;
}

.destination {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  min-height: min(72vh, 760px);
  background: #0c1c13;
}
.destination-art {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #08140e;
}
.destination-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 40%;
}
.destination-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 40px 40px 48px;
  background:
    radial-gradient(800px 280px at 0% 0%, rgba(240, 180, 41, 0.18), transparent 55%),
    linear-gradient(180deg, #1a4030 0%, #10281a 100%);
}
.eyebrow {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}
.destination-copy h1, .note h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 11ch;
}
.lede {
  margin: 8px 0 0;
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 34rem;
  color: rgba(255, 250, 242, 0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.primary, .ghost, .play-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}
.primary, .play-pill { background: var(--tomato); color: white; }
.ghost { background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.45); }
.quiet { margin: 12px 0 0; color: rgba(255, 250, 242, 0.78); }

.section { padding: 56px 5vw 12px; }
.section h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}
.section > p { max-width: 38rem; color: rgba(246, 239, 226, 0.82); }
.kicker { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.play-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: var(--cream);
  background: var(--forest-2);
  box-shadow: var(--shadow);
}
.play-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 32%;
}
.play-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  flex: 1;
}
.play-card h3 { margin: 0; font-size: 1.7rem; letter-spacing: -0.03em; }
.play-card p { margin: 0; line-height: 1.4; color: rgba(246, 239, 226, 0.86); }
.play-card .play-pill { align-self: flex-start; margin-top: auto; }

.friend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.friend-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 168px;
  background: var(--cream-2);
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.friend-card img {
  width: 148px;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.friend-card div { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.friend-card h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.03em; }
.friend-card p { margin: 0; color: #3d5346; }
.friend-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.friend-links a {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
}
.friend-links a:hover { background: var(--tomato); }
.progress-note { color: #8a5a12; font-size: 0.85rem; }

.site-footer {
  margin-top: 48px;
  padding: 28px 5vw calc(28px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: rgba(246, 239, 226, 0.78);
}
.site-footer a { color: var(--cream); }

.note {
  max-width: 40rem;
  padding: 36px 6vw 72px;
  line-height: 1.55;
}
.note h2 { letter-spacing: -0.03em; margin-top: 1.6em; }
.note ul { padding-left: 1.1em; }
.note li { margin: 0.4em 0; }
.note a { color: var(--gold); }

@media (max-width: 980px) {
  .destination { grid-template-columns: 1fr; min-height: 0; }
  .destination-art { height: 54vh; min-height: 300px; }
  .destination-art img { object-position: center 42%; }
  .destination-copy { padding: 28px 22px 36px; }
  .destination-copy h1 { max-width: none; }
  .game-grid, .friend-grid { grid-template-columns: 1fr; }
  .play-card { min-height: 0; }
  .play-card img { height: 220px; }
  .friend-card { grid-template-columns: 120px 1fr; }
  .friend-card img { width: 120px; }
  .brand img { height: 40px; }
}
@media (max-width: 1100px) {
  .site-header .menu-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 8px 12px 14px;
    background: #0d2218;
    border-bottom: 1px solid rgba(246, 239, 226, 0.16);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    overflow: visible;
    z-index: 40;
  }
  .site-header.is-menu-open .nav { display: flex; }
  .nav a {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    justify-content: flex-start;
  }
}
@media (max-width: 420px) {
  .destination-art { height: 48vh; min-height: 260px; }
  .brand img { height: 40px; }
}
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .confetti-bit, .marker.hint { animation: none !important; }
}
