/* ============================================================
   NA Reboot Boss Carries | "Maple Meadow" design system
   Cozy pastel palette + pixel accents. Original artwork only.
   ============================================================ */

/* ---------- Fonts (self-hosted, SIL OFL licensed) ---------- */
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pixelify-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pixelify-sans-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/nunito-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/nunito-latin-800-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --cream: #FFF9EF;
  --cream-deep: #FBF2DF;
  --sky-1: #C9EDFB;
  --sky-2: #E4F7EA;
  --ink: #2E4639;
  --ink-soft: #5F7568;
  --leaf: #3FA45E;
  --leaf-deep: #2F8A4C;
  --grass-light: #A9E0A0;
  --grass: #7BCB82;
  --maple: #FF7A3B;
  --maple-deep: #E85F1F;
  --berry: #E85D4A;
  --berry-deep: #C94534;
  --sun: #FFD166;
  --sky-accent: #4FB6E0;
  --sky-accent-deep: #2E97C4;
  --violet: #9B7EDE;
  --violet-deep: #7E5FC7;
  --card: #FFFFFF;
  --line: #EAE0C8;
  --shadow: 46, 70, 57;           /* rgb of --ink for shadows */
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Pixelify Sans', 'Trebuchet MS', Verdana, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1120px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--leaf-deep); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; letter-spacing: .5px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.section { padding: 72px 0; }
.section--tint { background: var(--cream-deep); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .95rem; color: var(--leaf-deep);
  background: #E7F6E4; border: 2px solid #CBE9C6; border-radius: 999px;
  padding: 4px 14px; margin-bottom: 14px;
}
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--ink-soft); }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .5px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
  line-height: 1.1;
}
.btn:active { transform: translateY(3px); }
.btn--primary {
  background: var(--maple); color: #fff;
  box-shadow: 0 4px 0 var(--maple-deep);
}
.btn--primary:hover { background: #FF8B55; }
.btn--primary:active { box-shadow: 0 1px 0 var(--maple-deep); }
.btn--secondary {
  background: #fff; color: var(--leaf-deep);
  border: 2px solid var(--leaf); box-shadow: 0 4px 0 rgba(var(--shadow), .15);
}
.btn--secondary:hover { background: #F2FBF1; }
.btn--secondary:active { box-shadow: 0 1px 0 rgba(var(--shadow), .15); }
.btn--sky {
  background: var(--sky-accent); color: #fff;
  box-shadow: 0 4px 0 var(--sky-accent-deep);
}
.btn--sky:hover { background: #63C2E8; }
.btn--sm { font-size: .92rem; padding: 9px 16px; }
.btn--lg { font-size: 1.15rem; padding: 15px 30px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 42px; height: 34px; }
.brand__text { font-family: var(--font-display); line-height: 1.05; }
.brand__text b { display: block; font-size: 1.05rem; letter-spacing: .5px; }
.brand__text span { display: block; font-size: .72rem; color: var(--maple-deep); letter-spacing: 2.2px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem;
  padding: 6px 2px; border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--leaf-deep); }
.nav-links a[aria-current="page"] { color: var(--leaf-deep); border-bottom-color: var(--grass); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--line); border-radius: 10px;
  padding: 8px 10px; cursor: pointer; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 78%, var(--grass-light) 100%);
  padding: 84px 0 150px;
  text-align: center;
}
.hero--inner { padding: 56px 0 120px; }   /* smaller hero for subpages */
.hero__content { position: relative; z-index: 3; max-width: 760px; margin-inline: auto; }
.hero h1 { text-shadow: 0 2px 0 rgba(255,255,255,.6); }
.hero p.lede { font-size: 1.15rem; color: var(--ink); max-width: 620px; margin: 0 auto 28px; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.trust-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.75); border: 2px solid rgba(255,255,255,.9);
  border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 700; color: var(--ink);
}
.trust-chips svg { width: 14px; height: 14px; }

/* floating pixel clouds & sun */
.px-cloud { position: absolute; z-index: 1; opacity: .95; animation: floaty 7s ease-in-out infinite; }
.px-cloud--1 { top: 12%; left: 6%; width: 110px; }
.px-cloud--2 { top: 26%; right: 8%; width: 150px; animation-delay: -2.5s; animation-duration: 9s; }
.px-cloud--3 { top: 6%; right: 30%; width: 80px; animation-delay: -5s; animation-duration: 11s; opacity: .8; }
.px-sun { position: absolute; z-index: 1; top: 40px; right: 5%; width: 88px; animation: sunspin 24s linear infinite; transform-origin: center; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sunspin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }
@media (prefers-reduced-motion: reduce) {
  .px-cloud, .px-sun { animation: none; }
  html { scroll-behavior: auto; }
}

