:root {
  --cream: #fff8e8;
  --paper: #fffdf2;
  --paper-soft: rgba(255, 253, 242, 0.86);
  --green-950: #102f22;
  --green-900: #143b2b;
  --green-800: #1d5238;
  --green-200: #d7ead2;
  --honey-500: #d8a53a;
  --honey-300: #f2d78a;
  --gold-soft: #fae8ae;
  --blue-soft: #dbe9ee;
  --violet-soft: #e5dded;
  --ink-muted: rgba(16, 47, 34, 0.66);
  --line-green: rgba(20, 59, 43, 0.22);
  --line-gold: rgba(216, 165, 58, 0.56);
  --shadow-soft: 0 26px 70px rgba(55, 46, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  color: var(--green-950);
  background:
    radial-gradient(circle at 10% 8%, rgba(250, 232, 174, 0.62), transparent 25%),
    radial-gradient(circle at 84% 14%, rgba(215, 234, 210, 0.78), transparent 28%),
    linear-gradient(180deg, #fff9e8 0%, #f9f2dd 51%, #ddefd5 100%);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
a {
  font: inherit;
}

.park-shell {
  width: 100%;
  min-height: 100svh;
  display: block;
  padding: 10px;
  position: relative;
  overflow-x: hidden;
}

.park-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(20, 59, 43, 0.24) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(216, 165, 58, 0.22) 0 1px, transparent 1.4px);
  background-position:
    12px 20px,
    38px 64px;
  background-size:
    76px 92px,
    96px 118px;
  opacity: 0.75;
}

.park-page {
  width: min(100%, 390px);
  min-height: min(760px, calc(100svh - 28px));
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 47, 34, 0.42);
  border-radius: 28px;
  padding: 14px 14px 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 242, 0.94), rgba(255, 248, 232, 0.86) 50%, rgba(232, 245, 222, 0.78)),
    var(--cream);
  box-shadow:
    var(--shadow-soft),
    inset 0 0 0 8px rgba(255, 255, 255, 0.28);
  isolation: isolate;
}

.park-page::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(16, 47, 34, 0.24);
  border-radius: 22px;
}

.park-page::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -136px;
  z-index: -2;
  height: 194px;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 18% 34%, rgba(250, 232, 174, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(214, 235, 204, 0.48), rgba(187, 220, 177, 0.56));
}

.soft-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 58px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    12px -8px 0 3px rgba(255, 255, 255, 0.62),
    29px -2px 0 0 rgba(255, 255, 255, 0.6),
    0 8px 18px rgba(42, 66, 37, 0.08);
}

.cloud-a {
  left: 28px;
  top: 112px;
}

.cloud-b {
  right: 42px;
  top: 138px;
  transform: scale(0.78);
}

.spark,
.dot {
  position: absolute;
  border-radius: 999px;
}

.spark {
  width: 9px;
  height: 9px;
  background: var(--gold-soft);
  box-shadow:
    22px 36px 0 -3px rgba(216, 165, 58, 0.54),
    65px 6px 0 -2px rgba(229, 221, 237, 0.72);
}

.spark-a {
  left: 50px;
  top: 234px;
}

.spark-b {
  right: 58px;
  top: 248px;
}

.dot {
  width: 7px;
  height: 7px;
  background: rgba(216, 165, 58, 0.46);
}

.dot-a {
  left: 34px;
  bottom: 156px;
}

.dot-b {
  right: 30px;
  bottom: 226px;
  background: rgba(20, 59, 43, 0.28);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.brand-pill,
.status-pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 47, 34, 0.34);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--green-950);
  background: rgba(255, 253, 242, 0.82);
  box-shadow: 0 10px 24px rgba(51, 55, 22, 0.08);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill {
  border-color: rgba(216, 165, 58, 0.52);
  color: #654a13;
  background: rgba(250, 232, 174, 0.72);
}

.hero-copy {
  margin: 24px auto 0;
  text-align: center;
}

h1,
h2,
p,
figure {
  margin-top: 0;
}

