/* ============ Ngjyrat dhe tipografia ============ */
:root {
  --paper: #fdf7f4;
  --blush-100: #f9e6e3;
  --blush-200: #f2d0cc;
  --rose-300: #e7a6b0;
  --rose-500: #a8475f;
  --rose-700: #9c3d55;
  --berry-900: #6b2438;
  --ink: #5b3a43;
  --ink-soft: #8a6870;
  --gold-200: #f3e2b3;
  --gold-400: #d4b062;
  --gold-600: #86621f;
  --line: rgba(212, 176, 98, 0.45);
  --card: rgba(255, 255, 255, 0.68);
  --foil: linear-gradient(135deg, #9a6a1f 0%, #e9cf86 24%, #b8892f 46%, #f5e3a8 66%, #a3742a 100%);
  --rose-foil: linear-gradient(135deg, #8f3049 0%, #c9677d 38%, #a8455e 62%, #d98a9b 100%);
  --script: "Great Vibes", "Segoe Script", cursive;
  --name: "Alex Brush", "Great Vibes", cursive; /* fonti i emrit të vajzës */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --caps: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock,
html.lock body { overflow: hidden; height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

/* Sfond akuarel + kokërr letre */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 0% 0%, rgba(242, 190, 197, 0.55), transparent 70%),
    radial-gradient(55% 38% at 100% 18%, rgba(246, 212, 202, 0.65), transparent 70%),
    radial-gradient(70% 45% at 50% 105%, rgba(240, 196, 204, 0.5), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .32 0 0 0 0 .36 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--paper);
}

img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 3px; border-radius: 6px; }

/* ============ Dekor: lule në qoshe, flutura, kurorë ============ */
.corner {
  position: absolute;
  width: clamp(128px, 36vw, 210px);
  height: clamp(128px, 36vw, 210px);
  pointer-events: none;
  z-index: 0;
}
.corner.tl { top: -14px; left: -16px; }
.corner.tr { top: -14px; right: -16px; transform: scaleX(-1); }
.corner.bl { bottom: -14px; left: -16px; transform: scaleY(-1); }
.corner.br { bottom: -14px; right: -16px; transform: scale(-1, -1); }

.bfly {
  position: absolute;
  width: 38px;
  height: 34px;
  pointer-events: none;
  z-index: 1;
  animation: drift 11s ease-in-out infinite;
}
.bfly svg { width: 100%; height: 100%; animation: flutter 0.42s ease-in-out infinite alternate; transform-origin: 50% 50%; }
.bfly.b1 { top: 16%; right: 12%; }
.bfly.b2 { bottom: 20%; left: 10%; width: 28px; height: 25px; animation-delay: -4s; }
.bfly.b3 { top: 22%; right: 9%; }
.bfly.b4 { top: 58%; left: 7%; width: 26px; height: 23px; animation-delay: -6s; }

@keyframes flutter { from { transform: scaleX(1); } to { transform: scaleX(0.35); } }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  33% { transform: translate(-18px, -22px) rotate(6deg); }
  66% { transform: translate(12px, -8px) rotate(-2deg); }
}

.crown { width: 64px; height: 45px; display: block; margin: 0 auto; filter: drop-shadow(0 4px 6px rgba(169, 125, 44, 0.25)); }

/* ============ Zarfi ============ */
/* Rendi: rrotullimi 3D (0s) → vula çahet (1.0s) → kapaku (1.35s) → karta del (2.05s) → zmadhimi (3.25s) */
#intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vh, 48px);
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  overscroll-behavior: none;
  background:
    radial-gradient(70% 42% at 50% 56%, rgba(255, 190, 206, 0.3), transparent 72%),
    radial-gradient(130% 95% at 50% 0%, #b5566f 0%, #8a3050 40%, #5b1834 76%, #45102a 100%);
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
#intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
#intro.is-zoom { opacity: 0; visibility: hidden; }

#intro .corner { width: clamp(150px, 44vw, 290px); height: clamp(150px, 44vw, 290px); opacity: 0.92; }
.intro-castle {
  position: absolute;
  left: 50%;
  bottom: -3%;
  width: min(120vw, 660px);
  height: auto;
  translate: -50% 0;
  opacity: 0.1;
  pointer-events: none;
}
.intro-sky { position: absolute; inset: 0; pointer-events: none; }
.twinkle {
  position: absolute;
  width: var(--s);
  height: var(--s);
  background: radial-gradient(circle, #fffaf0 0 18%, #ecd28b 45%, rgba(236, 210, 139, 0) 72%);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  opacity: 0;
  animation: twinkle var(--d) ease-in-out var(--delay) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

.intro-head { position: relative; z-index: 2; text-align: center; transition: opacity 0.6s, transform 0.8s var(--ease); }
.intro-head .crown { width: 70px; height: 49px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3)); }
.intro-eyebrow {
  margin-top: 14px;
  font-family: var(--caps);
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #efd394;
}
.intro-title {
  margin-top: 6px;
  font-family: var(--script);
  font-size: clamp(36px, 10vw, 54px);
  line-height: 1.08;
  color: #fff3ef;
  text-shadow: 0 3px 20px rgba(40, 5, 18, 0.45);
}
#intro.is-opening .intro-head { opacity: 0; transform: translateY(-18px); }

/* skena 3D */
.env-scene {
  position: relative;
  z-index: 3;
  width: min(86vw, 400px);
  aspect-ratio: 10 / 7;
  perspective: 1400px;
  transition: transform 1.1s var(--ease) 2.05s;
}
#intro.is-opening .env-scene { transform: translateY(15vh); }
.env-ground {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -16%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 3, 12, 0.6), transparent);
  filter: blur(5px);
  animation: ground 4.5s ease-in-out infinite;
  transition: opacity 0.8s 2s;
}
@keyframes ground { 0%, 100% { transform: scale(1); opacity: 0.95; } 50% { transform: scale(0.84); opacity: 0.6; } }
#intro.is-opening .env-ground { animation-play-state: paused; opacity: 0; }

