:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #dbeafe;
  --accent: #ffd166;
  --text: #334155;
  --bg: #f0f7ff;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle, rgba(59, 130, 246, 0.12) 2px, transparent 2px),
    radial-gradient(circle, rgba(253, 224, 71, 0.18) 1.5px, transparent 1.5px);
  background-size: 38px 38px, 54px 54px;
  background-position: 0 0, 19px 19px;
  color: var(--text);
  overflow-x: hidden;
}

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* =========================================
   LATAR BELAKANG BLUR ATAS (COVER HERO)
========================================= */
.top-cover-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 520px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.top-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(28px) brightness(0.92);
  transform: scale(1.2);
  opacity: 0.55;
  transition: opacity 0.5s ease;
}

.top-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(219, 234, 254, 0.2) 0%,
    rgba(240, 247, 255, 0.55) 50%,
    var(--bg) 100%
  );
}

/* Lebar utama dibuat seragam dan simetris (880px) */
.content-wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 25px 20px;
  position: relative;
  z-index: 1;
}

/* COVER SCREEN */
#cover-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #bfdbfe 0%, #dbeafe 50%, #eff6ff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  text-align: center;
  padding: 24px;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#cover-screen.hide {
  transform: translateY(-100%);
}

.cover-subtitle {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #3b82f6;
  font-weight: 600;
}

.cover-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin: 6px 0;
}

.cover-desc {
  font-size: 1.05rem;
}

.btn-open {
  margin-top: 25px;
  padding: 13px 34px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s, background 0.2s;
}

.btn-open:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

/* HERO SECTION (MOBILE) */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px 10px;
  gap: 20px;
}

.photo-container {
  position: relative;
  display: inline-block;
}

.party-hat {
  position: absolute;
  top: -24px;
  right: -6px;
  z-index: 5;
  transform-origin: bottom center;
  animation: hatWiggle 3.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

@keyframes hatWiggle {
  0% { transform: rotate(14deg) scale(1); }
  50% { transform: rotate(22deg) scale(1.06); }
  100% { transform: rotate(12deg) scale(0.98); }
}

.photo-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 7px solid white;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
  overflow: hidden;
  background: var(--secondary);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  max-width: 580px;
}

.header-sub {
  font-size: 0.95rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.child-name {
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  color: var(--primary);
  line-height: 1.15;
  margin: 8px 0;
}

.age-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd166, #f59e0b);
  color: #78350f;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
  letter-spacing: 0.5px;
}

.invitation-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 12px;
  color: #555;
}

/* STYLING KARTU UMUM */
.card {
  position: relative;
  background: var(--card-bg);
  padding: 32px 24px 28px;
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(219, 234, 254, 0.7);
  text-align: center;
  overflow: hidden;
}

/* Garis aksen pelangi pesta HUT di bagian atas setiap kartu */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3b82f6 0%, #93c5fd 25%, #ffd166 50%, #60a5fa 75%, #3b82f6 100%);
  border-radius: 22px 22px 0 0;
}

.card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.55rem;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

/* ORNAMEN BENDERA PESTA HUT (BUNTING GARLAND) */
.hut-bunting {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 7px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 2px 0 8px;
}

.cover-bunting {
  margin-bottom: 25px;
}

.main-bunting {
  margin: -10px auto 15px auto;
  max-width: 620px;
}

.hut-bunting .flag {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #3b82f6;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transform-origin: top center;
  animation: flagSwing 3s ease-in-out infinite alternate;
}

