:root {
  --cream: #fff5d9;
  --cream-2: #fffaf0;
  --yellow: #ffd75f;
  --orange: #ff8b2e;
  --red: #e53827;
  --green-dark: #2f8235;
  --blue-dark: #07569c;
  --brown: #7a4217;
  --text: #312720;
  --muted: #746756;
  --shadow: 0 22px 60px rgba(76, 52, 22, 0.2);
  --shadow-soft: 0 14px 34px rgba(76, 52, 22, 0.14);
  --bottom-height: 78px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-height: 100dvh;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

body.no-open {
  overflow: hidden;
  height: var(--app-height);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button { cursor: pointer; }

.btn-yellow,
.btn-blue,
.btn-whatsapp,
.open-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-weight: 950;
  text-align: center;
  line-height: 1.1;
  transition: transform .22s ease, filter .22s ease;
}

.btn-yellow,
.open-button {
  color: #4b2e08;
  background: linear-gradient(180deg, #ffe98c 0%, #ffc442 100%);
  box-shadow:
    0 9px 0 rgba(188, 118, 18, .25),
    0 16px 30px rgba(255, 159, 30, .25);
}

.btn-blue {
  color: #fff;
  background: linear-gradient(180deg, #49bbff 0%, #087bd2 100%);
  box-shadow:
    0 9px 0 rgba(6, 88, 151, .25),
    0 16px 30px rgba(12, 139, 218, .22);
}

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(180deg, #38d66f 0%, #0fa548 100%);
  box-shadow:
    0 9px 0 rgba(8, 113, 48, .25),
    0 16px 30px rgba(15, 165, 72, .22);
}

/* =========================
   OPENING COVER - LOCKED
========================= */
.cover-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: var(--app-height);
  min-height: var(--app-height);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-size: cover;
  background-position: center bottom;
  isolation: isolate;
  transition: opacity .55s ease, visibility .55s ease, transform .55s ease;
}

.cover-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(24,188,244,.08) 0%, rgba(255,246,215,.38) 68%, rgba(124,196,74,.14) 100%),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.28), transparent 45%);
}

.cover-screen.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}

.cover-card {
  position: relative;
  z-index: 5;
  width: min(100%, 500px);
  height: var(--app-height);
  min-height: 0;
  max-height: var(--app-height);
  padding:
    calc(8px + env(safe-area-inset-top, 0px))
    10px
    calc(10px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  display: grid;
  grid-template-rows:
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    minmax(0, 1fr);
  overflow: hidden;
}

.cover-card::before {
  content: "";
  position: absolute;
  inset: 0 7px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,250,232,.82), rgba(255,246,220,.62));
  border-left: 2px solid rgba(255,255,255,.6);
  border-right: 2px solid rgba(255,255,255,.6);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
}

.cover-flags {
  position: fixed;
  z-index: 2;
  top: -8px;
  left: 50%;
  width: 122vw;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: .9;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.14));
}

.cover-cloud {
  position: fixed;
  z-index: 1;
  width: 60px;
  pointer-events: none;
  opacity: .78;
}

.cover-cloud-left {
  left: 2%;
  top: 8%;
  animation: cloudDrift 9s ease-in-out infinite alternate;
}

.cover-cloud-right {
  right: 2%;
  top: 12%;
  animation: cloudDriftReverse 10s ease-in-out infinite alternate;
}

.cover-sun {
  position: fixed;
  z-index: 1;
  width: 58px;
  left: 2%;
  top: 17%;
  pointer-events: none;
}

.cover-balloon {
  position: fixed;
  z-index: 3;
  width: 42px;
  pointer-events: none;
  opacity: .9;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.14));
  animation: balloonFloat 4.8s ease-in-out infinite;
}

.balloon-left-red { left: -2%; top: 35%; }
.balloon-left-green { left: -1%; top: 50%; animation-delay: .6s; }
.balloon-right-yellow { right: -2%; top: 31%; animation-delay: .3s; }
.balloon-right-green { right: -1%; top: 50%; animation-delay: .9s; }

.music-note {
  position: fixed;
  z-index: 2;
  width: 24px;
  pointer-events: none;
  animation: noteFloat 4.2s ease-in-out infinite;
}

.note-one { left: 18%; top: 30%; }
.note-two { right: 18%; top: 25%; animation-delay: .7s; }

.wood-sign {
  position: relative;
  width: clamp(124px, 39vw, 160px);
  margin: 0 auto 4px;
  filter: drop-shadow(0 10px 14px rgba(68,37,13,.18));
}

.wood-sign img { width: 100%; }

.wood-sign span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff8e8;
  font-size: clamp(10px, 3.2vw, 13px);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-shadow: 0 2px 0 rgba(85,40,8,.55);
}

.guest-text {
  margin: 0 0 3px;
  color: #5a3214;
  font-size: clamp(13px, 3.8vw, 16px);
  line-height: 1.05;
  font-weight: 950;
}

