/* ============================================================
   ARVIND & JYOTI — Page-Specific Styles
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   INDEX.HTML — HERO PAGE
══════════════════════════════════════════════════════════════ */

/* ── Bokeh Background ── */
.bokeh-bg {
  position: fixed;
  inset: 0;
  max-width: 430px;
  margin: 0 auto;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bokeh-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.bokeh-1 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,116,138,0.28) 0%, transparent 70%);
  top: -60px; left: -40px;
  animation: bokehDrift 14s ease-in-out infinite;
}

.bokeh-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,168,83,0.18) 0%, transparent 70%);
  top: 20%; right: -80px;
  animation: bokehDrift 18s ease-in-out infinite reverse;
}

.bokeh-3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(247,212,222,0.40) 0%, transparent 70%);
  bottom: 30%; left: 10%;
  animation: bokehDrift 12s ease-in-out infinite 2s;
}

.bokeh-4 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(92,26,42,0.12) 0%, transparent 70%);
  bottom: -60px; right: -30px;
  animation: bokehDrift 20s ease-in-out infinite 4s;
}

/* ── Petal Canvas ── */
#petal-canvas {
  position: fixed;
  inset: 0;
  max-width: 430px;
  margin: 0 auto;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 12px;
  height: 16px;
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: petalFall linear infinite;
  transform-origin: center center;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--page-pad) 100px;
  text-align: center;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 16px;
  animation: fadeInDown 0.8s ease both;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '✦';
  font-size: 0.5rem;
  opacity: 0.6;
  animation: twinkle 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 3.8rem);
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.05;
  animation: fadeInUp 1s ease 0.2s both;
  position: relative;
}

.hero-title .amp {
  color: var(--rose-gold);
  font-style: italic;
}

.hero-title-line2 {
  display: block;
  font-size: clamp(2.6rem, 9vw, 3.4rem);
  font-style: italic;
  color: var(--rose-gold-deep);
}

.hero-heart {
  font-size: 3.2rem;
  margin: 16px 0;
  display: block;
  animation: heartbeatGlow 2s ease-in-out infinite, fadeIn 1s ease 0.4s both;
  cursor: pointer;
  filter: drop-shadow(0 0 12px rgba(201,116,138,0.5));
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-mid);
  max-width: 320px;
  line-height: 1.6;
  animation: fadeIn 1s ease 0.6s both;
  margin-bottom: 4px;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--rose-gold);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 0.9s step-end infinite;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blush-soft);
  border: 1px solid rgba(201,116,138,0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.75rem;
  color: var(--rose-gold-deep);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-cta {
  animation: fadeInUp 1s ease 1.0s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: calc(var(--nav-height) + 20px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 2s ease 2s both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--rose-gold-light);
  border-bottom: 1.5px solid var(--rose-gold-light);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

/* ── Countdown Card ── */
.countdown-section {
  position: relative;
  z-index: 2;
  padding: 0 var(--page-pad);
  margin-bottom: 32px;
}

.countdown-card {
  background: linear-gradient(145deg, var(--burgundy-deep) 0%, var(--burgundy) 50%, #7a2040 100%);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(92,26,42,0.4), 0 0 0 1px rgba(201,116,138,0.2);
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(212,168,83,0.08) 25%, transparent 50%, rgba(201,116,138,0.06) 75%, transparent 100%);
  animation: bokehDrift 20s linear infinite;
}

.countdown-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.countdown-anniversary {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: block;
}

.countdown-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  min-width: 2ch;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.countdown-num.flip {
  animation: countFlip 0.4s ease;
}

.countdown-unit-label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-sans);
}

.countdown-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-gold-light);
  font-size: 1.4rem;
  padding-top: 8px;
}