.env-float {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(10deg) rotateZ(-2deg); }
  50% { transform: translateY(-12px) rotateX(5deg) rotateZ(1deg); }
}
#intro.is-opening .env-float { animation-play-state: paused; }

.env-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform 0.6s var(--ease);
}
#intro.is-opening .env-tilt { --tx: 0deg; --ty: 0deg; }

.env3d {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.6, 0.05, 0.25, 1);
  -webkit-tap-highlight-color: transparent;
}
.env3d:focus-visible { outline: none; }
.env3d:focus-visible .env-front { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold-400); }
#intro.is-opening .env3d { transform: rotateY(180deg); }

.env-face,
.env-face > span,
.env-face .pf { position: absolute; display: block; }
.env-face {
  inset: 0;
  border-radius: 8px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ana e përparme */
.env-front {
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #fffdf9 0%, #f8f0e5 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 24px 40px -18px rgba(30, 4, 14, 0.55);
}
.env-front::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.6) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(240%); } }

.env-airmail {
  inset: 0;
  border-radius: 8px;
  padding: 6px;
  background: repeating-linear-gradient(-45deg, #d98a9b 0 9px, transparent 9px 15px, #d4b062 15px 24px, transparent 24px 30px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.8;
}
.env-from {
  left: 8%;
  top: 13%;
  display: flex !important;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(13px, 3.6vw, 15px);
  color: var(--ink-soft);
}
.env-from svg { width: 22px; height: 15px; }

.stamp {
  right: 7%;
  top: 11%;
  width: 19%;
  aspect-ratio: 5 / 6;
  background: #fffaf4;
  transform: rotate(4deg);
  -webkit-mask:
    linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat,
    radial-gradient(circle at 4px 4px, transparent 2.1px, #000 2.6px) -4px -4px / 8px 8px;
  mask:
    linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat,
    radial-gradient(circle at 4px 4px, transparent 2.1px, #000 2.6px) -4px -4px / 8px 8px;
}
.stamp-art {
  position: absolute;
  inset: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #fde9ec 0%, #f5c9d1 100%);
  border: 1px solid rgba(156, 61, 85, 0.35);
}
.stamp-art svg { position: absolute; left: -12%; bottom: -6%; width: 124%; height: auto; }
.stamp-art b { position: absolute; top: 2px; left: 5px; font-family: var(--serif); font-weight: 600; font-size: clamp(13px, 4vw, 18px); line-height: 1; color: var(--gold-600); }
.stamp-art i { position: absolute; top: 4px; right: 4px; font-family: var(--caps); font-style: normal; font-size: 7px; letter-spacing: 0.08em; color: var(--rose-700); }

.postmark {
  position: absolute;
  right: 13%;
  top: 22%;
  width: 34%;
  height: auto;
  color: rgba(140, 50, 75, 0.5);
  transform: rotate(-10deg);
  mix-blend-mode: multiply;
}
.postmark text { font-family: var(--caps); }

.env-address {
  left: 10%;
  right: 10%;
  bottom: 14%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.env-address small { font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.42em; color: var(--gold-600); }
#envTo { font-family: var(--script); font-size: clamp(26px, 7.6vw, 36px); line-height: 1.12; color: var(--berry-900); }
.env-address::after { content: ""; width: 62%; height: 1px; margin-top: 6px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }

/* ana e pasme */
.env-backside { transform: rotateY(180deg); visibility: hidden; }
#intro.is-opening .env-backside { visibility: visible; transition: visibility 0s 0.44s; }
#intro.is-opening .env-front { visibility: hidden; transition: visibility 0s 0.44s; }
.env-inside {
  inset: 0;
  border-radius: 8px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(70, 15, 35, 0.4), transparent 62%),
    repeating-linear-gradient(45deg, rgba(201, 162, 77, 0.5) 0 1.2px, transparent 1.2px 9px),
    repeating-linear-gradient(-45deg, rgba(201, 162, 77, 0.5) 0 1.2px, transparent 1.2px 9px),
    #f2d2d6;
  box-shadow: 0 24px 40px -18px rgba(30, 4, 14, 0.55);
}

.env-card {
  left: 5%;
  right: 5%;
  top: 5%;
  height: 90%;
  z-index: 2;
  border-radius: 4px;
  background: linear-gradient(180deg, #fffefb, #fbf4ec);
  box-shadow: 0 2px 10px rgba(60, 20, 30, 0.15);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding-top: 5%;
  transition: transform 1.05s var(--ease) 2.05s, opacity 0.7s;
}
.env-card::before,
.env-card::after { content: ""; position: absolute; border-radius: 2px; pointer-events: none; }
.env-card::before { inset: 7px; border: 1px solid var(--gold-400); }
.env-card::after { inset: 11px; border: 0.5px solid rgba(212, 176, 98, 0.55); }
.env-card .crown { width: 36px; height: 25px; }
.env-name { font-family: var(--name); font-size: clamp(46px, 13vw, 62px); line-height: 1.1; color: var(--rose-700); }
.env-sub { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 4.2vw, 18px); color: var(--ink); }
.env-rule { display: block; width: 44%; height: 1px; margin: 6px 0 7px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }
.env-date { font-family: var(--caps); font-size: 11.5px; letter-spacing: 0.32em; color: var(--gold-600); }
#intro.is-opening .env-card { transform: translateY(-68%); }
#intro.is-zoom .env-card { transform: translateY(-68%) scale(1.35); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.7s 0.15s; }

.pf { inset: 0; border-radius: 8px; }
.pf-left { z-index: 3; clip-path: polygon(0 0, 53% 52%, 0 100%); background: linear-gradient(95deg, #efe4d6 0%, #f9f2e9 70%, #fcf8f2 100%); }
.pf-right { z-index: 3; clip-path: polygon(100% 0, 47% 52%, 100% 100%); background: linear-gradient(265deg, #ebdfcf 0%, #f7efe5 70%, #fbf6ef 100%); }
.pf-bottom { inset: 0; z-index: 4; filter: drop-shadow(0 -1.5px 2px rgba(80, 40, 30, 0.18)); }
.pf-b { clip-path: polygon(0 100%, 50% 43%, 100% 100%); background: linear-gradient(180deg, #fffbf5 0%, #f3e9dc 100%); }

.env-flap {
  left: 0;
  right: 0;
  top: 0;
  height: 60%;
  z-index: 5;
  transform-origin: 50% 0;
  transform: perspective(1100px) rotateX(0deg);
  transform-style: preserve-3d;
  transition: transform 0.85s var(--ease) 1.35s, z-index 0s linear 1.75s;
}
.flap-front,
.flap-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flap-front { filter: drop-shadow(0 3px 2.5px rgba(70, 30, 30, 0.22)); }
.flap-shape {
  position: absolute;
  inset: 0;
  border-radius: 8px 8px 0 0;
  clip-path: polygon(0 0, 100% 0, 53% 97%, 50% 100%, 47% 97%);
  background: linear-gradient(180deg, #fefaf5 0%, #f6eee3 55%, #ecdfcf 100%);
}
.flap-back { transform: rotateX(180deg); visibility: hidden; }
#intro.is-opening .flap-back { visibility: visible; transition: visibility 0s 1.47s; }
#intro.is-opening .flap-front { visibility: hidden; transition: visibility 0s 1.47s; }
.flap-liner {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.35), transparent 70%),
    repeating-linear-gradient(45deg, rgba(201, 162, 77, 0.5) 0 1.2px, transparent 1.2px 9px),
    repeating-linear-gradient(-45deg, rgba(201, 162, 77, 0.5) 0 1.2px, transparent 1.2px 9px),
    #f4d7da;
}
#intro.is-opening .env-flap { transform: perspective(1100px) rotateX(180deg); z-index: 1; }

/* vula e dyllit */
.seal-wrap {
  left: 50%;
  top: 60%;
  width: 82px;
  height: 82px;
  z-index: 7;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 5px rgba(40, 5, 15, 0.45));
}
.sprig { position: absolute; width: 78px; height: 48px; right: 56%; top: 46%; transform: rotate(12deg); transition: opacity 0.4s 1s; }
.seal { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.7s var(--ease) 1s, opacity 0.5s 1.1s; }
.seal-l { clip-path: polygon(0 0, 53% 0, 46% 28%, 56% 50%, 45% 74%, 52% 100%, 0 100%); }
.seal-r { clip-path: polygon(53% 0, 100% 0, 100% 100%, 52% 100%, 45% 74%, 56% 50%, 46% 28%); }
#intro.is-opening .seal-l { transform: translate(-24px, 30px) rotate(-30deg); opacity: 0; }
#intro.is-opening .seal-r { transform: translate(24px, 34px) rotate(26deg); opacity: 0; }
#intro.is-opening .sprig { opacity: 0; }

/* personazhi pranë zarfit */
.env-buddy {
  position: absolute;
  z-index: 5;
  left: -11%;
  bottom: -15%;
  width: 46%;
  pointer-events: none;
  transform-origin: 50% 100%;
}
.env-buddy svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 14px rgba(30, 4, 14, 0.45)); }
.b-bob { animation: bBob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.b-wave { animation: bWave 1.3s ease-in-out infinite alternate; transform-box: view-box; }
.b-eyes { animation: bBlink 4.6s infinite; transform-box: fill-box; transform-origin: center; }
.b-ears { animation: bEars 3.2s ease-in-out infinite; transform-box: view-box; transform-origin: 100px 70px; }
@keyframes bBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-1.5deg); } }
@keyframes bWave { from { transform: rotate(-10deg); } to { transform: rotate(22deg); } }
@keyframes bBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }
@keyframes bEars { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(3deg); } }
#intro.is-opening .env-buddy { animation: bJoy 1.1s var(--ease) 0.1s both; }
#intro.is-opening .b-wave { animation-duration: 0.3s; }

/* balerina e artë: më e hollë dhe më e gjatë; kur hapet zarfi bën piruetë */
.env-buddy[data-char="balerina"] { left: -15%; bottom: -12%; width: 33%; }
.env-buddy[data-char="balerina"] svg { filter: drop-shadow(0 10px 12px rgba(30, 4, 14, 0.5)) drop-shadow(0 0 10px rgba(239, 211, 148, 0.25)); }
.b-sway { animation: bSway 4.5s ease-in-out infinite; transform-box: view-box; transform-origin: 87px 244px; }
@keyframes bSway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.5deg); } }
#intro.is-opening .env-buddy[data-char="balerina"] { animation: pirouette 1.3s var(--ease) 0.05s both; }
@keyframes pirouette {
  0% { transform: translateY(0) rotateY(0deg); }
  35% { transform: translateY(-18px) rotateY(200deg); }
  70% { transform: translateY(-4px) rotateY(360deg); }
  100% { transform: translateY(0) rotateY(360deg); }
}