.guest-panel {
  width: min(92%, 350px);
  margin: 0 auto 6px;
  padding: 8px 12px;
  border-radius: 17px;
  background: rgba(255,255,255,.90);
  border: 2px dashed rgba(177,97,32,.45);
  box-shadow: 0 10px 20px rgba(120,70,18,.10);
  color: var(--blue-dark);
  font-size: clamp(23px, 7.8vw, 34px);
  line-height: .95;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.birthday-label {
  display: inline-flex;
  justify-self: center;
  margin: 0 auto 5px;
  padding: 6px 12px;
  border-radius: 13px;
  color: #6a3511;
  background: linear-gradient(180deg, #ffe4a5, #ffc86b);
  border: 2px solid rgba(151,81,20,.18);
  font-size: clamp(11px, 3.4vw, 14px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 8px 15px rgba(155,82,23,.15);
}

.cover-main-title {
  display: grid;
  gap: 0;
  margin: 0 auto 4px;
  line-height: .9;
}

.title-line-one {
  color: var(--green-dark);
  font-size: clamp(32px, 10vw, 46px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.07em;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    0 6px 10px rgba(38,104,34,.20);
}

.title-line-one b { color: var(--orange); }

.title-line-two {
  color: var(--red);
  font-size: clamp(30px, 9.2vw, 42px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.06em;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    0 6px 10px rgba(180,32,20,.18);
}

.farm-theme-big {
  width: min(86vw, 320px);
  min-height: 38px;
  margin: 0 auto 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #5ecb47 0%, #2f8b35 100%);
  border: 2px solid rgba(255,255,255,.75);
  box-shadow:
    0 10px 20px rgba(35,110,38,.24),
    inset 0 2px 0 rgba(255,255,255,.2);
  font-size: clamp(13px, 3.9vw, 16px);
  font-weight: 1000;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 0 rgba(15,84,23,.45);
}

.open-button {
  position: relative;
  z-index: 20;
  width: min(88vw, 330px);
  margin: 0 auto 8px;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.9);
  font-size: clamp(20px, 5.7vw, 26px);
  color: #fff;
  background: linear-gradient(180deg, #ff6a3c 0%, #d92b20 100%);
  box-shadow:
    0 9px 0 rgba(137,32,22,.32),
    0 16px 30px rgba(210,47,30,.26);
  text-shadow: 0 2px 0 rgba(90,20,12,.35);
  animation: buttonPulse 1.8s ease-in-out infinite;
}

.cover-photo-stage {
  position: relative;
  width: 100%;
  max-width: 390px;
  height: 100%;
  min-height: 0;
  margin: 0 auto 0;
  display: flex;
  align-items: end;
  justify-content: center;
}

.cover-photo-frame {
  position: relative;
  z-index: 4;
  width: min(74vw, 305px);
  max-height: 100%;
  padding: 7px;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(135deg, #fff, #ffe39b);
  border: 4px solid rgba(255,255,255,.96);
  box-shadow: 0 16px 36px rgba(78,52,18,.18);
  overflow: hidden;
}

.cover-photo-frame img {
  width: 100%;
  max-height: 100%;
  aspect-ratio: 4 / 4.15;
  object-fit: cover;
  object-position: center;
  border-radius: 999px 999px 18px 18px;
}

.animal,
.hay,
.leaf {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.16));
  animation: animalPop 4s ease-in-out infinite;
}

.animal-cow { width: 21%; left: 4%; bottom: 10%; z-index: 8; }
.animal-horse { width: 20%; right: 4%; bottom: 17%; z-index: 8; animation-delay: .5s; }
.animal-sheep { width: 18%; left: 7%; bottom: 1%; z-index: 9; animation-delay: .2s; }
.animal-pig { width: 18%; right: 7%; bottom: 1%; z-index: 9; animation-delay: .7s; }
.animal-duck { width: 11%; right: 27%; bottom: 2%; z-index: 10; animation-delay: .9s; }
.animal-chick { width: 9%; left: 29%; bottom: 2%; z-index: 10; animation-delay: 1.1s; }

.hay-left { width: 14%; left: 2%; bottom: 0; z-index: 4; }
.hay-right { width: 14%; right: 2%; bottom: 0; z-index: 4; }
.leaf-left { width: 7%; left: 4%; top: 8%; opacity: .9; }
.leaf-right { width: 7%; right: 4%; top: 8%; transform: rotate(35deg); opacity: .9; }

/* =========================
   MAIN CONTENT
========================= */
.main-content {
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-height) + var(--safe-bottom) + 24px);
}

.main-content.is-hidden {
  height: 100vh;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.section {
  position: relative;
  padding: 58px 18px;
  overflow: hidden;
}

.small-badge,
.section-kicker,
.section-title span {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #864d17;
  background: linear-gradient(180deg, #ffe7a4, #ffd06a);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* HERO NEW */
.hero-kids-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center bottom;
  padding-top: 70px;
  padding-bottom: 56px;
}

.hero-kids-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(48, 190, 244, .14), rgba(255, 248, 226, .78)),
    radial-gradient(circle at top, rgba(255,255,255,.36), transparent 42%);
}

.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-flags-top {
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 520px);
  opacity: .92;
  animation: noteFloat 6s ease-in-out infinite;
}

.hero-cloud-left {
  width: 72px;
  left: 5%;
  top: 92px;
  opacity: .86;
  animation: cloudDrift 9s ease-in-out infinite alternate;
}

.hero-cloud-right {
  width: 68px;
  right: 5%;
  top: 118px;
  opacity: .86;
  animation: cloudDriftReverse 9.5s ease-in-out infinite alternate;
}

.hero-sun {
  width: 68px;
  left: 18px;
  top: 145px;
  animation: softSpin 24s linear infinite;
}

.hero-balloon-left {
  width: 42px;
  left: 8px;
  top: 245px;
  animation: balloonFloat 4.8s ease-in-out infinite;
}

.hero-balloon-right {
  width: 42px;
  right: 10px;
  top: 235px;
  animation: balloonFloat 5.2s ease-in-out infinite;
}

.hero-note-left {
  width: 28px;
  left: 84px;
  top: 210px;
  animation: noteFloat 4.2s ease-in-out infinite;
}

.hero-note-right {
  width: 28px;
  right: 84px;
  top: 196px;
  animation: noteFloat 4.8s ease-in-out infinite .3s;
}

.hero-kids-card {
  position: relative;
  z-index: 3;
  width: min(100%, 430px);
  padding: 20px 16px 20px;
  border-radius: 34px;
  background: rgba(255, 251, 237, .88);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  text-align: center;
}

.hero-name-wrap {
  margin-bottom: 14px;
}

.hero-name-sub {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe4a5, #ffc86b);
  color: #7e4516;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-name-main {
  margin: 0;
  font-size: clamp(56px, 15vw, 82px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.06em;
  color: #1270c4;
  text-shadow:
    -3px -3px 0 #fff,
    3px -3px 0 #fff,
    -3px 3px 0 #fff,
    3px 3px 0 #fff,
    0 8px 18px rgba(17, 112, 196, .18);
}

.hero-name-desc {
  margin: 8px 0 0;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 950;
}

.hero-theme-pill {
  display: inline-flex;
  margin: 0 auto 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5ecb47 0%, #2f8b35 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  border: 2px solid rgba(255,255,255,.75);
  box-shadow: 0 10px 22px rgba(35,110,38,.20);
}

.hero-photo-stage {
  position: relative;
  width: 100%;
  max-width: 370px;
  margin: 0 auto 18px;
  padding-top: 12px;
}

.hero-photo-shell {
  width: min(100%, 295px);
  margin: 0 auto;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(135deg, #fff, #ffe39b);
  border: 3px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-photo-shell img {
  width: 100%;
  aspect-ratio: 4 / 4.65;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.hero-stage-animal,
.hero-stage-horse {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.16));
  z-index: 2;
}

.hero-cow {
  width: 18%;
  left: 4%;
  bottom: 18px;
  animation: animalPop 4s ease-in-out infinite;
}

.hero-sheep {
  width: 18%;
  left: 0;
  bottom: 42px;
  animation: animalPop 4.4s ease-in-out infinite .3s;
}

.hero-duck {
  width: 11%;
  left: 39%;
  bottom: 15px;
  animation: animalPop 4s ease-in-out infinite .8s;
}

.hero-pig {
  width: 18%;
  right: 2%;
  bottom: 12px;
  animation: animalPop 4s ease-in-out infinite .5s;
}

.hero-chick {
  width: 10%;
  right: 30%;
  bottom: 26px;
  animation: animalPop 4s ease-in-out infinite 1s;
}

.hero-stage-horse {
  width: 18%;
  right: 5%;
  bottom: 62px;
  animation: animalPop 4.2s ease-in-out infinite .4s;
}

.hero-mini-info {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-mini-info div,
.detail-card div,
.parents-grid div {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,211,92,.58);
  text-align: left;
}

.hero-mini-info span,
.detail-card span,
.parents-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero-mini-info strong,
.detail-card strong,
.parents-grid strong {
  display: block;
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.25;
}

.hero-actions {
  display: grid;
  gap: 11px;
}

/* GENERIC SECTIONS */
.cream-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(255,211,92,.22), transparent 28%),
    linear-gradient(180deg, #fff8e8, #fff1cf);
}

.green-section {
  background:
    radial-gradient(circle at 85% 8%, rgba(71,188,87,.18), transparent 26%),
    linear-gradient(180deg, #effadf, #dff6d1);
}

.content-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 30px 20px;
  border-radius: 32px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}

.center { text-align: center; }

.content-card h2,
.section-title h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.content-card p,
.section-title p {
  margin: 13px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 750;
}

.section-title {
  width: min(100%, 720px);
  margin: 0 auto 24px;
  text-align: center;
}

/* DRESSCODE */
.dresscode-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 215, 95, .20), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(93, 187, 70, .18), transparent 24%),
    linear-gradient(180deg, #fff8e9, #f7f1df);
}

