:root {
  --sky: #72c9ff;
  --sky-deep: #2f8bd4;
  --yellow: #ffd24d;
  --gold: #e8a82e;
  --red: #d8392f;
  --blue: #1467b3;
  --denim: #0d4f92;
  --wood: #9b5527;
  --wood-dark: #5a2f18;
  --cream: #fff2c7;
  --paper: #fff7dd;
  --ink: #2b170d;
  --green: #1f8b56;
  --shadow: 0 18px 42px rgba(82, 43, 12, 0.24);
  --radius: 18px;
  --western: "Rye", Georgia, serif;
  --round: "Nunito", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.8), transparent 12rem),
    linear-gradient(180deg, var(--sky), #b9ebff 34%, #f6c85c 34%, #d98835 100%);
  font-family: var(--round);
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sky-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 8rem;
  height: 3rem;
  border-radius: 999px;
  background: #fff;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.05));
  opacity: 0.8;
  animation: drift 22s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0.6rem;
  border-radius: 50%;
  background: #fff;
}

.cloud::before {
  left: 1rem;
  width: 3rem;
  height: 3rem;
}

.cloud::after {
  right: 1.2rem;
  width: 3.7rem;
  height: 3.7rem;
}

.c1 {
  top: 10%;
  left: -9rem;
}

.c2 {
  top: 25%;
  left: -13rem;
  animation-duration: 29s;
  animation-delay: -8s;
}

.c3 {
  top: 6%;
  left: -12rem;
  transform: scale(0.7);
  animation-duration: 34s;
  animation-delay: -16s;
}

@keyframes drift {
  to {
    transform: translateX(calc(100vw + 18rem));
  }
}

.intro-scene {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(85, 186, 250, 0.96), rgba(187, 235, 255, 0.92) 55%, rgba(222, 142, 58, 0.96) 56%),
    var(--sky);
  transition: opacity 700ms ease, visibility 700ms ease, transform 700ms ease;
}

.intro-scene.is-open {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-sun {
  position: absolute;
  top: 7%;
  right: 11%;
  width: clamp(6rem, 20vw, 11rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff2a5 0 28%, var(--yellow) 29% 100%);
  box-shadow: 0 0 70px rgba(255, 210, 77, 0.8);
}

.intro-cloud {
  position: absolute;
  width: clamp(7rem, 24vw, 14rem);
  opacity: 0.9;
}

.intro-cloud-one {
  top: 8%;
  left: 12%;
  animation: bob 5s ease-in-out infinite;
}

.intro-cloud-two {
  top: 20%;
  right: 5%;
  animation: bob 5s ease-in-out infinite reverse;
}

.intro-ground {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 28svh;
  display: flex;
  align-items: end;
  justify-content: space-around;
  padding-inline: 1rem;
  background:
    radial-gradient(circle at 22% 0, rgba(255, 226, 125, 0.35), transparent 16rem),
    linear-gradient(180deg, #df8d39, #a85621);
}

.intro-ground img {
  width: clamp(4.5rem, 18vw, 10rem);
  max-height: 70%;
  object-fit: contain;
}

.character-img {
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(72, 35, 10, 0.24));
}

.intro-woody {
  position: absolute;
  z-index: 2;
  left: clamp(0.75rem, 4vw, 3.25rem);
  bottom: 20svh;
  width: clamp(6.4rem, 16vw, 12rem);
  animation: bob 3.4s ease-in-out infinite;
}

.intro-bullseye {
  position: absolute;
  z-index: 2;
  right: clamp(0.75rem, 4vw, 3.25rem);
  bottom: 20svh;
  width: clamp(6.2rem, 15vw, 11.5rem);
  animation: bob 3.8s ease-in-out 0.45s infinite reverse;
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

.wood-sign {
  position: relative;
  width: min(92vw, 560px);
  padding: clamp(1.3rem, 5vw, 2.4rem);
  text-align: center;
  border: 8px solid var(--wood-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 35%, rgba(0, 0, 0, 0.1)),
    repeating-linear-gradient(90deg, #b86b32 0 42px, #a95d2b 43px 84px);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 236, 169, 0.4);
  color: var(--cream);
}

.wood-sign::before,
.wood-sign::after {
  content: "";
  position: absolute;
  top: -1.2rem;
  width: 1rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--wood-dark);
}

.wood-sign::before {
  left: 14%;
}

.wood-sign::after {
  right: 14%;
}

.intro-sign {
  z-index: 3;
  transform: rotate(-1deg);
  animation: signSettle 900ms ease-out both;
}

@keyframes signSettle {
  0% {
    transform: rotate(-2deg) translateY(-6px);
  }
  60% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(-1deg);
  }
}

.intro-line {
  margin: 0.25rem 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.snake-line {
  color: var(--yellow);
  animation: popIn 500ms ease 450ms both;
}

.invite-line {
  font-size: clamp(1.3rem, 7vw, 2.5rem);
  animation: popIn 500ms ease 650ms both;
}

@keyframes popIn {
  from {
    transform: scale(0.86);
    opacity: 0;
  }
}

.wood-sign h1,
.section-title h2,
.hero-copy h2,
.mission-copy h2,
.map-board h2,
.wood-sign h2,
.final-scene h2 {
  margin: 0;
  font-family: var(--western);
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 2px 3px 0 rgba(90, 47, 24, 0.14);
}

.wood-sign h1 {
  font-size: clamp(2.5rem, 14vw, 5.8rem);
  color: #fff;
}

.wood-sign strong {
  display: block;
  color: var(--yellow);
  font-size: clamp(1.2rem, 5vw, 2rem);
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.1rem;
  border: 3px solid rgba(43, 23, 13, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 0 rgba(43, 23, 13, 0.18), 0 16px 22px rgba(43, 23, 13, 0.16);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:active {
  transform: translateY(5px);
  box-shadow: 0 3px 0 rgba(43, 23, 13, 0.2);
}

.btn-primary {
  background: linear-gradient(180deg, #ffe174, var(--gold));
}

.btn-secondary {
  background: linear-gradient(180deg, #fbfcff, #a9d8ff);
  color: var(--denim);
}

.btn-whatsapp {
  background: linear-gradient(180deg, #61e292, #1fb766);
  color: #fff;
}

.open-btn {
  margin-top: 1.2rem;
}

.page {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.page.is-visible {
  opacity: 1;
  transform: none;
}

.section-panel {
  position: relative;
  width: min(100%, 1180px);
  min-height: min(900px, 100svh);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 2rem);
  overflow: hidden;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100svh;
  text-align: center;
}

.hero::after,
.section-panel::after {
  content: "";
  position: absolute;
  inset: auto -2rem 0;
  height: 8rem;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 0, #e8a448 0 18%, transparent 19%),
    linear-gradient(180deg, #db8b37, #bb6427);
}

.hero-cloud {
  position: absolute;
  width: clamp(7rem, 28vw, 18rem);
}

.hcloud-1 {
  top: 9%;
  left: 3%;
}

.hcloud-2 {
  top: 19%;
  right: 4%;
}

.hero-woody,
.hero-jessie,
.hero-bullseye {
  position: absolute;
  pointer-events: none;
}

.hero-woody {
  left: -0.5rem;
  bottom: 14%;
  width: clamp(7rem, 24vw, 15rem);
}

.hero-jessie {
  right: -0.5rem;
  bottom: 14%;
  width: clamp(7rem, 24vw, 15rem);
}

.hero-bullseye {
  left: 50%;
  bottom: 5%;
  width: clamp(7rem, 22vw, 14rem);
  transform: translateX(-50%);
}

.floaty {
  animation: bob 3.2s ease-in-out infinite;
}

.delay {
  animation-delay: -1.1s;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(92vw, 620px);
  padding: clamp(1.4rem, 6vw, 3rem);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 247, 221, 0.96), rgba(255, 230, 142, 0.94)),
    var(--paper);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 4px 0 rgba(77, 23, 17, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h2 {
  margin-top: 0.9rem;
  color: var(--blue);
  font-size: clamp(3.6rem, 18vw, 8rem);
}

.hero-title {
  margin: 0;
  color: var(--red);
  font-family: var(--western);
  font-size: clamp(1.5rem, 8vw, 3.2rem);
}

.hero-subtitle {
  margin: 0.75rem auto 1.2rem;
  max-width: 32rem;
  font-size: clamp(1rem, 4.4vw, 1.35rem);
  font-weight: 900;
}

.toy-floor {
  position: absolute;
  inset: auto 0 1rem;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 7vw, 5rem);
  pointer-events: none;
}

.toy-floor img {
  width: clamp(3.5rem, 14vw, 7rem);
  object-fit: contain;
}

.section-title {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-title h2 {
  margin-top: 0.75rem;
  color: var(--denim);
  font-size: clamp(2.2rem, 10vw, 5rem);
}

.photo-section {
  display: grid;
  align-content: center;
}

.sheriff-frame {
  position: relative;
  width: min(88vw, 520px);
  margin: 0 auto;
  padding: clamp(0.85rem, 3vw, 1.2rem);
  transform: rotate(-1.5deg);
  border: 10px solid var(--wood-dark);
  border-radius: 26px;
  background: repeating-linear-gradient(90deg, #b76b32 0 38px, #965121 39px 76px);
  box-shadow: var(--shadow);
}

.kid-photo {
  aspect-ratio: 4 / 5;
  border: 8px solid var(--cream);
  border-radius: 16px;
  object-fit: cover;
}

.frame-rope,
.frame-star,
.frame-boots {
  position: absolute;
  object-fit: contain;
}

.frame-rope {
  top: -2rem;
  left: -1.5rem;
  width: 7rem;
  animation: spinSlow 8s linear infinite;
}

.frame-star {
  right: -1rem;
  top: -1.5rem;
  width: 5.5rem;
  animation: spinSlow 6s linear infinite;
}

.frame-boots {
  right: -1.2rem;
  bottom: -1.4rem;
  width: 6rem;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wood-card {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: 1.2rem;
  text-align: center;
  border: 7px solid var(--wood-dark);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent),
    repeating-linear-gradient(90deg, #be7236 0 46px, #a65d2d 47px 92px);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.wood-card span {
  color: var(--yellow);
  font-family: var(--western);
  font-size: 1.35rem;
}

.wood-card strong {
  font-size: clamp(1rem, 4.4vw, 1.6rem);
}

.countdown-section {
  display: grid;
  align-content: center;
  border-block: 8px dashed rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.5), transparent 20rem),
    linear-gradient(180deg, #57bbf3, #f5bf43);
}

.lasso {
  position: absolute;
  top: 2rem;
  right: -3rem;
  width: clamp(8rem, 30vw, 16rem);
  animation: lasso 4s ease-in-out infinite;
}

@keyframes lasso {
  50% {
    transform: rotate(12deg) scale(1.05);
  }
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.countdown div {
  min-height: clamp(112px, 23vw, 190px);
  display: grid;
  place-items: center;
  align-content: center;
  border: 6px solid #fff;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #fff8df, #ffe083);
  box-shadow: var(--shadow);
  transform: rotate(var(--tilt, -1deg));
}

.countdown div:nth-child(even) {
  --tilt: 1deg;
}

.countdown strong {
  color: var(--red);
  font-family: var(--western);
  font-size: clamp(2.2rem, 10vw, 5rem);
  line-height: 0.9;
}

.countdown span {
  color: var(--denim);
  font-weight: 900;
  text-transform: uppercase;
}

.today-message {
  text-align: center;
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 900;
}

.mission-section {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 0.72fr);
  gap: 1rem;
  align-items: center;
}

.jessie-section {
  grid-template-columns: minmax(180px, 0.72fr) 1fr;
}

.mission-copy {
  padding: clamp(1.2rem, 5vw, 2.6rem);
  border-radius: 28px;
  background: rgba(255, 247, 221, 0.92);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.mission-copy h2 {
  margin-top: 0.8rem;
  color: var(--red);
  font-size: clamp(2rem, 9vw, 4.8rem);
}

.mission-copy p,
.wood-sign p,
.map-board p {
  font-size: clamp(1rem, 4.2vw, 1.35rem);
  font-weight: 900;
}

.mission-character {
  width: min(62vw, 330px);
  margin: 0 auto;
}

.bullseye-section {
  display: grid;
  place-items: center;
  min-height: 70svh;
}

.run-bullseye {
  width: min(64vw, 380px);
  animation: runAcross 4.5s ease-in-out infinite;
}

@keyframes runAcross {
  0%,
  100% {
    transform: translateX(-20px);
  }
  50% {
    transform: translateX(20px) rotate(2deg);
  }
}

.map-section {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.35), transparent 12rem),
    linear-gradient(180deg, rgba(113, 201, 255, 0.5), rgba(247, 182, 71, 0.8));
}

.map-board {
  width: min(92vw, 680px);
  padding: clamp(1.3rem, 6vw, 3rem);
  text-align: center;
  border: 8px solid var(--wood-dark);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    repeating-linear-gradient(90deg, #f2d18d 0 42px, #e5bc73 43px 84px);
  box-shadow: var(--shadow);
}

.map-board h2 {
  color: var(--denim);
  font-size: clamp(2rem, 9vw, 4.5rem);
}

.place {
  color: var(--red);
}

.dress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.dress-grid article {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 247, 221, 0.92);
  border: 6px solid #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.dress-grid img {
  height: 96px;
  margin: 0 auto;
  object-fit: contain;
}

.dress-grid span {
  font-weight: 900;
  color: var(--denim);
}

.gifts-section,
.confirm-section {
  display: grid;
  place-items: center;
}

.gift-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.gift-console,
.rsvp-console {
  width: min(920px, 92vw);
  overflow: hidden;
}

.console-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.console-status {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gift-layout,
.rsvp-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.gift-orbit,
.signal-dish {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  width: min(24vw, 210px);
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-18deg) skewX(-10deg);
  opacity: 0.55;
}

.supply-crate {
  position: relative;
  width: 116px;
  height: 92px;
  border-radius: 18px 18px 10px 10px;
  transform: perspective(420px) rotateX(9deg) rotateZ(-5deg);
}

.supply-crate::before,
.supply-crate::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 10px;
}

.supply-crate::after {
  inset: auto 20px 18px;
  height: 12px;
}

.gift-spark {
  position: absolute;
  width: 0.72rem;
  aspect-ratio: 1;
  border-radius: 50%;
}

.spark-a {
  right: 12%;
  top: 22%;
}

.spark-b {
  left: 16%;
  bottom: 26%;
}

.gift-copy,
.rsvp-copy {
  position: relative;
  z-index: 1;
}

.gift-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.gift-options span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border-radius: 14px;
  text-align: center;
  font-weight: 900;
}

.signal-dish span {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  transform: rotate(-16deg);
}

.signal-dish span::before,
.signal-dish span::after,
.signal-dish i::before,
.signal-dish i::after {
  content: "";
  position: absolute;
}

.signal-dish span::before {
  left: 50%;
  bottom: -44px;
  width: 18px;
  height: 78px;
  transform: translateX(-50%);
  border-radius: 999px;
}

.signal-dish span::after {
  left: 50%;
  bottom: -52px;
  width: 108px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
}

.signal-dish i,
.signal-dish i::before,
.signal-dish i::after {
  position: absolute;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.signal-dish i {
  width: 162px;
  height: 162px;
  opacity: 0.6;
}

.signal-dish i::before {
  inset: -22px;
  opacity: 0.55;
}

.signal-dish i::after {
  inset: -44px;
  opacity: 0.35;
}

.rsvp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-grid button {
  padding: 0.5rem;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(var(--photo-tilt, -1.5deg));
  cursor: zoom-in;
}

.gallery-grid button:nth-child(even) {
  --photo-tilt: 1.5deg;
}

.gallery-grid img {
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.confirm-friends {
  width: min(76vw, 420px);
  margin-bottom: -1rem;
}

.copied {
  margin: 0.8rem 0 0;
  color: var(--yellow);
  font-weight: 900;
}

.final-scene {
  display: grid;
  place-items: center;
  min-height: 80svh;
  text-align: center;
}

.final-scene img {
  width: min(70vw, 360px);
}

.final-scene img + img {
  width: min(55vw, 260px);
  margin-top: -2rem;
}

.final-scene h2 {
  margin-top: 1rem;
  color: var(--red);
  font-size: clamp(2.2rem, 10vw, 5rem);
}

.final-scene p {
  margin: 0;
  color: var(--blue);
  font-family: var(--western);
  font-size: clamp(2rem, 10vw, 4rem);
}

.final-scene strong {
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.music-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: 54px;
  height: 54px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.lightbox {
  width: min(94vw, 760px);
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(22, 11, 5, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 82svh;
  border: 10px solid #fff;
  border-radius: 22px;
  object-fit: contain;
  background: #fff;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 2;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 64px;
  transform: translateY(-50%);
}

.prev {
  left: 0.7rem;
}

.next {
  right: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

@media (max-width: 760px) {
  .intro-sign {
    width: min(92vw, 420px);
    margin-top: -18svh;
  }

  .intro-woody,
  .intro-bullseye {
    bottom: 16svh;
    width: clamp(4.6rem, 20vw, 7rem);
  }

  .intro-woody {
    left: 0.35rem;
  }

  .intro-bullseye {
    right: 0.35rem;
  }

  .intro-cloud-one {
    top: 3%;
    left: 3%;
    width: 6.4rem;
  }

  .intro-cloud-two {
    top: 10%;
    right: 3%;
    width: 7rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-woody {
    left: -2rem;
    bottom: 13%;
  }

  .hero-jessie {
    right: -2rem;
    bottom: 13%;
  }

  .hero-bullseye {
    bottom: 2%;
  }

  .poster-grid,
  .countdown,
  .dress-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-section,
  .jessie-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .jessie-section .mission-character {
    order: 2;
  }
}

@media (max-width: 430px) {
  .section-panel {
    min-height: 100svh;
    padding-inline: 0.85rem;
  }

  .intro-ground {
    height: 24svh;
  }

  .intro-sign {
    margin-top: -21svh;
    padding: 1rem 0.75rem;
  }

  .intro-woody,
  .intro-bullseye {
    bottom: 12svh;
    width: clamp(4rem, 19vw, 5.6rem);
  }

  .hero-woody,
  .hero-jessie {
    width: clamp(4.8rem, 20vw, 6.2rem);
    bottom: 10%;
  }

  .hero-bullseye {
    width: clamp(5rem, 22vw, 6.5rem);
  }

  .snake-line {
    font-size: 0.72rem;
  }

  .invite-line {
    font-size: 1.1rem;
  }

  .wood-sign {
    border-width: 6px;
  }

  .countdown {
    gap: 0.55rem;
  }

  .countdown div {
    min-height: 118px;
    border-width: 4px;
    border-radius: 18px;
  }

  .dress-grid article {
    min-height: 150px;
    padding: 0.7rem;
  }

  .dress-grid img {
    height: 74px;
  }
}

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

body.theme-starwars {
  --sky: #050716;
  --sky-deep: #0c1432;
  --yellow: #f8d878;
  --gold: #c69b43;
  --red: #d93346;
  --blue: #36b8ff;
  --denim: #9edcff;
  --wood: #101832;
  --wood-dark: #26365f;
  --cream: #f8fbff;
  --paper: rgba(8, 14, 32, 0.82);
  --ink: #f8fbff;
  --green: #3df0bd;
  --western: "Orbitron", system-ui, sans-serif;
  --round: "Nunito", system-ui, sans-serif;
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 12%, rgba(54, 184, 255, 0.25), transparent 18rem),
    radial-gradient(circle at 80% 18%, rgba(217, 51, 70, 0.24), transparent 18rem),
    linear-gradient(180deg, #050716, #0c1432 56%, #050716);
}

.theme-starwars .starfield {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 24%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 42% 14%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 74% 32%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 86% 72%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 24% 78%, #fff 0 1px, transparent 2px),
    #050716;
  opacity: 0.85;
}

.theme-starwars .scene-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.theme-starwars .intro-scene,
.theme-starwars .hero {
  background: #050716;
}

.theme-starwars .intro-scene::before,
.theme-starwars .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.05), rgba(5, 7, 22, 0.08)),
    linear-gradient(90deg, rgba(5, 7, 22, 0.16), rgba(5, 7, 22, 0.03) 34%, rgba(5, 7, 22, 0.03) 66%, rgba(5, 7, 22, 0.18));
  pointer-events: none;
}

.theme-starwars .hyperspace-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(82deg, transparent 0 46%, rgba(54, 184, 255, 0.5) 47%, transparent 48%),
    linear-gradient(104deg, transparent 0 58%, rgba(217, 51, 70, 0.45) 59%, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}

.theme-starwars .faction-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: none;
}

.theme-starwars .character-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.theme-starwars .sw-character {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.48));
  user-select: none;
}

.theme-starwars .sw-storm {
  left: clamp(0.4rem, 3.8vw, 3.8rem);
  bottom: clamp(1.5rem, 4.8vw, 3.8rem);
  width: clamp(7.4rem, 12vw, 10.8rem);
}

.theme-starwars .sw-vader {
  right: clamp(0.5rem, 4vw, 4.2rem);
  bottom: clamp(1.2rem, 4.8vw, 3.9rem);
  width: clamp(5.8rem, 10vw, 9rem);
  filter: drop-shadow(0 22px 28px rgba(217, 51, 70, 0.38));
}

.theme-starwars .sw-r2 {
  left: 50%;
  bottom: clamp(0.55rem, 1.8vw, 1.1rem);
  width: clamp(3.8rem, 6.4vw, 5.8rem);
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 20px rgba(54, 184, 255, 0.34));
}

.theme-starwars .sw-c3po {
  left: clamp(6rem, 15vw, 13.5rem);
  bottom: clamp(0.7rem, 3vw, 2.4rem);
  width: clamp(4.8rem, 8.2vw, 7.4rem);
  opacity: 0.95;
  filter: drop-shadow(0 18px 22px rgba(255, 220, 117, 0.25));
}

.theme-starwars .faction {
  position: absolute;
  bottom: clamp(1rem, 4vw, 2.6rem);
  display: grid;
  gap: 0.5rem;
  align-items: end;
  justify-items: center;
}

.theme-starwars .good-side {
  left: clamp(1rem, 5vw, 4.5rem);
  filter: drop-shadow(0 0 22px rgba(54, 184, 255, 0.44));
}

.theme-starwars .dark-side {
  right: clamp(1rem, 5vw, 4.5rem);
  filter: drop-shadow(0 0 24px rgba(217, 51, 70, 0.45));
}

.theme-starwars .faction-figure {
  position: relative;
  display: block;
  width: clamp(4.2rem, 8vw, 6.4rem);
  height: clamp(6.5rem, 13vw, 10rem);
  border-radius: 48% 48% 16% 16%;
  opacity: 0;
}

.theme-starwars .faction-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.45rem;
  width: 42%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: currentColor;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.24);
}

.theme-starwars .faction-figure::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.3rem;
  width: 118%;
  height: 12%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  filter: blur(4px);
}

.theme-starwars .hero-figure {
  color: #dff5ff;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.95) 0 8%, transparent 9%),
    linear-gradient(90deg, transparent 0 13%, rgba(54, 184, 255, 0.9) 14% 18%, transparent 19% 81%, rgba(54, 184, 255, 0.9) 82% 86%, transparent 87%),
    linear-gradient(180deg, rgba(237, 250, 255, 0.82), rgba(77, 189, 255, 0.5) 48%, rgba(22, 40, 90, 0.72));
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
}

.theme-starwars .pilot-figure {
  display: none;
}

.theme-starwars .villain-figure {
  color: #171017;
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 51, 70, 0.55), transparent 18%),
    linear-gradient(180deg, rgba(22, 16, 22, 0.84), rgba(5, 5, 9, 0.78) 62%, rgba(43, 6, 16, 0.86));
  clip-path: polygon(34% 0, 66% 0, 95% 100%, 5% 100%);
}

.theme-starwars .villain-figure::before {
  background: #08080c;
  border-radius: 48% 48% 42% 42%;
  box-shadow:
    inset 0 -10px 18px rgba(255, 255, 255, 0.06),
    0 0 0 3px rgba(217, 51, 70, 0.28);
}

.theme-starwars .guard-figure {
  display: none;
}

.theme-starwars .trooper-row {
  display: flex;
  gap: 0.3rem;
  padding: 0.34rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 7, 22, 0.56);
  backdrop-filter: blur(5px);
}

.theme-starwars .trooper-row i {
  display: block;
  width: clamp(1rem, 2vw, 1.45rem);
  height: clamp(1rem, 2vw, 1.45rem);
  border-radius: 45% 45% 34% 34%;
  background:
    linear-gradient(90deg, transparent 0 20%, #111827 21% 30%, transparent 31% 69%, #111827 70% 79%, transparent 80%),
    linear-gradient(180deg, #ffffff, #dce6f1 58%, #111827 59% 66%, #f5f8fb 67%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45), 0 9px 16px rgba(0, 0, 0, 0.25);
}

.theme-starwars .faction-label {
  padding: 0.25rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 7, 22, 0.55);
  color: #f8fbff;
  font-family: var(--western);
  font-size: clamp(0.58rem, 1.2vw, 0.76rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.theme-starwars .good-side .faction-label {
  box-shadow: 0 0 18px rgba(54, 184, 255, 0.34);
}

.theme-starwars .dark-side .faction-label {
  box-shadow: 0 0 18px rgba(217, 51, 70, 0.34);
}

.theme-starwars .intro-sun,
.theme-starwars .intro-cloud,
.theme-starwars .intro-ground,
.theme-starwars .intro-woody,
.theme-starwars .intro-bullseye,
.theme-starwars .hero-cloud,
.theme-starwars .hero-woody,
.theme-starwars .hero-jessie,
.theme-starwars .hero-bullseye,
.theme-starwars .toy-floor,
.theme-starwars .lasso,
.theme-starwars .frame-rope,
.theme-starwars .frame-star,
.theme-starwars .frame-boots {
  display: none;
}

.theme-starwars .section-panel {
  width: 100%;
  max-width: none;
}

.theme-starwars .section-panel::after,
.theme-starwars .hero::after {
  height: 7rem;
  background:
    linear-gradient(90deg, rgba(54, 184, 255, 0.16), transparent 26%, rgba(248, 216, 120, 0.18) 50%, transparent 74%, rgba(217, 51, 70, 0.16)),
    linear-gradient(180deg, rgba(15, 23, 52, 0.2), rgba(5, 7, 22, 0.8));
}

.theme-starwars .galaxy-card,
.theme-starwars .hero-copy,
.theme-starwars .wood-sign,
.theme-starwars .wood-card,
.theme-starwars .mission-copy,
.theme-starwars .map-board,
.theme-starwars .dress-grid article,
.theme-starwars .sheriff-frame {
  position: relative;
  z-index: 3;
  border: 1px solid rgba(158, 220, 255, 0.5);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(10, 18, 42, 0.78), rgba(5, 8, 20, 0.86)),
    var(--paper);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(248, 216, 120, 0.18),
    0 24px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(54, 184, 255, 0.08);
  backdrop-filter: blur(7px);
}

.theme-starwars .intro-sign,
.theme-starwars .hero-copy {
  width: min(88vw, 620px);
  padding: clamp(1.35rem, 5vw, 2.8rem);
  text-align: center;
}

.theme-starwars .intro-sign {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  transform: none;
  animation: none;
}

.theme-starwars .galaxy-card::before,
.theme-starwars .hero-copy::before,
.theme-starwars .wood-card::before,
.theme-starwars .mission-copy::before,
.theme-starwars .map-board::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(54, 184, 255, 0.65), rgba(248, 216, 120, 0.28), rgba(217, 51, 70, 0.55));
  filter: blur(10px);
  opacity: 0.42;
}

.theme-starwars .rope-ring,
.theme-starwars .jedi-seal {
  display: block;
  width: clamp(4.4rem, 16vw, 6.4rem);
  aspect-ratio: 1;
  margin: -3.6rem auto 0.8rem;
  border: 2px solid rgba(248, 216, 120, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(248, 216, 120, 0.95) 0 10%, transparent 11% 30%, rgba(54, 184, 255, 0.2) 31% 34%, transparent 35%),
    conic-gradient(from 45deg, rgba(54, 184, 255, 0.9), rgba(217, 51, 70, 0.9), rgba(248, 216, 120, 0.9), rgba(54, 184, 255, 0.9));
  box-shadow: 0 0 24px rgba(54, 184, 255, 0.55), inset 0 0 18px rgba(255, 255, 255, 0.18);
}

.theme-starwars .wood-sign::before,
.theme-starwars .wood-sign::after {
  display: none;
}

.theme-starwars .intro-line,
.theme-starwars .badge,
.theme-starwars .btn,
.theme-starwars .wood-card span,
.theme-starwars .countdown span,
.theme-starwars .final-scene strong {
  letter-spacing: 0.08em;
}

.theme-starwars .wood-sign h1,
.theme-starwars .section-title h2,
.theme-starwars .hero-copy h2,
.theme-starwars .mission-copy h2,
.theme-starwars .map-board h2,
.theme-starwars .wood-sign h2,
.theme-starwars .final-scene h2,
.theme-starwars .hero-title,
.theme-starwars .final-scene p {
  font-family: var(--western);
  text-shadow: 0 0 22px rgba(54, 184, 255, 0.28);
}

.theme-starwars .intro-sign h1,
.theme-starwars .hero-copy h2,
.theme-starwars .final-scene p {
  color: #f8fbff;
  font-size: clamp(2.9rem, 13vw, 7rem);
}

.theme-starwars .intro-sign h1 {
  margin: 0.35rem 0 0;
  line-height: 0.95;
}

.theme-starwars .intro-sign strong {
  display: block;
  color: var(--yellow);
  font-family: var(--western);
  font-size: clamp(1rem, 3vw, 1.35rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.theme-starwars .intro-sign strong,
.theme-starwars .hero-title,
.theme-starwars .mission-copy h2,
.theme-starwars .place {
  color: var(--yellow);
}

.theme-starwars .snake-line,
.theme-starwars .invite-line {
  color: #9edcff;
}

.theme-starwars .invite-line {
  color: #f8fbff;
  opacity: 0.96;
}

.theme-starwars .badge {
  border: 1px solid rgba(158, 220, 255, 0.45);
  background: linear-gradient(90deg, rgba(54, 184, 255, 0.9), rgba(217, 51, 70, 0.86));
  box-shadow: 0 0 20px rgba(54, 184, 255, 0.22);
}

.theme-starwars .btn {
  border: 1px solid rgba(248, 216, 120, 0.5);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34), 0 0 20px rgba(54, 184, 255, 0.18);
}

.theme-starwars .btn-primary {
  color: #081024;
  background: linear-gradient(180deg, #fff1a6, #c69b43);
}

.theme-starwars .btn-secondary {
  color: #f8fbff;
  background: linear-gradient(90deg, #156dce, #36b8ff);
}

.theme-starwars .btn-whatsapp {
  color: #081024;
  background: linear-gradient(180deg, #5affc9, #24c389);
}

.theme-starwars .gift-console,
.theme-starwars .rsvp-console {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border: 1px solid rgba(148, 214, 255, 0.42);
  background:
    linear-gradient(90deg, rgba(54, 184, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(248, 216, 120, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(54, 184, 255, 0.24), transparent 16rem),
    radial-gradient(circle at 92% 12%, rgba(217, 51, 70, 0.24), transparent 17rem),
    linear-gradient(135deg, rgba(12, 23, 54, 0.94), rgba(10, 13, 31, 0.96) 48%, rgba(48, 18, 42, 0.94));
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    inset 0 0 42px rgba(54, 184, 255, 0.1),
    0 0 38px rgba(54, 184, 255, 0.14);
}

.theme-starwars .gift-console::before,
.theme-starwars .rsvp-console::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(248, 216, 120, 0.22);
  border-radius: inherit;
  pointer-events: none;
}

.theme-starwars .gift-console::after,
.theme-starwars .rsvp-console::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 221, 117, 0.28), transparent 64%);
  filter: blur(2px);
  pointer-events: none;
}

.theme-starwars .console-status {
  color: #9edcff;
  text-shadow: 0 0 14px rgba(54, 184, 255, 0.62);
}

.theme-starwars .gift-orbit,
.theme-starwars .signal-dish {
  color: rgba(248, 216, 120, 0.74);
}

.theme-starwars .orbit-ring {
  box-shadow: 0 0 28px rgba(54, 184, 255, 0.22), inset 0 0 22px rgba(217, 51, 70, 0.12);
}

.theme-starwars .supply-crate {
  background: linear-gradient(135deg, #172c5e, #09152f);
  border: 2px solid rgba(248, 216, 120, 0.72);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32), 0 0 28px rgba(54, 184, 255, 0.22);
}

.theme-starwars .supply-crate::before {
  border: 2px solid rgba(255, 241, 166, 0.82);
  box-shadow: inset 0 0 22px rgba(54, 184, 255, 0.16);
}

.theme-starwars .supply-crate::after {
  background: linear-gradient(90deg, #36b8ff, #ffd24d, #d93346);
}

.theme-starwars .gift-spark {
  background: #fff1a6;
  box-shadow: 0 0 18px #ffd24d;
}

.theme-starwars .gift-options span {
  color: #f8fbff;
  border: 1px solid rgba(158, 220, 255, 0.28);
  background: rgba(5, 10, 28, 0.54);
  box-shadow: inset 0 0 24px rgba(54, 184, 255, 0.08);
}

.theme-starwars .signal-dish span {
  background:
    radial-gradient(circle at 50% 48%, #fff1a6 0 10%, transparent 11%),
    conic-gradient(from 215deg, rgba(54, 184, 255, 0.2), #36b8ff, #ffd24d, rgba(217, 51, 70, 0.9), rgba(54, 184, 255, 0.2));
  border: 2px solid rgba(248, 216, 120, 0.72);
  box-shadow: 0 0 34px rgba(54, 184, 255, 0.24), inset 0 0 36px rgba(5, 7, 22, 0.34);
}

.theme-starwars .signal-dish span::before,
.theme-starwars .signal-dish span::after {
  background: linear-gradient(180deg, rgba(248, 216, 120, 0.86), rgba(54, 184, 255, 0.5));
}

.theme-starwars .signal-dish i,
.theme-starwars .signal-dish i::before,
.theme-starwars .signal-dish i::after {
  border-color: rgba(54, 184, 255, 0.5);
  box-shadow: 0 0 22px rgba(54, 184, 255, 0.16);
}

.theme-starwars .rsvp-actions {
  justify-content: flex-start;
}

.theme-starwars .gift-console h2,
.theme-starwars .rsvp-console h2 {
  margin-top: 0;
  max-width: 780px;
}

.theme-starwars .gift-console p,
.theme-starwars .rsvp-console p {
  max-width: 640px;
  color: rgba(248, 251, 255, 0.9);
}

.theme-starwars .photo-section,
.theme-starwars .event-section,
.theme-starwars .countdown-section,
.theme-starwars .mission-section,
.theme-starwars .bullseye-section,
.theme-starwars .map-section,
.theme-starwars .dress-section,
.theme-starwars .gifts-section,
.theme-starwars .gallery-section,
.theme-starwars .confirm-section,
.theme-starwars .final-scene {
  background:
    radial-gradient(circle at 18% 12%, rgba(54, 184, 255, 0.2), transparent 18rem),
    radial-gradient(circle at 82% 20%, rgba(217, 51, 70, 0.18), transparent 18rem),
    linear-gradient(180deg, #070b1c, #101832 48%, #050716);
}

.theme-starwars .section-title {
  color: var(--ink);
}

.theme-starwars .section-title h2,
.theme-starwars .map-board h2,
.theme-starwars .final-scene h2 {
  color: #f8fbff;
}

.theme-starwars .poster-grid,
.theme-starwars .countdown,
.theme-starwars .dress-grid,
.theme-starwars .gallery-grid {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.theme-starwars .wood-card {
  min-height: 150px;
  background: linear-gradient(180deg, rgba(14, 24, 56, 0.9), rgba(7, 11, 28, 0.94));
}

.theme-starwars .wood-card span {
  color: var(--blue);
}

.theme-starwars .countdown-section {
  border: 0;
}

.theme-starwars .countdown div {
  border: 1px solid rgba(158, 220, 255, 0.44);
  background: linear-gradient(180deg, rgba(12, 22, 52, 0.94), rgba(5, 7, 22, 0.98));
  box-shadow: 0 0 28px rgba(54, 184, 255, 0.16), inset 0 0 30px rgba(217, 51, 70, 0.08);
}

.theme-starwars .countdown strong {
  color: var(--yellow);
  font-family: var(--western);
}

.theme-starwars .countdown span {
  color: #9edcff;
}

.theme-starwars .mission-section {
  grid-template-columns: 1fr minmax(180px, 0.5fr);
}

.theme-starwars .starwars-character {
  width: min(48vw, 230px);
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.42));
}

.theme-starwars .r2-section {
  width: min(40vw, 165px);
  margin-bottom: 1rem;
}

.theme-starwars .jessie-section {
  grid-template-columns: minmax(180px, 0.5fr) 1fr;
}

.theme-starwars .space-emblem {
  width: min(58vw, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 6%, transparent 7% 24%, rgba(54, 184, 255, 0.28) 25% 28%, transparent 29%),
    conic-gradient(from 15deg, transparent 0 10%, rgba(54, 184, 255, 0.9) 11% 14%, transparent 15% 35%, rgba(248, 216, 120, 0.9) 36% 39%, transparent 40% 62%, rgba(54, 184, 255, 0.85) 63% 66%, transparent 67% 100%);
  box-shadow: 0 0 46px rgba(54, 184, 255, 0.24);
}

.theme-starwars .space-emblem::before,
.theme-starwars .space-emblem::after {
  content: "";
  position: absolute;
  display: none;
}

.theme-starwars .space-emblem.red {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 6%, transparent 7% 24%, rgba(217, 51, 70, 0.28) 25% 28%, transparent 29%),
    conic-gradient(from 15deg, transparent 0 10%, rgba(217, 51, 70, 0.9) 11% 14%, transparent 15% 35%, rgba(248, 216, 120, 0.9) 36% 39%, transparent 40% 62%, rgba(217, 51, 70, 0.85) 63% 66%, transparent 67% 100%);
}

.theme-starwars .holo-frame {
  border-radius: 18px;
  transform: none;
}

.theme-starwars .kid-photo {
  border: 1px solid rgba(248, 216, 120, 0.45);
  border-radius: 14px;
}

.theme-starwars .dress-grid article {
  min-height: 140px;
}

.theme-starwars .dress-grid span {
  color: #f8fbff;
  font-family: var(--western);
  font-size: clamp(0.9rem, 3vw, 1.15rem);
}

.theme-starwars .gallery-grid button {
  border: 1px solid rgba(158, 220, 255, 0.4);
  background: rgba(10, 18, 42, 0.9);
  border-radius: 14px;
}

.theme-starwars .gallery-grid img {
  border-radius: 10px;
}

.theme-starwars .music-toggle {
  background: linear-gradient(180deg, #d93346, #7e1732);
}

@media (max-width: 760px) {
  .theme-starwars .scene-backdrop {
    object-position: center;
  }

  .theme-starwars .intro-sign,
  .theme-starwars .hero-copy {
    width: min(88vw, 390px);
    padding: 1rem 0.85rem 1.25rem;
  }

  .theme-starwars .rope-ring,
  .theme-starwars .jedi-seal {
    width: 4.25rem;
    margin-top: -2.9rem;
  }

  .theme-starwars .snake-line {
    font-size: 0.8rem;
  }

  .theme-starwars .mission-section,
  .theme-starwars .jessie-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .theme-starwars .space-emblem {
    width: min(46vw, 190px);
  }

  .gift-layout,
  .rsvp-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gift-orbit,
  .signal-dish {
    min-height: 150px;
  }

  .orbit-ring {
    width: min(46vw, 155px);
  }

  .supply-crate {
    width: 94px;
    height: 74px;
  }

  .signal-dish span {
    width: 94px;
    height: 94px;
  }

  .signal-dish i {
    width: 120px;
    height: 120px;
  }

  .gift-options {
    grid-template-columns: 1fr;
  }

  .gift-options span {
    min-height: 46px;
  }

  .console-topline,
  .rsvp-actions {
    justify-content: center;
  }

  .console-status {
    display: none;
  }

  .gift-buttons,
  .rsvp-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .theme-starwars .faction {
    bottom: 0.45rem;
  }

  .theme-starwars .good-side {
    left: 0.25rem;
  }

  .theme-starwars .dark-side {
    right: 0.25rem;
  }

  .theme-starwars .faction-figure {
    display: none;
  }

  .theme-starwars .trooper-row {
    gap: 0.18rem;
  }

  .theme-starwars .trooper-row i {
    width: 0.7rem;
    height: 0.7rem;
  }

  .theme-starwars .faction-label {
    font-size: 0.48rem;
    padding: 0.2rem 0.42rem;
  }

  .theme-starwars .music-toggle {
    right: 0.5rem;
    bottom: 4.2rem;
    width: 46px;
    height: 46px;
  }

  .theme-starwars .sw-storm {
    left: -1.15rem;
    bottom: 3.1rem;
    width: 4.8rem;
    opacity: 0.92;
  }

  .theme-starwars .sw-vader {
    right: -0.75rem;
    bottom: 3.35rem;
    width: 4.7rem;
    opacity: 0.9;
  }

  .theme-starwars .sw-r2 {
    bottom: 0.75rem;
    width: 3.1rem;
  }

  .theme-starwars .sw-c3po {
    left: 2.65rem;
    bottom: 0.85rem;
    width: 3.25rem;
    opacity: 0.88;
  }

  .theme-starwars .starwars-character {
    width: min(44vw, 150px);
    max-height: 210px;
  }
}

/* Guerreras K-pop theme */
.theme-kpop {
  --kpop-bg: #12001f;
  --kpop-pink: #ff3cd5;
  --kpop-cyan: #28e7ff;
  --kpop-violet: #7b4dff;
  --kpop-gold: #ffe07a;
  --kpop-ink: #fff7ff;
  --western: "Orbitron", system-ui, sans-serif;
  --round: "Nunito", system-ui, sans-serif;
  min-height: 100svh;
  color: var(--kpop-ink);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 60, 213, 0.26), transparent 18rem),
    radial-gradient(circle at 80% 75%, rgba(40, 231, 255, 0.18), transparent 20rem),
    #12001f;
}

.theme-kpop .kpop-glow {
  position: fixed;
  inset: -14%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 76%, rgba(255, 60, 213, 0.22), transparent 34%),
    radial-gradient(ellipse at 82% 72%, rgba(40, 231, 255, 0.18), transparent 34%),
    linear-gradient(95deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  filter: blur(20px);
  opacity: 0.75;
  animation: kpopGlow 12s ease-in-out infinite alternate;
}

.theme-kpop .intro-scene,
.theme-kpop .hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: #12001f;
}

.theme-kpop .intro-scene {
  position: fixed;
  inset: 0;
}

.theme-kpop .scene-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) saturate(1.16) brightness(0.8);
}

.theme-kpop .kpop-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 20rem, rgba(18, 0, 31, 0.34) 33rem),
    linear-gradient(180deg, rgba(18, 0, 31, 0.2), rgba(18, 0, 31, 0.5));
}

.theme-kpop .kpop-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.theme-kpop .kpop-warriors {
  position: absolute;
  left: clamp(12rem, 22vw, 19rem);
  bottom: clamp(-2.2rem, -2vw, -1rem);
  width: clamp(18rem, 30vw, 28rem);
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.56)) drop-shadow(0 0 28px rgba(255, 60, 213, 0.34));
}

.theme-kpop .demon-shadow {
  position: absolute;
  bottom: clamp(3rem, 7vw, 6rem);
  width: clamp(5rem, 10vw, 9rem);
  aspect-ratio: 0.8;
  border-radius: 44% 44% 35% 35%;
  background:
    radial-gradient(circle at 35% 34%, var(--kpop-pink) 0 4%, transparent 5%),
    radial-gradient(circle at 65% 34%, var(--kpop-cyan) 0 4%, transparent 5%),
    linear-gradient(180deg, rgba(4, 0, 12, 0.96), rgba(22, 0, 34, 0.78));
  opacity: 0.74;
  filter: blur(0.3px) drop-shadow(0 0 22px rgba(255, 60, 213, 0.22));
  clip-path: polygon(18% 6%, 35% 20%, 50% 0, 66% 20%, 84% 6%, 72% 52%, 82% 100%, 18% 100%, 28% 52%);
}

.theme-kpop .shadow-left {
  left: clamp(0.8rem, 5vw, 5rem);
}

.theme-kpop .shadow-right {
  right: clamp(0.8rem, 5vw, 5rem);
}

.theme-kpop .kpop-card {
  position: relative;
  z-index: 4;
  width: min(720px, 90vw);
  padding: clamp(1.25rem, 4vw, 2.55rem);
  border: 1px solid rgba(255, 224, 122, 0.4);
  border-radius: 16px;
  color: var(--kpop-ink);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(40, 231, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 60, 213, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 18% 4%, rgba(255, 60, 213, 0.3), transparent 16rem),
    radial-gradient(circle at 90% 14%, rgba(40, 231, 255, 0.26), transparent 16rem),
    rgba(18, 0, 31, 0.72);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    inset 0 0 48px rgba(123, 77, 255, 0.16),
    0 0 38px rgba(255, 60, 213, 0.18);
  backdrop-filter: blur(12px);
}

.theme-kpop .intro-sign,
.theme-kpop .hero-copy {
  align-self: center;
  transform: none;
  animation: none;
}

.theme-kpop .kpop-seal {
  width: 5.1rem;
  aspect-ratio: 1;
  margin: -4.6rem auto 0.8rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 224, 122, 0.82);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 7%, transparent 8% 27%, rgba(40, 231, 255, 0.26) 28% 31%, transparent 32%),
    conic-gradient(from 20deg, var(--kpop-pink), var(--kpop-violet), var(--kpop-cyan), var(--kpop-gold), var(--kpop-pink));
  box-shadow: 0 0 28px rgba(255, 60, 213, 0.45);
}

.theme-kpop .intro-line {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.theme-kpop .snake-line {
  color: var(--kpop-cyan);
  text-shadow: 0 0 18px rgba(40, 231, 255, 0.62);
}

.theme-kpop .invite-line {
  color: #fff7ff;
  opacity: 0.95;
}

.theme-kpop .intro-sign h1,
.theme-kpop .hero-copy h2 {
  margin: 0.35rem 0 0;
  color: #fff7ff;
  font-family: "Bebas Neue", "Orbitron", system-ui, sans-serif;
  font-size: clamp(4.4rem, 12vw, 8.8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 60, 213, 0.72), 0 8px 0 rgba(0, 0, 0, 0.42);
}

.theme-kpop .intro-sign strong,
.theme-kpop .hero-title {
  display: block;
  color: var(--kpop-gold);
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: clamp(1rem, 3vw, 1.6rem);
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 224, 122, 0.42);
}

.theme-kpop .badge {
  border: 1px solid rgba(255, 224, 122, 0.48);
  color: #fff7ff;
  background: linear-gradient(90deg, rgba(255, 60, 213, 0.92), rgba(123, 77, 255, 0.9), rgba(40, 231, 255, 0.9));
  box-shadow: 0 0 22px rgba(255, 60, 213, 0.28);
}

.theme-kpop .btn {
  border: 1px solid rgba(255, 224, 122, 0.5);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36), 0 0 24px rgba(255, 60, 213, 0.22);
}

.theme-kpop .btn-primary {
  color: #170020;
  background: linear-gradient(90deg, #ffe07a, #ff7bdc, #28e7ff);
}

.theme-kpop .btn-secondary {
  color: #fff7ff;
  background: linear-gradient(90deg, #dc25be, #7b4dff, #149dff);
}

.theme-kpop .btn-whatsapp {
  color: #11001a;
  background: linear-gradient(180deg, #9dffdf, #28e7ff);
}

.theme-kpop .photo-section,
.theme-kpop .event-section,
.theme-kpop .countdown-section,
.theme-kpop .mission-section,
.theme-kpop .bullseye-section,
.theme-kpop .map-section,
.theme-kpop .dress-section,
.theme-kpop .gifts-section,
.theme-kpop .gallery-section,
.theme-kpop .confirm-section,
.theme-kpop .final-scene {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 60, 213, 0.18), transparent 17rem),
    radial-gradient(circle at 82% 20%, rgba(40, 231, 255, 0.16), transparent 18rem),
    linear-gradient(180deg, #12001f, #210536 52%, #080012);
}

.theme-kpop .section-panel::after,
.theme-kpop .hero::after {
  z-index: 0;
  height: 9rem;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 40% 100%, rgba(40, 231, 255, 0.14), transparent 44%),
    linear-gradient(180deg, transparent, rgba(18, 0, 31, 0.84));
}

.theme-kpop .section-title h2,
.theme-kpop .map-board h2,
.theme-kpop .final-scene h2,
.theme-kpop .mission-copy h2 {
  color: #fff7ff;
  font-family: "Bebas Neue", "Orbitron", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 400;
  text-shadow: 0 0 20px rgba(255, 60, 213, 0.58);
}

.theme-kpop .wood-card,
.theme-kpop .map-board,
.theme-kpop .gift-console,
.theme-kpop .rsvp-console,
.theme-kpop .mission-copy,
.theme-kpop .dress-grid article {
  border: 1px solid rgba(255, 224, 122, 0.34);
  color: var(--kpop-ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(40, 231, 255, 0.16), transparent 12rem),
    radial-gradient(circle at 88% 12%, rgba(255, 60, 213, 0.16), transparent 13rem),
    linear-gradient(150deg, rgba(24, 3, 45, 0.96), rgba(7, 0, 18, 0.96));
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.38), inset 0 0 38px rgba(123, 77, 255, 0.12);
}

.theme-kpop .wood-card span,
.theme-kpop .place,
.theme-kpop .countdown strong {
  color: var(--kpop-gold);
}

.theme-kpop .wood-card strong,
.theme-kpop .countdown span,
.theme-kpop .dress-grid span {
  color: #fff7ff;
}

.theme-kpop .countdown > div {
  border: 1px solid rgba(255, 224, 122, 0.3);
  background: linear-gradient(180deg, rgba(34, 6, 58, 0.94), rgba(10, 0, 24, 0.96));
  box-shadow: inset 0 0 28px rgba(255, 60, 213, 0.12), 0 18px 34px rgba(0, 0, 0, 0.3);
}

.theme-kpop .mission-section {
  grid-template-columns: 1fr minmax(240px, 0.55fr);
}

.theme-kpop .jessie-section {
  grid-template-columns: minmax(190px, 0.45fr) 1fr;
}

.theme-kpop .kpop-section-character {
  width: min(56vw, 430px);
  max-height: 390px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 26px rgba(255, 60, 213, 0.26));
}

.theme-kpop .demon-card {
  position: relative;
  width: min(46vw, 250px);
  aspect-ratio: 0.85;
  margin: 0 auto;
  border-radius: 24px;
  background:
    radial-gradient(circle at 38% 30%, #ff3cd5 0 4%, transparent 5%),
    radial-gradient(circle at 62% 30%, #28e7ff 0 4%, transparent 5%),
    linear-gradient(180deg, rgba(5, 0, 16, 0.96), rgba(32, 0, 48, 0.76));
  box-shadow: inset 0 0 40px rgba(123, 77, 255, 0.16), 0 0 36px rgba(255, 60, 213, 0.22);
  clip-path: polygon(16% 5%, 36% 18%, 50% 0, 64% 18%, 84% 5%, 74% 54%, 84% 100%, 16% 100%, 26% 54%);
}

.theme-kpop .demon-card span {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 44%;
  height: 12%;
  transform: translateX(-50%);
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.theme-kpop .lightstick-cluster {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  width: min(60vw, 320px);
  margin: 0 auto;
}

.theme-kpop .lightstick-cluster span {
  width: 4.2rem;
  height: 12rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 18%, #fff 0 11%, rgba(40, 231, 255, 0.8) 12% 24%, transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 60, 213, 0.28));
  border: 1px solid rgba(255, 224, 122, 0.34);
  transform: rotate(var(--tilt, -8deg));
  box-shadow: 0 0 26px rgba(40, 231, 255, 0.22);
}

.theme-kpop .lightstick-cluster span:nth-child(2) {
  --tilt: 0deg;
}

.theme-kpop .lightstick-cluster span:nth-child(3) {
  --tilt: 8deg;
}

.theme-kpop .kpop-frame {
  border: 1px solid rgba(255, 224, 122, 0.4);
  border-radius: 16px;
  background: #150027;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 34px rgba(255, 60, 213, 0.16);
  transform: none;
}

.theme-kpop .gallery-grid button {
  border: 1px solid rgba(255, 224, 122, 0.34);
  border-radius: 14px;
  background: rgba(18, 0, 31, 0.92);
}

.theme-kpop .gallery-grid img,
.theme-kpop .kid-photo {
  border-radius: 10px;
  filter: contrast(1.04) saturate(1.12);
}

.theme-kpop .console-status {
  color: var(--kpop-cyan);
  text-shadow: 0 0 14px rgba(40, 231, 255, 0.5);
}

.theme-kpop .supply-crate {
  background: linear-gradient(135deg, #270044, #090014);
  border-color: rgba(255, 224, 122, 0.72);
}

.theme-kpop .supply-crate::after {
  background: linear-gradient(90deg, var(--kpop-cyan), var(--kpop-pink), var(--kpop-gold));
}

.theme-kpop .gift-options span {
  color: #fff7ff;
  border: 1px solid rgba(255, 224, 122, 0.26);
  background: rgba(9, 0, 20, 0.5);
}

.theme-kpop .signal-dish span {
  background:
    radial-gradient(circle at 50% 48%, #fff7ff 0 10%, transparent 11%),
    conic-gradient(from 215deg, rgba(40, 231, 255, 0.2), var(--kpop-cyan), var(--kpop-gold), var(--kpop-pink), rgba(40, 231, 255, 0.2));
  border-color: rgba(255, 224, 122, 0.72);
}

.theme-kpop .music-toggle {
  background: linear-gradient(180deg, #ff3cd5, #510079);
}

@keyframes kpopGlow {
  from {
    transform: translateX(-2%) translateY(1%);
  }
  to {
    transform: translateX(3%) translateY(-1%);
  }
}

@media (max-width: 760px) {
  .theme-kpop .scene-backdrop {
    object-position: center;
  }

  .theme-kpop .intro-sign,
  .theme-kpop .hero-copy {
    width: min(88vw, 390px);
    padding: 1.05rem 0.9rem 1.25rem;
  }

  .theme-kpop .intro-sign h1,
  .theme-kpop .hero-copy h2 {
    font-size: clamp(3.8rem, 19vw, 5.4rem);
  }

  .theme-kpop .kpop-seal {
    width: 4.1rem;
    margin-top: -3.3rem;
  }

  .theme-kpop .kpop-warriors {
    left: 50%;
    bottom: -1.85rem;
    width: 17.6rem;
    opacity: 0.95;
  }

  .theme-kpop .shadow-left {
    left: -1.4rem;
    bottom: 3.6rem;
    width: 4.5rem;
  }

  .theme-kpop .shadow-right {
    right: -1.4rem;
    bottom: 3.6rem;
    width: 4.5rem;
  }

  .theme-kpop .mission-section,
  .theme-kpop .jessie-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .theme-kpop .kpop-section-character {
    width: min(76vw, 280px);
    max-height: 270px;
  }

  .theme-kpop .demon-card {
    width: min(54vw, 170px);
  }

  .theme-kpop .lightstick-cluster span {
    width: 3.2rem;
    height: 9rem;
  }
}