/* personazhi te faqja, pranë kështjellës */
.hero-art { position: relative; }
.hero-buddy { position: absolute; z-index: 2; left: 2%; bottom: 2%; width: 26%; pointer-events: none; }
.hero-buddy[data-char="balerina"] { width: 21%; left: 3%; bottom: 6%; }
@media (min-width: 1024px) {
  .hero-buddy[data-char="balerina"] { width: 25%; left: 5%; bottom: 3%; }
}
.hero-buddy svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 10px rgba(107, 36, 56, 0.25)); }
.hero-buddy .b-wave { animation-duration: 1.8s; }

/* princesha 3D: më e vogël */
.env-buddy[data-char="princesha"] { left: -9%; bottom: -13%; width: 30%; }
.hero-buddy[data-char="princesha"] { left: 4%; bottom: 3%; width: 19%; }
@media (min-width: 1024px) {
  .hero-buddy[data-char="princesha"] { left: 6%; bottom: 3%; width: 22%; }
}
.b-glint { animation: bGlint 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bGlint { 0%, 100% { opacity: 0; transform: scale(0.3); } 50% { opacity: 1; transform: scale(1); } }
@keyframes bJoy {
  0% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-26px) rotate(-7deg); }
  55% { transform: translateY(0) rotate(4deg) scale(1.03, 0.97); }
  75% { transform: translateY(-8px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.intro-hint {
  position: relative;
  z-index: 3;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(239, 211, 148, 0.5);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: var(--caps);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fbeee6;
  animation: pulse 2.2s ease-in-out infinite;
}
.intro-hint span { color: #efd394; letter-spacing: 0; }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
#intro.is-opening .intro-hint { animation: none; opacity: 0; transition: opacity 0.3s; }

/* ============ Faqja ============ */
.sheet { position: relative; overflow: hidden; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.reveal.in { opacity: 1; transform: none; }

.section {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 52px 20px;
  text-align: center;
}

.eyebrow {
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-500);
  margin-bottom: 10px;
}
.script-h {
  font-family: var(--script);
  font-size: clamp(40px, 11vw, 56px);
  line-height: 1.1;
  color: var(--rose-700);
  margin-bottom: 16px;
}
.lead {
  font-size: clamp(19px, 5vw, 21px);
  line-height: 1.6;
  max-width: 32ch;
  margin: 0 auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px auto;
}
.divider::before,
.divider::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}
.divider::after { transform: scaleX(-1); }
.divider svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 104px 20px 56px;
  text-align: center;
}
.hero > *:not(.corner):not(.bfly) { position: relative; z-index: 2; }
.hero-crown { width: 76px; height: 53px; margin-bottom: 14px; }
.hero .eyebrow { max-width: 22ch; line-height: 1.7; }

.year { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 2px; }
.year .one {
  font-family: var(--serif);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  font-size: clamp(120px, 34vw, 160px);
  line-height: 0.85;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.8)) drop-shadow(0 8px 12px rgba(169, 125, 44, 0.22));
  padding: 0 4px;
}
.year .vjetorin {
  font-family: var(--script);
  font-size: clamp(46px, 12.5vw, 62px);
  color: var(--rose-700);
  transform: translateY(12px) rotate(-5deg);
}
.of { font-style: italic; font-size: clamp(22px, 6vw, 27px); margin-top: 4px; }
.name {
  font-family: var(--name);
  font-size: clamp(100px, 30vw, 146px);
  line-height: 1.2;
  margin-top: 6px;
  padding: 0 0.2em;
  background: var(--rose-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, 0.9));
}
.hero .divider { margin: 6px auto 14px; }
.when {
  font-family: var(--caps);
  font-size: clamp(12px, 3.6vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--berry-900);
}
.when i { font-style: normal; color: var(--gold-600); margin: 0 0.5em; }
.castle { width: min(94%, 420px); height: auto; aspect-ratio: 400 / 266; margin-top: 28px; }