.dresscode-card {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 28px 20px;
  border-radius: 32px;
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow-soft);
}

.dresscode-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.swatch-item {
  text-align: center;
}

.swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 110px;
  margin: 0 auto 10px;
  border-radius: 24px;
  border: 4px solid rgba(255,255,255,.95);
  box-shadow: 0 12px 26px rgba(76,52,22,.12);
}

.swatch-white { background: #ffffff; }
.swatch-cream { background: #f5ead8; }
.swatch-brown { background: #cda67d; }

.swatch-item strong {
  color: var(--brown);
  font-size: 15px;
}

.dresscode-text {
  text-align: center;
}

.dresscode-text h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.05;
}

.dresscode-text p {
  margin: 10px auto 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
}

/* PHOTOS / PROFILE / OTHER */
.photo-grid,
.profile-grid,
.wish-layout {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.photo-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 28px;
  background: #fff;
  border: 8px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.photo-grid strong {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.9);
}

.kid-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
}

.kid-card img {
  width: 100%;
  aspect-ratio: 4 / 3.25;
  object-fit: cover;
}

.kid-card div {
  padding: 20px;
  text-align: center;
}

.kid-card span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(93,187,70,.14);
  font-size: 12px;
  font-weight: 950;
}

.kid-card h3 {
  margin: 12px 0 4px;
  color: var(--blue-dark);
  font-size: 38px;
  line-height: .95;
  letter-spacing: -.04em;
}

.kid-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 900;
}

.kid-card strong {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,211,92,.38);
  color: var(--brown);
}

.parents-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.parents-grid div { text-align: center; }

.countdown-grid {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.countdown-grid div {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 16px 8px;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,211,92,.62);
  box-shadow: var(--shadow-soft);
}

.countdown-grid strong {
  color: var(--red);
  font-size: clamp(34px, 11vw, 58px);
  line-height: .9;
}

.countdown-grid span {
  color: var(--brown);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.detail-card {
  width: min(100%, 720px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.detail-card div { box-shadow: var(--shadow-soft); }
.detail-card strong { font-size: 20px; }

.detail-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.single-btn {
  width: min(100%, 300px);
  margin-top: 20px;
}

.wa-wrap {
  width: min(100%, 340px);
  margin: 0 auto 18px;
}

.wish-card {
  padding: 22px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
}

.wish-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 28px;
  text-align: center;
  letter-spacing: -.03em;
}

.wish-card > p {
  margin: 8px 0 16px;
  color: var(--muted);
  text-align: center;
  font-weight: 750;
}

.wish-form {
  display: grid;
  gap: 11px;
}

.wish-form input,
.wish-form select,
.wish-form textarea {
  width: 100%;
  border: 1px solid rgba(120,69,22,.13);
  outline: 0;
  border-radius: 18px;
  padding: 15px;
  background: rgba(255,255,255,.88);
  font-weight: 800;
  color: var(--text);
}

.wish-form textarea {
  min-height: 110px;
  resize: vertical;
}

.alert {
  margin-bottom: 13px;
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  font-weight: 900;
}

.alert.success {
  color: #217233;
  background: rgba(56,214,111,.14);
}

.alert.error {
  color: #9d2b22;
  background: rgba(217,52,43,.12);
}

.wish-list {
  max-height: 450px;
  overflow: auto;
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.wish-item {
  padding: 15px;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,211,92,.52);
}

.wish-item div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.wish-item strong { color: var(--blue-dark); }

.wish-item span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,211,92,.4);
  color: var(--brown);
  font-size: 11px;
  font-weight: 950;
}

.wish-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 750;
}

.empty-wish {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,.74);
  font-weight: 850;
}

.love-sign {
  display: grid;
  gap: 5px;
  margin-top: 20px;
}

