* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #d4af37;
  --gold-light: #f4d03f;
  --gold-bright: #fff2a8;
  --gold-dark: #b8941f;
  --gold-deep: #8b6914;
  --emerald: #0d4f3c;
  --emerald-dark: #051f17;
  --emerald-light: #1a6b52;
  --bordeaux: #722f37;
  --bordeaux-dark: #4a1f25;
  --cream: #f5e6d3;
  --cream-soft: #faf0e1;
  --night: #051310;
  --night-deep: #020807;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--night-deep);
  color: var(--cream);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(13, 79, 60, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(114, 47, 55, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at center, #0a1f1a 0%, #051310 50%, #020807 100%);
  position: relative;
  min-height: 100vh;
}

body.no-scroll { overflow: hidden; height: 100vh; }

/* ============ PRELOADER ============ */
#preloader {
  position: fixed; inset: 0;
  background: var(--night-deep);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; }
.preloader-moon {
  width: 90px; height: 90px;
  animation: glow-pulse 2.4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 45px rgba(244, 208, 63, 0.9)); transform: scale(1.05); }
}
.preloader-text {
  margin-top: 28px;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.85;
}
.preloader-bar {
  margin: 22px auto 0;
  width: 200px; height: 1px;
  background: rgba(212, 175, 55, 0.2);
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  animation: bar-load 2s ease-in-out infinite;
}
@keyframes bar-load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ============ CANVAS ============ */
#stars-canvas, #particles-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
#stars-canvas { z-index: 1; }
#particles-canvas { z-index: 3; }

/* ============ CORNER ORNAMENTS ============ */
.corner-ornament {
  position: fixed;
  width: 110px; height: 110px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease 1s;
}
.loaded .corner-ornament { opacity: 1; }
.corner-tl { top: 20px; left: 20px; }
.corner-tr { top: 20px; right: 20px; }
.corner-bl { bottom: 20px; left: 20px; }
.corner-br { bottom: 20px; right: 20px; }

@keyframes fade-in { to { opacity: 1; } }

/* ============ SCENES ============ */
.scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  z-index: 10;
}
.scene.active { display: flex; }
#gift-scene { justify-content: center; }
#greeting-scene { justify-content: flex-start; padding-top: 80px; }

/* ============ LANTERNS ============ */
.lanterns {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.lantern {
  position: absolute;
  width: 32px; height: 46px;
  background: linear-gradient(180deg, var(--bordeaux) 0%, var(--bordeaux-dark) 80%, #2a0f12 100%);
  border-radius: 50% 50% 35% 35%;
  border: 1px solid var(--gold-dark);
  box-shadow:
    0 0 20px rgba(255, 180, 80, 0.5),
    inset 0 4px 12px rgba(255, 200, 100, 0.3);
  transform-origin: top center;
  animation: sway 5s ease-in-out infinite;
}
.lantern::before {
  content: ''; position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold-dark));
}
.lantern::after {
  content: ''; position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 10px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--gold);
}
.lantern-flame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 16px;
  background: radial-gradient(ellipse, rgba(255, 220, 120, 0.9), rgba(255, 140, 50, 0.5));
  border-radius: 50%;
  filter: blur(2px);
  animation: flicker 1.6s ease-in-out infinite;
}
.lantern-1 { top: 6%; left: 8%; animation-delay: 0s; }
.lantern-2 { top: 14%; right: 12%; animation-delay: 1.2s; }
.lantern-3 { top: 5%; left: 42%; animation-delay: 0.6s; }
.lantern-4 { top: 18%; left: 70%; animation-delay: 2s; }
@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
@keyframes flicker {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* ============ MOON ============ */
.moon-container {
  position: absolute;
  top: 70px; right: 70px;
  z-index: 2;
  animation: moon-glow 5s ease-in-out infinite;
}
.moon { width: 130px; height: 130px; display: block; }
@keyframes moon-glow {
  0%, 100% { filter: drop-shadow(0 0 25px rgba(244, 208, 63, 0.45)); }
  50% { filter: drop-shadow(0 0 60px rgba(244, 208, 63, 0.75)); }
}

/* ============ GIFT INTRO ============ */
.gift-intro {
  text-align: center;
  margin-bottom: 50px;
  z-index: 10;
  opacity: 0;
  animation: fade-up 1s ease 0.8s forwards;
}
.intro-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.85;
}
.intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--cream);
  letter-spacing: 1px;
}