/* hills at the bottom of hero */
.hills { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2; }
.hills svg.hills__main { width: 100%; height: auto; display: block; position: relative; z-index: 2; }
.hills__decor { position: absolute; z-index: 3; }
.hills__decor--tree { left: 12%; bottom: 30px; width: 52px; }
.hills__decor--shroom { right: 16%; bottom: 24px; width: 36px; }
@media (max-width: 700px) {
  .hills__decor--tree { left: 5%; width: 40px; }
  .hills__decor--shroom { right: 6%; }
}

/* ---------- Boss cards ---------- */
.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 20px;
}
.boss-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; position: relative;
  box-shadow: 0 4px 0 rgba(var(--shadow), .08);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.boss-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 rgba(var(--shadow), .10);
  border-color: var(--grass);
}
.boss-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.boss-card h3 { margin: 0; font-size: 1.12rem; }
.boss-card__price {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--maple-deep);
  margin: 0;
}
.boss-card__price small { font-size: .8rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }
.boss-card .btn { width: 100%; margin-top: auto; }
.boss-card__worlds { font-size: .78rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .3px; }

/* tier badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  border-radius: 999px; padding: 3px 10px; border: 2px solid transparent;
}
.badge--early { background: #E3F6E3; color: #23713B; border-color: #BFE7BF; }
.badge--mid   { background: #E1F3FB; color: #1E6E92; border-color: #BCE2F2; }
.badge--late  { background: #EEE9FB; color: #5E43A5; border-color: #D6CBF2; }
.badge--end   { background: #FDE7E3; color: #A93526; border-color: #F6C8C0; }
.badge--os    { background: #FBF0DC; color: #8A5A18; border-color: #EDD9B4; }

/* ---------- Catalog controls ---------- */
.controls { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.world-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pill {
  font-family: var(--font-display); font-size: .98rem; letter-spacing: .4px;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink); border: 2px solid var(--line);
  box-shadow: 0 3px 0 rgba(var(--shadow), .10);
  transition: transform .08s ease, box-shadow .08s ease;
}
.pill:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(var(--shadow), .10); }
.pill[aria-pressed="true"] { color: #fff; border-color: transparent; }
.pill--kronos[aria-pressed="true"]     { background: var(--sky-accent);  box-shadow: 0 3px 0 var(--sky-accent-deep); }
.pill--hyperion[aria-pressed="true"]   { background: var(--violet);      box-shadow: 0 3px 0 var(--violet-deep); }
.pill--challenger[aria-pressed="true"] { background: var(--maple);       box-shadow: 0 3px 0 var(--maple-deep); }
.pill--oldschool[aria-pressed="true"]  { background: #C08A3E;            box-shadow: 0 3px 0 #9A6C2B; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.chip {
  font-weight: 800; font-size: .85rem; padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 2px solid var(--line); cursor: pointer; color: var(--ink-soft);
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-sort { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.search-sort input, .search-sort select {
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--ink);
  padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; min-width: 220px;
}
.search-sort input:focus, .search-sort select:focus { outline: 3px solid var(--grass-light); border-color: var(--grass); }
.catalog-note { text-align: center; }
.count-line { text-align: center; font-weight: 700; color: var(--ink-soft); margin-bottom: 18px; }
.empty-state {
  display: none; text-align: center; padding: 48px 20px;
  background: #fff; border: 2px dashed var(--line); border-radius: var(--radius);
}
.empty-state.is-visible { display: block; }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; box-shadow: 0 4px 0 rgba(var(--shadow), .08);
}
.step__num {
  font-family: var(--font-display); font-size: 1.1rem; color: #fff;
  background: var(--leaf); width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 0 var(--leaf-deep); margin-bottom: 14px;
}
.step:nth-child(2) .step__num { background: var(--sky-accent); box-shadow: 0 3px 0 var(--sky-accent-deep); }
.step:nth-child(3) .step__num { background: var(--maple); box-shadow: 0 3px 0 var(--maple-deep); }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Featured banner (CRA) ---------- */
.featured {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
  background: linear-gradient(135deg, #FFF3E3 0%, #FFE9D2 100%);
  border: 2px solid #F5D9B8; border-radius: 22px; padding: 40px;
  box-shadow: 0 6px 0 rgba(var(--shadow), .07);
}
.featured h2 { color: var(--maple-deep); }
.featured ul { list-style: none; padding: 0; margin: 0 0 22px; }
.featured li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-weight: 600; }
.featured li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; }
.featured__price {
  text-align: center; background: #fff; border: 2px solid #F5D9B8; border-radius: 18px;
  padding: 30px 24px; box-shadow: 0 4px 0 rgba(var(--shadow), .08);
}
.featured__price .amount { font-family: var(--font-display); font-size: 3rem; color: var(--maple-deep); line-height: 1; }
.featured__price .per { color: var(--ink-soft); font-weight: 700; margin-bottom: 16px; }

