:root {
  --ink: #302534;
  --ink-soft: #5f5069;
  --paper: #fff6d9;
  --sky: #9fdcff;
  --lime: #b7ff47;
  --lime-shadow: #86cc2b;
  --blue: #2b79d7;
  --orange: #f3a33a;
  --sign-red: #c91c24;
  --butter: #ffe55f;
  --glass: rgba(232, 248, 255, 0.86);
  --glass-line: rgba(96, 166, 205, 0.45);
  --street: #b9b3b0;
  --shadow: 0 14px 0 rgba(48, 37, 52, 0.12), 0 22px 34px rgba(48, 37, 52, 0.16);
  --outline: 4px solid var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: linear-gradient(180deg, #87d6ff 0%, #bde9ff 18%, #fff3c4 18%, #fff3c4 100%);
  font-family: "Baloo 2", cursive;
  overflow-x: hidden;
}

a,
button {
  color: inherit;
  cursor: pointer;
}

.page-dots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  mix-blend-mode: soft-light;
}

.hero {
  position: relative;
  padding-bottom: 3.5rem;
}

.language-switcher {
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  top: clamp(12px, 2vw, 24px);
  z-index: 20;
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 246, 217, 0.94);
  box-shadow: 0 8px 0 rgba(48, 37, 52, 0.18);
}

.language-button {
  min-width: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: var(--ink);
  font-family: "Bangers", cursive;
  font-size: 1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  background: var(--lime);
  box-shadow: inset 0 -3px 0 rgba(48, 37, 52, 0.16);
}

html[lang="ko"] .language-button,
html[lang="ko"] .hotspot span,
html[lang="ko"] .hero-tag,
html[lang="ko"] .panel-title,
html[lang="ko"] .card-sfx {
  font-family: "Baloo 2", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

.storefront-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-burst {
  position: absolute;
  left: clamp(16px, 2.2vw, 34px);
  bottom: clamp(18px, 2.4vw, 34px);
  z-index: 3;
  width: min(430px, calc(100% - 2rem));
  margin: 0;
  padding: 1.35rem 1.2rem;
  border: var(--outline);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 229, 95, 0.75), transparent 36%),
    linear-gradient(180deg, rgba(255, 246, 217, 0.96) 0%, rgba(255, 231, 165, 0.96) 100%);
  box-shadow: var(--shadow);
  transform: rotate(30deg);
  transform-origin: left bottom;
}

.hero-logo {
  position: absolute;
  left: -34px;
  top: -42px;
  width: clamp(76px, 7.5vw, 104px);
  aspect-ratio: 1;
  border: var(--outline);
  border-radius: 50%;
  background: #ffbf24;
  box-shadow:
    0 10px 0 rgba(48, 37, 52, 0.2),
    0 0 0 6px rgba(255, 229, 95, 0.55);
  object-fit: cover;
  transform: rotate(-18deg);
}

.hero-tag,
.hero-title {
  margin: 0;
  font-family: "Bangers", cursive;
}

.hero-tag {
  margin-bottom: 0.45rem;
  color: var(--sign-red);
  letter-spacing: 0.12em;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.9;
  max-width: 9ch;
}

.hero-copy,
.hero-mini {
  font-size: 1.08rem;
  line-height: 1.12;
}

.hero-actions {
  margin-top: 1rem;
}

.hero-mini {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.storefront-frame {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.storefront-map {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1365 / 768;
  border-radius: 0;
  background: #c8f0ff;
  box-shadow: none;
}

.storefront-stage {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    url("bob.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
}

.hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  text-decoration: none;
  border: 3px solid transparent;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hotspot span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.25rem 0.75rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 246, 217, 0.96);
  box-shadow: 0 6px 0 rgba(48, 37, 52, 0.18);
  font-family: "Bangers", cursive;
  font-size: 0.96rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
  white-space: nowrap;
}

.hotspot:hover,
.hotspot:focus-visible,
.hotspot:active,
.hotspot.is-highlighted {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.35),
    0 0 0 4px rgba(255, 229, 95, 0.55),
    0 14px 24px rgba(48, 37, 52, 0.18);
}