.love-sign span {
  color: var(--muted);
  font-weight: 900;
}

.love-sign strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.creator-footer {
  padding: 22px 18px calc(var(--bottom-height) + var(--safe-bottom) + 28px);
  text-align: center;
  color: var(--muted);
  background: var(--cream);
  font-size: 13px;
  font-weight: 800;
}

.creator-footer strong { color: var(--blue-dark); }

/* BOTTOM MENU - MORE FESTIVE */
.bottom-menu {
  position: fixed;
  z-index: 9000;
  left: 10px;
  right: 10px;
  bottom: calc(10px + var(--safe-bottom));
  height: var(--bottom-height);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 8px;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,211,92,.7);
  box-shadow: 0 18px 42px rgba(70,50,22,.24);
  backdrop-filter: blur(14px);
  transition: .3s ease;
}

.bottom-menu.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(120%);
}

.bottom-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px 4px;
  border-radius: 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  line-height: 1.05;
  border: 2px solid rgba(255,255,255,.72);
  text-shadow: 0 1px 0 rgba(0,0,0,.14);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.22);
}

.bottom-menu a:nth-child(1) { background: linear-gradient(180deg, #42c2ff, #0a7ccf); }
.bottom-menu a:nth-child(2) { background: linear-gradient(180deg, #67d65e, #2e993e); }
.bottom-menu a:nth-child(3) { background: linear-gradient(180deg, #ffb34a, #ef7c19); }
.bottom-menu a:nth-child(4) { background: linear-gradient(180deg, #ff7d7d, #e44747); }
.bottom-menu a:nth-child(5) { background: linear-gradient(180deg, #9b8cff, #6657db); }

.bottom-menu a.active {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 10px 18px rgba(0,0,0,.16),
    inset 0 2px 0 rgba(255,255,255,.25);
}

/* RESPONSIVE */
@media (max-height: 760px) {
  .wood-sign { width: 126px; margin-bottom: 2px; }
  .wood-sign span { font-size: 10px; }
  .guest-text { font-size: 13px; margin-bottom: 2px; }
  .guest-panel { padding: 7px 10px; margin-bottom: 4px; font-size: 23px; }
  .birthday-label { padding: 5px 10px; font-size: 11px; margin-bottom: 4px; }
  .title-line-one { font-size: 31px; }
  .title-line-two { font-size: 28px; }
  .farm-theme-big {
    width: 255px;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    margin-bottom: 6px;
  }
  .open-button {
    min-height: 50px;
    font-size: 19px;
    margin-bottom: 6px;
  }
  .cover-photo-frame { width: min(68vw, 270px); }
  .cover-photo-frame img { aspect-ratio: 4 / 3.95; }
  .cover-balloon,
  .music-note,
  .cover-cloud { opacity: .65; }
}

@media (max-height: 660px) {
  .cover-flags,
  .cover-sun,
  .cover-cloud,
  .cover-balloon,
  .music-note { display: none; }

  .wood-sign { width: 116px; }
  .guest-panel { font-size: 21px; }
  .title-line-one { font-size: 28px; }
  .title-line-two { font-size: 26px; }
  .farm-theme-big {
    width: 225px;
    min-height: 32px;
    font-size: 11px;
  }
  .open-button {
    min-height: 46px;
    font-size: 17px;
  }
  .cover-photo-frame { width: min(62vw, 235px); }
  .animal-cow,
  .animal-horse { width: 18%; }
  .animal-sheep,
  .animal-pig { width: 15%; }

  .hero-flags-top,
  .hero-cloud-left,
  .hero-cloud-right,
  .hero-balloon-left,
  .hero-balloon-right,
  .hero-note-left,
  .hero-note-right { display: none; }
}

@media (min-width: 640px) {
  .cover-card {
    width: 500px;
    border-radius: 32px;
  }

  .cover-card::before {
    inset: 8px 4px;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,.58);
  }

  .section { padding: 78px 24px; }

  .hero-actions { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-grid,
  .wish-layout { grid-template-columns: repeat(2, 1fr); }
  .parents-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown-grid { grid-template-columns: repeat(4, 1fr); }

  .bottom-menu {
    left: 50%;
    right: auto;
    width: min(610px, calc(100% - 24px));
    transform: translateX(-50%);
  }

  .bottom-menu.is-hidden {
    transform: translateX(-50%) translateY(120%);
  }
}

/* ANIMATIONS */
@keyframes balloonFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(24px); }
}

@keyframes cloudDriftReverse {
  from { transform: translateX(0); }
  to { transform: translateX(-24px); }
}

@keyframes noteFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); opacity: .88; }
  50% { transform: translateY(-12px) rotate(7deg); opacity: 1; }
}

@keyframes animalPop {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.03); }
}

@keyframes buttonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes softSpin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.asset-spin-soft { animation: softSpin 24s linear infinite; }
.asset-float { animation: noteFloat 5.5s ease-in-out infinite; }

/* =========================================================
   PREMIUM FARM ANIMATION PACK
   horse + sheep + chick + duck + sun + balloons
   + parade animal masuk bergantian
========================================================= */

/* ---------- HERO DECOR UPGRADE ---------- */
.hero-sun {
  animation:
    softSpin 22s linear infinite,
    sunPulse 3.8s ease-in-out infinite;
  transform-origin: center center;
}

.hero-balloon-left,
.hero-balloon-right {
  animation:
    balloonDriftPremium 5.6s ease-in-out infinite,
    balloonSwing 4.3s ease-in-out infinite;
  transform-origin: center bottom;
}

.hero-balloon-right {
  animation-delay: .4s, .8s;
}

/* ---------- INITIAL STATE PARADE ---------- */
.hero-stage-animal,
.hero-stage-horse {
  opacity: 0;
  will-change: transform, opacity;
}

.hero-kids-card.anim-ready .hero-sheep {
  transform: translateX(-70px) translateY(20px) scale(.85);
}
.hero-kids-card.anim-ready .hero-pig {
  transform: translateX(70px) translateY(20px) scale(.85);
}
.hero-kids-card.anim-ready .hero-duck {
  transform: translateY(45px) scale(.8);
}
.hero-kids-card.anim-ready .hero-chick {
  transform: translateY(38px) scale(.65);
}
.hero-kids-card.anim-ready .hero-cow {
  transform: translateX(-45px) translateY(14px) scale(.9);
}
.hero-kids-card.anim-ready .hero-stage-horse {
  transform: translateX(95px) translateY(18px) scale(.85);
}

/* ---------- PARADE MASUK ---------- */
.hero-kids-card.anim-enter .hero-sheep {
  animation: animalEnterLeft .72s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-kids-card.anim-enter .hero-pig {
  animation: animalEnterRight .72s cubic-bezier(.22,1,.36,1) .18s forwards;
}
.hero-kids-card.anim-enter .hero-duck {
  animation: animalEnterUp .68s cubic-bezier(.22,1,.36,1) .32s forwards;
}
.hero-kids-card.anim-enter .hero-chick {
  animation: animalEnterUp .64s cubic-bezier(.22,1,.36,1) .48s forwards;
}
.hero-kids-card.anim-enter .hero-cow {
  animation: animalEnterLeft .72s cubic-bezier(.22,1,.36,1) .62s forwards;
}
.hero-kids-card.anim-enter .hero-stage-horse {
  animation: animalEnterRight .82s cubic-bezier(.22,1,.36,1) .82s forwards;
}

/* ---------- IDLE STATE SETELAH MASUK ---------- */
.hero-kids-card.anim-idle .hero-sheep,
.hero-kids-card.anim-idle .hero-pig,
.hero-kids-card.anim-idle .hero-duck,
.hero-kids-card.anim-idle .hero-chick,
.hero-kids-card.anim-idle .hero-cow,
.hero-kids-card.anim-idle .hero-stage-horse {
  opacity: 1;
}

.hero-kids-card.anim-idle .hero-sheep {
  animation: sheepBounce 3.2s ease-in-out infinite;
}
.hero-kids-card.anim-idle .hero-pig {
  animation: pigBob 4s ease-in-out infinite;
}
.hero-kids-card.anim-idle .hero-duck {
  animation: duckWaddle 3.6s ease-in-out infinite;
}
.hero-kids-card.anim-idle .hero-cow {
  animation: cowBob 4.4s ease-in-out infinite;
}
.hero-kids-card.anim-idle .hero-stage-horse {
  animation: horseTrot 4.5s ease-in-out infinite;
}
.hero-kids-card.anim-idle .hero-chick {
  animation: chickIdle 3s ease-in-out infinite;
}

.hero-kids-card.anim-idle .hero-chick.chick-hop-now {
  animation: chickHopBurst .9s cubic-bezier(.2,.8,.2,1);
}

/* ---------- OPTIONAL COVER ANIMAL EXTRA LIFE ---------- */
.cover-photo-stage .animal-cow {
  animation: cowBob 4.5s ease-in-out infinite;
}
.cover-photo-stage .animal-horse {
  animation: horseTrot 4.8s ease-in-out infinite;
}
.cover-photo-stage .animal-sheep {
  animation: sheepBounce 3.4s ease-in-out infinite;
}
.cover-photo-stage .animal-pig {
  animation: pigBob 4.2s ease-in-out infinite;
}
.cover-photo-stage .animal-duck {
  animation: duckWaddle 3.8s ease-in-out infinite;
}
.cover-photo-stage .animal-chick {
  animation: chickIdle 3.2s ease-in-out infinite;
}

/* ---------- MICRO INTERACTION FLAGS ---------- */
.cover-flags,
.hero-flags-top {
  transform-origin: top center;
  animation: flagsWave 5.5s ease-in-out infinite;
}

/* ---------- KEYFRAMES ---------- */
@keyframes animalEnterLeft {
  0% {
    opacity: 0;
    transform: translateX(-70px) translateY(18px) scale(.82) rotate(-6deg);
  }
  65% {
    opacity: 1;
    transform: translateX(8px) translateY(-4px) scale(1.03) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1) rotate(0);
  }
}

@keyframes animalEnterRight {
  0% {
    opacity: 0;
    transform: translateX(70px) translateY(18px) scale(.82) rotate(6deg);
  }
  65% {
    opacity: 1;
    transform: translateX(-8px) translateY(-4px) scale(1.03) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1) rotate(0);
  }
}

@keyframes animalEnterUp {
  0% {
    opacity: 0;
    transform: translateY(44px) scale(.75);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sheepBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-7px) scale(1.02);
  }
  50% {
    transform: translateY(0) scale(.99);
  }
  75% {
    transform: translateY(-4px) scale(1.01);
  }
}

@keyframes pigBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  30% {
    transform: translateY(-5px) rotate(-2deg);
  }
  60% {
    transform: translateY(-2px) rotate(2deg);
  }
}

