:root {
  --bg-top: #eef0ff;
  --bg-mid: #f8f7ff;
  --bg-bottom: #e5dcff;
  --ink: #1f2457;
  --ink-soft: #48529b;
  --purple-900: #3f45ad;
  --purple-700: #5e65d9;
  --purple-600: #7279ea;
  --lavender: #d9dcff;
  --mint: #8bdfd4;
  --peach: #ffb6a9;
  --pink: #f7bfd2;
  --star: #f7de68;
  --white: #ffffff;
  --card: #ffffff;
  --line: #aeb4f4;
  --line-soft: #cdd2ff;
  --text-on-night: #f6f8ff;
  --muted-on-night: #dce2ff;
  --text-on-card: #25307a;
  --muted-on-card: #4c57a6;
  --shadow-lg: 0 16px 42px rgba(59, 66, 160, 0.2);
  --shadow-bubble: 0 8px 0 rgba(63, 69, 173, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1440px;
  --font-display: "Dongle", "Gaegu", "Noto Sans KR", sans-serif;
  --font-body: "Gaegu", "Noto Sans KR", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-on-night);
  background-color: #1a214f;
  background-image: url("./assets/patterns/malang-stars-pattern.svg");
  background-repeat: repeat;
  background-size: 680px 680px;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.is-showcase-modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(rgba(4, 8, 34, 0.56), rgba(4, 8, 34, 0.56));
}

a {
  color: inherit;
  text-decoration: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-image: radial-gradient(rgba(44, 53, 130, 0.25) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}

.bg-stars {
  display: none;
}

.aura {
  position: fixed;
  left: 0;
  top: 0;
  display: none;
}

.aura.is-hidden {
  opacity: 0;
}

.topbar {
  width: min(var(--container), calc(100% - 28px));
  margin: 12px auto 0;
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border: 2px solid #eef1ff;
  border-radius: 24px;
  background: #d3d4de;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 22px rgba(40, 50, 120, 0.16);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -2px;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  pointer-events: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 84px;
}

.logo-image {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(18, 25, 85, 0.25));
}

.logo-wordmark {
  display: block;
  width: 138px;
  height: auto;
  object-fit: contain;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-nav a {
  font-family: var(--font-body);
  font-size: 1.34rem;
  font-weight: 700;
  color: #2f3a87;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.top-nav a:hover {
  background: rgba(94, 103, 200, 0.14);
  color: #25307a;
}

.top-nav a.is-active {
  background: rgba(94, 103, 200, 0.2);
  color: #25307a;
  box-shadow: inset 0 0 0 1px rgba(94, 103, 200, 0.26);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-actions .btn {
  font-size: 1.03rem;
  padding: 9px 17px;
}

.top-actions .btn-outline {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(201, 206, 255, 0.9);
  color: #26327f;
}

.top-actions .btn-fill {
  background: linear-gradient(180deg, #7f86f0 0%, #6169df 100%);
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  box-shadow: 0 8px 0 rgba(43, 52, 146, 0.28);
}

.section {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto;
  padding: 74px 0;
  position: relative;
  z-index: 2;
}

.hero {
  padding-top: 46px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  text-align: center;
}

.hero-copy > :not(.hero-point):not(.hero-flying) {
  position: relative;
  z-index: 2;
}

.kicker {
  margin: 0;
  letter-spacing: 0.09em;
  color: var(--muted-on-night);
  font-size: 0.94rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--text-on-card);
}

h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  color: var(--text-on-card);
}

h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 0.98;
  color: var(--text-on-card);
}

.hero-text {
  margin-top: 16px;
  max-width: min(86ch, 100%);
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-on-night);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.56;
  text-shadow: 0 2px 10px rgba(15, 20, 60, 0.45);
}

.hero-copy h1 {
  font-size: clamp(4.9rem, 11.8vw, 9.6rem);
  line-height: 0.92;
  color: var(--text-on-night);
  text-shadow: 0 3px 14px rgba(15, 20, 60, 0.48);
  position: relative;
  display: inline-block;
  padding: 0;
  isolation: isolate;
}

.hero-copy h1::before {
  content: "";
  position: absolute;
  inset: -0.1em -0.12em -0.06em;
  border-radius: 18px;
  background:
    radial-gradient(circle at 26% 38%, rgba(125, 205, 255, 0.26), transparent 58%),
    radial-gradient(circle at 74% 66%, rgba(181, 145, 255, 0.22), transparent 55%);
  filter: blur(10px);
  opacity: 0.42;
  z-index: 0;
  pointer-events: none;
  animation: hero-nebula-drift 8.4s ease-in-out infinite alternate;
}

.hero-copy h1::after {
  content: "";
  position: absolute;
  top: 40%;
  left: -30%;
  width: 56%;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.94) 38%, rgba(132, 207, 255, 0.78));
  box-shadow: 0 0 8px rgba(219, 240, 255, 0.78), 0 0 14px rgba(126, 193, 255, 0.48);
  opacity: 0;
  transform: translate3d(-120%, -4px, 0) rotate(-14deg);
  z-index: 3;
  pointer-events: none;
}

