/* ============================================================
   CÁC COMPONENT CHÍNH CỦA WEBSITE THIỆP CƯỚI
   ============================================================ */

/* Khung vỏ chính (Card Shell dạng thiệp cưới cao cấp) */
.wedding-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--color-page-bg);
  color: var(--color-primary);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
  min-height: 100vh;
}

@media (min-width: 768px) {
  .wedding-container {
    max-width: 900px;
    margin: 36px auto;
    border-radius: 20px;
    border: 1px solid rgba(81, 20, 25, 0.14);
  }
}

@media (min-width: 768px) {
  .wedding-container {
    margin: 24px auto;
    border-radius: 18px;
    border: 1px solid rgba(81, 20, 25, 0.12);
  }
}

/* Lớp phủ vân giấy mỹ thuật thủ công */
.texture-paper-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/paper.webp");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: repeat;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  z-index: 10;
  display: flex;
  flex-col: column;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 36px;
  text-align: center;
  overflow: hidden;
}

.castle-watermark {
  position: absolute;
  pointer-events: none;
  width: 160%;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  opacity: 0.1;
  object-fit: contain;
  z-index: 0;
}

.hero-announcement {
  position: relative;
  z-index: 10;
  font-family: var(--font-serif-heading);
  color: var(--color-deep);
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .hero-announcement {
    font-size: 16px;
  }
}

/* Khung phong bì chứa ảnh polaroid lơ lửng */
.hero-envelope-frame {
  position: relative;
  z-index: 10;
  width: 82%;
  max-width: 330px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .hero-envelope-frame {
    max-width: 420px;
    margin-top: 10px;
  }
}

.hero-envelope-inner {
  position: relative;
  aspect-ratio: 333 / 384;
}

.envelope-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.envelope-polaroid-box {
  position: absolute;
  left: 33%;
  top: -2%;
  z-index: 20;
  width: 64%;
  animation: drFloat 6.5s ease-in-out infinite;
  animation-delay: 0.4s;
  will-change: transform;
}

.polaroid-frame {
  aspect-ratio: 221 / 309;
  transform: rotate(12deg);
  border: 7px solid #ffffff;
  background-color: #ffffff;
  box-shadow: var(--shadow-polaroid);
  overflow: hidden;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.envelope-cover-img {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  pointer-events: none;
}

/* Hoa mẫu đơn đung đưa góc phong bì hero */
.floating-peony {
  position: absolute;
  pointer-events: none;
  z-index: 25;
  filter: drop-shadow(var(--shadow-float-peony));
  will-change: transform;
}

.hero-peony {
  left: -4%;
  top: -10%;
  width: 44%;
  animation: drFloat 5s ease-in-out infinite;
  transform: rotate(-17deg);
}

/* Tên cô dâu chú rể Typography nghệ thuật */
.hero-couple-names {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.couple-name-line {
  font-family: var(--font-couple);
  color: var(--color-primary);
  font-size: clamp(36px, 10vw, 44px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.giant-ampersand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-ampersand);
  font-size: clamp(86px, 22vw, 110px);
  line-height: 1;
  color: rgba(81, 20, 25, 0.16);
  pointer-events: none;
  user-select: none;
}

/* --- THẺ ĐỎ ĐÔ CHUNG (LỄ THÀNH HÔN & TIỆC CƯỚI & TIMELINE) --- */
.darkred-card-section {
  position: relative;
  z-index: 10;
  width: 88%;
  max-width: 420px;
  margin: 28px auto;
}

@media (min-width: 768px) {
  .darkred-card-section {
    max-width: 560px;
    margin: 40px auto;
  }
  .darkred-card {
    padding: 42px 36px;
  }
}

.darkred-card {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-cream);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-card-dark);
  overflow: hidden;
}

.darkred-card-paper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}

.darkred-card-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.card-title-gold {
  font-family: var(--font-content);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-cream);
}

/* Cụm hoa mẫu đơn lơ lửng bám thẻ */
.card-floating-peony {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  filter: drop-shadow(var(--shadow-float-peony));
  animation: drFloat 5.5s ease-in-out infinite;
}

.peony-ceremony {
  right: -16%;
  bottom: 22%;
  width: 38%;
  animation-delay: 0.6s;
}

.peony-reception {
  left: -14%;
  top: 8%;
  width: 32%;
  animation-delay: 0.3s;
}

.peony-timeline {
  right: -14%;
  top: -8%;
  width: 30%;
  animation-delay: 0.8s;
}

/* Lưới thông tin 2 bên gia đình (Nhà Trai - Nhà Gái) */
.family-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  color: var(--color-cream);
  margin-top: 4px;
}

.family-column {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.family-role-label {
  font-size: 12px;
  color: var(--color-cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.family-parents-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-cream);
  line-height: 1.35;
}

.family-address-text {
  font-size: 10px;
  color: var(--color-cream-muted);
  line-height: 1.3;
  margin-top: 4px;
}

.family-vertical-divider {
  width: 1px;
  height: 54px;
  background-color: var(--color-cream-dim);
  align-self: center;
}

/* Lời ngỏ & Tên cô dâu chú rể trong card */
.ceremony-message {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-cream);
  line-height: 1.5;
  max-width: 90%;
}

.ceremony-couple-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ceremony-couple-name {
  font-family: var(--font-couple);
  font-size: clamp(28px, 8vw, 36px);
  color: var(--color-cream);
  line-height: 1.15;
}

.ceremony-ampersand-script {
  font-family: var(--font-ampersand);
  font-size: 34px;
  line-height: 0.9;
  color: var(--color-cream);
}

/* Bảng thời gian ngày giờ xếp tầng */
.ceremony-time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 240px;
}

.ceremony-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.ceremony-date-box {
  font-family: var(--font-content);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-cream);
}

.ceremony-date-meta {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-cream);
  text-align: left;
  line-height: 1.3;
}

.ceremony-lunar-date {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ceremony-place-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-cream-muted);
  border-top: 1px solid var(--color-cream-dim);
  padding-top: 8px;
  width: 100%;
}

/* --- TIỆC CƯỚI & LỊCH & ĐẾM NGƯỢC --- */
.reception-header-text {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-cream-muted);
  letter-spacing: 0.12em;
}

/* Tờ lịch tháng 10/2026 mini */
.mini-calendar-wrapper {
  background-color: var(--color-cream);
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  max-width: 290px;
  margin: 6px auto;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.calendar-month-title {
  font-family: var(--font-ampersand);
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 8px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  color: #511419;
}

.calendar-day-head {
  font-weight: 700;
  color: rgba(81, 20, 25, 0.7);
  padding-bottom: 4px;
}

.calendar-day-cell {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #380a0e;
}

.calendar-day-cell.is-highlight {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(81, 20, 25, 0.4);
}

/* Khối đồng hồ đếm ngược (Countdown Timer) */
.countdown-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(236, 228, 216, 0.2);
  border-radius: 8px;
  min-width: 52px;
  padding: 6px 4px;
}

.countdown-number {
  font-family: var(--font-content);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--color-cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Nút thêm vào lịch & RSVP */
.calendar-action-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.btn-add-calendar {
  color: var(--color-cream);
  font-family: var(--font-content);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-rsvp-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  background-color: var(--color-cream);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-rsvp-trigger:hover {
  transform: scale(1.04);
}

/* --- ALBUM HÌNH CƯỚI (3D COVERFLOW CHUẨN GỐC CHUNG ĐÔI) --- */
.gallery-section {
  position: relative;
  z-index: 10;
  padding: 36px 12px 28px;
  text-align: center;
  overflow: visible;
}

.coverflow-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 16px auto 0;
}

/* Sân khấu phối cảnh 3D */
.coverflow-stage {
  position: relative;
  width: 100%;
  height: 340px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  user-select: none;
}

@media (min-width: 768px) {
  .coverflow-stage {
    height: 520px;
  }
}

/* Thẻ ảnh xoay vần 3D */
.coverflow-card {
  position: absolute;
  height: 92%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1), opacity 1100ms ease, box-shadow 0.4s ease;
  background-color: #380a0e;
}

@media (max-width: 639px) {
  .coverflow-card {
    aspect-ratio: 2 / 3;
  }
}

.coverflow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.coverflow-card.is-active {
  box-shadow: 0 16px 40px rgba(81, 20, 25, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* Nút điều hướng Desktop */
.coverflow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
  border: 1px solid rgba(81, 20, 25, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .coverflow-nav-btn {
    display: flex;
  }
}

.coverflow-nav-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  color: #000000;
}

.coverflow-nav-btn.prev-btn {
  left: 8px;
}

.coverflow-nav-btn.next-btn {
  right: 8px;
}

/* Hàng chấm chỉ báo (Dots indicator) */
.coverflow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.coverflow-dot {
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background-color: var(--color-primary);
  opacity: 0.25;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.coverflow-dot:hover {
  opacity: 0.45;
}

.coverflow-dot.is-active {
  width: 24px;
  opacity: 0.85;
}

/* --- ĐỊA ĐIỂM & BẢN ĐỒ (VENUE & MAPS) --- */
.venue-section {
  position: relative;
  z-index: 10;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.venue-card-title {
  font-family: var(--font-content);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.venue-address-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-sub);
  max-width: 320px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.map-embed-box {
  width: 100%;
  max-width: 338px;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(81, 20, 25, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .map-embed-box {
    max-width: 560px;
    height: 380px;
  }
}

.map-embed-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.btn-open-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-open-map:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* --- DRESS CODE --- */
.dresscode-section {
  position: relative;
  z-index: 10;
  padding: 24px 20px;
  text-align: center;
}

.dresscode-colors-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 10px;
}

.color-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.color-swatch-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.color-swatch-circle:hover {
  transform: scale(1.12);
}

.color-swatch-name {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-sub);
}

/* --- LỊCH TRÌNH TIỆC CƯỚI (TIMELINE) --- */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: left;
  margin-top: 8px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline-icon-box {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-icon-svg {
  width: 32px;
  height: 32px;
  color: var(--color-cream);
  stroke: var(--color-cream);
}

.timeline-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-time-tag {
  font-family: var(--font-content);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold);
}

.timeline-title-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-cream);
}

.timeline-desc-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-cream-muted);
}

/* --- SỔ LƯU BÚT / GỬI LỜI CHÚC (GUESTBOOK) --- */
.guestbook-section {
  position: relative;
  z-index: 10;
  padding: 42px 20px 28px;
  text-align: center;
}

.papernote-banner-wrap {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .papernote-banner-wrap {
    max-width: 650px;
  }
  .guestbook-form, .wishes-list {
    max-width: 420px;
  }
}

.papernote-bg-img {
  position: absolute;
  left: 50%;
  top: -24px;
  width: 115%;
  transform: translateX(-50%);
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.15));
  z-index: 0;
}

.guestbook-content-box {
  position: relative;
  z-index: 10;
  padding-top: 56px;
}

.guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}

.input-guest {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-primary);
  outline: none;
  box-sizing: border-box;
}

.input-guest:focus {
  border-color: var(--color-deep);
  background-color: #ffffff;
}

.textarea-guest {
  min-height: 64px;
  resize: vertical;
}

.btn-submit-wish {
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: #f3e8de;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-submit-wish:hover {
  opacity: 0.92;
}

/* Danh sách lời chúc hiển thị */
.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 20px auto 0;
  text-align: left;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(81, 20, 25, 0.25) transparent;
}

.wishes-list::-webkit-scrollbar {
  width: 4px;
}

.wishes-list::-webkit-scrollbar-thumb {
  background: rgba(81, 20, 25, 0.25);
  border-radius: 4px;
}

.wish-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(81, 20, 25, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
}

.wish-author {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
}

.wish-body {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(81, 20, 25, 0.85);
  line-height: 1.4;
}

/* --- CHÂN TRANG (FOOTER) --- */
.wedding-footer {
  position: relative;
  z-index: 10;
  padding: 24px 20px 48px;
  text-align: center;
}

.footer-thankyou-text {
  font-family: var(--font-content);
  font-size: 13px;
  color: var(--color-primary);
  max-width: 320px;
  margin: 0 auto 16px;
  line-height: 1.5;
  font-style: italic;
}

.footer-monogram {
  font-family: var(--font-ampersand);
  font-size: 38px;
  color: var(--color-primary);
  opacity: 0.7;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.2s ease;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* --- FLOATING MUSIC PLAYER --- */
.floating-music-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-cream);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.floating-music-btn:hover {
  transform: scale(1.08);
}

.music-disc-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-music-btn.is-playing .music-disc-icon {
  animation: spinSlow 4s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- RSVP MODAL DIALOG --- */
.rsvp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}

.rsvp-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.rsvp-modal-card {
  position: relative;
  background-color: var(--color-page-bg);
  border-radius: 14px;
  width: 100%;
  max-width: 380px;
  padding: 28px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--color-card-border);
}

.rsvp-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--color-primary);
  cursor: pointer;
}