/* ---------- Testimonials ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 4px 0 rgba(var(--shadow), .08);
  display: flex; flex-direction: column; gap: 12px;
}
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 17px; height: 17px; }
.review p { margin: 0; font-size: .98rem; }
.review cite {
  font-style: normal; font-weight: 800; font-family: var(--font-display);
  color: var(--leaf-deep); font-size: .95rem;
}
.stat-chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.stat-chip {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 4px 0 rgba(var(--shadow), .08);
  padding: 18px 28px; text-align: center; min-width: 170px;
}
.stat-chip b { font-family: var(--font-display); font-size: 1.6rem; color: var(--maple-deep); display: block; }
.stat-chip span { color: var(--ink-soft); font-weight: 700; font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; box-shadow: 0 3px 0 rgba(var(--shadow), .07);
  overflow: hidden;
}
.faq summary {
  font-weight: 800; padding: 16px 20px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-display); font-size: 1.3rem; color: var(--maple);
  flex: none; line-height: 1;
}
.faq details[open] summary::after { content: '–'; color: var(--leaf-deep); }
.faq details[open] summary { border-bottom: 2px dashed var(--line); }
.faq .faq__body { padding: 14px 20px 18px; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(180deg, var(--grass) 0%, var(--leaf) 100%);
  color: #fff; text-align: center; padding: 76px 0; overflow: hidden;
}
.cta-band h2 { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.12); }
.cta-band p { color: #EFFAEE; max-width: 540px; margin: 0 auto 26px; }
.cta-band .btn--primary { box-shadow: 0 4px 0 #B54A12; }

/* ---------- Contact ---------- */
.contact-card {
  max-width: 620px; margin-inline: auto; background: #fff;
  border: 2px solid var(--line); border-radius: 22px; padding: 40px;
  box-shadow: 0 6px 0 rgba(var(--shadow), .08); text-align: center;
}
.discord-handle {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--ink);
  background: var(--cream-deep); border: 2px dashed #D9CDA9; border-radius: 14px;
  padding: 14px 24px; margin: 10px 0 6px;
}
.copy-btn {
  font-family: var(--font-body); font-weight: 800; font-size: .8rem;
  background: var(--ink); color: #fff; border: 0; border-radius: 8px;
  padding: 7px 12px; cursor: pointer;
}
.copy-btn:hover { background: #40604F; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
  opacity: 0; transition: transform .25s ease, opacity .25s ease; z-index: 300;
  pointer-events: none; max-width: 92vw; text-align: center;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: #2E4639; color: #D8E6DB; margin-top: 0; border-top: 6px solid var(--grass); }
.footer__grass { line-height: 0; }
.footer__grass svg { width: 100%; height: auto; display: block; }
.footer__inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 52px 0 30px;
}
.footer h4 { font-family: var(--font-display); color: #fff; letter-spacing: .5px; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #BFDCC6; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer .brand__text span { color: var(--sun); }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0 26px;
  font-size: .8rem; color: #9DB8A4;
}

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 90px 24px 110px; }
.lost svg { margin: 0 auto 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; padding: 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 2px solid var(--line);
    padding: 10px 24px 18px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding: 8px 0; }
  .nav-cta { margin: 10px 0 0; }
  .hero { padding: 56px 0 120px; }
  .section { padding: 56px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================================
   Opening animation (homepage): original pixel art only.
   Shown once per browser tab; JS-gated (no-JS users skip it).
   ============================================================ */
html.intro-pending { overflow: hidden; }
#intro { display: none; }
html.intro-pending #intro {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(180deg, #B9E6FA 0%, var(--sky-1) 45%, var(--sky-2) 100%);
  transition: transform .65s cubic-bezier(.65,0,.35,1);
}
#intro.intro--exit { transform: translateY(-102%); }
.intro-cloud { position: absolute; animation: floaty 7s ease-in-out infinite; }
.intro-cloud--1 { top: 12%; left: 8%; width: 120px; }
.intro-cloud--2 { top: 18%; right: 10%; width: 90px; animation-delay: -3s; }
.intro-cloud--3 { bottom: 14%; left: 16%; width: 76px; animation-delay: -5s; opacity: .85; }