@keyframes duckWaddle {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  20% {
    transform: translateX(5px) translateY(-2px) rotate(3deg);
  }
  40% {
    transform: translateX(10px) translateY(0) rotate(-2deg);
  }
  60% {
    transform: translateX(4px) translateY(-2px) rotate(2deg);
  }
  80% {
    transform: translateX(0) translateY(0) rotate(-1deg);
  }
}

@keyframes horseTrot {
  0%, 100% {
    transform: translateX(0) translateY(0) scale(1);
  }
  20% {
    transform: translateX(-6px) translateY(-3px) scale(1.01);
  }
  45% {
    transform: translateX(-11px) translateY(0) scale(1.02);
  }
  70% {
    transform: translateX(-4px) translateY(-2px) scale(1.01);
  }
}

@keyframes cowBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-4px) rotate(-1.5deg);
  }
  70% {
    transform: translateY(-1px) rotate(1deg);
  }
}

@keyframes chickIdle {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.03);
  }
}

@keyframes chickHopBurst {
  0% {
    transform: translateY(0) scale(1);
  }
  20% {
    transform: translateY(-14px) scale(1.08);
  }
  45% {
    transform: translateY(0) scale(.98);
  }
  65% {
    transform: translateY(-8px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes sunPulse {
  0%, 100% {
    filter: drop-shadow(0 8px 14px rgba(255, 197, 52, .18));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 12px 22px rgba(255, 197, 52, .28));
    transform: scale(1.06);
  }
}

@keyframes balloonDriftPremium {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-10px) translateX(3px);
  }
  50% {
    transform: translateY(-18px) translateX(-3px);
  }
  75% {
    transform: translateY(-9px) translateX(4px);
  }
}