.scroll-cue {
  position: absolute !important;
  bottom: 14px;
  left: 50%;
  translate: -50% 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--rose-500);
  animation: nudge 2s ease-in-out infinite;
}
.scroll-cue svg { width: 26px; height: 26px; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Foto (opsionale) */
.photo { margin: 0 auto 28px; width: 200px; height: 200px; border-radius: 50%; padding: 6px; background: var(--foil); box-shadow: 0 18px 34px -18px rgba(156, 61, 85, 0.5); }
.photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fffaf8; }

/* Detajet */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 18px; }
.detail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 10px 18px;
  box-shadow: 0 16px 30px -26px rgba(156, 61, 85, 0.6);
}
.detail-wide { grid-column: 1 / -1; }
.detail svg { width: 28px; height: 28px; color: var(--rose-500); }
.detail .k { font-family: var(--caps); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose-500); margin: 6px 0 4px; }
.detail .v { font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--berry-900); }
.detail .v-sub { font-style: italic; color: var(--ink-soft); margin-top: 2px; }

.map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--blush-100);
  margin-bottom: 22px;
  box-shadow: 0 18px 34px -26px rgba(156, 61, 85, 0.6);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Butonat */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, #b5546c, #93364f);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(156, 61, 85, 0.75);
}
.btn-ghost { background: rgba(255, 255, 255, 0.75); color: var(--rose-700); border: 1px solid rgba(196, 99, 122, 0.4); }
.btn-ghost:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-caption { margin-top: 22px; font-style: italic; color: var(--ink-soft); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.btn-row .btn { flex: 1 1 140px; padding: 0 14px; letter-spacing: 0.1em; }

/* Programi */
.timeline { list-style: none; margin: 18px auto 0; padding: 0; max-width: 360px; position: relative; text-align: left; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(var(--gold-400), var(--rose-300)); }
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 9px 0; }
.tl-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose-500);
  background: #fffaf8;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px -14px rgba(156, 61, 85, 0.7);
}
.tl-icon svg { width: 24px; height: 24px; }
.tl-icon.is-crown svg { width: 30px; height: 21px; }
.tl-time { display: block; font-family: var(--caps); font-size: 13px; letter-spacing: 0.2em; color: var(--gold-600); }
.tl-title { display: block; font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--berry-900); }
.note-card { max-width: 400px; margin: 28px auto 0; padding: 20px 18px; background: var(--card); border: 1px dashed rgba(212, 176, 98, 0.75); border-radius: 20px; }
.note-card svg { width: 28px; height: 28px; color: var(--rose-500); }
.note-card .k { margin: 6px 0 4px; font-family: var(--caps); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose-500); }
#details .btn-row { margin-top: 10px; }

/* Numërimi */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.cd { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 2px 12px; }
.cd b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1;
  color: var(--berry-900);
  font-variant-numeric: lining-nums tabular-nums;
}
.cd span { display: block; margin-top: 6px; font-family: var(--caps); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose-500); }
.cd-done { font-style: italic; }

/* Kalendari */
.cal {
  max-width: 400px;
  margin: 8px auto 0;
  padding: 24px 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 34px -26px rgba(156, 61, 85, 0.6);
}
.cal-month { font-family: var(--caps); font-size: 19px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--berry-900); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 16px; }
.cal-grid .dow { font-family: var(--caps); font-size: 12px; color: var(--rose-500); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.cal-grid .day { position: relative; aspect-ratio: 1; display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.cal-grid .is-event b { position: relative; z-index: 2; color: #fff; font-weight: 600; }
.cal-heart { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); z-index: 1; animation: beat 1.6s ease-in-out infinite; }
.cal-crown { position: absolute; top: -12px; left: 50%; width: 20px; height: 14px; translate: -50% 0; z-index: 3; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

/* Konfirmimi */
.rsvp-card {
  margin-top: 24px;
  padding: 26px 18px 22px;
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 44px -30px rgba(156, 61, 85, 0.6);
}
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field > label,
.field .lbl {
  display: block;
  padding: 0;
  margin-bottom: 8px;
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-700);
}
.field small { text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 15px; color: var(--ink-soft); }
.field input[type="text"],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(196, 99, 122, 0.35);
  background: #fffdfc;
  resize: vertical;
}
.field input::placeholder { color: #b9a0a6; font-style: italic; }
.field input:focus,
.field textarea:focus { outline: 2px solid var(--rose-500); outline-offset: 0; border-color: var(--rose-500); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; font-size: 17px; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(196, 99, 122, 0.35);
  background: #fffdfc;
  text-align: center;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.choice input:checked + span { background: linear-gradient(135deg, #b5546c, #93364f); color: #fff; border-color: transparent; }
.choice input:focus-visible + span { outline: 2px solid var(--rose-500); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(196, 99, 122, 0.35); border-radius: 14px; overflow: hidden; background: #fffdfc; }
.stepper button { width: 52px; height: 50px; border: 0; background: transparent; font-size: 24px; color: var(--rose-700); cursor: pointer; }
.stepper button:active { background: var(--blush-100); }
.stepper output { min-width: 52px; text-align: center; font-size: 22px; font-weight: 600; color: var(--berry-900); }

.form-msg { min-height: 1.4em; margin: -6px 0 12px; font-style: italic; color: var(--rose-700); text-align: center; }

.rsvp-thanks { text-align: center; }
.rsvp-thanks .script-h { margin: 6px 0 8px; }
.thanks-heart { width: 40px; height: 40px; animation: beat 1.6s ease-in-out infinite; }
.link-btn { margin-top: 14px; background: none; border: 0; color: var(--rose-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 17px; }

/* Mbyllja */
.closing { padding-bottom: 120px; }
.closing > *:not(.corner) { position: relative; z-index: 2; }
.closing .crown { margin-bottom: 14px; }
.closing .script-h { font-size: clamp(44px, 12vw, 62px); }
.hosts { font-style: italic; font-size: 22px; margin-top: 4px; }
.signature { margin-top: 18px; font-family: var(--caps); font-size: 13px; letter-spacing: 0.3em; color: var(--gold-600); }
.credit { padding: 0 20px 40px; text-align: center; font-family: var(--caps); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-soft); }

.hashtag { margin-top: 26px; font-style: italic; color: var(--ink-soft); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--rose-700);
  font-family: var(--caps);
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.chip svg { width: 20px; height: 20px; }
.hero .name { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Galeria: fotografi polaroid */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; max-width: 520px; margin: 30px auto 0; padding: 0; }
.pol button {
  display: block;
  width: 100%;
  padding: 9px 9px 0;
  border: 0;
  background: #fffdfb;
  font: inherit;
  cursor: zoom-in;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 14px 28px -18px rgba(107, 36, 56, 0.55), 0 1px 3px rgba(107, 36, 56, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.pol button:hover,
.pol button:focus-visible { transform: rotate(0deg) scale(1.03); box-shadow: 0 22px 36px -18px rgba(107, 36, 56, 0.6); }
.pol img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--blush-100); }
.pol span { display: block; min-height: 30px; padding: 7px 4px 9px; font-family: var(--script); font-size: 22px; line-height: 1.1; color: var(--rose-700); }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(45, 10, 25, 0.9); }
.lightbox figure { margin: 0; max-width: min(90vw, 1100px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 78vh; border: 8px solid #fffdfb; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { margin-top: 12px; font-family: var(--script); font-size: 30px; color: #fff3ef; }
.lb-close,
.lb-nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(239, 211, 148, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lb-close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }

/* Albumi: ngarkimi i fotove nga mysafirët */
.upload-card {
  max-width: 560px;
  margin: 26px auto 0;
  padding: 22px 18px 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 44px -30px rgba(156, 61, 85, 0.6);
}
.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px 16px;
  border: 1.5px dashed rgba(196, 99, 122, 0.55);
  border-radius: 20px;
  background: #fffdfc;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.drop:hover,
.drop.over { background: var(--blush-100); border-color: var(--rose-500); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 34px; height: 34px; color: var(--rose-500); }
.drop b { font-family: var(--caps); font-weight: 600; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-700); }
.drop small { font-style: italic; color: var(--ink-soft); }
.drop:has(input:focus-visible) { outline: 2px solid var(--rose-500); outline-offset: 3px; }
.up-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin: 14px 0 18px; padding: 0; }
.up-list:empty { display: none; }
.upload-card .field { margin-top: 16px; }
.up-item { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1; background: var(--blush-100); }
.up-item img { width: 100%; height: 100%; object-fit: cover; }
.up-item i { position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--p, 0) * 100%); background: var(--gold-400); transition: width 0.2s; }
.up-item.busy img { opacity: 0.6; }
.up-item.done::after,
.up-item.err::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #4f9a6a;
  color: #fff;
  font-size: 13px;
}
.up-item.err::after { content: "!"; background: #b33a3a; }
.up-note { margin: 10px 0 0; text-align: center; font-size: 15px; font-style: italic; color: var(--ink-soft); }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* Butonat lundrues */
.fab {
  position: fixed;
  z-index: 45;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s 0.4s;
}
body.opened .fab { opacity: 1; pointer-events: auto; }
.fab button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--rose-700);
  background: rgba(255, 250, 248, 0.88);
  border: 1px solid rgba(212, 176, 98, 0.65);
  box-shadow: 0 10px 22px -10px rgba(156, 61, 85, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.fab button[hidden] { display: none; }
.fab svg { width: 21px; height: 21px; }
.music.is-on svg { animation: sway 1.4s ease-in-out infinite; }
.music:not(.is-on) { opacity: 0.75; }
.music:not(.is-on)::after { content: ""; position: absolute; width: 26px; height: 1.6px; background: currentColor; transform: rotate(-45deg); }
@keyframes sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

#toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  translate: -50% 20px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--berry-900);
  color: #fff;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.3s var(--ease);
}
#toast.show { opacity: 1; translate: -50% 0; }

/* Petale që bien + shkëndija */
#petals { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  top: -30px;
  width: var(--s);
  height: calc(var(--s) * 0.78);
  border-radius: 80% 0 80% 0;
  background: radial-gradient(circle at 30% 30%, #fde6ea, #eda4b3);
  opacity: 0.7;
  animation: fall var(--d) linear var(--delay) infinite;
}
@keyframes fall {
  0% { transform: translate3d(0, -5vh, 0) rotate(0deg); }
  50% { transform: translate3d(calc(var(--x) * -0.5), 50vh, 0) rotate(260deg); }
  100% { transform: translate3d(var(--x), 108vh, 0) rotate(540deg); }
}

.spark {
  position: fixed;
  z-index: 55;
  border-radius: 50%;
  background: var(--c);
  pointer-events: none;
  animation: burst 1.4s var(--ease) forwards;
}
.spark.heart { border-radius: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.2S2.6 15.4 2.6 8.9A5 5 0 0 1 12 6.3a5 5 0 0 1 9.4 2.6c0 6.5-9.4 12.3-9.4 12.3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.2S2.6 15.4 2.6 8.9A5 5 0 0 1 12 6.3a5 5 0 0 1 9.4 2.6c0 6.5-9.4 12.3-9.4 12.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes burst {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1); opacity: 0; }
}

/* Pjesë që shfaqen vetëm në desktop */
.topnav,
.hero-cta,
.arch-corner,
.rsvp-crown { display: none; }
.hero-text { display: flex; flex-direction: column; align-items: center; }
.hero-art { width: min(94%, 420px); margin-top: 28px; }
.hero-art .castle { width: 100%; margin-top: 0; }

/* Tablet */
@media (min-width: 720px) and (max-width: 1023px) {
  .section { max-width: 680px; }
  .details { grid-template-columns: repeat(3, 1fr); }
  .detail-wide { grid-column: auto; }
}

/* ============ Desktop: faqe e plotë, jo kolonë telefoni ============ */
@media (min-width: 1024px) {
  html { scroll-padding-top: 96px; }
  body { font-size: 20px; }
  .section { max-width: 1180px; padding: 88px 48px; }
  .script-h { font-size: clamp(56px, 4.6vw, 74px); }
  .lead { font-size: 23px; max-width: 46ch; }
  .eyebrow { font-size: 14px; }

  /* menuja sipër */
  .topnav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 44;
    align-items: center;
    gap: 34px;
    padding: 14px max(40px, calc((100vw - 1180px) / 2));
    background: rgba(253, 247, 244, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 176, 98, 0.3);
    transform: translateY(-110%);
    transition: transform 0.7s var(--ease) 0.6s;
  }
  body.opened .topnav { transform: none; }
  .brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-family: var(--name); font-size: 36px; line-height: 1; color: var(--rose-700); text-decoration: none; }
  .brand svg { width: 34px; height: 24px; }
  .topnav ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
  .topnav ul li[hidden] { display: none; }
  .topnav ul a { font-family: var(--caps); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color 0.2s; }
  .topnav ul a:hover { color: var(--rose-700); }
  .btn-sm { min-height: 42px; padding: 0 22px; font-size: 12px; }
  .nav-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--rose-700);
    font-family: var(--caps);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-share:hover { background: #fff; }
  .nav-share svg { width: 16px; height: 16px; }
  .fab #shareBtn { display: none; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 34px 26px; max-width: 1100px; margin-top: 40px; }

  /* hero në dy kolona */
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
    max-width: 1280px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 130px 56px 90px;
  }
  .hero .corner { width: 270px; height: 270px; }
  .hero .eyebrow { max-width: none; font-size: 15px; }
  .hero-crown { width: 92px; height: 64px; }
  .year .one { font-size: 172px; }
  .year .vjetorin { font-size: 78px; }
  .of { font-size: 32px; }
  .name { font-size: 188px; }
  .when { font-size: 16px; }
  .hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
  .hero-art {
    position: relative;
    width: 100%;
    max-width: 520px;
    justify-self: center;
    aspect-ratio: 4 / 5;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px 999px 36px 36px;
    border: 1px solid var(--line);
    background: radial-gradient(80% 60% at 50% 32%, #ffffff 0%, #fdf0ee 45%, #f5d7d4 100%);
    box-shadow: 0 60px 100px -60px rgba(156, 61, 85, 0.6), inset 0 0 0 10px rgba(255, 255, 255, 0.55);
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 999px 999px 24px 24px;
    border: 1px solid rgba(212, 176, 98, 0.6);
    pointer-events: none;
  }
  .hero-art .castle { width: 98%; margin-bottom: -3%; }
  .arch-corner { display: block; position: absolute; top: 14%; left: -4%; width: 44%; height: auto; aspect-ratio: 1; transform: rotate(-8deg); }
  .bfly.b3 { top: 20%; right: 8%; width: 46px; height: 41px; }
  .bfly.b4 { top: 64%; left: 4%; width: 34px; height: 30px; }
  .scroll-cue { bottom: 22px; }

  /* historia */
  .story { max-width: 860px; }

  /* detajet krah hartës */
  .details-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    grid-template-areas: "cards map" "maps map" "row map";
    grid-template-rows: auto auto 1fr;
    gap: 18px 44px;
    margin-top: 38px;
  }
  .details { grid-area: cards; margin: 0; }
  .details-grid .map { grid-area: map; aspect-ratio: auto; min-height: 480px; margin: 0; }
  .details-grid #mapsLink { grid-area: maps; }
  .details-grid .btn-row { grid-area: row; align-self: start; margin: 0; }
  .detail .v { font-size: 23px; }

  /* programi horizontal */
  .timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 1040px; margin-top: 44px; text-align: center; }
  .timeline::before { left: 12%; right: 12%; top: 48px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--gold-400), var(--rose-300), var(--gold-400)); }
  .tl-item { grid-template-columns: 1fr; justify-items: center; gap: 14px; padding: 10px 14px; }
  .tl-icon { width: 78px; height: 78px; }
  .tl-icon svg { width: 30px; height: 30px; }
  .tl-icon.is-crown svg { width: 40px; height: 28px; }
  .tl-title { font-size: 23px; }
  .note-card { max-width: 600px; margin-top: 52px; }

  /* numërimi + kalendari krah për krah */
  .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 48px; }
  .duo .section { max-width: none; margin: 0; padding: 80px 0; }
  .duo .script-h { font-size: 56px; }
  .cd { padding: 26px 6px 18px; border-radius: 22px; }
  .cd b { font-size: 64px; }
  .cd span { font-size: 12px; }
  .cal { max-width: 470px; }

  /* konfirmimi në dy kolona */
  #rsvp { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; text-align: left; }
  .rsvp-crown { display: block; width: 86px; height: 60px; margin: 0 0 18px; }
  .rsvp-intro .lead { margin: 0; max-width: 30ch; }
  .rsvp-side .rsvp-card { margin-top: 0; padding: 36px 34px 30px; }

  /* mbyllja */
  .closing { max-width: none; padding: 130px 48px 160px; }
  .closing .corner { width: 290px; height: 290px; }

  /* zarfi më i madh */
  .env-scene { width: clamp(440px, 36vw, 580px); }
  .intro-title { font-size: 64px; }
  .intro-eyebrow { font-size: 14px; }
  #intro .corner { width: 340px; height: 340px; }
  .env-from { font-size: 17px; }
  .env-from svg { width: 28px; height: 20px; }
  .env-address small { font-size: 12px; }
  #envTo { font-size: 46px; }
  .stamp-art b { font-size: 24px; }
  .stamp-art i { font-size: 9px; }
  .env-card .crown { width: 48px; height: 34px; }
  .env-name { font-size: 80px; }
  .env-sub { font-size: 21px; }
  .env-date { font-size: 13px; }
  .seal-wrap { width: 108px; height: 108px; }
  .sprig { width: 100px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  #petals { display: none; }
}
