/* JDATE — Luxury Interactive Date Invitation 2026 */

:root {
  --pink-50: #fff5f8;
  --pink-100: #fce8ef;
  --pink-200: #f8d4e0;
  --pink-300: #f0b8c8;
  --rose-gold: #c9a87c;
  --rose-gold-light: #e8d4b8;
  --rose-gold-dark: #a68b5b;
  --blush: #e8b4b8;
  --mauve: #9d7b8c;
  --text: #3d2c35;
  --text-soft: #6b5560;
  --glass: rgba(255, 252, 254, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(157, 123, 140, 0.12);
  --gradient-main: linear-gradient(135deg, #fff5f8 0%, #fce8ef 35%, #f5e6ec 70%, #faf0f4 100%);
  --gradient-glow: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(232, 180, 184, 0.35), transparent 70%);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --radius: 20px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--gradient-main);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
  animation: gradientShift 18s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08) translateY(-2%); }
}

#three-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 180, 184, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

body.cursor-active #cursor-glow { opacity: 1; }

#sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #fff 30%, var(--rose-gold-light) 100%);
  border-radius: 50%;
  opacity: 0;
  animation: sparkleFloat 6s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(201, 168, 124, 0.6);
}

@keyframes sparkleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.9; }
  50% { opacity: 0.4; transform: translateY(-30px) scale(1); }
  80% { opacity: 0; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 245, 248, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  cursor: default;
}

.logo-mark {
  font-size: 1.75rem;
  font-weight: 500;
  background: linear-gradient(135deg, var(--rose-gold), var(--blush));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text {
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  font-weight: 400;
  color: var(--mauve);
  text-transform: uppercase;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(16px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mauve);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .icon-music-on { display: none; }
.icon-btn.is-playing .icon-music-off { display: none; }
.icon-btn .icon-music-on { display: none; }
.icon-btn.is-playing .icon-music-on { display: block; }

.icon-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glass-shadow);
}

/* App layout */
.app {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
}

.step {
  display: none;
  min-height: calc(100dvh - var(--header-h));
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem);
}

.step-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Fallback when CDN scripts fail */
body.fallback-mode .step { display: none; }
body.fallback-mode #step-intro.step-active {
  display: flex;
  opacity: 1;
}
body.fallback-mode #step-intro .intro-eyebrow,
body.fallback-mode #step-intro .intro-line,
body.fallback-mode #step-intro .intro-divider,
body.fallback-mode #step-intro .intro-sub {
  opacity: 1;
  transform: none;
}

.step.fullscreen {
  min-height: 100dvh;
  padding-top: var(--header-h);
}

.step-inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.step-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.step-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-gold-dark);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 420px;
  margin: 0 auto;
}

/* Intro */
#step-intro {
  position: relative;
  justify-content: center;
  text-align: center;
}

.intro-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(61, 44, 53, 0.08) 100%);
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2rem;
}

.intro-eyebrow,
.intro-line,
.intro-divider,
.intro-sub,
.scroll-hint {
  opacity: 0;
  transform: translateY(20px);
}

.intro-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 2rem;
}

.intro-line {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
}

.intro-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
  margin: 2rem auto;
}

.intro-sub {
  font-size: 1rem;
  color: var(--text-soft);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--rose-gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 1rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blush) 0%, #dfa8b0 50%, var(--rose-gold-light) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(232, 180, 184, 0.45);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 32px rgba(232, 180, 184, 0.55);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  border: 1px solid rgba(201, 168, 124, 0.35);
  backdrop-filter: blur(8px);
}

.btn-soft {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  margin-top: 1rem;
}

.btn-spark { font-size: 1rem; }

.step-continue {
  margin: 2.5rem auto 0;
  display: block;
}

.think-btn-wrap {
  position: relative;
  display: inline-block;
}

#btn-think {
  cursor: not-allowed;
  user-select: none;
}

#btn-think:hover,
#btn-think:focus {
  background: rgba(255, 255, 255, 0.5);
  transform: none;
}

.think-btn-wrap.is-denying #btn-think {
  border-color: rgba(232, 180, 184, 0.55);
  color: var(--mauve);
}

.think-deny-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.98), rgba(252, 232, 239, 0.98));
  border: 1px solid rgba(201, 168, 124, 0.45);
  box-shadow: 0 10px 28px rgba(157, 123, 140, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 20;
}

.think-deny-pop::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: rgba(252, 232, 239, 0.98);
  border-right: 1px solid rgba(201, 168, 124, 0.35);
  border-bottom: 1px solid rgba(201, 168, 124, 0.35);
  transform: translateX(-50%) rotate(45deg);
}

.think-deny-word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--rose-gold-dark);
  opacity: 0;
}

.think-deny-word:nth-child(2) {
  color: var(--blush);
}

.think-deny-word:nth-child(3) {
  color: var(--mauve);
}

@keyframes thinkShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

#btn-think.think-shake {
  animation: thinkShake 0.45s ease-in-out;
}

/* Calendar — stable layout, no transform shifts */
#step-calendar.step-active {
  animation: calendarStepIn 0.45s ease forwards;
}

@keyframes calendarStepIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#step-calendar .calendar-wrap,
#step-calendar .cal-grid,
#step-calendar .cal-day,
#step-calendar .cal-nav-btn,
#step-calendar .cal-selected {
  transform: none !important;
}

.calendar-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.75rem;
  width: 100%;
  flex-shrink: 0;
  contain: layout style;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.calendar-nav h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.cal-nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.cal-nav-btn:hover {
  background: #fff;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(6, 42px);
  gap: 6px;
  width: 100%;
  height: calc(6 * 42px + 5 * 6px);
}

.cal-day {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: 12px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.cal-day.cal-empty {
  visibility: hidden;
  pointer-events: none;
}

.cal-day:hover:not(:disabled):not(.cal-empty) {
  background: rgba(255, 255, 255, 0.7);
}

.cal-day.cal-past {
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.4;
}

.cal-day.cal-today:not(.cal-selected) {
  border-color: var(--rose-gold-light);
}

.cal-day.cal-selected {
  background: linear-gradient(135deg, var(--blush), var(--rose-gold-light));
  color: #fff;
  font-weight: 500;
  border-color: var(--rose-gold);
}

.cal-selected {
  text-align: center;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--rose-gold-dark);
  min-height: 1.6em;
  line-height: 1.4;
}

.cal-selected:empty::before {
  content: '\00a0';
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.experience-grid { max-width: 1200px; }

/* Experience card */
#step-experience .exp-card {
  opacity: 1;
}

.exp-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  border: 2px solid transparent;
  transition: box-shadow 0.45s, border-color 0.35s;
}

.exp-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(157, 123, 140, 0.2);
}

.exp-card.selected {
  border-color: var(--rose-gold);
  box-shadow: 0 0 0 1px var(--rose-gold), 0 20px 48px rgba(201, 168, 124, 0.25);
}

.exp-card-img-wrap {
  position: absolute;
  inset: 0;
}

.exp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.exp-card:hover .exp-card-img { transform: scale(1.08); }

.exp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 44, 53, 0.75) 0%, transparent 55%);
}

.exp-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.exp-card-emoji { font-size: 1.5rem; margin-bottom: 0.35rem; }
.exp-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 500;
}

.exp-card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.25rem;
}

/* Venue card */
#step-restaurant.step-active {
  animation: calendarStepIn 0.45s ease forwards;
}

#step-restaurant .venue-card {
  opacity: 1;
  transform: none;
}

.venue-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  border: 2px solid transparent;
  transition: box-shadow 0.45s;
}

.venue-card:hover {
  box-shadow: 0 12px 32px rgba(157, 123, 140, 0.2);
}

.venue-card.selected {
  border-color: var(--rose-gold);
  animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 124, 0.4), 0 0 40px rgba(232, 180, 184, 0.2); }
  50% { box-shadow: 0 0 32px rgba(201, 168, 124, 0.6), 0 0 60px rgba(232, 180, 184, 0.35); }
}

.venue-img-wrap {
  position: absolute;
  inset: 0;
  background: var(--pink-100);
}

.venue-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  opacity: 0;
}

.venue-img.loaded { opacity: 1; }

.venue-card:hover .venue-img.loaded { transform: scale(1.05); }

.venue-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--pink-100) 25%, var(--pink-200) 50%, var(--pink-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.venue-img.loaded + .venue-skeleton,
.venue-skeleton.hidden { display: none; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.venue-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 30, 38, 0.82) 0%, rgba(45, 30, 38, 0.2) 45%, transparent 70%);
}

.venue-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 252, 254, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.venue-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  font-weight: 500;
}

.venue-branch {
  font-size: 0.8rem;
  color: var(--rose-gold-light);
  margin-top: 0.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.venue-address {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

.venue-brand-label {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-gold-dark);
  text-align: center;
  padding: 1.25rem 0 0.35rem;
  margin-top: 0.5rem;
}

.venue-brand-label:first-child {
  margin-top: 0;
  padding-top: 0;
}

.venue-map-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 212, 184, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.venue-map-link:hover {
  color: #fff;
  border-color: #fff;
}

.venue-card.custom-card .venue-glass {
  background: rgba(255, 252, 254, 0.85);
}

.venue-card.custom-card .venue-name { color: var(--text); }

.custom-venue-wrap {
  max-width: 480px;
  margin: 2rem auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
}

.custom-venue-wrap.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s var(--ease-out);
}

.custom-venue-wrap.hidden { display: none; }

.custom-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-gold-dark);
  margin-bottom: 0.5rem;
}

.custom-input {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(16px);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-input:focus {
  border-color: var(--blush);
  box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.25);
}

/* Movie carousel */
.loading-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-soft);
}

.loading-state.hidden {
  display: none;
}

.skeleton-carousel {
  height: 320px;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(110deg, var(--pink-100) 25%, var(--pink-200) 50%, var(--pink-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.movie-carousel-wrap {
  position: relative;
  max-width: 100%;
  padding: 0 3rem;
}

.movie-carousel-wrap.hidden { display: none; }

.movie-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.5rem 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.movie-carousel::-webkit-scrollbar { display: none; }

.movie-card {
  flex: 0 0 min(280px, 75vw);
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
  background: #1a1218;
}

.movie-card:hover {
  transform: scale(1.04) translateY(-4px);
}

.movie-card:hover .movie-poster {
  filter: brightness(1.1) saturate(1.1);
}

.movie-card.selected {
  border-color: var(--rose-gold);
  box-shadow: 0 0 30px rgba(201, 168, 124, 0.35);
}

.movie-poster-wrap {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s, transform 0.6s var(--ease-out);
}

.movie-card:hover .movie-poster { transform: scale(1.05); }

.movie-poster-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #2a2028 25%, #3d3040 50%, #2a2028 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.movie-poster.loaded + .movie-poster-skeleton { display: none; }

.movie-trailer-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
}

.movie-card:hover .movie-trailer-shine {
  animation: trailerShine 0.8s ease;
}

@keyframes trailerShine {
  to { transform: translateX(100%); }
}

.movie-info {
  padding: 1rem 1.1rem 1.25rem;
  background: linear-gradient(to top, rgba(26, 18, 24, 0.95), rgba(26, 18, 24, 0.85));
}

.movie-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.movie-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.movie-meta span { display: block; }

.movie-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(201, 168, 124, 0.9);
  color: #fff;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s;
}

.carousel-btn:hover { transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.source-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 1rem;
}

/* Confirmation */
.confirmation-wrap {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.confirmation-title {
  margin-bottom: 2rem;
}

.confirmation-card {
  padding: 2rem 2.25rem;
  text-align: left;
  margin-bottom: 2rem;
}

.conf-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 168, 124, 0.15);
}

.conf-row:last-child { border-bottom: none; }

.conf-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-gold-dark);
}

.conf-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: right;
  max-width: 60%;
}

/* Finale */
.finale-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.finale-message {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.finale-message-2 {
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: var(--mauve);
  margin-bottom: 3rem;
}

.signature-area {
  margin-top: 3rem;
  opacity: 0;
}

.signature-svg {
  width: min(100%, 400px);
  height: 80px;
  margin: 0 auto 1rem;
  display: block;
}

.signature-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold-dark);
}

#signature-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

/* Transition overlay */
.transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--pink-50);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.transition-overlay.active {
  visibility: visible;
}

#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
}

/* Responsive */
@media (max-width: 640px) {
  .btn-group { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
  .movie-carousel-wrap { padding: 0 2.5rem; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