.hero-copy h1 .hero-title-glow {
  display: inline-block;
  position: relative;
  z-index: 1;
  color: #f8fcff;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.34),
    0 0 10px rgba(173, 210, 255, 0.26),
    0 2px 10px rgba(15, 20, 60, 0.44);
  transition: filter 180ms ease, text-shadow 180ms ease;
}

.hero-copy h1:hover .hero-title-glow {
  filter: brightness(1.06);
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.46),
    0 0 14px rgba(177, 215, 255, 0.36),
    0 4px 14px rgba(15, 20, 60, 0.55);
}

.hero-title-stars {
  position: absolute;
  inset: -0.06em -0.08em;
  z-index: 1;
  pointer-events: none;
}

.hero-title-stars .star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(187, 226, 255, 0.72) 58%, rgba(187, 226, 255, 0));
  box-shadow: 0 0 6px rgba(203, 232, 255, 0.72);
  opacity: 0.3;
  animation: hero-star-twinkle 3.2s ease-in-out infinite;
}

.hero-title-stars .star:nth-child(1) {
  top: 10%;
  left: 8%;
  animation-delay: 0s;
}

.hero-title-stars .star:nth-child(2) {
  top: 4%;
  left: 36%;
  width: 5px;
  height: 5px;
  animation-delay: 0.8s;
}

.hero-title-stars .star:nth-child(3) {
  top: 15%;
  right: 10%;
  animation-delay: 1.5s;
}

.hero-title-stars .star:nth-child(4) {
  top: 52%;
  left: 5%;
  width: 5px;
  height: 5px;
  animation-delay: 0.4s;
}

.hero-title-stars .star:nth-child(5) {
  top: 66%;
  left: 34%;
  animation-delay: 1.2s;
}

.hero-title-stars .star:nth-child(6) {
  top: 60%;
  right: 28%;
  width: 5px;
  height: 5px;
  animation-delay: 1.9s;
}

.hero-title-stars .star:nth-child(7) {
  bottom: 8%;
  right: 10%;
  animation-delay: 2.3s;
}

.hero-title-stars .star:nth-child(8) {
  top: 30%;
  right: 42%;
  width: 4px;
  height: 4px;
  animation-delay: 2.7s;
}

.hero-copy h1:hover::before {
  opacity: 0.54;
}

.hero-copy h1:hover::after {
  animation: hero-meteor-sweep 840ms cubic-bezier(0.25, 0.85, 0.35, 1) 1;
}

@keyframes hero-nebula-drift {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(0.99);
  }
  to {
    transform: translate3d(2.2%, -1.4%, 0) scale(1.02);
  }
}

@keyframes hero-star-twinkle {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.86);
  }
  45% {
    opacity: 0.76;
    transform: scale(1.16);
  }
  70% {
    opacity: 0.44;
    transform: scale(1);
  }
}

@keyframes hero-meteor-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-120%, -6px, 0) rotate(-14deg);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(226%, 20px, 0) rotate(-14deg);
  }
}

@keyframes hero-character-enter {
  0% {
    opacity: 0;
    transform: translateY(calc(-50% + 34px)) scale(0.95);
    filter: saturate(0.92) brightness(0.9) blur(1.4px);
  }
  62% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: none;
  }
}

@keyframes hero-soft-aura {
  0% {
    opacity: 0;
    transform: scale(0.84);
  }
  40% {
    opacity: 0.48;
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes hero-stardust-burst {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.72);
  }
  26% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) scale(1.24);
  }
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-flying {
  --enter-delay: 120ms;
  --dust-delay: 220ms;
  position: absolute;
  left: -50%;
  top: 78%;
  z-index: 1;
  margin: 0;
  width: min(1160px, 84vw);
  opacity: 0;
  pointer-events: auto;
  transform: translateY(-50%) scale(0.96);
  animation: hero-character-enter 940ms cubic-bezier(0.21, 0.8, 0.28, 1) var(--enter-delay) forwards;
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-flying img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-point {
  --enter-delay: 340ms;
  --dust-delay: 460ms;
  position: absolute;
  right: -34%;
  top: 62%;
  z-index: 1;
  margin: 0;
  width: min(920px, 72vw);
  opacity: 0;
  pointer-events: auto;
  transform: translateY(-50%) scale(0.96);
  animation: hero-character-enter 940ms cubic-bezier(0.21, 0.8, 0.28, 1) var(--enter-delay) forwards;
  filter: none;
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-point img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-flying::before,
.hero-flying::after,
.hero-point::before,
.hero-point::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.hero-flying::before,
.hero-flying::after {
  inset: 14% 14% 12% 10%;
}

.hero-point::before,
.hero-point::after {
  inset: 18% 15% 10% 14%;
}

.hero-flying::before,
.hero-point::before {
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(181, 218, 255, 0.5), rgba(181, 218, 255, 0));
  filter: blur(14px);
  animation: hero-soft-aura 900ms ease-out var(--dust-delay) 1;
}

.hero-flying::after,
.hero-point::after {
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 242, 181, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 22%, rgba(222, 238, 255, 0.86) 0 1.8px, transparent 3px),
    radial-gradient(circle at 54% 64%, rgba(255, 247, 207, 0.92) 0 2.2px, transparent 3px),
    radial-gradient(circle at 70% 30%, rgba(206, 230, 255, 0.86) 0 1.8px, transparent 3px),
    radial-gradient(circle at 86% 54%, rgba(255, 242, 181, 0.9) 0 2px, transparent 3px);
  filter: drop-shadow(0 0 8px rgba(203, 230, 255, 0.48));
  animation: hero-stardust-burst 1000ms cubic-bezier(0.2, 0.75, 0.22, 1) var(--dust-delay) 1;
}

@media (hover: hover) and (pointer: fine) {
  .hero-flying:hover {
    transform: translateY(calc(-50% - 14px)) rotate(-2deg);
  }

  .hero-flying:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 10px 18px rgba(9, 13, 46, 0.38));
  }

  .hero-point:hover {
    transform: translateY(calc(-50% - 12px)) rotate(1.5deg);
  }

  .hero-point:hover img {
    transform: scale(1.025);
    filter: drop-shadow(0 10px 18px rgba(9, 13, 46, 0.34));
  }
}

.hero-stage {
  position: relative;
  min-height: auto;
  border: 0;
  border-radius: var(--radius-xl);
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.hero-stage-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.star-blob {
  position: absolute;
  width: 280px;
  height: 280px;
  left: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(247, 222, 104, 0.3), transparent 70%);
}

.stage-card {
  border: 2px solid #ffffff;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(33, 40, 109, 0.24);
}

.stage-card-main {
  position: relative;
  z-index: 2;
  padding: 18px;
  min-height: 290px;
}

.stage-kicker {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: #5761cc;
}

.stage-card-main h2 {
  font-size: 1.8rem;
}

.stage-card-main p {
  margin-top: 10px;
  color: var(--muted-on-card);
  line-height: 1.56;
}

.asset-placeholder {
  margin-top: 16px;
  min-height: 126px;
  border: 2px dashed #aeb4f4;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(139, 223, 212, 0.26), rgba(247, 191, 210, 0.24)),
    #f9faff;
  color: #5a66b4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 700;
}

.stage-card-side {
  position: absolute;
  width: 180px;
  padding: 13px 14px;
  z-index: 3;
}

.stage-card-side h3 {
  margin-top: 8px;
  font-size: 1.05rem;
}

.stage-card-left {
  left: 16px;
  bottom: 16px;
}

.stage-card-right {
  right: 16px;
  top: 16px;
}

.section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.section-title p {
  margin-top: 12px;
  color: var(--muted-on-night);
  text-shadow: 0 2px 10px rgba(15, 20, 60, 0.36);
  font-size: clamp(1.08rem, 1.9vw, 1.36rem);
  line-height: 1.62;
}

.section-title h2 {
  color: var(--text-on-night);
  text-shadow: 0 2px 10px rgba(15, 20, 60, 0.42);
}

.section-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 36px;
  border: 2px solid rgba(164, 194, 255, 0.35);
  padding: 34px 22px 30px;
  background:
    radial-gradient(680px 260px at 12% -12%, rgba(120, 212, 255, 0.16), transparent 70%),
    radial-gradient(620px 260px at 90% 8%, rgba(165, 138, 255, 0.15), transparent 72%),
    linear-gradient(180deg, rgba(27, 35, 105, 0.92) 0%, rgba(17, 24, 79, 0.96) 100%);
  box-shadow:
    0 26px 44px rgba(8, 12, 42, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(110, 136, 234, 0.2);
  backdrop-filter: blur(2px);
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.6px),
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1.6px),
    radial-gradient(circle at 44% 18%, rgba(210, 229, 255, 0.25) 0 1px, transparent 1.6px),
    radial-gradient(circle at 68% 24%, rgba(188, 223, 255, 0.24) 0 1px, transparent 1.6px),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1.5px),
    radial-gradient(circle at 18% 72%, rgba(188, 223, 255, 0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 58% 76%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.5px);
  opacity: 0.75;
  pointer-events: none;
}

.section-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 26%),
    radial-gradient(110% 120% at 50% 112%, rgba(8, 13, 44, 0.32), transparent 70%);
  pointer-events: none;
}

.section-band > * {
  position: relative;
  z-index: 1;
}

.section-band .kicker {
  color: #c8dbff;
}

.section-band .section-title h2 {
  color: #edf4ff;
}

.section-band .section-title p {
  color: #cdd9ff;
}

.showcase-cosmic .kicker {
  color: #c9dcff;
}

.showcase-cosmic .section-title p {
  color: #dce6ff;
}

.cosmic-gallery-stage {
  position: relative;
  margin-top: 26px;
  padding: 28px 20px 22px;
  border-radius: 34px;
  border: 2px solid rgba(180, 202, 255, 0.7);
  background:
    radial-gradient(620px 260px at 14% -10%, rgba(127, 205, 255, 0.2), transparent 70%),
    radial-gradient(540px 260px at 92% 8%, rgba(154, 133, 255, 0.22), transparent 72%),
    linear-gradient(180deg, rgba(14, 21, 74, 0.72), rgba(10, 15, 55, 0.82));
  box-shadow:
    0 26px 44px rgba(8, 11, 40, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(117, 143, 235, 0.28);
  overflow: hidden;
}

.cosmic-gallery-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 26% 28%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.6px),
    radial-gradient(circle at 44% 18%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.7px),
    radial-gradient(circle at 68% 24%, rgba(190, 223, 255, 0.3) 0 1px, transparent 1.6px),
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.6px),
    radial-gradient(circle at 16% 72%, rgba(190, 223, 255, 0.24) 0 1px, transparent 1.5px),
    radial-gradient(circle at 58% 76%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1.5px);
  pointer-events: none;
}

.cosmic-gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, transparent 74%, rgba(101, 122, 228, 0.2) 100%);
  pointer-events: none;
}

.cosmic-nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.cosmic-nebula-a {
  width: 360px;
  height: 220px;
  top: -80px;
  left: -30px;
  background: radial-gradient(circle at center, rgba(111, 222, 255, 0.32), rgba(111, 222, 255, 0));
}

.cosmic-nebula-b {
  width: 420px;
  height: 240px;
  top: -60px;
  right: -40px;
  background: radial-gradient(circle at center, rgba(183, 138, 255, 0.34), rgba(183, 138, 255, 0));
}

.cosmic-ring {
  position: absolute;
  border: 1px solid rgba(173, 193, 255, 0.3);
  border-radius: 999px;
  pointer-events: none;
}

.cosmic-ring-a {
  width: 136%;
  height: 150px;
  left: -18%;
  top: 34%;
}

.cosmic-ring-b {
  width: 118%;
  height: 120px;
  left: -9%;
  top: 62%;
  border-color: rgba(133, 223, 255, 0.24);
}

.cosmic-gallery-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 6px 2px;
  align-items: end;
}

.cosmic-slot {
  min-height: 360px;
  border-radius: 16px;
}

.cosmic-slot-empty {
  border: 1px dashed rgba(165, 187, 255, 0.3);
  background:
    radial-gradient(180px 130px at 50% 30%, rgba(136, 170, 255, 0.12), transparent 70%),
    rgba(15, 22, 74, 0.14);
  box-shadow: inset 0 0 0 1px rgba(201, 219, 255, 0.04);
}

.showcase-book {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #eef5ff;
  display: grid;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  filter: blur(2px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.22, 0.9, 0.3, 1),
    filter 520ms ease;
}

#showcase.is-visible .showcase-book {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

#showcase.is-visible .showcase-book:nth-child(1) {
  transition-delay: 80ms;
}

#showcase.is-visible .showcase-book:nth-child(2) {
  transition-delay: 180ms;
}

.showcase-book:hover {
  transform: translateY(-4px);
  filter: brightness(1.04);
}

.showcase-book:focus-visible {
  outline: 3px solid rgba(255, 242, 200, 0.9);
  outline-offset: 2px;
}

.showcase-book-shadow {
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(14, 18, 52, 0.54), rgba(14, 18, 52, 0));
}

.showcase-book-cover {
  position: relative;
  border-radius: 12px;
  border: 2px solid rgba(218, 231, 255, 0.84);
  overflow: hidden;
  box-shadow:
    0 14px 24px rgba(8, 11, 40, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.showcase-book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 10, 26, 0.04), rgba(13, 10, 26, 0.52)),
    linear-gradient(105deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.showcase-book-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
}

.showcase-book-theme {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.86);
}

.showcase-book-title {
  margin: 0;
  color: #edf4ff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.05;
  min-height: 2.1em;
  text-shadow: 0 2px 10px rgba(8, 11, 40, 0.56);
}

.showcase-book-author {
  margin: 0;
  color: #cfdcff;
  font-size: 1rem;
  font-weight: 700;
}

.showcase-cta {
  justify-content: center;
}

.showcase-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
}

.showcase-modal.is-open {
  display: flex;
}

.showcase-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 35, 0.7);
  backdrop-filter: blur(5px);
}

.showcase-modal-dialog {
  position: relative;
  width: min(980px, calc(100% - 22px));
  max-height: calc(100vh - 22px);
  z-index: 1;
  overflow: auto;
  border: 3px solid #7b5f49;
  border-radius: 28px;
  background:
    radial-gradient(460px 280px at 50% 0%, rgba(255, 231, 188, 0.62), transparent 72%),
    linear-gradient(180deg, #fffdf8 0%, #f5f7ff 100%);
  box-shadow: 0 30px 56px rgba(14, 8, 24, 0.54);
  padding: 20px 20px 22px;
}

.showcase-modal-close {
  margin-left: auto;
  display: block;
  border: 2px solid #d6c9b7;
  border-radius: 999px;
  background: #ffffff;
  color: #6a4b36;
  padding: 5px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.showcase-modal-head {
  margin-top: 10px;
}

.showcase-modal-head .kicker {
  color: #8f6144;
  text-shadow: none;
}

.showcase-modal-head h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #2a3376;
}

.showcase-modal-meta {
  margin: 10px 0 0;
  color: #5e67ac;
  font-size: 0.95rem;
  font-weight: 700;
}

.showcase-modal-viewer {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.showcase-page-nav {
  border: 2px solid #d4d9ff;
  border-radius: 999px;
  background: #ffffff;
  color: #3f4898;
  padding: 10px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.showcase-page-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.showcase-page {
  margin: 0;
  border: 2px solid #cbd2ff;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(67, 78, 176, 0.18);
  padding: 12px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
  align-items: stretch;
}

.showcase-page img {
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  border-radius: 12px;
  object-fit: contain;
  background: #eef2ff;
  border: 1px solid #d4dcff;
}

.showcase-page figcaption {
  margin: 0;
  color: #38418a;
  font-size: clamp(1.16rem, 1.9vw, 1.45rem);
  font-weight: 700;
  line-height: 1.68;
  white-space: pre-line;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(260px, 42vw, 520px);
  padding: 10px 12px;
}

.showcase-page-indicator {
  margin: 12px 0 0;
  text-align: center;
  color: #5a61a7;
  font-size: 0.92rem;
  font-weight: 700;
}

.showcase-modal-actions {
  margin-top: 12px;
  justify-content: center;
}

.panel .kicker {
  color: #4e58b6;
  text-shadow: none;
}

.panel .section-title h2 {
  color: var(--text-on-card);
  text-shadow: none;
}

.panel .section-title p {
  color: var(--muted-on-card);
  text-shadow: none;
}

#characters .kicker {
  color: #cfd9ff;
  text-shadow: 0 2px 8px rgba(12, 18, 64, 0.34);
}

#story-banner .kicker {
  color: #fff2a8;
  text-shadow: 0 2px 10px rgba(10, 14, 50, 0.44);
  font-size: 1.34rem;
}

#characters .section-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#characters .section-title h2 {
  color: #f4f7ff;
  text-shadow: 0 2px 10px rgba(12, 18, 64, 0.38);
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  line-height: 0.9;
  width: 100%;
}

#characters .section-title p {
  color: #fff2a8;
  text-shadow: 0 2px 8px rgba(12, 18, 64, 0.3);
}

#pricing .kicker {
  color: #5f6eb3;
  text-shadow: none;
}

#pricing .section-title h2 {
  color: #303d86;
  text-shadow: none;
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  line-height: 0.93;
}

#pricing .section-title p {
  color: #5f6ca7;
  text-shadow: none;
}

/* Match key copy color to MALANGBOOK MOMENT kicker tone */
#hero .kicker,
.hero-text,
#showcase .kicker,
#showcase .section-title p,
#characters .section-title p,
#how .kicker,
#faq .kicker,
.dream-banner .kicker,
.dream-banner-inner > p:not(.kicker) {
  color: #fff2a8;
  -webkit-text-stroke: 1px rgba(15, 23, 82, 0.78);
  text-shadow:
    0 1px 0 rgba(15, 23, 82, 0.94),
    1px 0 0 rgba(15, 23, 82, 0.68),
    -1px 0 0 rgba(15, 23, 82, 0.68),
    0 5px 14px rgba(7, 12, 44, 0.72),
    0 0 16px rgba(255, 236, 150, 0.24);
  paint-order: stroke fill;
}

#hero .kicker,
#showcase .kicker,
#how .kicker,
#faq .kicker,
.dream-banner .kicker {
  font-weight: 900;
}

.hero-text,
#showcase .section-title p,
#characters .section-title p,
.dream-banner-inner > p:not(.kicker) {
  font-weight: 900;
}

.faq-question::after {
  color: #fff2a8;
  font-size: 1.16rem;
  text-shadow:
    0 1px 0 rgba(15, 23, 82, 0.92),
    0 0 10px rgba(255, 235, 145, 0.3);
}

#hero .kicker {
  font-size: 1.36rem;
}

#showcase .kicker {
  font-size: 1.02rem;
}

#how .kicker {
  font-size: 1.24rem;
}

#faq .kicker {
  font-size: 1.32rem;
}

#showcase .section-title p,
#characters .section-title p {
  font-size: clamp(1.16rem, 1.82vw, 1.42rem);
}

.hero-text {
  font-size: clamp(1.26rem, 2.12vw, 1.68rem);
}

#pricing {
  border: 1.5px solid rgba(214, 222, 250, 0.86);
  border-radius: 36px;
  background:
    radial-gradient(540px 220px at 8% -6%, rgba(180, 211, 255, 0.24), transparent 72%),
    radial-gradient(520px 220px at 92% 4%, rgba(216, 200, 255, 0.2), transparent 72%),
    linear-gradient(180deg, rgba(246, 249, 255, 0.94), rgba(238, 243, 255, 0.94));
  box-shadow: 0 14px 30px rgba(82, 94, 178, 0.14);
  padding: 36px 26px 30px;
}

.explore-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.explore-card {
  position: relative;
  min-height: 0;
  border: 1.5px solid rgba(186, 208, 255, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 21, 66, 0.72), rgba(10, 16, 50, 0.84));
  color: #eef3ff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 12px 24px rgba(7, 10, 33, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(180px 120px at 14% -8%, rgba(132, 214, 255, 0.2), transparent 70%),
    radial-gradient(200px 120px at 86% -10%, rgba(175, 152, 255, 0.18), transparent 72%);
  opacity: 0.65;
  pointer-events: none;
}

.explore-card-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.explore-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(9, 16, 52, 0.5)),
    linear-gradient(112deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.explore-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease, filter 220ms ease;
  filter: saturate(1.04);
}

.explore-card-body {
  padding: 13px 13px 15px;
  display: grid;
  gap: 6px;
}

.explore-card h3 {
  margin: 0;
  font-size: 1.36rem;
  color: #eef3ff;
  line-height: 1.12;
}

.explore-card p {
  margin: 0;
  color: #b8c6f6;
  font-size: 1.05rem;
  line-height: 1.42;
}

.explore-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow:
    0 16px 28px rgba(6, 10, 35, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  border-color: rgba(223, 234, 255, 0.5);
}

.explore-card:hover .explore-card-media img {
  transform: scale(1.03);
}

.explore-card:focus-visible {
  outline: 2px solid rgba(229, 240, 255, 0.88);
  outline-offset: 2px;
}

.how-list {
  margin-top: 30px;
  display: grid;
  gap: 12px;
  position: relative;
  padding-left: 0;
}

.how-list::before {
  content: none;
}

.how-card {
  display: block;
  border: 1.5px solid rgba(180, 204, 255, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20, 31, 98, 0.74), rgba(12, 21, 75, 0.86));
  padding: 13px 18px;
  box-shadow:
    0 10px 20px rgba(6, 10, 34, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}

.how-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px 18px;
  padding: 0;
  max-width: none;
}

.how-text {
  display: grid;
  gap: 6px;
  justify-items: center;
  width: 100%;
}

.how-step {
  min-width: 46px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(250, 240, 214, 0.92);
  background: linear-gradient(145deg, #ffedbf, #f8d98b);
  color: #6a4a22;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(18, 24, 84, 0.2);
  position: relative;
  z-index: 1;
}

.how-copy h3 {
  margin: 0;
  font-size: clamp(1.34rem, 1.95vw, 1.76rem);
  color: #edf4ff;
  line-height: 1.16;
  text-align: center;
}

.how-copy p {
  margin: 0;
  color: #b8c7f7;
  line-height: 1.45;
  font-size: 1.08rem;
  text-align: center;
  max-width: 1080px;
}

.panel {
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 246, 255, 0.92));
  box-shadow: 0 12px 28px rgba(63, 70, 162, 0.12);
  padding: 26px 22px;
}

.chip-list {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chip-list span {
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 8px 13px;
  color: #2a3272;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 6px 0 rgba(84, 92, 192, 0.15);
}

.chip-list span:nth-child(5n + 1) {
  background: #d2d7ff;
}

.chip-list span:nth-child(5n + 2) {
  background: #f9d2df;
}

.chip-list span:nth-child(5n + 3) {
  background: #c9efe9;
}

.chip-list span:nth-child(5n + 4) {
  background: #ffe2bf;
}

.chip-list span:nth-child(5n + 5) {
  background: #e1ddff;
}

#characters .chip-list {
  gap: 16px 22px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

#characters .chip-list span {
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 11px 19px;
  color: #2f3b82;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
  box-shadow: 0 5px 12px rgba(18, 28, 86, 0.22);
}

#characters .chip-list span:nth-child(5n + 1) {
  background: #dbe3ff;
}

#characters .chip-list span:nth-child(5n + 2) {
  background: #ffe0ea;
}

#characters .chip-list span:nth-child(5n + 3) {
  background: #d8f4ee;
}

#characters .chip-list span:nth-child(5n + 4) {
  background: #ffeccb;
}

#characters .chip-list span:nth-child(5n + 5) {
  background: #e8e2ff;
}

.thumb-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.thumb-row span {
  min-height: 78px;
  border: 2px dashed #b3b9f6;
  border-radius: 16px;
  background: #f3f5ff;
  color: #5d68b5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.pricing-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1.5px solid #d8ddf8;
  border-radius: 26px;
  background: linear-gradient(180deg, #f5f8ff 0%, #eff3ff 100%);
  box-shadow: 0 8px 20px rgba(92, 104, 186, 0.12);
  color: var(--text-on-card);
  padding: 26px 22px 22px;
  min-height: 270px;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #e0e6ff 0%, #edf1ff 50%, #e0e6ff 100%);
  z-index: 1;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: -20% -42%;
  background: linear-gradient(
    112deg,
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0.16) 48%,
    rgba(255, 255, 255, 0) 64%
  );
  transform: translateX(-36%);
  transition: transform 260ms ease;
  pointer-events: none;
  z-index: 1;
}

.pricing-card > * {
  position: relative;
  z-index: 2;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(92, 104, 186, 0.16);
}

.pricing-card:hover::after {
  transform: translateX(0);
}

.pricing-card h3 {
  margin-top: 14px;
  font-size: 2.25rem;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d8ddf8;
  background: #edf0ff;
  color: #4b58a6;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(92, 104, 186, 0.1);
}

.pricing-price {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.6vw, 3.3rem);
  line-height: 0.95;
  color: #33408b;
}

.pricing-meta {
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #6270aa;
}

.pricing-grid .pricing-card:nth-child(1) {
  background: linear-gradient(180deg, #f7f3ff 0%, #f2eeff 100%);
  border-color: #ddd8f6;
}

.pricing-grid .pricing-card:nth-child(3) {
  background: linear-gradient(180deg, #eef6ff 0%, #e9f2ff 100%);
  border-color: #d6e3f7;
}

.pricing-card.is-featured {
  border-color: #d1cbff;
  background: linear-gradient(180deg, #eae7ff 0%, #e3e0ff 100%);
  color: #2f3b82;
  box-shadow: 0 10px 24px rgba(92, 104, 186, 0.15);
  transform: translateY(-3px);
}

.pricing-card.is-featured::before {
  background: linear-gradient(90deg, #e4ddff 0%, #dae5ff 50%, #e4ddff 100%);
  height: 7px;
}

.pricing-card.is-featured h3,
.pricing-card.is-featured .pricing-price,
.pricing-card.is-featured .pricing-meta {
  color: #2f3b82;
}

.pricing-card.is-featured .pricing-badge {
  border-color: #d7d2ff;
  background: #f7f5ff;
  color: #4c57a8;
}

.pricing-note {
  margin: 18px 0 0;
  text-align: center;
  color: #5f6ca7;
  text-shadow: none;
  font-size: 1.16rem;
  font-weight: 700;
}

.dream-banner-inner {
  position: relative;
  isolation: auto;
  overflow: visible;
  margin-top: 8px;
  border: 0;
  border-radius: 0;
  min-height: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  display: grid;
  place-items: center;
  text-align: center;
}

.dream-banner-inner::before {
  content: none;
}

.dream-banner h2 {
  margin: 8px 0 0;
  color: #f9fbff;
  text-shadow: 0 2px 14px rgba(10, 14, 50, 0.54);
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  line-height: 0.9;
}

.dream-banner-inner > p:not(.kicker) {
  margin: 12px 0 0;
  max-width: min(1400px, 96vw);
  color: #fff2a8;
  text-shadow: 0 2px 12px rgba(10, 14, 50, 0.46);
  line-height: 1.58;
  font-size: clamp(1.2rem, 2.08vw, 1.62rem);
  white-space: nowrap;
}

.dream-banner .hero-actions {
  margin-top: 18px;
  justify-content: center;
}

.faq-list {
  margin: 24px auto 0;
  max-width: 920px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 2px solid #6a70dc;
  border-radius: 16px;
  background: linear-gradient(180deg, #6d75e6 0%, #565ecf 100%);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 800;
  color: #ffffff;
  padding: 15px 18px;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  color: #ffefad;
  font-weight: 800;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: rgba(246, 249, 255, 0.95);
  font-size: 1.02rem;
  line-height: 1.56;
  padding: 0 18px;
  transition: max-height 260ms ease, padding-bottom 200ms ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  padding-bottom: 15px;
}

.footer {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto;
  padding: 12px 14px 14px;
  color: #eef1ff;
  font-size: 0.8rem;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.footer-mascot {
  position: absolute;
  right: -24px;
  bottom: 100%;
  width: clamp(250px, 24vw, 360px);
  height: auto;
  pointer-events: none;
  z-index: 3;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 18px 18px 0 0;
  border: 2px solid #4f56c6;
  border-bottom: 0;
  background:
    radial-gradient(360px 200px at 8% 0%, rgba(255, 239, 173, 0.15), transparent 72%),
    linear-gradient(180deg, #6168dd 0%, #4d55c2 100%);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 0.95;
  color: #ffffff;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.footer-links a {
  border: 1px solid rgba(222, 228, 255, 0.82);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f6f8ff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background-color 170ms ease, transform 170ms ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.footer-business {
  display: grid;
  gap: 2px;
}

.footer-business p {
  margin: 0;
  color: rgba(237, 241, 255, 0.9);
  font-size: 0.74rem;
  line-height: 1.28;
}

.footer-copy {
  margin: 0;
  color: rgba(222, 229, 255, 0.86);
  font-size: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: none;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.btn-lg {
  padding: 12px 18px;
  font-size: 1.12rem;
}

.btn-fill {
  background: linear-gradient(180deg, #6970e4 0%, #5058ca 100%);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: var(--shadow-bubble);
}

.btn-fill:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  border-color: #c9ceff;
  color: #36408e;
  box-shadow: 0 6px 0 rgba(131, 138, 225, 0.2);
}

.btn-outline:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-slow {
  animation: float 6.6s ease-in-out infinite;
}

.float-fast {
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1120px) {
  .explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 960px) {
  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
    justify-content: stretch;
  }

  .showcase-page {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
    padding-bottom: 0;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-point {
    right: -8%;
    top: 82%;
    width: min(340px, 48vw);
    opacity: 1;
    transform: translateY(-50%);
  }

  .hero-flying {
    left: -12%;
    top: 85%;
    width: min(420px, 56vw);
  }

  .top-nav {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    gap: 8px;
    padding-top: 0;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    font-size: 0.94rem;
    padding: 6px 9px;
  }

  .top-actions .btn {
    font-size: 0.88rem;
    padding: 7px 10px;
  }

  .cosmic-gallery-grid {
    grid-template-columns: repeat(2, minmax(180px, 280px));
    justify-content: center;
  }

  .cosmic-slot-empty {
    display: none;
  }

  .dream-banner-inner > p:not(.kicker) {
    white-space: normal;
    max-width: min(820px, 100%);
  }

  .how-copy {
    max-width: none;
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
  }

  .how-copy h3 {
    font-size: clamp(1.22rem, 2.5vw, 1.46rem);
  }

  .how-copy p {
    font-size: 1.02rem;
    line-height: 1.42;
  }

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

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

  #pricing {
    padding: 30px 18px 24px;
  }

  .pricing-card {
    min-height: 238px;
    padding: 22px 16px 18px;
  }

  .pricing-card h3 {
    font-size: 2.05rem;
  }

  .pricing-price {
    font-size: clamp(2.2rem, 5.2vw, 2.9rem);
  }

  .pricing-card.is-featured {
    grid-column: auto;
  }

  #characters .chip-list {
    gap: 12px 14px;
  }

  #characters .chip-list span {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

}

@media (max-width: 960px) and (min-width: 701px) {
  .topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
  }

  .logo {
    min-width: 0;
    gap: 6px;
    flex: 0 0 auto;
  }

  .logo-image {
    width: 54px;
    height: 54px;
  }

  .logo-wordmark {
    width: 112px;
  }

  .top-nav {
    order: 0;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    font-size: 0.94rem;
    padding: 6px 9px;
    white-space: nowrap;
  }

  .top-actions {
    margin-left: auto;
    gap: 6px;
    flex: 0 0 auto;
  }

  .top-actions .btn {
    font-size: 0.84rem;
    padding: 7px 10px;
  }
}

@media (max-width: 700px) {
  .cosmic-gallery-stage {
    padding: 22px 10px 14px;
    border-radius: 24px;
  }

  .cosmic-gallery-grid {
    grid-template-columns: 1fr;
    padding: 12px 8px 4px;
    gap: 10px;
  }

  .cosmic-slot-empty {
    display: none;
  }

  .showcase-book-title {
    font-size: 1.08rem;
  }

  .showcase-book-author {
    font-size: 0.9rem;
  }

  .showcase-modal-dialog {
    width: calc(100% - 12px);
    max-height: calc(100vh - 12px);
    padding: 14px 12px 16px;
    border-radius: 18px;
  }

  .showcase-modal-viewer {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .showcase-page-nav {
    width: 100%;
  }

  .topbar {
    width: calc(100% - 14px);
    padding: 10px;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .logo {
    min-width: 0;
    gap: 6px;
    flex: 0 0 auto;
    justify-self: start;
  }

  .logo-image {
    width: 40px;
    height: 40px;
  }

  .logo-wordmark {
    width: 86px;
  }

  .top-actions {
    gap: 5px;
    margin-left: 0;
    flex: 0 0 auto;
    justify-self: end;
  }

  .top-nav {
    display: none;
  }

  .top-actions .btn {
    font-size: 0.78rem;
    padding: 6px 9px;
  }

  .btn {
    padding: 8px 12px;
    font-size: 0.92rem;
  }

  .section {
    width: calc(100% - 16px);
    padding: 58px 0;
  }

  .hero-stage {
    min-height: auto;
    padding: 0;
  }

  .hero-point {
    width: min(240px, 52vw);
    right: -8%;
    top: 84%;
    opacity: 0.95;
  }

  .hero-flying {
    left: -18%;
    top: 87%;
    width: min(270px, 60vw);
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-text {
    max-width: 26ch;
  }

  .stage-card-side {
    width: auto;
    position: static;
    margin-top: 10px;
  }

  .section-band {
    padding: 26px 14px;
  }

  .how-card {
    padding: 12px 14px;
  }

  .how-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .how-copy h3 {
    font-size: clamp(1.16rem, 6vw, 1.38rem);
  }

  .how-copy p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .explore-grid,
  .thumb-row {
    grid-template-columns: 1fr;
  }

  #characters .chip-list {
    gap: 10px 10px;
  }

  #characters .chip-list span {
    padding: 9px 14px;
    font-size: 0.9rem;
  }

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

  #pricing {
    padding: 26px 14px 20px;
  }

  .pricing-card {
    min-height: auto;
    padding: 20px 14px 16px;
  }

  .pricing-card h3 {
    font-size: 1.9rem;
  }

  .pricing-price {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .pricing-meta {
    font-size: 0.94rem;
  }

  .pricing-card.is-featured {
    grid-column: auto;
  }

  .footer {
    width: calc(100% - 16px);
    padding: 10px 10px 12px;
    gap: 6px;
  }

  .footer-mascot {
    right: -12px;
    bottom: 100%;
    width: clamp(180px, 42vw, 280px);
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links a {
    font-size: 0.7rem;
    padding: 3px 7px;
  }

  .footer-business p {
    font-size: 0.68rem;
    line-height: 1.22;
  }

  .footer-copy {
    font-size: 0.66rem;
  }

  .aura {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .float-fast,
  .float-slow {
    animation: none !important;
  }

  .bg-stars,
  .bg-stars::before,
  .bg-stars::after {
    animation: none !important;
  }

  .hero-copy h1::before,
  .hero-copy h1::after,
  .hero-title-stars .star,
  .hero-copy h1:hover .hero-title-glow,
  .hero-flying::before,
  .hero-flying::after,
  .hero-point::before,
  .hero-point::after,
  .hero-flying,
  .hero-flying img,
  .hero-point,
  .hero-point img {
    animation: none !important;
    transition: none !important;
  }
}