.hut-bunting .flag.f-blue   { border-top-color: #2563eb; animation-delay: 0.1s; }
.hut-bunting .flag.f-yellow { border-top-color: #fcd34d; animation-delay: 0.3s; }
.hut-bunting .flag.f-sky    { border-top-color: #60a5fa; animation-delay: 0.5s; }
.hut-bunting .flag.f-gold   { border-top-color: #f59e0b; animation-delay: 0.2s; }

@keyframes flagSwing {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

/* KARTU COUNTDOWN (TENGAH SENDIRI) */
.countdown-card {
  width: 100%;
  margin-top: 25px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.time-box {
  background: #eff6ff;
  padding: 12px 10px;
  border-radius: 14px;
  min-width: 70px;
  flex: 1;
  max-width: 90px;
}

.time-box span {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.time-box small {
  font-size: 0.78rem;
  color: #777;
}

/* GRID BAWAH (WAKTU & LOKASI + RSVP) */
.bottom-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* WAKTU & LOKASI */
.event-card {
  display: flex;
  flex-direction: column;
}

.event-info {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-action {
  margin-top: auto; /* Memaksa tombol selalu rata di dasar kartu */
}

.btn-map {
  display: block;
  width: 100%;
  padding: 13px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-map:hover {
  background: #2563eb;
}

/* RSVP */
.rsvp-card {
  display: flex;
  flex-direction: column;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.rsvp-form input,
.rsvp-form select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.92rem;
  outline: none;
  background-color: #fafafa;
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: auto; /* Memaksa tombol selalu rata di dasar kartu */
}

.btn-submit:hover {
  background: #1eb956;
}

/* WATERMARK FOOTER */
.footer-credit {
  width: 100%;
  background-color: #111111;
  color: #ffffff;
  text-align: center;
  padding: 13px;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  margin-top: 45px;
  opacity: 0.95;
}

/* ========================================================
   TAMPILAN DESKTOP & TABLET LEBAR (>= 768px)
======================================================== */
@media (min-width: 768px) {
  .content-wrapper {
    padding: 35px 20px;
  }

  /* Hero: Foto di Kiri, Detail Teks di Kanan */
  .hero-section {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 50px;
    padding: 20px 0 35px;
  }

  .child-name {
    font-size: 3.6rem;
  }

  .photo-frame {
    width: 250px;
    height: 250px;
    border-width: 8px;
  }

  /* Bagian Bawah Menjadi 2 Kolom Sejajar dan Sama Tinggi */
  .bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }

  .bottom-grid .card {
    padding: 32px 30px;
  }
}

/* =========================================
   FITUR KOLOM KOMENTAR & BUKU TAMU
========================================= */
.wishes-card {
  margin-top: 25px;
  text-align: left;
}

.wishes-card h3 {
  text-align: center;
}

.wishes-desc {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.wishes-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.wishes-form input,
.wishes-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.92rem;
  outline: none;
  background-color: #fafafa;
  font-family: inherit;
  transition: border-color 0.2s;
}

.wishes-form textarea {
  resize: vertical;
  min-height: 80px;
}

.wishes-form input:focus,
.wishes-form textarea:focus {
  border-color: var(--primary);
  background-color: #ffffff;
}

#btn-wish-submit {
  background: var(--primary);
  margin-top: 4px;
}

#btn-wish-submit:hover {
  background: var(--primary-dark);
}

.wishes-header-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a4a4a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

/* CONTAINER SCROLLABLE UCAPAN */
.wishes-container {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 6px;
}

/* Scrollbar rapi */
.wishes-container::-webkit-scrollbar {
  width: 5px;
}
.wishes-container::-webkit-scrollbar-track {
  background: #f8f8f8;
  border-radius: 10px;
}
.wishes-container::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 10px;
}

/* BALON KOMENTAR / KARTU UCAPAN */
.wish-item {
  display: flex;
  gap: 12px;
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 14px;
}

.wish-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  text-transform: uppercase;
}

.wish-body {
  flex: 1;
  min-width: 0;
}

.wish-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.wish-sender {
  font-weight: 600;
  font-size: 0.92rem;
  color: #2d3748;
}

.wish-time {
  font-size: 0.72rem;
  color: #a0aec0;
}

.wish-text {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.5;
  word-wrap: break-word;
}

.wish-empty {
  text-align: center;
  font-size: 0.88rem;
  color: #888;
  padding: 20px 0;
}

/* TOMBOL PENGINGAT (ADD TO CALENDAR) */
.countdown-action {
  margin-top: 22px;
}

.btn-reminder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-reminder:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.btn-reminder:active {
  transform: translateY(0);
}

/* =========================================
   FITUR KADO DIGITAL / ONLINE (AMPLOP DIGITAL)
========================================= */
.gift-card {
  margin-top: 25px;
}

.gift-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  max-width: 560px;
  margin: 0 auto 22px;
}

.bank-card {
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1.5px solid #cfe2fe;
  border-radius: 20px;
  padding: 22px 20px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bank-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bank-logo-box {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
}

.bank-mandiri-logo {
  height: 30px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

.bank-type-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e40af;
  background: #dbeafe;
  padding: 4px 12px;
  border-radius: 20px;
}

.bank-card-content {
  text-align: left;
  margin-bottom: 18px;
}

.rek-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 2px;
}

.rek-label:first-child {
  margin-top: 0;
}

.rek-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1e3a8a;
  user-select: all;
}

.rek-owner {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 2px;
}

.bank-card-action {
  margin-top: 14px;
}

.btn-copy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-copy:active {
  transform: translateY(0);
}

.btn-copy.copied {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* POPUP TOAST NOTIFIKASI SALIN */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 99999;
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-check {
  background: #10b981;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* =========================================
   ANIMASI SCROLL (REVEAL) & ORNAMEN BALON
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.floating-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.container {
  position: relative;
  z-index: 2; /* Agar konten berada di atas balon */
}

/* BALON CSS PURE */
.balloon {
  --b-color: #60a5fa;
  --b-scale: 1;
  position: absolute;
  bottom: -150px;
  width: 40px;
  height: 50px;
  background-color: var(--b-color);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  opacity: 0.65;
  animation: floatUp 15s infinite ease-in-out;
}

/* Simpul bawah balon */
.balloon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--b-color);
}

/* Tali balon */
.balloon::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 25px;
  background-color: rgba(0, 0, 0, 0.15);
}

/* Varian posisi dan kecepatan balon */
.balloon-1 { left: 10%; --b-color: #93c5fd; --b-scale: 0.9; animation-duration: 18s; animation-delay: 2s; }
.balloon-2 { left: 25%; --b-color: #fcd34d; --b-scale: 1.1; animation-duration: 25s; animation-delay: 0s; }
.balloon-3 { left: 45%; --b-color: #60a5fa; --b-scale: 0.8; animation-duration: 16s; animation-delay: 5s; }
.balloon-4 { left: 65%; --b-color: #fde047; --b-scale: 1;   animation-duration: 22s; animation-delay: 1s; }
.balloon-5 { left: 80%; --b-color: #bfdbfe; --b-scale: 1.2; animation-duration: 28s; animation-delay: 8s; }
.balloon-6 { left: 90%; --b-color: #93c5fd; --b-scale: 0.85; animation-duration: 19s; animation-delay: 11s; }

@keyframes floatUp {
  0% {
    bottom: -150px;
    transform: translateX(0) scale(var(--b-scale));
  }
  33% {
    transform: translateX(25px) scale(var(--b-scale));
  }
  66% {
    transform: translateX(-25px) scale(var(--b-scale));
  }
  100% {
    bottom: 110vh;
    transform: translateX(0) scale(var(--b-scale));
  }
}

/* =========================================
   TOMBOl MUSIK MELAYANG (FLOATING AUDIO)
========================================= */
.music-floating-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.2s, background 0.3s, opacity 0.3s;
}

.music-floating-btn:hover {
  transform: scale(1.08);
}

.music-floating-btn:active {
  transform: scale(0.95);
}

.music-disc-icon {
  display: inline-block;
  font-size: 1.3rem;
  animation: discSpin 3.5s linear infinite;
}

.music-floating-btn.paused {
  background: #64748b;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.music-floating-btn.paused .music-disc-icon {
  animation-play-state: paused;
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =========================================
   GALERI FOTO (POTRET CERIA)
========================================= */
.gallery-card {
  margin-top: 25px;
}

.gallery-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin-top: -10px;
  margin-bottom: 22px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1);
  border: 3px solid #ffffff;
  background: #dbeafe;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* DESKTOP GALLERY (4 KOLOM) */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* =========================================
   MODAL LIGHTBOX FOTO
========================================= */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(6px);
  padding: 20px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  border: 4px solid #ffffff;
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox-modal.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