h1 {
  width: min(100%, 350px);
  margin: 0 auto 7px;
  color: var(--green-950);
  font-size: clamp(30px, 8vw, 36px);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p {
  width: min(100%, 310px);
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.45;
}

.park-visual {
  margin-top: 18px;
}

.visual-card {
  width: 100%;
  aspect-ratio: 1.34;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 47, 34, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(250, 232, 174, 0.64), transparent 48%),
    rgba(255, 253, 242, 0.78);
  box-shadow:
    0 12px 30px rgba(59, 49, 21, 0.09),
    0 0 0 4px rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.visual-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.worlds {
  margin-top: 17px;
}

.world-card {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.world-card-open {
  min-height: 91px;
  border: 1px solid rgba(216, 165, 58, 0.5);
  padding: 16px 17px;
  background:
    radial-gradient(circle at 87% 0%, rgba(250, 232, 174, 0.7), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 242, 0.96), rgba(250, 232, 174, 0.5));
  box-shadow:
    0 14px 30px rgba(93, 67, 21, 0.1),
    0 0 0 5px rgba(255, 255, 255, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.world-card-open::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(216, 165, 58, 0.42);
  border-radius: 15px;
  pointer-events: none;
}

.world-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
}

.world-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(216, 165, 58, 0.7);
  border-radius: 999px;
  padding: 0 13px;
  color: #654a13;
  background: rgba(255, 244, 201, 0.92);
  font-size: 11px;
  font-weight: 900;
}

.world-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}

.world-copy h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.primary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 232, 174, 0.86);
  border-radius: 999px;
  padding: 0 20px;
  color: #fff6d7;
  background:
    radial-gradient(circle at 28% 0%, rgba(250, 232, 174, 0.2), transparent 32%),
    linear-gradient(180deg, #1d5238 0%, #102f22 100%);
  box-shadow:
    0 14px 26px rgba(16, 47, 34, 0.22),
    0 0 0 3px rgba(250, 232, 174, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 32px rgba(16, 47, 34, 0.27),
    0 0 0 4px rgba(242, 215, 138, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-action:focus-visible,
.locked-card:focus-visible {
  outline: 3px solid rgba(242, 215, 138, 0.82);
  outline-offset: 4px;
}

.locked-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.locked-card {
  min-height: 78px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  padding: 14px 14px 12px;
  text-align: left;
  color: rgba(16, 47, 34, 0.66);
  background: rgba(255, 253, 242, 0.68);
  box-shadow:
    0 10px 22px rgba(55, 46, 18, 0.08),
    0 0 0 3px rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(16, 47, 34, 0.08);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.locked-ocean {
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 215, 138, 0.25), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 242, 0.72), rgba(219, 233, 238, 0.72));
}

.locked-space {
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 215, 138, 0.25), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 242, 0.72), rgba(229, 221, 237, 0.72));
}

.locked-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(16, 47, 34, 0.15);
  border-radius: 12px;
  pointer-events: none;
}

.locked-card:hover,
.locked-card.is-pressed {
  transform: translateY(-2px);
  border-color: rgba(216, 165, 58, 0.46);
  background: rgba(255, 253, 242, 0.78);
}

.locked-orb {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(180deg, rgba(242, 215, 138, 0.86), rgba(216, 165, 58, 0.58));
}

.locked-card strong,
.locked-card span:last-child {
  position: relative;
  z-index: 1;
  display: block;
}

.locked-card strong {
  margin-top: 20px;
  color: rgba(16, 47, 34, 0.72);
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
}

.locked-card span:last-child {
  margin-top: 6px;
  color: rgba(16, 47, 34, 0.5);
  font-size: 11px;
  font-weight: 900;
}

.bottom-note {
  width: min(100%, 330px);
  margin: 18px auto 0;
  color: rgba(16, 47, 34, 0.7);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 10;
  max-width: calc(100% - 40px);
  min-height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(216, 165, 58, 0.46);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--green-950);
  background: rgba(255, 253, 242, 0.94);
  box-shadow: 0 14px 28px rgba(55, 46, 18, 0.14);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 700px) and (max-width: 899px) {
  .park-shell {
    padding: 28px;
    display: grid;
    place-items: center;
  }

  .park-page {
    width: min(620px, calc(100vw - 56px));
    min-height: min(940px, calc(100svh - 56px));
    padding: 22px;
  }

  .hero-copy {
    margin-top: 42px;
  }

  h1 {
    width: min(100%, 560px);
    font-size: clamp(42px, 7vw, 56px);
  }

  .hero-copy p {
    width: min(100%, 500px);
    font-size: 16px;
  }

  .park-visual {
    max-width: 540px;
    margin: 28px auto 0;
  }

  .visual-card {
    border-radius: 28px;
  }

  .worlds {
    max-width: 540px;
    margin: 22px auto 0;
  }

  .world-card-open {
    min-height: auto;
    padding: 20px;
  }

  .world-copy {
    align-items: center;
  }

  .world-copy h2 {
    font-size: 28px;
  }

  .locked-grid {
    gap: 14px;
  }

  .locked-card {
    min-height: 88px;
  }

  .bottom-note {
    margin-top: 20px;
  }
}