/* ============ GIFT BOX ============ */
.gift-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.gift-box {
  position: relative;
  width: 230px; height: 240px;
  cursor: pointer;
  animation: gift-float 3.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.gift-box:hover { transform: scale(1.03); }
.gift-box:focus-visible { outline: 2px solid var(--gold); outline-offset: 20px; border-radius: 8px; }

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

.gift-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(212, 175, 55, 0.1) 40%, transparent 70%);
  animation: glow-breathe 3s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.gift-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5), transparent 70%);
  filter: blur(4px);
}

.gift-lid {
  position: absolute;
  top: 18px; left: -5px;
  width: 240px; height: 56px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 30%),
    linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald) 50%, var(--emerald-dark) 100%);
  border: 2px solid var(--gold);
  border-radius: 4px;
  box-shadow:
    inset 0 -10px 20px rgba(0,0,0,0.4),
    inset 0 4px 8px rgba(255,255,255,0.1),
    0 6px 20px rgba(0,0,0,0.6);
  z-index: 4;
  transition: transform 1.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 1.3s ease;
}
.gift-lid-ribbon {
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: calc(100% + 4px);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-light) 50%, var(--gold-dark));
  box-shadow:
    inset 2px 0 4px rgba(255,255,255,0.4),
    inset -2px 0 4px rgba(0,0,0,0.2),
    0 0 8px rgba(244, 208, 63, 0.4);
}
.gift-lid-ornament {
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  width: 100%; height: 60px;
}

.gift-bow {
  position: absolute;
  top: -42px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 56px;
  z-index: 5;
  transition: transform 1.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 1s;
}
.bow-left, .bow-right {
  position: absolute;
  width: 46px; height: 42px;
  background: radial-gradient(circle at 35% 35%, var(--gold-bright), var(--gold) 50%, var(--gold-dark));
  top: 8px;
  box-shadow:
    0 0 15px rgba(244, 208, 63, 0.7),
    inset 0 -6px 12px rgba(0,0,0,0.25);
}
.bow-left {
  left: 0;
  border-radius: 80% 30% 80% 30%;
  transform: rotate(-15deg);
}
.bow-right {
  right: 0;
  border-radius: 30% 80% 30% 80%;
  transform: rotate(15deg);
}
.bow-center {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 28px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  border-radius: 4px;
  z-index: 6;
  box-shadow:
    0 0 10px rgba(244, 208, 63, 0.6),
    inset 0 2px 4px rgba(255,255,255,0.4);
}
.ribbon-tail {
  position: absolute;
  top: 38px;
  width: 14px; height: 28px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}
.tail-l { left: 32px; transform: rotate(-25deg) skewY(15deg); border-radius: 2px 2px 0 60%; }
.tail-r { right: 32px; transform: rotate(25deg) skewY(-15deg); border-radius: 2px 2px 60% 0; }

.gift-body {
  position: absolute;
  top: 60px; left: 0;
  width: 230px; height: 180px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 20%),
    linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald) 50%, var(--emerald-dark) 100%);
  border: 2px solid var(--gold);
  border-radius: 4px;
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.4),
    inset 4px 0 8px rgba(255,255,255,0.06),
    0 12px 35px rgba(0,0,0,0.6);
  overflow: hidden;
}
.gift-ribbon-front {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 50%, var(--gold-dark));
  box-shadow:
    inset 2px 0 4px rgba(255,255,255,0.4),
    inset -2px 0 4px rgba(0,0,0,0.2),
    0 0 8px rgba(244, 208, 63, 0.4);
  z-index: 2;
}
.gift-ornament-front {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 180px;
  z-index: 1;
  opacity: 0.95;
}

/* Opened state */
.gift-box.opened .gift-lid {
  transform: translateY(-280px) rotate(-22deg);
  opacity: 0;
}
.gift-box.opened .gift-bow {
  transform: translate(-50%, -340px) rotate(180deg) scale(0.4);
  opacity: 0;
}
.gift-box.opened .gift-body {
  animation: body-shake 0.4s ease;
}
@keyframes body-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.gift-box.opened { pointer-events: none; }

/* Gift hint */
.gift-hint {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: hint-blink 2.4s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}
.hint-icon {
  display: inline-block;
  animation: spin 5s linear infinite;
  font-size: 16px;
}
@keyframes hint-blink {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hint-text { font-weight: 500; }

.gift-footnote {
  position: absolute;
  bottom: 50px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(245, 230, 211, 0.5);
  letter-spacing: 1px;
  opacity: 0;
  animation: fade-up 1s ease 2s forwards;
}
.note-symbol { color: var(--gold); margin-left: 4px; }

/* ============ GREETING SCENE ============ */
.greeting-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ornament-top, .ornament-bottom, .ornament-divider {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  margin: 20px 0;
  opacity: 0;
  animation: fade-up 1s ease 0.3s forwards;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}
.ornament-divider { max-width: 300px; margin: 30px 0; }
.ornament-top svg, .ornament-bottom svg, .ornament-divider svg {
  width: 100%; height: auto;
}

.greeting-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 8px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0;
  animation: fade-up 1s ease 0.5s forwards;
}

.main-title {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  margin: 30px 0 20px;
  line-height: 1;
}
.title-line {
  display: block;
  font-size: clamp(28px, 5vw, 52px);
  color: var(--cream);
  letter-spacing: 6px;
  margin-bottom: 16px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 1s ease 0.7s forwards;
}
.title-line-accent {
  display: block;
  font-size: clamp(72px, 16vw, 160px);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-light) 30%, var(--gold) 65%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 10px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: title-reveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
}
.title-line-sub {
  display: block;
  font-family: 'Tangerine', cursive;
  font-size: clamp(48px, 8vw, 80px);
  color: var(--gold-light);
  font-weight: 700;
  margin-top: 12px;
  opacity: 0;
  animation: fade-up 1s ease 1.6s forwards;
  text-shadow: 0 0 20px rgba(244, 208, 63, 0.5);
}
@keyframes title-reveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.greeting-arabic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--gold-light);
  text-align: center;
  margin: 24px 20px 10px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fade-up 1s ease 1.9s forwards;
}

.greeting-intro {
  max-width: 700px;
  text-align: center;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--cream-soft);
  line-height: 1.85;
  margin: 30px 20px;
  font-weight: 400;
  opacity: 0;
  animation: fade-up 1s ease 2.2s forwards;
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ WISHES GRID ============ */
.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  width: 100%;
  margin: 60px 0;
  padding: 0 10px;
}

.wish-card {
  position: relative;
  padding: 44px 28px 36px;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, rgba(13, 79, 60, 0.7), rgba(5, 31, 23, 0.85));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  overflow: hidden;
}
.wish-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.wish-card::before, .wish-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.wish-card::before { top: 0; }
.wish-card::after { bottom: 0; }
.wish-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(212, 175, 55, 0.25);
}
.wish-card:hover .wish-svg {
  transform: scale(1.1) rotate(5deg);
}
.wish-icon-wrapper {
  width: 70px; height: 70px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
}
.wish-svg {
  width: 50px; height: 50px;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
  transition: transform 0.4s ease;
}
.wish-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.wish-card p {
  font-size: 16px;
  color: var(--cream);
  line-height: 1.65;
  opacity: 0.92;
}

/* ============ DUA SECTION ============ */
.dua-section {
  width: 100%;
  max-width: 850px;
  margin: 60px auto 40px;
  padding: 0 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.dua-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.dua-frame {
  position: relative;
  padding: 60px 50px;
  background:
    radial-gradient(ellipse at center, rgba(114, 47, 55, 0.25), transparent 70%),
    linear-gradient(135deg, rgba(13, 79, 60, 0.7), rgba(5, 31, 23, 0.85));
  border: 1px solid var(--gold);
  border-radius: 4px;
}
.dua-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
}
.dc-tl { top: -2px; left: -2px; border-top-width: 3px; border-left-width: 3px; }
.dc-tr { top: -2px; right: -2px; border-top-width: 3px; border-right-width: 3px; }
.dc-bl { bottom: -2px; left: -2px; border-bottom-width: 3px; border-left-width: 3px; }
.dc-br { bottom: -2px; right: -2px; border-bottom-width: 3px; border-right-width: 3px; }

.dua-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 26px);
  color: var(--cream-soft);
  text-align: center;
  line-height: 1.75;
  font-weight: 400;
  position: relative;
}
.dua-text::before {
  content: '"';
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 80px;
  color: var(--gold);
  line-height: 0.3;
  opacity: 0.4;
  margin-bottom: 20px;
}
.dua-author {
  text-align: center;
  margin-top: 28px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.75;
}

/* ============ FOOTER ============ */
.footer-actions {
  margin: 50px 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 38px;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.share-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.share-btn:hover {
  color: var(--emerald-dark);
  border-color: var(--gold-light);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}
.share-btn:hover::before { transform: scaleX(1); }
.share-btn span { position: relative; z-index: 1; }
.share-icon { font-size: 14px; }

.footer-signature {
  font-family: 'Tangerine', cursive;
  font-size: clamp(42px, 6vw, 56px);
  color: var(--gold);
  filter: drop-shadow(0 0 18px rgba(244, 208, 63, 0.5));
  line-height: 1;
  font-weight: 700;
}
.footer-tiny {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.5;
}

/* ============ TRANSITION BETWEEN SCENES ============ */
#gift-scene { transition: opacity 1.2s ease, transform 1.2s ease; }
#gift-scene.exiting {
  opacity: 0;
  transform: scale(1.1);
}
#greeting-scene {
  opacity: 0;
  animation: scene-enter 1s ease forwards;
}
@keyframes scene-enter { to { opacity: 1; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .moon { width: 90px; height: 90px; }
  .moon-container { top: 40px; right: 30px; }
  .gift-box { width: 190px; height: 200px; }
  .gift-lid { width: 200px; left: -5px; height: 48px; }
  .gift-body { width: 190px; height: 150px; top: 50px; }
  .gift-bow { width: 90px; height: 48px; top: -36px; }
  .bow-left, .bow-right { width: 38px; height: 36px; }
  .lantern { width: 26px; height: 38px; }
  .gift-hint { font-size: 12px; letter-spacing: 2px; gap: 10px; }
  .corner-ornament { width: 70px; height: 70px; }
  .corner-tl, .corner-tr { top: 12px; }
  .corner-tl, .corner-bl { left: 12px; }
  .corner-tr, .corner-br { right: 12px; }
  .corner-bl, .corner-br { bottom: 12px; }
  .dua-frame { padding: 40px 24px; }
  .wishes-grid { gap: 20px; }
  .wish-card { padding: 36px 22px 30px; }
  .gift-footnote { bottom: 24px; font-size: 12px; }
  #greeting-scene { padding-top: 60px; }
  .gift-intro { margin-bottom: 36px; }
  .intro-title { font-size: clamp(18px, 3vw, 24px); }
}

@media (max-width: 480px) {
  .scene { padding: 40px 16px; }
  .lantern-4 { display: none; }
  .corner-ornament { width: 50px; height: 50px; opacity: 0.7; }
  .title-line { letter-spacing: 3px; }
  .title-line-accent { letter-spacing: 6px; }
  .greeting-eyebrow { letter-spacing: 5px; font-size: 11px; }
  .wishes-grid { grid-template-columns: 1fr; gap: 18px; }
  .share-btn { padding: 14px 26px; font-size: 11px; letter-spacing: 2px; }
}

/* Prevent flash on load */
.scene { will-change: opacity, transform; }
.gift-box, .gift-lid, .gift-bow { will-change: transform; }