@keyframes balloonSwing {
  0%, 100% {
    rotate: -2deg;
  }
  50% {
    rotate: 3deg;
  }
}

@keyframes flagsWave {
  0%, 100% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(.8deg);
  }
}

/* khusus hero-flags-top supaya tidak pakai translate yang salah */
.hero-flags-top {
  animation: heroFlagsWave 5.5s ease-in-out infinite;
}

@keyframes heroFlagsWave {
  0%, 100% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(.8deg);
  }
}

/* ---------- MOBILE SAFETY ---------- */
@media (max-width: 430px) {
  .hero-kids-card.anim-ready .hero-stage-horse {
    transform: translateX(72px) translateY(16px) scale(.86);
  }

  .hero-kids-card.anim-ready .hero-sheep {
    transform: translateX(-54px) translateY(18px) scale(.86);
  }

  .hero-kids-card.anim-ready .hero-pig {
    transform: translateX(52px) translateY(16px) scale(.86);
  }

  .hero-balloon-left,
  .hero-balloon-right {
    animation-duration: 6.2s, 4.8s;
  }
}

/* ---------- REDUCE MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-sun,
  .hero-balloon-left,
  .hero-balloon-right,
  .hero-stage-animal,
  .hero-stage-horse,
  .cover-photo-stage .animal-cow,
  .cover-photo-stage .animal-horse,
  .cover-photo-stage .animal-sheep,
  .cover-photo-stage .animal-pig,
  .cover-photo-stage .animal-duck,
  .cover-photo-stage .animal-chick,
  .cover-flags,
  .hero-flags-top {
    animation: none !important;
  }

  .hero-stage-animal,
  .hero-stage-horse {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* =========================================================
   BIRTHDAY STARS - PREMIUM KIDS CARD REVAMP
========================================================= */

.birthday-stars-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 211, 92, .16), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(78, 200, 90, .14), transparent 22%),
    linear-gradient(180deg, #fff6dc 0%, #fff0cb 100%);
}

.birthday-stars-grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.birthday-star-card {
  position: relative;
}

.star-card-shell {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 36px;
  box-shadow: 0 22px 48px rgba(92, 66, 22, .16);
  isolation: isolate;
}

.card-elka .star-card-shell {
  background:
    linear-gradient(135deg, #73d85b 0%, #a4ea63 35%, #ffe27c 100%);
}

.card-jericho .star-card-shell {
  background:
    linear-gradient(135deg, #59bfff 0%, #78d3ff 35%, #ffd36c 100%);
}

.star-card-shell::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,250,240,.94));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.75);
}

.star-card-shell::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 26px;
  border: 2px dashed rgba(182, 124, 36, .22);
  pointer-events: none;
}

.star-card-top-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  color: #2f8235;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 18px rgba(74, 51, 19, .12);
}

.card-jericho .star-card-top-badge {
  color: #0b67b7;
}

.star-photo-wrap {
  position: relative;
  padding-top: 14px;
}

.star-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(135deg, #fff, #fff4d9);
  box-shadow:
    0 16px 28px rgba(91, 63, 20, .12),
    inset 0 0 0 2px rgba(255,255,255,.86);
}

.star-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  display: block;
}

.star-card-body {
  text-align: center;
  padding: 18px 10px 6px;
}

.star-name-big {
  margin: 0;
  font-size: clamp(40px, 7vw, 56px);
  line-height: .95;
  font-weight: 1000;
  letter-spacing: -.055em;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    0 8px 16px rgba(70, 64, 20, .10);
}

.card-elka .star-name-big {
  color: #0d67b5;
}

.card-jericho .star-name-big {
  color: #0d67b5;
}

.star-name-small {
  margin-top: 6px;
  color: #7b5d2b;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.star-age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe98a 0%, #ffc85e 100%);
  color: #8a4f12;
  font-size: 22px;
  font-weight: 950;
  box-shadow:
    0 10px 18px rgba(170, 110, 27, .16),
    inset 0 2px 0 rgba(255,255,255,.38);
}

.star-deco {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: .95;
}

.star-deco.deco-1 {
  width: 18px;
  height: 18px;
  top: 62px;
  right: 24px;
  background: #ff7f6b;
  box-shadow: 0 0 0 7px rgba(255,127,107,.18);
}

.star-deco.deco-2 {
  width: 14px;
  height: 14px;
  bottom: 118px;
  left: 22px;
  background: #66d862;
  box-shadow: 0 0 0 6px rgba(102,216,98,.18);
}

.star-deco.deco-3 {
  width: 20px;
  height: 20px;
  bottom: 28px;
  right: 28px;
  background: #64c9ff;
  box-shadow: 0 0 0 8px rgba(100,201,255,.16);
}

/* kill old style impact */
.birthday-stars-section .profile-grid,
.birthday-stars-section .kid-card {
  all: unset;
}

/* desktop */
@media (min-width: 768px) {
  .birthday-stars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width: 767px) {
  .birthday-stars-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .star-card-shell {
    padding: 16px;
    border-radius: 30px;
  }

  .star-card-shell::before {
    inset: 7px;
    border-radius: 24px;
  }

  .star-card-shell::after {
    inset: 12px;
    border-radius: 20px;
  }

  .star-photo-frame {
    border-radius: 24px;
    padding: 8px;
  }

  .star-photo-frame img {
    border-radius: 18px;
  }

  .star-name-big {
    font-size: clamp(34px, 10vw, 46px);
  }

  .star-name-small {
    font-size: 20px;
  }

  .star-age-pill {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 18px;
  }

  .star-card-top-badge {
    font-size: 12px;
    min-height: 34px;
    padding: 7px 12px;
  }
}
/* =========================================================
   OUR HAPPY MEMORIES - 4 KIDS FRIENDLY CARDS
   2 top: Elka + Jeriko
   2 bottom: Family 1 + Family 2
========================================================= */

.happy-memories-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 211, 92, .22), transparent 25%),
    radial-gradient(circle at 88% 10%, rgba(72, 190, 255, .16), transparent 24%),
    radial-gradient(circle at 50% 95%, rgba(93, 203, 71, .16), transparent 30%),
    linear-gradient(180deg, #eefbdf 0%, #dcf6cf 100%);
}

