/* =====================================================
   SANDORA — Luxury Girly Theme & Redesign
   Shared stylesheet with rose gold, blush pink & violet glow
   ===================================================== */

:root {
  --bg: #0c0612;
  --bg-soft: #140a1d;
  --text: #fdf2f8;
  --muted: rgba(253, 242, 248, 0.72);
  --faint: rgba(253, 242, 248, 0.45);

  --c1: #ec4899;   /* vibrant hot pink */
  --c2: #f472b6;   /* blush pink */
  --c3: #fb7185;   /* rose gold accent */
  --c4: #c084fc;   /* luxury lavender */
  --gold: #fbbf24; /* sparkling gold */

  --grad: linear-gradient(135deg, #ec4899 0%, #c084fc 50%, #f472b6 100%);
  --grad-soft: linear-gradient(120deg, #f472b6, #fb7185 45%, #fde047 90%);
  --grad-rose-gold: linear-gradient(135deg, #f472b6, #fbbf24 50%, #ec4899);

  --glass: rgba(255, 255, 255, 0.065);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(244, 114, 182, 0.22);
  --border-bright: rgba(251, 113, 133, 0.45);
  --border-gold: rgba(251, 191, 36, 0.4);

  --radius: 24px;
  --radius-lg: 32px;
  --shadow: 0 24px 65px -20px rgba(12, 6, 18, 0.85);
  --shadow-glow: 0 0 0 1px var(--border-bright), 0 25px 60px -20px rgba(236, 72, 153, 0.55);
  --shadow-gold: 0 0 0 1px var(--border-gold), 0 25px 60px -20px rgba(251, 191, 36, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  font-family: "Outfit", "Poppins", system-ui, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   ANIMATED GIRLY BACKGROUND
   ===================================================== */
.bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1100px 750px at 15% -10%, rgba(236, 72, 153, 0.32), transparent 65%),
    radial-gradient(1000px 700px at 88% 12%, rgba(192, 132, 252, 0.28), transparent 60%),
    radial-gradient(950px 850px at 50% 115%, rgba(251, 113, 133, 0.22), transparent 65%),
    var(--bg);
}

/* floating dreamy blobs */
.blob {
  position: fixed;
  z-index: -2;
  width: 48vmax;
  height: 48vmax;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}
.blob.b1 { top: -14vmax; left: -10vmax; background: radial-gradient(circle, var(--c1), transparent 65%); animation: drift1 22s ease-in-out infinite; }
.blob.b2 { bottom: -16vmax; right: -12vmax; background: radial-gradient(circle, var(--c3), transparent 65%); animation: drift2 26s ease-in-out infinite; }
.blob.b3 { top: 35%; left: 55%; background: radial-gradient(circle, var(--c4), transparent 65%); opacity: 0.4; animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vmax, 6vmax) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-9vmax, -5vmax) scale(1.18); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6vmax, 7vmax) scale(0.9); } }

/* subtle sparkle grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: 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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* floating particles layer (hearts / sparkles / butterflies injected by JS) */
.particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  bottom: -40px;
  font-size: 18px;
  opacity: 0;
  will-change: transform, opacity;
  animation: rise linear infinite;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.65));
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) rotate(0deg) scale(var(--s, 1)); opacity: 0; }
  12%  { opacity: var(--o, 0.85); }
  88%  { opacity: var(--o, 0.85); }
  100% { transform: translateY(-112vh) translateX(var(--x, 30px)) rotate(360deg) scale(var(--s, 1)); opacity: 0; }
}

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */
.wrap { width: min(960px, 92vw); margin-inline: auto; }
section { position: relative; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3.2rem, 9vw, 6rem) 1.25rem 2.5rem;
  width: min(840px, 92vw);
  margin-inline: auto;
}

/* glowing rose-gold rotating ring around the photo */
.hero__photo {
  position: relative;
  width: clamp(155px, 42vw, 215px);
  aspect-ratio: 1;
  margin-bottom: 1.8rem;
  display: grid;
  place-items: center;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--c1), var(--gold), var(--c4), var(--c3), var(--c1));
  filter: blur(10px);
  opacity: 0.9;
  animation: spin 7s linear infinite;
  z-index: -1;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--c1), var(--gold), var(--c4), var(--c3), var(--c1));
  animation: spin 7s linear infinite;
  z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--bg);
  box-shadow: 0 15px 45px -10px rgba(0,0,0,0.8);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fbcfe8;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.12);
  backdrop-filter: blur(12px);
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.2);
}