@media (min-width: 900px) {
  .park-shell {
    padding: 34px;
    display: grid;
    place-items: center;
  }

  .park-page {
    width: min(1180px, calc(100vw - 68px));
    min-height: 690px;
    display: grid;
    grid-template-columns: 0.84fr 1.16fr;
    grid-template-rows: auto auto 1fr auto;
    column-gap: 38px;
    padding: 24px 28px 22px;
  }

  .brand-row {
    grid-column: 1 / -1;
  }

  .hero-copy {
    align-self: start;
    margin: 62px 0 0;
    text-align: left;
  }

  h1 {
    width: min(100%, 430px);
    margin-left: 0;
    font-size: clamp(44px, 4.8vw, 66px);
  }

  .hero-copy p {
    width: min(100%, 370px);
    margin-left: 0;
    font-size: 18px;
  }

  .park-visual {
    grid-row: 2 / span 3;
    grid-column: 2;
    align-self: center;
    margin-top: 0;
  }

  .visual-card {
    aspect-ratio: 1.34;
    border-radius: 28px;
  }

  .worlds {
    grid-column: 1;
    margin-top: 46px;
  }

  .world-card-open {
    min-height: 140px;
    padding: 22px 24px;
  }

  .world-copy {
    margin-top: 19px;
  }

  .world-copy h2 {
    font-size: 30px;
  }

  .primary-action {
    min-height: 48px;
    padding-inline: 24px;
    font-size: 15px;
  }

  .locked-grid {
    margin-top: 22px;
  }

  .locked-card {
    min-height: 92px;
    padding: 16px 18px;
  }

  .locked-card strong {
    font-size: 16px;
  }

  .bottom-note {
    grid-column: 1 / -1;
    margin: 26px 0 0;
    text-align: left;
  }
}

@media (max-height: 780px) and (max-width: 520px) {
  .park-shell {
    padding: 8px;
  }

  .park-page {
    min-height: calc(100svh - 16px);
    padding: 12px;
  }

  .hero-copy {
    margin-top: 18px;
  }

  h1 {
    font-size: clamp(28px, 7.4vw, 32px);
  }

  .park-visual {
    margin-top: 14px;
  }

  .worlds {
    margin-top: 14px;
  }

  .world-card-open {
    min-height: 84px;
  }

  .locked-card {
    min-height: 72px;
  }
}

@media (max-width: 520px) {
  .park-page {
    width: calc(100vw - 20px);
    max-width: 390px;
  }

  .brand-row {
    gap: 8px;
  }

  .brand-pill,
  .status-pill {
    padding-inline: 11px;
  }

  .world-copy {
    align-items: center;
  }

  .primary-action {
    min-width: 128px;
    padding-inline: 16px;
  }
}

@media (max-width: 350px) {
  .brand-pill,
  .status-pill {
    padding-inline: 10px;
    font-size: 11px;
  }

  .world-copy {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .visual-card {
    animation: visual-breathe 5.4s ease-in-out infinite;
  }

  .world-card-open {
    animation: open-glow 4.6s ease-in-out infinite;
  }

  .spark {
    animation: small-twinkle 3.8s ease-in-out infinite;
  }

  .spark-b {
    animation-delay: 1s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@keyframes visual-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes open-glow {
  0%,
  100% {
    box-shadow:
      0 14px 30px rgba(93, 67, 21, 0.1),
      0 0 0 5px rgba(255, 255, 255, 0.3),
      inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  }

  50% {
    box-shadow:
      0 16px 34px rgba(93, 67, 21, 0.14),
      0 0 0 6px rgba(242, 215, 138, 0.16),
      inset 0 0 0 1px rgba(255, 255, 255, 0.74);
  }
}

@keyframes small-twinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}