.intro-badge { position: relative; width: min(64vw, 320px); aspect-ratio: 1; animation: badgepop .55s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes badgepop { from { transform: scale(.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.intro-badge__disc {
  position: absolute; inset: 9%; border-radius: 50%;
  background: #FFF6E6; border: 6px solid var(--sun);
  box-shadow: 0 8px 0 rgba(var(--shadow), .12), inset 0 0 0 6px #FFEFC2;
}
.intro-badge__ring { position: absolute; inset: 0; animation: ringspin 30s linear infinite; }
@keyframes ringspin { to { transform: rotate(360deg); } }
.intro-badge__ring text {
  font-family: var(--font-display); font-size: 15.5px; letter-spacing: 3.5px;
  fill: var(--leaf-deep); font-weight: 700;
}
.intro-badge__logo {
  position: absolute; inset: 26%;
  display: flex; align-items: center; justify-content: center;
}
.intro-badge__logo svg { width: 100%; height: auto; }
.intro-badge__logo rect { opacity: 0; }   /* revealed one-by-one via JS */

.intro-loading { margin-top: 34px; text-align: center; animation: badgepop .5s .25s cubic-bezier(.34,1.56,.64,1) both; }
.intro-loading__label {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 4px; color: var(--ink);
  margin-bottom: 12px;
}
.intro-loading__label i { font-style: normal; animation: dotblink 1s steps(1) infinite; }
.intro-loading__label i:nth-child(2) { animation-delay: .33s; }
.intro-loading__label i:nth-child(3) { animation-delay: .66s; }
@keyframes dotblink { 0%, 40% { opacity: 1; } 41%, 100% { opacity: .15; } }
.intro-bar {
  display: flex; gap: 5px; padding: 7px; background: #FFF6E6;
  border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 0 4px 0 rgba(var(--shadow), .18);
}
.intro-bar i { width: 16px; height: 18px; border-radius: 3px; background: #F3E7CE; }
.intro-bar i.on { background: var(--maple); box-shadow: inset 0 -5px 0 var(--maple-deep); }
.intro-domain {
  margin-top: 18px; font-family: var(--font-display); font-size: .82rem;
  letter-spacing: 3px; color: var(--ink-soft);
}
.intro-skip {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-display); font-size: .9rem; letter-spacing: 1px;
  background: rgba(255,255,255,.8); color: var(--ink);
  border: 2px solid rgba(46,70,57,.25); border-radius: 999px;
  padding: 8px 18px; cursor: pointer;
}
.intro-skip:hover { background: #fff; }
.intro-hills { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.intro-hills svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  #intro { display: none !important; }
  html.intro-pending { overflow: auto; }
}


/* ---------- Worlds dropdown (nav) ---------- */
.nav-drop { position: relative; }
.nav-drop__btn {
  font-family: inherit; font-size: .98rem; font-weight: 700; color: var(--ink);
  background: none; border: none; cursor: pointer; padding: 6px 2px;
}
.nav-drop__btn:hover { color: var(--leaf-deep); }
.nav-drop__menu { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1021px) {
  .nav-drop__menu {
    display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: var(--cream); border: 2px solid var(--line); border-radius: 12px;
    padding: 10px 18px; min-width: 160px; box-shadow: 0 10px 24px rgba(0,0,0,.10);
  }
  .nav-drop:hover .nav-drop__menu,
  .nav-drop:focus-within .nav-drop__menu { display: block; }
  .nav-drop__menu li { padding: 5px 0; }
  .nav-drop__menu a { display: block; border-bottom: none; }
}
/* Collapse nav earlier now that it holds more items */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 2px solid var(--line);
    padding: 10px 24px 18px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding: 8px 0; }
  .nav-cta { margin: 10px 0 0; }
  .nav-drop { padding: 0 !important; }
  .nav-drop__btn { display: none; }
  .nav-drop__menu li { padding: 8px 0 8px 14px; }
}

/* ============================================================
   Boss detail modal: cards open a detail dialog
   ============================================================ */
.boss-card[role="button"] { cursor: pointer; }
.boss-card[role="button"]:focus-visible { outline: 3px solid var(--grass); outline-offset: 2px; }
.bossmodal[hidden] { display: none; }
.bossmodal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bossmodal__backdrop { position: absolute; inset: 0; background: rgba(46, 70, 57, .5); backdrop-filter: blur(3px); }
.bossmodal__panel {
  position: relative; width: min(560px, 100%); max-height: min(86vh, 720px); overflow-y: auto;
  background: var(--cream); border: 2px solid var(--line); border-radius: 20px;
  padding: 28px 28px 24px; box-shadow: 0 8px 0 rgba(var(--shadow), .18);
  animation: badgepop .35s cubic-bezier(.34,1.56,.64,1) both;
}
.bossmodal__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border: 2px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 1.3rem; line-height: 1; color: var(--ink); cursor: pointer;
  font-family: var(--font-body);
}
.bossmodal__close:hover { background: var(--cream-deep); }
.bossmodal__head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; padding-right: 40px; }
.bossmodal__sigil {
  flex: none; width: 84px; height: 84px; border-radius: 16px; overflow: hidden;
  background: #2E4639; box-shadow: 0 4px 0 rgba(var(--shadow), .15);
  display: flex; align-items: center; justify-content: center;
}
.bossmodal__sigil svg { width: 100%; height: 100%; display: block; }
.bossmodal__head h3 { margin: 6px 0 2px; font-size: 1.5rem; }
.bossmodal__worlds { margin: 0; font-size: .8rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .4px; }
.bossmodal__tagline { font-weight: 800; margin-bottom: 10px; }
.bossmodal__list { list-style: none; padding: 0; margin: 0 0 14px; }
.bossmodal__list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: .95rem; font-weight: 600; }
.bossmodal__list svg { flex: none; width: 16px; height: 16px; margin-top: 4px; }
.bossmodal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 2px dashed var(--line); padding-top: 16px; margin-top: 6px;
}
.bossmodal__price { font-family: var(--font-display); font-size: 1.6rem; color: var(--maple-deep); }
.bossmodal__price small { font-family: var(--font-body); font-size: .8rem; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 560px) {
  .bossmodal { padding: 0; align-items: flex-end; }
  .bossmodal__panel { width: 100%; max-height: 88vh; border-radius: 20px 20px 0 0; }
}

/* ---------- Per-boss pages + crawlable card links ---------- */
.boss-card__link { color: inherit; text-decoration: none; }
.boss-card__link:hover { color: var(--leaf-deep); }
.bosspage { max-width: 640px; }
.bosspage__head { margin-bottom: 20px; }

/* ---------- Pick-your-world cards (homepage) ---------- */
.world-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.world-card {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: #fff; border-radius: var(--radius);
  padding: 22px 20px; transition: transform .12s ease, box-shadow .12s ease;
}
.world-card b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .5px; }
.world-card span { font-size: .92rem; font-weight: 600; opacity: .95; line-height: 1.45; }
.world-card em { font-style: normal; font-family: var(--font-display); font-size: .85rem; margin-top: 8px; opacity: .92; }
.world-card:hover { transform: translateY(-4px); }
.world-card--kronos     { background: var(--sky-accent); box-shadow: 0 4px 0 var(--sky-accent-deep); }
.world-card--kronos:hover { box-shadow: 0 8px 0 var(--sky-accent-deep); }
.world-card--hyperion   { background: var(--violet); box-shadow: 0 4px 0 var(--violet-deep); }
.world-card--hyperion:hover { box-shadow: 0 8px 0 var(--violet-deep); }
.world-card--challenger { background: var(--maple); box-shadow: 0 4px 0 var(--maple-deep); }
.world-card--challenger:hover { box-shadow: 0 8px 0 var(--maple-deep); }
.world-card--old-school { background: #C08A3E; box-shadow: 0 4px 0 #9A6C2B; }
.world-card--old-school:hover { box-shadow: 0 8px 0 #9A6C2B; }

/* ---------- Product-style menu cards (world pages) ---------- */
.boss-card { position: relative; }
.boss-card__link::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.boss-card .btn { position: relative; z-index: 2; }                       /* Book button stays clickable */
.boss-card:hover .boss-card__link { color: var(--leaf-deep); text-decoration: underline; text-underline-offset: 3px; }
.boss-card__thumb {
  display: flex; align-items: center; justify-content: center;
  background: #2E4639; border-radius: 12px; padding: 14px 0; margin-bottom: 4px;
}
.boss-card__thumb svg { width: 92px; height: 92px; }