h1 {
  font-family: "Playfair Display", "Outfit", serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 6.8vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
  filter: drop-shadow(0 2px 20px rgba(244, 114, 182, 0.35));
}
@keyframes shine { to { background-position: 200% center; } }

h1 span { -webkit-background-clip: text; background-clip: text; }

.subtitle {
  color: var(--muted);
  margin: 0.9rem auto 2rem;
  font-size: clamp(1.02rem, 2.6vw, 1.22rem);
  max-width: 38ch;
  font-weight: 400;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 1rem 2.1rem;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 14px 38px -10px rgba(236, 72, 153, 0.75);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  isolation: isolate;
}
.btn::before { /* shimmer sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.5) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
  z-index: 1;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 46px -12px rgba(236, 72, 153, 0.95); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn--gold {
  background: var(--grad-rose-gold);
  color: #1a051d;
  font-weight: 700;
  box-shadow: 0 14px 38px -10px rgba(251, 191, 36, 0.7);
}
.btn--gold:hover { box-shadow: 0 22px 48px -12px rgba(251, 191, 36, 0.9); }

.btn--ghost {
  background: var(--glass);
  border: 1px solid var(--border-bright);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--glass-strong); box-shadow: 0 14px 30px -16px rgba(0,0,0,0.7); }

/* =====================================================
   DATE BUTTONS (landing)
   ===================================================== */
.date-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: min(460px, 90vw);
  margin: 2.5rem auto 0;
}
.date-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.date-btn::after { /* gradient edge glow on hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.date-btn:hover { transform: translateY(-4px) scale(1.018); border-color: transparent; box-shadow: var(--shadow-glow); }
.date-btn:hover::after { opacity: 1; }

.date-btn--featured {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(251, 191, 36, 0.12));
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 45px -15px rgba(251, 191, 36, 0.35);
}
.date-btn--featured::after {
  background: var(--grad-rose-gold);
}
.date-btn--featured:hover {
  box-shadow: var(--shadow-gold);
}

.date-btn__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex: none;
  border-radius: 16px;
  font-size: 1.5rem;
  background: var(--grad);
  box-shadow: 0 8px 22px -6px rgba(236, 72, 153, 0.85);
}
.date-btn--featured .date-btn__icon {
  background: var(--grad-rose-gold);
  box-shadow: 0 8px 22px -6px rgba(251, 191, 36, 0.85);
}

.date-btn__text { display: flex; flex-direction: column; line-height: 1.3; text-align: left; }
.date-btn__text strong { font-size: 1.2rem; font-weight: 700; color: #fff; }
.date-btn__text span { font-size: 0.88rem; color: var(--muted); }
.date-btn__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--grad-rose-gold);
  color: #1a051d;
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  margin-top: 0.25rem;
  align-self: flex-start;
}
.date-btn__arrow { margin-left: auto; font-size: 1.35rem; color: var(--faint); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.date-btn:hover .date-btn__arrow { transform: translateX(6px); color: #fff; }

/* =====================================================
   CARDS
   ===================================================== */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  width: min(780px, 92vw);
  margin: 2.2rem auto;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before { /* luxury border glow overlay */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 0.8; }

.card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  margin-bottom: 0.8rem;
  color: #fff;
  background: linear-gradient(120deg, #fff 40%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card p { color: var(--muted); font-size: 1.02rem; }

/* Special Graduation Feature Card */
.card--grad {
  background: linear-gradient(145deg, rgba(236, 72, 153, 0.12), rgba(251, 191, 36, 0.08));
  border: 1px solid var(--border-gold);
  box-shadow: 0 25px 60px -20px rgba(251, 191, 36, 0.3);
}
.card--grad::before {
  background: var(--grad-rose-gold);
  opacity: 0.7;
}

/* =====================================================
   WISHES & ACHIEVEMENTS GRID (Graduation Page)
   ===================================================== */
.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  width: min(840px, 92vw);
  margin: 2rem auto;
}
.wish-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  text-align: center;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wish-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--c2);
}
.wish-card__icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: inline-block;
  animation: floaty 4s ease-in-out infinite;
}
.wish-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #fff;
}
.wish-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  width: min(960px, 92vw);
  margin: 2.8rem auto;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.gallery__item:hover { transform: translateY(-7px); box-shadow: var(--shadow-glow); border-color: var(--border-bright); }