.happy-memories-grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.happy-memory-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border-radius: 34px;
  box-shadow: 0 22px 46px rgba(64, 79, 24, .16);
  isolation: isolate;
}

.happy-memory-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .72);
}

.happy-memory-card::after {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  border-radius: 24px;
  border: 2px dashed rgba(126, 85, 24, .20);
}

.memory-elka-card {
  background: linear-gradient(135deg, #72dc66 0%, #b4ee72 45%, #ffe47b 100%);
}

.memory-jeriko-card {
  background: linear-gradient(135deg, #4ebcff 0%, #89ddff 45%, #ffe071 100%);
}

.memory-family-card {
  background: linear-gradient(135deg, #ffb05a 0%, #ffe071 45%, #83de6f 100%);
}

.family-two-card {
  background: linear-gradient(135deg, #ff7f9f 0%, #ffc36b 45%, #6bd7ff 100%);
}

.happy-photo-frame {
  position: relative;
  overflow: hidden;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #fff2ca);
  box-shadow:
    0 15px 28px rgba(82, 61, 24, .12),
    inset 0 0 0 2px rgba(255,255,255,.9);
}

.happy-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.08;
  object-fit: cover;
  object-position: center;
  border-radius: 21px;
  display: block;
}

.happy-card-body {
  text-align: center;
  padding: 16px 10px 8px;
}

.happy-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-bottom: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #7a4217;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
  box-shadow: 0 8px 16px rgba(72, 51, 22, .10);
}

.happy-card-body strong {
  display: block;
  color: #07569c;
  font-size: clamp(20px, 4.8vw, 29px);
  line-height: 1.04;
  font-weight: 1000;
  letter-spacing: -.035em;
  text-shadow:
    -1.5px -1.5px 0 #fff,
    1.5px -1.5px 0 #fff,
    -1.5px 1.5px 0 #fff,
    1.5px 1.5px 0 #fff,
    0 6px 12px rgba(35, 55, 12, .10);
}

.memory-elka-card .happy-card-body strong {
  color: #1f8c3a;
}

.memory-jeriko-card .happy-card-body strong {
  color: #087bd2;
}

.memory-family-card .happy-card-body strong {
  color: #db6b16;
}

/* decorative bubbles */
.happy-memory-card .happy-photo-frame::before,
.happy-memory-card .happy-photo-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  pointer-events: none;
}

.happy-memory-card .happy-photo-frame::before {
  width: 22px;
  height: 22px;
  top: 16px;
  right: 18px;
  background: rgba(255, 211, 92, .82);
  box-shadow: 0 0 0 7px rgba(255, 211, 92, .18);
}

.happy-memory-card .happy-photo-frame::after {
  width: 15px;
  height: 15px;
  bottom: 18px;
  left: 18px;
  background: rgba(90, 196, 255, .78);
  box-shadow: 0 0 0 6px rgba(90, 196, 255, .16);
}

@media (min-width: 768px) {
  .happy-memories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .happy-memories-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .happy-memory-card {
    padding: 12px;
    border-radius: 30px;
  }

  .happy-memory-card::before {
    inset: 6px;
    border-radius: 25px;
  }

  .happy-memory-card::after {
    inset: 11px;
    border-radius: 21px;
  }

  .happy-photo-frame {
    padding: 7px;
    border-radius: 24px;
  }

  .happy-photo-frame img {
    border-radius: 18px;
    aspect-ratio: 4 / 3.2;
  }

  .happy-card-body {
    padding: 14px 8px 7px;
  }

  .happy-card-body strong {
    font-size: clamp(21px, 7vw, 30px);
  }
}
/* =========================================================
   EVENT DETAIL - WAKTU & TEMPAT PREMIUM KIDS CARD
========================================================= */

.event-detail-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 211, 92, .20), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(72, 190, 255, .16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(93, 203, 71, .18), transparent 32%),
    linear-gradient(180deg, #eafbdd 0%, #dff6d1 100%);
}

.event-detail-grid {
  width: min(100%, 860px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.event-detail-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  padding: 26px 18px 22px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(71, 86, 30, .15);
  isolation: isolate;
}

.event-detail-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  border-radius: 24px;
  background: rgba(255, 255, 255, .90);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.76);
}

.event-detail-card::after {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  border-radius: 20px;
  border: 2px dashed rgba(126, 85, 24, .18);
}

.detail-date-card {
  background: linear-gradient(135deg, #5ecb47 0%, #b8ef74 48%, #ffe27a 100%);
}

.detail-time-card {
  background: linear-gradient(135deg, #49bbff 0%, #8fe0ff 48%, #ffe072 100%);
}

.detail-place-card {
  background: linear-gradient(135deg, #ff9d4a 0%, #ffd66e 48%, #74d86a 100%);
}

.detail-icon-bubble {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #fff5d8);
  color: #7a4217;
  font-size: 15px;
  font-weight: 1000;
  box-shadow:
    0 10px 20px rgba(91, 63, 20, .12),
    inset 0 0 0 2px rgba(255,255,255,.9);
}

.event-detail-card span {
  display: block;
  margin-bottom: 8px;
  color: #7a4217;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.event-detail-card strong {
  display: block;
  color: #07569c;
  font-size: clamp(22px, 4.8vw, 31px);
  line-height: 1.12;
  font-weight: 1000;
  letter-spacing: -.035em;
  text-align: center;
  text-shadow:
    -1.5px -1.5px 0 #fff,
    1.5px -1.5px 0 #fff,
    -1.5px 1.5px 0 #fff,
    1.5px 1.5px 0 #fff,
    0 6px 12px rgba(35, 55, 12, .10);
}

.event-detail-card p {
  margin: 8px 0 0;
  color: #6b5130;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

/* matikan style lama detail-card kalau masih kebawa */
.event-detail-section .detail-card {
  display: none;
}

@media (min-width: 768px) {
  .event-detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .event-detail-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .event-detail-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-card {
    min-height: 136px;
    border-radius: 28px;
  }

  .event-detail-card::before {
    border-radius: 22px;
  }

  .event-detail-card::after {
    border-radius: 18px;
  }

  .detail-icon-bubble {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .event-detail-card strong {
    font-size: clamp(23px, 7vw, 30px);
  }
}
/* =========================================================
   COUNTDOWN KIDS FLIP STYLE
========================================================= */

.countdown-kids-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 211, 92, .22), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(72, 190, 255, .16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(93, 203, 71, .16), transparent 32%),
    linear-gradient(180deg, #fff6de 0%, #fff0cb 100%);
}

.countdown-kids-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.count-unit {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 20px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(81, 61, 23, .15);
  isolation: isolate;
}

.count-unit::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  border-radius: 24px;
  background: rgba(255,255,255,.90);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.78);
}

.count-unit::after {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  border-radius: 20px;
  border: 2px dashed rgba(126, 85, 24, .16);
  pointer-events: none;
}

.count-days {
  background: linear-gradient(135deg, #72dc66 0%, #c6ef71 48%, #ffe17a 100%);
}

.count-hours {
  background: linear-gradient(135deg, #49bbff 0%, #90e1ff 48%, #ffe27a 100%);
}

.count-minutes {
  background: linear-gradient(135deg, #ffb05a 0%, #ffd771 48%, #8bde70 100%);
}

.count-seconds {
  background: linear-gradient(135deg, #ff7ea1 0%, #ffc26c 48%, #69d7ff 100%);
}

.count-unit-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #7a4217;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 10px 18px rgba(84, 60, 24, .10);
}

.flip-digits {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.flip-digit {
  position: relative;
  width: 64px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 12px 20px rgba(75, 58, 24, .14),
    inset 0 0 0 2px rgba(255,255,255,.9);
}

.flip-digit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,.28) 48%, rgba(235,235,235,.58) 49%, rgba(255,255,255,.82) 100%);
}

.flip-digit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(0,0,0,.08);
  z-index: 2;
}

.flip-digit-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  color: #24313d;
  font-size: 52px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow: 0 3px 0 rgba(255,255,255,.45);
}

.flip-digit.flip-pop {
  animation: flipPop .42s ease;
}

@keyframes flipPop {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-4px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

/* matikan style countdown lama jika masih kebaca */
.countdown-kids-section .countdown-grid {
  display: none;
}

@media (min-width: 768px) {
  .countdown-kids-wrap {
    grid-template-columns: repeat(4, 1fr);
  }

  .count-unit {
    min-height: 178px;
  }
}

@media (max-width: 767px) {
  .countdown-kids-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .count-unit {
    border-radius: 26px;
    padding: 16px 10px 18px;
  }

  .count-unit::before {
    border-radius: 21px;
  }

  .count-unit::after {
    border-radius: 17px;
  }

  .flip-digits {
    gap: 6px;
  }

  .flip-digit {
    width: 50px;
    height: 68px;
    border-radius: 10px;
  }

  .flip-digit-inner {
    font-size: 40px;
  }

  .count-unit-label {
    min-height: 30px;
    padding: 7px 13px;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .countdown-kids-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .flip-digit {
    width: 44px;
    height: 62px;
  }

  .flip-digit-inner {
    font-size: 34px;
  }
}
/* =========================================================
   RSVP WISHES - SCROLL LIST + LOVE FLOWER EFFECT
========================================================= */

#wishes .wish-card:nth-child(2) {
  position: relative;
  overflow: hidden;
}

#wishes .wish-card:nth-child(2)::before {
  content: "♥";
  position: absolute;
  top: 20px;
  left: 22px;
  color: rgba(255, 126, 161, .22);
  font-size: 42px;
  font-weight: 1000;
  transform: rotate(-12deg);
  pointer-events: none;
}

#wishes .wish-card:nth-child(2)::after {
  content: "✿";
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: rgba(255, 183, 66, .26);
  font-size: 46px;
  font-weight: 1000;
  transform: rotate(10deg);
  pointer-events: none;
}

.wish-list {
  position: relative;
  z-index: 2;
  max-height: 430px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 8px 8px 0;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.wish-list::-webkit-scrollbar {
  width: 8px;
}

.wish-list::-webkit-scrollbar-track {
  background: rgba(255, 231, 164, .35);
  border-radius: 999px;
}

.wish-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd75f, #ff9d4a);
  border-radius: 999px;
}

.wish-item {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 202, 86, .55);
  background:
    radial-gradient(circle at 94% 18%, rgba(255, 126, 161, .12), transparent 22%),
    radial-gradient(circle at 9% 82%, rgba(93, 203, 71, .12), transparent 24%),
    rgba(255,255,255,.88);
  box-shadow: 0 10px 22px rgba(83, 61, 23, .08);
}

.wish-item::before {
  content: "♥";
  position: absolute;
  right: 16px;
  bottom: 10px;
  color: rgba(255, 126, 161, .18);
  font-size: 28px;
  font-weight: 1000;
  pointer-events: none;
}

.wish-item::after {
  content: "✿";
  position: absolute;
  left: 14px;
  top: 10px;
  color: rgba(102, 216, 98, .16);
  font-size: 24px;
  font-weight: 1000;
  pointer-events: none;
}

.wish-item:first-child {
  animation: newestWishSlideUp .75s cubic-bezier(.22, 1, .36, 1);
  border-color: rgba(255, 160, 64, .85);
  box-shadow:
    0 14px 26px rgba(255, 157, 74, .14),
    0 0 0 4px rgba(255, 211, 95, .18);
}

.wish-item div,
.wish-item p {
  position: relative;
  z-index: 2;
}

.wish-item div {
  align-items: center;
}

.wish-item strong {
  font-size: 15px;
  color: #07569c;
}

.wish-item span {
  background: linear-gradient(180deg, #ffe9a2, #ffd061);
  color: #8a4f12;
  border: 1px solid rgba(255,255,255,.7);
}

.wish-item p {
  font-size: 15px;
  color: #66513a;
}

.empty-wish {
  position: relative;
  z-index: 2;
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
}

@keyframes newestWishSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(.96);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 768px) {
  .wish-list {
    max-height: 420px;
  }
}

@media (max-width: 767px) {
  .wish-list {
    max-height: 360px;
    padding-right: 6px;
  }

  .wish-card {
    max-height: none;
  }
}