.hotspot:hover span,
.hotspot:focus-visible span,
.hotspot:active span,
.hotspot.is-highlighted span {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.hotspot-upper-1 {
  left: 30.52%;
  top: 0%;
  width: 5.42%;
  height: 7.22%;
  border-radius: 8px;
}

.hotspot-upper-2 {
  left: 38.49%;
  top: 0%;
  width: 5.31%;
  height: 7.31%;
  border-radius: 8px;
}

.hotspot-upper-3 {
  left: 54.95%;
  top: 1.85%;
  width: 4.58%;
  height: 10.28%;
  border-radius: 8px;
}

.hotspot-upper-4 {
  left: 65.83%;
  top: 2.04%;
  width: 4.48%;
  height: 9.91%;
  border-radius: 8px;
}

.hotspot-entry-top {
  left: 25.36%;
  top: 47.41%;
  width: 8.70%;
  height: 6.02%;
}

.hotspot-entry-door {
  left: 26.09%;
  top: 55.83%;
  width: 7.5%;
  height: 28.61%;
}

.hotspot-main-display {
  left: 37.32%;
  top: 48.37%;
  width: 23.66%;
  height: 30.69%;
}

.hotspot-side-window {
  left: 64.79%;
  top: 47.13%;
  width: 8.02%;
  height: 5%;
}

.hotspot-side-door {
  left: 64.38%;
  top: 53.89%;
  width: 7.86%;
  height: 32.69%;
}

.ticker-strip {
  overflow: hidden;
  background: var(--ink);
  border-bottom: 4px solid #1b111e;
  color: var(--butter);
  font-family: "Bangers", cursive;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.65rem 1.2rem;
  animation: ticker-scroll 18s linear infinite;
}

.ticker-track span::after {
  content: "✦";
  margin-left: 2rem;
  color: #ff7d66;
}

.street-stage {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) minmax(300px, 760px) minmax(80px, 1fr);
  gap: 1rem;
  align-items: end;
  max-width: 1380px;
  margin: 0 auto;
  padding: 2.4rem 1rem 0;
}

.building {
  position: relative;
  min-height: 600px;
  border: var(--outline);
  border-bottom: none;
  align-self: stretch;
}

.left-building {
  background: linear-gradient(180deg, #4f9bf1 0%, #2058ae 100%);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.left-building::before {
  content: "";
  position: absolute;
  left: 16%;
  top: 26%;
  width: 18%;
  height: 46%;
  border-right: 5px solid rgba(31, 56, 112, 0.95);
  border-left: 5px solid rgba(31, 56, 112, 0.95);
  opacity: 0.8;
}

.left-building::after {
  content: "";
  position: absolute;
  left: 56%;
  bottom: 0;
  width: 26%;
  height: 42%;
  border: var(--outline);
  border-bottom: none;
  border-radius: 120px 120px 0 0;
  background: rgba(255, 255, 255, 0.1);
}

.blue-awning {
  position: absolute;
  left: 12%;
  right: 14%;
  top: 10%;
  height: 16%;
  border: var(--outline);
  border-radius: 10px 10px 22px 22px;
  background: linear-gradient(180deg, #77b9ff, #2e68d1);
  box-shadow: inset 0 -20px 0 rgba(0, 0, 0, 0.13);
}

.pipe-stack {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 12px;
  height: 58%;
  border-radius: 999px;
  background: #727488;
  box-shadow:
    -36px 84px 0 #727488,
    -36px 144px 0 #727488,
    -18px 112px 0 3px #4d4b60;
}

.right-building {
  background: linear-gradient(180deg, #d7ab67 0%, #ac7640 100%);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.orange-window,
.orange-window.small {
  position: absolute;
  left: 16%;
  right: 12%;
  border: var(--outline);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffef89, #ffd75a);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.4);
}

.orange-window {
  top: 18%;
  height: 18%;
}

.orange-window.small {
  top: 44%;
  height: 14%;
}

.tree-trunk {
  position: absolute;
  right: 20%;
  bottom: 0;
  width: 10px;
  height: 48%;
  background: #6b4f34;
  border-radius: 999px;
  box-shadow:
    24px -60px 0 0 #6b4f34,
    46px -96px 0 0 #6b4f34,
    -18px -72px 0 0 #6b4f34;
}

.tree-trunk::before {
  content: "";
  position: absolute;
  left: -50px;
  top: -120px;
  width: 110px;
  height: 110px;
  background:
    radial-gradient(circle at 24px 36px, #6ec846 0 16px, transparent 17px),
    radial-gradient(circle at 56px 18px, #7cda4b 0 14px, transparent 15px),
    radial-gradient(circle at 84px 48px, #8ce24f 0 16px, transparent 17px),
    radial-gradient(circle at 38px 80px, #6ec846 0 15px, transparent 16px);
}

.storefront {
  position: relative;
  padding: 2rem 1.6rem 1.4rem;
  border: var(--outline);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #cbff5b 0%, var(--lime) 24%, #b0f03c 100%);
  box-shadow: inset 0 -26px 0 rgba(0, 0, 0, 0.06);
}

.storefront::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 120, 33, 0.34) 2px, transparent 2px),
    linear-gradient(90deg, rgba(76, 120, 33, 0.18) 2px, transparent 2px);
  background-size: 100% 48px, 72px 100%;
  border-radius: 24px 24px 0 0;
  opacity: 0.28;
  pointer-events: none;
}

.upper-floor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 78%;
  margin: 0 auto 1.1rem;
}

.upper-window {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 0.7rem;
  text-decoration: none;
  font-family: "Bangers", cursive;
  letter-spacing: 0.08em;
  border: var(--outline);
  border-radius: 10px 10px 22px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    var(--glass);
  box-shadow: inset 0 -10px 0 rgba(116, 170, 202, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.upper-window span {
  position: relative;
  z-index: 1;
}

.upper-window::before,
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.55), transparent 26%, transparent 58%, rgba(255, 255, 255, 0.22) 59%, transparent 68%);
  border-radius: inherit;
  pointer-events: none;
}

.shop-sign {
  position: relative;
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  text-decoration: none;
  text-align: center;
  margin: 0 auto 1.4rem;
  max-width: 92%;
  padding: 1rem 1rem 0.9rem;
  border: 6px solid #aa161c;
  border-radius: 8px;
  background: var(--butter);
  box-shadow:
    0 0 0 4px #f2e8b4,
    0 10px 0 rgba(130, 19, 27, 0.2);
}

.shop-sign strong {
  font-family: "Bangers", cursive;
  font-size: clamp(2.2rem, 5.2vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: var(--sign-red);
  text-shadow:
    -2px -2px 0 #7f1115,
    2px -2px 0 #7f1115,
    -2px 2px 0 #7f1115,
    2px 2px 0 #7f1115;
}

.sign-kicker,
.sign-ticker {
  font-family: "Bangers", cursive;
  letter-spacing: 0.14em;
}

.sign-kicker {
  font-size: 0.9rem;
}

.sign-ticker {
  font-size: 1.2rem;
}

.shop-front {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 2.1fr 0.85fr 0.95fr;
  gap: 1rem;
  min-height: 420px;
  align-items: stretch;
}

.glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  border: var(--outline);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06)),
    var(--glass);
  box-shadow: inset 0 -16px 0 rgba(127, 182, 218, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.glass-card strong {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1;
}

.glass-card small {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.1;
}

.window-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.65rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-family: "Bangers", cursive;
  letter-spacing: 0.08em;
}

.left-door,
.right-door {
  min-height: 100%;
  border-radius: 8px;
}

.main-window {
  border-radius: 6px;
  padding-bottom: 1.3rem;
  justify-content: flex-end;
}

.side-window {
  border-radius: 6px;
}

.left-door::after,
.right-door::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  right: 12px;
  top: 52%;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #f1d475;
}

.counter-people {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.counter-people span {
  width: 54px;
  height: 70px;
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(circle at 50% 18px, #f0b68e 0 12px, transparent 13px),
    linear-gradient(180deg, #ff7d90 0 36px, #a45ec4 36px 100%);
  border: 3px solid rgba(66, 75, 104, 0.4);
}

.counter-people span:nth-child(2) {
  background:
    radial-gradient(circle at 50% 18px, #f0b68e 0 12px, transparent 13px),
    linear-gradient(180deg, #ffd95c 0 36px, #f1824d 36px 100%);
}

.counter-people span:nth-child(3) {
  background:
    radial-gradient(circle at 50% 18px, #f0b68e 0 12px, transparent 13px),
    linear-gradient(180deg, #7ed2ff 0 36px, #4b70d5 36px 100%);
}

.open-sign {
  position: absolute;
  left: 5%;
  bottom: 13%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  min-height: 74px;
  padding: 0.8rem 1rem;
  border: var(--outline);
  border-radius: 14px;
  background: #94c7ff;
  color: #faf7ff;
  text-decoration: none;
  font-family: "Bangers", cursive;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  box-shadow:
    0 0 0 4px #8a66ce,
    0 0 22px rgba(123, 101, 224, 0.4);
  text-shadow: 0 1px 0 #5943a4;
}

.hero-note {
  max-width: 430px;
  margin-top: 1.1rem;
  margin-left: auto;
  padding: 0.85rem 1rem;
  border: var(--outline);
  border-radius: 18px;
  background: rgba(255, 248, 214, 0.88);
  box-shadow: var(--shadow);
}

.hero-note p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.12;
}

.street-line {
  height: 56px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.06)),
    var(--street);
  border-top: var(--outline);
  box-shadow: inset 0 12px 0 rgba(255, 255, 255, 0.2);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.4rem 1rem 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.panel,
.menu-card,
.story-card,
.utility-card,
.roadmap-card,
.quest-card {
  position: relative;
  border: var(--outline);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.jumbo-panel {
  padding: 1.8rem 1.7rem 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(255, 218, 77, 0.46), transparent 32%),
    linear-gradient(180deg, #fff8df 0%, #ffe9b1 100%);
}

.speech-panel {
  padding: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(255, 141, 168, 0.34), transparent 36%),
    #fff8df;
}

.sfx,
.card-sfx,
.eyebrow,
.panel-title,
.story-kicker {
  font-family: "Bangers", cursive;
  letter-spacing: 0.08em;
}

.sfx {
  margin: 0 0 0.4rem;
  color: var(--sign-red);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.jumbo-panel h1,
.section-heading h2 {
  margin: 0;
  line-height: 0.94;
  font-family: "Bangers", cursive;
  letter-spacing: 0.03em;
}

.jumbo-panel h1 {
  font-size: clamp(2.9rem, 5vw, 5.8rem);
  max-width: 12ch;
}

.lead,
.speech-panel p,
.menu-card p,
.info-panel p,
.story-card p,
.utility-card p,
.join-panel p,
.market-panel p,
.listing-panel p,
.roadmap-card p,
.quest-card p,
.faq-card p,
.disclaimer-panel p,
.community-panel p,
.contract-line,
.steps,
.check-list {
  font-size: 1.16rem;
  line-height: 1.14;
}

.key-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.25rem 0 1.35rem;
}

.stat-pill {
  min-width: 150px;
  padding: 0.75rem 0.95rem;
  border: var(--outline);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.06);
}

.stat-pill span {
  display: block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.stat-pill strong {
  font-size: 1.1rem;
}

.cta-row,
.button-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.1rem;
  border: var(--outline);
  border-radius: 18px;
  text-decoration: none;
  text-align: center;
  font-family: "Bangers", cursive;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary,
.mini-btn {
  background: var(--sign-red);
  color: #fff7dc;
  box-shadow: 0 8px 0 #821219;
}

.secondary {
  background: var(--butter);
  box-shadow: 0 8px 0 #bea63f;
}

.tertiary {
  background: #9edaff;
  box-shadow: 0 8px 0 #5c99c9;
}

.contract-line code {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-family: Consolas, monospace;
  word-break: break-all;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
  color: var(--sign-red);
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.menu-grid,
.comic-grid,
.story-board,
.community-shell,
.utility-grid,
.join-grid,
.market-shell,
.timeline,
.quest-board,
.faq-grid {
  display: grid;
  gap: 1.2rem;
}

.menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-card {
  padding: 1.45rem;
  background: linear-gradient(180deg, #fff8df 0%, #ffeab9 100%);
}

.menu-card.contrast {
  background: linear-gradient(180deg, #ffea96 0%, #ffd15c 100%);
}

.menu-card.tall {
  background: linear-gradient(180deg, #c0fff0 0%, #9df2d7 100%);
}

.menu-card.blue-card {
  background: linear-gradient(180deg, #cfeeff 0%, #93d5ff 100%);
}

.menu-card.pink-card {
  background: linear-gradient(180deg, #ffd1df 0%, #ffa8c0 100%);
}

.card-sfx {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.check-list,
.steps {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.flavor-lines {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.flavor-lines div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px dashed rgba(48, 37, 52, 0.25);
}

.flavor-lines span {
  color: var(--ink-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.28rem 0.65rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-family: "Bangers", cursive;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.comic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-panel {
  padding: 1.45rem;
}

.info-panel.yellow {
  background: linear-gradient(180deg, #ffe88a 0%, #ffd95d 100%);
}

.info-panel.mint {
  background: linear-gradient(180deg, #c6fff0 0%, #abffe0 100%);
}

.story-board {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.story-card {
  padding: 1.4rem;
  background: linear-gradient(180deg, #fff8df 0%, #ffeab3 100%);
}

.story-card.big {
  background: linear-gradient(180deg, #ffbfd0 0%, #ff98b3 100%);
}

.community-shell {
  grid-template-columns: 1.15fr 0.95fr;
}

.community-panel {
  padding: 1.5rem;
  background: linear-gradient(180deg, #d1fff2 0%, #aef7de 100%);
}

.utility-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.utility-card,
.roadmap-card,
.quest-card {
  padding: 1.35rem;
  background: linear-gradient(180deg, #fff8df 0%, #ffeab9 100%);
}

.utility-card.yellow,
.roadmap-card.yellow,
.quest-card.yellow {
  background: linear-gradient(180deg, #ffe88a 0%, #ffd45a 100%);
}

.utility-card.mint,
.roadmap-card.mint,
.quest-card.mint {
  background: linear-gradient(180deg, #c7fff0 0%, #a4f4da 100%);
}

.utility-card.pink,
.roadmap-card.pink,
.quest-card.pink {
  background: linear-gradient(180deg, #ffd1df 0%, #ffa4bd 100%);
}

.join-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.join-panel {
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(158, 218, 255, 0.42), transparent 40%),
    #fff8df;
}

.code-chip {
  margin-top: 1rem;
  padding: 0.65rem 0.75rem;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #2f2534;
  color: #fff6d9;
  font-family: Consolas, monospace;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.market-shell {
  grid-template-columns: 1.1fr 0.9fr;
}

.market-panel,
.listing-panel,
.disclaimer-panel {
  padding: 1.5rem;
}

.market-panel {
  background: linear-gradient(180deg, #d7f0ff 0%, #a5ddff 100%);
}

.listing-panel {
  background: linear-gradient(180deg, #fff0a5 0%, #ffd96a 100%);
}

.exchange-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) minmax(110px, auto);
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 3px dashed rgba(48, 37, 52, 0.24);
}

.exchange-row span {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.exchange-row strong {
  font-size: 1.1rem;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roadmap-card::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 10px;
  border: 3px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: var(--sign-red);
}

.quest-board {
  grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
}

.quest-board .community-panel {
  grid-row: span 2;
}

.quest-card span {
  display: inline-flex;
  margin-top: 0.7rem;
  padding: 0.3rem 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-family: "Bangers", cursive;
  letter-spacing: 0.05em;
}

.mini-metrics {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.metric-tile {
  padding: 0.75rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.metric-tile span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.metric-tile strong {
  font-size: 1.25rem;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-card {
  padding: 1.35rem;
  background: linear-gradient(180deg, #fff8df 0%, #ffe9b1 100%);
}

.disclaimer-section {
  padding-top: 2rem;
}

.disclaimer-panel {
  background:
    radial-gradient(circle at top left, rgba(201, 28, 36, 0.16), transparent 38%),
    #fff8df;
}

.site-footer {
  padding: 3.5rem 1rem 4rem;
  text-align: center;
  color: var(--ink-soft);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  min-width: 220px;
  max-width: 320px;
  padding: 0.9rem 1rem;
  border: var(--outline);
  border-radius: 18px;
  background: #fff4bf;
  box-shadow: var(--shadow);
  font-family: "Bangers", cursive;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.upper-window:hover,
.glass-card:hover,
.shop-sign:hover,
.cta:hover,
.mini-btn:hover,
.open-sign:hover,
.upper-window:focus-visible,
.glass-card:focus-visible,
.shop-sign:focus-visible,
.cta:focus-visible,
.mini-btn:focus-visible,
.open-sign:focus-visible {
  transform: translateY(-4px);
  filter: saturate(1.05);
}

.cta:hover,
.mini-btn:hover,
.cta:focus-visible,
.mini-btn:focus-visible {
  box-shadow: 0 12px 0 rgba(48, 37, 52, 0.35);
}

a:focus-visible,
button:focus-visible {
  outline: 4px dashed #ffffff;
  outline-offset: 3px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .hero-burst {
    left: 1rem;
    bottom: 1rem;
    width: min(380px, calc(100% - 2rem));
    padding: 1.15rem 1rem;
    transform: rotate(30deg);
  }

  .street-stage {
    grid-template-columns: 90px minmax(300px, 1fr) 90px;
  }

  .building {
    min-height: 500px;
  }

  .shop-front {
    min-height: 360px;
  }

  .intro-section,
  .community-shell,
  .story-board,
  .comic-grid,
  .market-shell,
  .quest-board,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .utility-grid,
  .join-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quest-board .community-panel {
    grid-row: auto;
  }
}

@media (max-width: 880px) {
  .storefront-hero {
    padding: 0;
  }

  .storefront-frame {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-burst {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 0 1rem;
    transform: none;
  }

  .hero-logo {
    right: 1rem;
    top: -52px;
    width: 92px;
    transform: rotate(8deg);
  }

  .storefront-map {
    aspect-ratio: 1365 / 768;
    border-radius: 0;
  }

  .street-stage {
    grid-template-columns: 1fr;
  }

  .building {
    display: none;
  }

  .storefront {
    padding-inline: 1rem;
  }

  .upper-floor {
    max-width: 100%;
    gap: 0.7rem;
  }

  .upper-window {
    min-height: 88px;
  }

  .shop-front {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .main-window {
    min-height: 260px;
    grid-column: span 2;
  }

  .side-window,
  .left-door,
  .right-door {
    min-height: 180px;
  }

  .open-sign {
    left: auto;
    right: 1rem;
    bottom: auto;
    top: 48%;
  }

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

  .utility-grid,
  .join-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .exchange-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .storefront-hero {
    padding: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero-burst {
    padding: 1.1rem 1rem;
    border-radius: 24px;
  }

  .hero-logo {
    position: relative;
    right: auto;
    top: auto;
    display: block;
    width: 86px;
    margin: -3rem 0 0 auto;
  }

  .storefront-map {
    aspect-ratio: 1365 / 768;
    border-radius: 0;
  }

  .hotspot {
    padding: 0.2rem;
    border-radius: 2px;
  }

  .hotspot span {
    min-height: 26px;
    padding: 0.15rem 0.4rem;
    border-width: 2px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 0 rgba(48, 37, 52, 0.18);
  }

  .ticker-track {
    animation-duration: 24s;
  }

  .storefront {
    padding-top: 1.2rem;
  }

  .upper-floor {
    grid-template-columns: 1fr;
  }

  .shop-sign strong {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .shop-front {
    grid-template-columns: 1fr;
  }

  .main-window {
    grid-column: auto;
    min-height: 220px;
  }

  .left-door,
  .side-window,
  .right-door {
    min-height: 150px;
  }

  .open-sign {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    left: auto;
    margin-top: 0.85rem;
  }

  .hero-note {
    margin-inline: 0;
  }

  .jumbo-panel,
  .speech-panel,
  .menu-card,
  .story-card,
  .utility-card,
  .roadmap-card,
  .quest-card,
  .join-panel,
  .faq-card,
  .market-panel,
  .listing-panel,
  .disclaimer-panel,
  .community-panel,
  .info-panel {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .lead,
  .speech-panel p,
  .menu-card p,
  .info-panel p,
  .story-card p,
  .utility-card p,
  .join-panel p,
  .market-panel p,
  .listing-panel p,
  .roadmap-card p,
  .quest-card p,
  .faq-card p,
  .disclaimer-panel p,
  .community-panel p,
  .contract-line,
  .steps,
  .check-list {
    font-size: 1.05rem;
  }

  .cta,
  .mini-btn {
    width: 100%;
  }

  .flavor-lines div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .flavor-lines strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