.gallery__item img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item.phone img { height: 450px; }

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.8rem 1.1rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(12,6,18,0.95), rgba(12,6,18,0.4) 60%, transparent);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }
/* zoom hint icon */
.gallery__item::after {
  content: "\2922";
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(12,6,18,0.65);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(8px);
  font-size: 1.05rem;
  color: #fbcfe8;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery__item:hover::after { opacity: 1; transform: scale(1); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  text-align: center;
  color: var(--muted);
  padding: 3.5rem 1rem 4.5rem;
  font-size: 0.95rem;
}
.footer .heartline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--border-bright);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.15);
}
.footer .heartline .hb { animation: beat 1.4s ease-in-out infinite; display: inline-block; }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }

/* =====================================================
   MODAL
   ===================================================== */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  z-index: 1000;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 3, 10, 0.78);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.35s var(--ease);
}
.modal__dialog {
  position: relative;
  z-index: 2;
  width: min(500px, 100%);
  background: linear-gradient(160deg, rgba(28, 14, 38, 0.97), rgba(16, 8, 25, 0.97));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem 2rem;
  box-shadow: 0 45px 100px -30px rgba(0,0,0,0.9);
  animation: popIn 0.45s var(--ease);
}
.modal__dialog::before { /* gradient top border */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad-rose-gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.85;
  pointer-events: none;
}
.modal__close {
  position: absolute;
  top: 0.8rem; right: 0.9rem;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.modal__close:hover { color: #fff; background: var(--glass-strong); transform: rotate(90deg); }

.card--message { background: none; border: none; box-shadow: none; padding: 0.4rem 0.2rem; margin: 0; }
.card--message h2 { font-family: "Playfair Display", serif; margin-bottom: 1.1rem; color: #fff; }
.card--message p { color: var(--text); margin-bottom: 1rem; font-size: 1.05rem; line-height: 1.7; }
.card--message .signature { color: #fbcfe8; margin-top: 1.4rem; font-weight: 700; font-size: 1.1rem; }

/* Arabic message direction */
[dir="rtl"], .rtl { direction: rtl; text-align: right; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 4vw;
  background: rgba(6,3,10,0.92);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 20px;
  border: 1px solid var(--border-bright);
  box-shadow: 0 45px 110px -30px rgba(0,0,0,0.95);
  transform: scale(0.92);
  transition: transform 0.4s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: var(--glass);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.lightbox__close:hover { transform: rotate(90deg); background: var(--glass-strong); }

/* =====================================================
   CUSTOM SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--c1), var(--c4)); border-radius: 99px; border: 2px solid var(--bg-soft); }
::selection { background: rgba(236, 72, 153, 0.45); color: #fff; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
/* =====================================================
   MUSIC CONTROL BUTTON
   ===================================================== */
.music-btn {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(12, 6, 18, 0.75);
  border: 1px solid var(--border-bright);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.music-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(236, 72, 153, 0.2);
  border-color: var(--c2);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.4);
}
.music-btn.playing {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(251, 191, 36, 0.2));
  animation: pulse-music 2.5s infinite;
}
.music-btn__icon {
  font-size: 1.1rem;
}
@keyframes pulse-music {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
}

/* =====================================================
   PHOTO PLACEHOLDERS & FALLBACKS
   ===================================================== */
.img-error {
  display: none !important;
}

.hero__photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(192, 132, 252, 0.25));
  border: 4px solid var(--bg);
  font-size: clamp(3.5rem, 10vw, 5rem);
  box-shadow: 0 15px 45px -10px rgba(0,0,0,0.8);
  animation: floaty 5s ease-in-out infinite;
}

.gallery__placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 290px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(236, 72, 153, 0.08));
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 1.8rem;
  text-align: center;
  padding: 1.5rem;
}
.gallery__placeholder span {
  font-size: 0.85rem;
  font-family: monospace;
  color: #fbcfe8;
  background: rgba(12, 6, 18, 0.6);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.gallery__item img.img-error + .gallery__placeholder {
  display: flex;
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item img, .gallery__placeholder { height: 310px; }
  .gallery__item.phone img { height: 410px; }
  .modal__dialog { padding: 1.8rem 1.4rem; }
  .wishes-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