/* ── Quick Peek Cards ── */
.quick-peeks-section {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.quick-peeks-header {
  padding: 0 var(--page-pad);
  margin-bottom: 16px;
}

.quick-peeks-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px var(--page-pad) 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.quick-peeks-scroll::-webkit-scrollbar { display: none; }

.peek-card {
  flex-shrink: 0;
  width: 160px;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.peek-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.peek-card-1 {
  background: linear-gradient(145deg, #fce4ec 0%, #f8bbd0 100%);
  box-shadow: 0 6px 24px rgba(201,116,138,0.20);
}

.peek-card-2 {
  background: linear-gradient(145deg, #fff8e1 0%, #ffe0b2 100%);
  box-shadow: 0 6px 24px rgba(212,168,83,0.20);
}

.peek-card-3 {
  background: linear-gradient(145deg, #fce4ec 0%, #e1bee7 100%);
  box-shadow: 0 6px 24px rgba(150, 100, 180, 0.20);
}

.peek-card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
  animation: floatGentle 4s ease-in-out infinite;
}

.peek-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 4px;
  line-height: 1.2;
}

.peek-card-date {
  font-size: 0.7rem;
  color: var(--text-soft);
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
}

.peek-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   JOURNEY.HTML — TIMELINE
══════════════════════════════════════════════════════════════ */

.journey-hero {
  background: linear-gradient(180deg, var(--blush-soft) 0%, var(--ivory) 100%);
  padding: 60px var(--page-pad) 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.journey-hero::after {
  content: '♾';
  position: absolute;
  font-size: 180px;
  color: rgba(201,116,138,0.06);
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.journey-hero h1 {
  color: var(--burgundy);
  animation: fadeInUp 0.8s ease both;
}

.journey-hero .subtitle {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-soft);
  margin-top: 8px;
  animation: fadeIn 0.8s ease 0.3s both;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding: 32px var(--page-pad) 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--rose-gold-light) 8%,
    var(--rose-gold) 20%,
    var(--rose-gold) 80%,
    var(--rose-gold-light) 92%,
    transparent 100%
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  align-items: flex-start;
}

.timeline-item:last-child { margin-bottom: 0; }

/* Alternating sides */
.timeline-item.left {
  flex-direction: row;
  padding-right: calc(50% + 20px);
}

.timeline-item.right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 20px);
}

.timeline-item.right .timeline-card {
  text-align: right;
}

/* Center dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid var(--rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 0 5px var(--ivory), 0 4px 16px rgba(201,116,138,0.3);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 0 6px var(--blush-soft), var(--shadow-glow);
  background: var(--blush-soft);
}

.timeline-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,116,138,0.10);
  transition: var(--transition);
  width: 100%;
}

.timeline-item:hover .timeline-card {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--blush-soft);
  color: var(--rose-gold-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--rose-gold);
  font-weight: 500;
  margin-top: 10px;
  transition: var(--transition);
}

.timeline-link:hover {
  color: var(--rose-gold-deep);
  gap: 8px;
}

/* ── Timeline end ── */
.timeline-end {
  text-align: center;
  padding: 20px 0 40px;
  position: relative;
}

.timeline-end-heart {
  font-size: 2rem;
  animation: heartbeatGlow 2.5s ease-in-out infinite;
  display: block;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════
   STORIES.HTML
══════════════════════════════════════════════════════════════ */

.stories-hero {
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, var(--burgundy) 45%, #8b2a45 100%);
  padding: 60px var(--page-pad) 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stories-hero::before {
  content: '💌';
  position: absolute;
  font-size: 160px;
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stories-hero h1 {
  color: white;
  animation: fadeInUp 0.8s ease both;
  font-size: 2rem;
}

.stories-hero .subtitle {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  animation: fadeIn 0.8s ease 0.3s both;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px var(--page-pad);
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid var(--rose-gold-light);
  background: white;
  color: var(--text-mid);
}

.filter-tab.active,
.filter-tab:hover {
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-deep));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(201,116,138,0.35);
}

/* Story cards */
.stories-list {
  padding: 0 var(--page-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,116,138,0.08);
  transition: var(--transition);
  cursor: pointer;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.story-card-header {
  padding: 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-date {
  font-size: 0.7rem;
  color: var(--text-soft);
  font-family: var(--font-sans);
}

.story-card-body {
  padding: 12px 16px 16px;
}

.story-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--burgundy);
  margin-bottom: 6px;
  line-height: 1.2;
}

.story-excerpt {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--rose-gold);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 10px;
  transition: var(--transition);
}

.story-read-more:hover {
  gap: 8px;
  color: var(--rose-gold-deep);
}

/* ── Story modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 15, 28, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-sheet {
  background: var(--ivory);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 430px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 0 var(--nav-height);
}

.modal-overlay.open .modal-sheet {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: rgba(201,116,138,0.3);
  border-radius: 999px;
  margin: 12px auto 0;
}

.modal-content {
  padding: 20px var(--page-pad) 32px;
}

.modal-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-date {
  font-size: 0.72rem;
  color: var(--text-soft);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--burgundy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.modal-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dark);
}

.modal-body p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(201,116,138,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--blush-soft);
  transform: scale(1.05);
}

/* ── Story form ── */
.story-form-section {
  margin: 32px var(--page-pad) 0;
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,116,138,0.10);
}

.story-form-section h3 {
  color: var(--burgundy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(201,116,138,0.20);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--ivory);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--rose-gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(201,116,138,0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9748A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ══════════════════════════════════════════════════════════════
   GALLERY.HTML
══════════════════════════════════════════════════════════════ */

.gallery-hero {
  background: linear-gradient(160deg, #fce4ec 0%, var(--ivory) 60%);
  padding: 60px var(--page-pad) 32px;
  text-align: center;
}

.gallery-hero h1 {
  color: var(--burgundy);
  animation: fadeInUp 0.8s ease both;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 var(--page-pad) var(--page-pad);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blush-soft);
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card);
}

.gallery-item:nth-child(3n+1):nth-child(odd) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blush-soft) 0%, white 100%);
}

.gallery-placeholder-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.gallery-placeholder-text {
  font-size: 0.7rem;
  color: var(--text-soft);
  text-align: center;
  padding: 0 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(92,26,42,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: white;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
}

.gallery-upload-hint {
  text-align: center;
  padding: 24px;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.gallery-upload-hint .emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 5, 0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: min(90vw, 420px);
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }
