:root {
  --rose:        #c89d9c;
  --rose-dark:   #a87877;
  --rose-light:  #f0dedd;
  --gold:        #c9a96e;
  --gold-light:  #f5e9d0;
  --gold-dark:   #a5843e;
  --navy:        #202a41;
  --text-muted:  #888;
  --shadow-sm:   0 4px 20px rgba(200, 157, 156, 0.15);
  --shadow-md:   0 8px 40px rgba(200, 157, 156, 0.22);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   32px;
}

/* ============================================================
   SCROLLBAR tùy chỉnh
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0704; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--rose), var(--gold));
  border-radius: 3px;
}

/* ============================================================
   GLOBAL - Nâng cấp nền và typography
   ============================================================ */
body {
  background-color: #110b05;
  color: rgba(245,230,200,0.82);
  letter-spacing: 0.01em;
  font-family: "comfortaaregular", sans-serif;
}

.flower-fixed-body::before,
.flower-fixed-body:before,
.flower-fixed-body::after,
.flower-fixed-body:after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Add custom subtle decorations if needed - but keep them BEHIND everything */
.page-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 169, 110, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(200, 157, 156, 0.03) 0%, transparent 40%);
  z-index: -2;
  pointer-events: none;
}

/* ============================================================
   HEADER - Nâng cấp header & navigation
   ============================================================ */
.site-header.header-style-1 {
  background: #110b05;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* ============================================================
   TOPBAR - Thiết kế mới sang trọng
   ============================================================ */

/* Nền topbar: gradient nâu sô-cô-la sang trọng, đủ tối để chữ nổi bật */
.header-style-1 .topbar,
.topbar {
  background: linear-gradient(160deg, #1a0f06 0%, #2e1a09 50%, #1a0f06 100%) !important;
  border-bottom: 1px solid rgba(201, 169, 110, 0.35) !important;
  padding: 40px 0 36px !important;
  position: relative;
  overflow: hidden;
}

/* Ánh hào quang nền */
.topbar::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 320px;
  background: radial-gradient(ellipse at center,
    rgba(201,169,110,0.14) 0%,
    rgba(200,157,156,0.07) 45%,
    transparent 70%
  );
  pointer-events: none;
}

/* Đường viền top gradient */
.topbar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,169,110,0.5) 20%,
    rgba(201,169,110,0.8) 50%,
    rgba(201,169,110,0.5) 80%,
    transparent 100%
  );
}

/* Site logo wrapper */
.site-logo {
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-logo a {
  display: inline-block;
  text-decoration: none !important;
}

/* ---- Ornament trên ---- */
.logo-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.logo-ornament__line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.55));
}
.logo-ornament:last-of-type .logo-ornament__line:last-child {
  background: linear-gradient(90deg, rgba(201,169,110,0.55), transparent);
}

.logo-ornament__icon {
  color: var(--gold);
  opacity: 0.55;
  flex-shrink: 0;
}

.logo-ornament__text {
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(201,169,110,0.55);
  font-family: "comfortaaregular", sans-serif;
  font-weight: 600;
}

/* ---- Tên cặp đôi ---- */
.logo-names {
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 4rem !important;
  line-height: 1.05 !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

@media (max-width: 991px) { .logo-names { font-size: 3rem !important; } }
@media (max-width: 600px)  { .logo-names { font-size: 2.4rem !important; gap: 6px !important; } }

/* Tên chú rể — vàng champagne rõ, không dùng clip */
.logo-names__groom {
  color: #f5e6c8;
  text-shadow:
    0 0 30px rgba(201,169,110,0.6),
    0 2px 4px rgba(0,0,0,0.5);
  display: inline-block;
}

/* Tên cô dâu — trắng sáng, không dùng clip */
.logo-names__bride {
  color: #ffffff;
  text-shadow:
    0 0 30px rgba(255,255,255,0.4),
    0 2px 4px rgba(0,0,0,0.5);
  display: inline-block;
}

/* Tim giữa */
.logo-names__heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
}

.logo-names__heart .ti-heart {
  font-size: 1.8rem !important;
  color: #e8737f !important;
  -webkit-text-fill-color: #e8737f !important;
  background: none !important;
  display: inline-block !important;
  animation: logo-heartbeat 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(232,115,127,0.8));
}

@keyframes logo-heartbeat {
  0%, 100% { transform: scale(1); }
  30%       { transform: scale(1.35); }
  60%       { transform: scale(1.1); }
}

/* ---- Just Married badge ---- */
.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(201,169,110,0.18), rgba(201,169,110,0.10));
  border: 1px solid rgba(201,169,110,0.6);
  padding: 7px 22px;
  border-radius: 40px;
  margin-bottom: 12px;
  box-shadow: 0 0 16px rgba(201,169,110,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}

.logo-badge__text {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "comfortaaregular", sans-serif;
  color: #f0d080;                /* màu vàng solid, rõ ràng */
  text-shadow: 0 0 12px rgba(201,169,110,0.6);
  animation: shimmer-text 3s linear infinite;
  background: linear-gradient(90deg, #c9a96e, #f5e6a0, #c9a96e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
}

.logo-badge__star {
  font-size: 0.6rem;
  color: #c9a96e;
  line-height: 1;
  opacity: 0.9;
}

@keyframes shimmer-text {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---- Ngày cưới ---- */

/* Ẩn h1 + span cũ nếu còn sót lại */
.site-logo > a > h1:not(.logo-names),
.site-logo > a > span:not(.logo-badge__text) {
  display: none;
}

/* ============================================================
   NAVBAR - Thiết kế mới sang trọng
   ============================================================ */

/* Xoá khoảng trắng mặc định của Bootstrap bên dưới navbar */
.site-header .navigation.navbar,
.navigation.navbar-default {
  margin-bottom: 0 !important;
}

/* Đảm bảo header không có chiều cao thừa sau nav */
.site-header.header-style-1 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Xoá khoảng trắng giữa header và hero slider */
.hero-slider {
  margin-top: 0 !important;
}

/* Nav sticky-header clone PHẢI là position:fixed, không được chiếm không gian */
.navigation.sticky-header {
  position: fixed !important;
}

/* Nền navbar: cùng tông nâu ấm với topbar, liền mạch */
.header-style-1 .navigation {
  background: linear-gradient(90deg, #1f1108 0%, #2e1a09 50%, #1f1108 100%) !important;
  border-top: 1px solid rgba(201,169,110,0.15) !important;
  border-bottom: 1px solid rgba(201,169,110,0.2) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35) !important;
  position: relative;
}

/* Đường kẻ vàng dưới navbar */
.header-style-1 .navigation::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,169,110,0.5) 20%,
    rgba(201,169,110,0.9) 50%,
    rgba(201,169,110,0.5) 80%,
    transparent 100%
  );
}

.navigation.sticky-header {
  background: linear-gradient(90deg, #1f1108 0%, #2e1a09 50%, #1f1108 100%) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(201,169,110,0.2) !important;
}
@media (max-width: 768px) {
  .navigation.sticky-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #1a0f06 !important;
  }
}

/* Nav links */
.navigation .navbar-nav > li > a {
  font-family: "comfortaaregular", sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: rgba(240,220,170,0.85) !important;
  padding: 0 18px !important;
  height: 52px;
  line-height: 52px !important;
  display: block !important;
  position: relative;
  transition: color 0.25s ease !important;
}

/* Gạch dưới mượt mà khi hover */
.navigation .navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%; right: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,169,110,0.5), #c9a96e, rgba(201,169,110,0.5));
  border-radius: 1px;
  transition: left 0.3s ease, right 0.3s ease;
}

.navigation .navbar-nav > li > a:hover {
  color: #f5e6c8 !important;
}

.navigation .navbar-nav > li > a:hover::after {
  left: 18px;
  right: 18px;
}

/* Dấu chấm vàng giữa các nav items */
.navigation .navbar-nav > li + li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(201,169,110,0.35);
  font-size: 0.35rem;
  line-height: 1;
  pointer-events: none;
}

.navigation .navbar-nav > li {
  position: relative;
}

/* Logo nhỏ trong navbar */
.navbar-header .logo a {
  color: #f0dca0 !important;
  -webkit-text-fill-color: #f0dca0 !important;
  background: none !important;
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.navbar-header .logo a span {
  color: #f0dca0 !important;
  -webkit-text-fill-color: #f0dca0 !important;
}

.navbar-header .logo a i.ti-heart {
  color: #e8737f !important;
  -webkit-text-fill-color: #e8737f !important;
  font-size: 0.75rem !important;
}

/* ============================================================
   HERO SLIDER - Nâng cấp phần hero
   ============================================================ */
.hero-slider .swiper-slide .slide-inner::before {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.55) 100%
  );
}

/* Tên cặp đôi */
.hero-style-1 h2,
.hero-style-4 h2 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 0 60px rgba(201,169,110,0.3);
  letter-spacing: 0.03em;
}

/* Ngày cưới */
.hero-style-1 .wedding-date span,
.hero-style-4 .wedding-date span {
  font-size: 1rem !important;
  letter-spacing: 6px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
}
@media (max-width: 768px) {
  .hero-style-1 .wedding-date span,
  .hero-style-4 .wedding-date span {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0,0,0,0.4) !important;
  }
}

/* Pagination bullet */
.hero-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  margin: 0 5px !important;
  transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   SECTION TITLES - Trang trọng hơn
   ============================================================ */
.section-title {
  position: relative;
}

.section-title h2 {
  background: linear-gradient(135deg, #f5e6c8 0%, var(--gold) 60%, #f5e6c8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 2.8rem !important;
}

@media (max-width: 991px) {
  .section-title h2 { font-size: 2.1rem !important; }
}
@media (max-width: 767px) {
  .section-title h2 { font-size: 1.7rem !important; }
}

.section-title p {
  color: rgba(245,230,200,0.55) !important;
  font-size: 1rem;
  font-family: "comfortaaregular", sans-serif;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}

/* Gold divider dưới section title */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 1px;
  margin: 18px auto 0;
}

/* Đảm bảo section-title h2 luôn readable trên nền tối */
.section-title h2,
.section-title h2 span {
  font-family: "dancing_scriptregular", cursive !important;
}

/* ============================================================
   BUTTONS - Gradient, rounded, bóng đổ
   ============================================================ */

.theme-btn,
.theme-btn-s3 {
  background: linear-gradient(135deg, var(--rose) 0%, #b87675 100%) !important;
  border-radius: var(--radius-sm) !important;
  padding: 14px 36px 14px 20px !important;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(200, 157, 156, 0.4) !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.theme-btn-s4 {
  background: linear-gradient(135deg, var(--rose) 0%, #b87675 100%) !important;
  border-radius: var(--radius-sm) !important;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(200, 157, 156, 0.4) !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.theme-btn:hover,
.theme-btn-s3:hover,
.theme-btn-s4:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #a5843e 100%) !important;
  box-shadow: 0 6px 28px rgba(201, 169, 110, 0.5) !important;
  transform: translateY(-2px);
  color: #fff !important;
}

.theme-btn-s2 {
  background: linear-gradient(135deg, #b2c9d3 0%, #8fb4c2 100%) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 16px rgba(178, 201, 211, 0.35) !important;
}

/* Nút "Xem tất cả ảnh" */
#btn-see-more-gallery {
  background: linear-gradient(135deg, var(--rose), var(--gold)) !important;
  box-shadow: 0 6px 24px rgba(200, 157, 156, 0.4) !important;
  border-radius: 50px !important;
  padding: 14px 40px !important;
  letter-spacing: 1px;
  font-size: 0.92rem !important;
  transition: all 0.3s ease !important;
}
#btn-see-more-gallery:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(200, 157, 156, 0.5) !important;
}

/* Nút truy cập quick (wishes/donate) */
.accessibility-btn.theme-btn {
  border-radius: var(--radius-md) !important;
  padding: 14px 24px 14px 14px !important;
}

/* ============================================================
   SAVE THE DATE - THIẾT KẾ MỚI HOÀN TOÀN
   ============================================================ */

/* Section wrapper */
.invitation-section.std-redesign {
  background: linear-gradient(135deg, #0d1626 0%, #1a2235 40%, #12192e 100%) !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

/* Ẩn background texture cũ */
.invitation-section.std-redesign.section-bg-img::before,
.invitation-section.std-redesign::before {
  display: none !important;
}

/* Decorative circle ornaments */
.std-bg-ornament {
  position: absolute;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle at center, rgba(201,169,110,0.07) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.std-bg-ornament--tl { top: -160px; left: -160px; }
.std-bg-ornament--br { bottom: -160px; right: -160px; }

/* Main flex wrapper */
.std-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* ---- Panels ---- */
.std-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.std-panel__inner {
  width: 100%;
  text-align: center;
  padding: 48px 36px;
}

/* ---- LEFT panel with corner accents ---- */
.std-panel--left .std-panel__inner {
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(255,255,255,0.025) 0%, rgba(201,169,110,0.04) 100%);
  position: relative;
}

.std-panel--left .std-panel__inner::before,
.std-panel--left .std-panel__inner::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(201,169,110,0.6);
  border-style: solid;
}
.std-panel--left .std-panel__inner::before {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
}
.std-panel--left .std-panel__inner::after {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
}

/* Gold label */
.std-label {
  color: var(--gold) !important;
  font-size: 0.68rem !important;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 16px 0 24px !important;
  font-family: "comfortaaregular", sans-serif !important;
  line-height: 1.6 !important;
}

/* Big script names */
.std-script {
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 3.8rem !important;
  color: #fff !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  text-shadow: 0 0 40px rgba(201,169,110,0.25);
  font-weight: normal !important;
}
@media (max-width: 991px) { .std-script { font-size: 3rem !important; } }
@media (max-width: 600px)  { .std-script { font-size: 2.4rem !important; } }

/* Ampersand */
.std-ampersand-wrap { margin: 0; }
.std-ampersand {
  font-family: "dancing_scriptregular", cursive;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.8;
  display: inline-block;
}

/* ---- Hai ngày cưới row ---- */
.std-dates-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 24px;
  flex-wrap: wrap;
}

/* Date card */
.std-date-card {
  background: rgba(201,169,110,0.06);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 6px;
  padding: 14px 20px 12px;
  text-align: center;
  min-width: 160px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.std-date-card:hover {
  border-color: rgba(201,169,110,0.55);
  box-shadow: 0 4px 24px rgba(201,169,110,0.12);
}

.std-date-card__label {
  display: block;
  font-family: "comfortaaregular", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.8;
}

.std-date-card__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.std-date-card__day {
  font-family: "comfortaaregular", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.std-date-card__divider {
  width: 1px;
  height: 32px;
  background: rgba(201,169,110,0.35);
}

.std-date-card__info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.std-date-card__month {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "comfortaaregular", sans-serif;
}

.std-date-card__year {
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 2px;
  font-family: "comfortaaregular", sans-serif;
}

/* Giờ bên dưới card */
.std-date-card__time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  font-family: "comfortaaregular", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
}

.std-date-card__time svg {
  opacity: 0.5;
}

/* Responsive date cards */
@media (max-width: 480px) {
  .std-dates-row {
    gap: 10px;
  }
  .std-date-card {
    min-width: 130px;
    padding: 12px 14px 10px;
  }
  .std-date-card__day {
    font-size: 2rem;
  }
}

/* Calendar highlight ngày 3 (nhà nữ) */
.cal-highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 !important;
  display: inline-block !important;
  box-shadow: 0 4px 14px rgba(201,169,110,0.5) !important;
  font-weight: 700 !important;
}

/* Quote */
.std-quote {
  font-size: 0.86rem !important;
  color: rgba(255,255,255,0.45) !important;
  font-style: italic;
  line-height: 1.9 !important;
  margin: 0 0 28px !important;
}

/* CTA Button */
.std-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #a5843e 100%);
  color: #0d1626 !important;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 3px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 6px 28px rgba(201,169,110,0.35);
}
.std-cta-btn svg { flex-shrink: 0; }
.std-cta-btn:hover {
  background: linear-gradient(135deg, #e0c67a 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,169,110,0.5);
  color: #0d1626 !important;
}

/* Ornament lines */
.std-ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(201,169,110,0.45);
  margin: 20px 0;
}
.std-ornament-line__bar {
  display: block;
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.45));
}
.std-ornament-line:last-of-type .std-ornament-line__bar:last-child {
  background: linear-gradient(90deg, rgba(201,169,110,0.45), transparent);
}
.std-ornament-line__diamond {
  color: var(--gold);
  opacity: 0.55;
}

/* ---- Vertical divider ---- */
.std-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: rgba(201,169,110,0.4);
  flex-shrink: 0;
  width: 60px;
}
.std-divider__line {
  display: block;
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, rgba(201,169,110,0.4) 20%, rgba(201,169,110,0.4) 80%, transparent);
}
.std-divider__motif {
  color: var(--gold);
  margin: 12px 0;
  flex-shrink: 0;
}

/* ---- RIGHT panel ---- */
.std-panel--right .std-panel__inner {
  padding: 40px 20px;
}
.std-cal-label {
  color: var(--gold) !important;
  font-size: 0.68rem !important;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px !important;
}

/* Override calendar-box */
.std-cal-wrap.invitation-box {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,169,110,0.2) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  padding: 24px 16px 28px !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.std-cal-wrap.invitation-box::before { display: none !important; }
.std-cal-wrap .left-vec,
.std-cal-wrap .right-vec { display: none !important; }

/* Calendar caption */
.std-cal-wrap .calendar-month {
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 1.4rem !important;
  color: var(--gold-light) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: normal !important;
  padding-bottom: 12px !important;
}

/* Calendar table */
.std-cal-wrap table th {
  color: rgba(201,169,110,0.6) !important;
  font-size: 0.72rem !important;
  letter-spacing: 1px;
  border-top: 1px solid rgba(201,169,110,0.2) !important;
  border-bottom: 1px solid rgba(201,169,110,0.2) !important;
  padding: 8px 0 !important;
}
.std-cal-wrap table td {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.85rem !important;
  height: 36px !important;
  vertical-align: middle !important;
}
.std-cal-wrap #today {
  background: linear-gradient(135deg, var(--rose), var(--gold)) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 !important;
  display: inline-block !important;
  box-shadow: 0 4px 14px rgba(201,169,110,0.5) !important;
  font-weight: 700 !important;
}
.std-cal-wrap .mini_calendar {
  border-bottom: 1px solid rgba(201,169,110,0.2) !important;
  padding-bottom: 16px !important;
}
.std-cal-wrap .count-down-clock { margin-top: 20px; }

/* Responsive mobile */
@media (max-width: 860px) {
  .std-wrapper {
    flex-direction: column;
    max-width: 460px;
  }
  .std-divider {
    flex-direction: row;
    padding: 16px 0;
    width: 100%;
    height: auto;
  }
  .std-divider__line {
    width: auto;
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.4) 20%, rgba(201,169,110,0.4) 80%, transparent);
  }
  .std-divider__motif {
    transform: rotate(90deg);
    margin: 0 12px;
  }
  .std-panel--left .std-panel__inner,
  .std-panel--right .std-panel__inner {
    padding: 28px 20px;
  }
}
@media (max-width: 480px) {
  .std-date-badge { padding: 10px 18px; gap: 12px; }
  .std-date-num { font-size: 2.2rem; }
  .invitation-section.std-redesign { padding: 50px 0 !important; }
}

/* ---- Calendar mini chung (không bị ảnh hưởng bởi std) ---- */
.mini_calendar caption.calendar-month {
  font-family: "dancing_scriptregular", cursive;
  font-size: 1.3rem;
  color: var(--navy);
  padding-bottom: 8px;
}
.mini_calendar #today {
  background: linear-gradient(135deg, var(--rose), var(--gold)) !important;
  box-shadow: 0 4px 12px rgba(200, 157, 156, 0.5);
}
.count-down-clock { margin-top: 12px; }

/* ============================================================
   COUPLE SECTION - Nâng cấp couple cards
   ============================================================ */
.couple-section {
  background: linear-gradient(180deg, #1e1108 0%, #2a1a0e 50%, #1e1108 100%);
  position: relative;
}

.couple-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Ảnh cặp đôi - frame trang trọng hơn */
.couple-section .img-holder {
  position: relative;
  overflow: hidden;
}

.couple-section .img-holder img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-section .img-holder:hover img {
  transform: scale(1.04);
}

.couple-section .img-holder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(32,42,65,0.35) 100%);
  pointer-events: none;
}

/* Details panel */
.couple-section .details {
  background: linear-gradient(160deg, rgba(42,26,14,0.95) 0%, rgba(30,17,8,0.98) 100%) !important;
  position: relative;
  overflow: hidden;
}

.couple-section .details::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.couple-section .details h2 {
  font-size: 2.2rem !important;
  background: linear-gradient(135deg, #f5e6c8 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Parent info tags */
.parent-infos {
  margin: 8px 0 16px;
}

.parent-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 6px 4px 0;
  background: rgba(201, 169, 110, 0.12);
  border-left: 3px solid var(--gold);
  padding: 5px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
}

.parent-title {
  color: rgba(201,169,110,0.65);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.parent-name {
  color: #f5e6c8;
  font-weight: 600;
}

/* ============================================================
   STORY SECTION - Timeline đẹp hơn
   ============================================================ */
.story-section {
  background: linear-gradient(180deg, #17100a 0%, #211408 50%, #17100a 100%);
}

.story-section .story-block {
  background: linear-gradient(160deg, rgba(33,20,8,0.97) 0%, rgba(23,16,10,0.99) 100%);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4) !important;
  padding: 60px !important;
  position: relative;
  overflow: hidden;
}

.story-section .story-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--rose), var(--gold), var(--rose));
}

/* Timeline line */
.story-section ul::before {
  background: linear-gradient(180deg, var(--rose), var(--gold)) !important;
  width: 2px !important;
}

.story-section ul::after {
  background: linear-gradient(135deg, var(--rose), var(--gold)) !important;
  box-shadow: 0 0 0 4px rgba(200,157,156,0.2);
}

.story-section ul li::before {
  background: #17100a !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(201,169,110,0.15);
}

.story-section ul > li:last-child::before {
  background: linear-gradient(135deg, var(--rose), var(--gold)) !important;
}

/* Story items */
.story-section ul li {
  padding-bottom: 50px !important;
  margin-bottom: 50px !important;
}

.story-section .details h3 {
  color: #f5e6c8;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.story-section .details h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 1px;
}

.story-section ul li:nth-child(odd) .details h3::after {
  left: auto;
  right: 0;
}

.story-section .date {
  display: inline-block !important;
  background: linear-gradient(135deg, rgba(201,169,110,0.18), rgba(201,169,110,0.1));
  border: 1px solid rgba(201,169,110,0.45);
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 0.82rem !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-lg);
  margin-bottom: 1.2em !important;
}

/* Story images */
.story-section ul li img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.story-section ul li img:hover {
  transform: scale(1.03) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   EVENT SECTION - Cards sự kiện trang trọng
   ============================================================ */
.event-section .top-area {
  position: relative;
}

.event-section .top-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.72) 100%
  );
}

.event-section .top-area h2 {
  font-family: "dancing_scriptregular", cursive;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.3);
  font-size: 3.2rem !important;
  letter-spacing: 0.02em;
}

.event-section .top-area p {
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  font-size: 1rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto;
}

/* Event grids - flex equal height */
.event-section .event-grids {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
}

/* Event grid cards - glassmorphism nổi bật trên nền ảnh */
#events .event-grids .grid,
.event-section .event-grids .grid {
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(
    160deg,
    rgba(20, 12, 5, 0.88) 0%,
    rgba(30, 18, 8, 0.92) 40%,
    rgba(20, 12, 5, 0.88) 100%
  ) !important;
  background-image: none !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(201,169,110,0.08) inset,
    0 1px 0 rgba(255,255,255,0.04) inset;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  padding: 0 0 32px 0 !important;
}

@media (max-width: 768px) {
  .event-section .event-grids .grid {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(26, 15, 6, 0.98) !important; /* Solid-ish dark bg for mobile */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; /* Simplified shadow */
    transform: none !important; /* Disable hover/parallax transforms on mobile to save GPU */
  }
}

/* Viền gradient trên cùng */
.event-section .event-grids .grid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--rose));
  border-radius: 20px 20px 0 0;
  z-index: 1;
}

/* Glow ấm khi hover */
.event-section .event-grids .grid:hover {
  transform: translateY(-8px);
  border-color: rgba(201,169,110,0.55);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.65),
    0 0 60px rgba(201,169,110,0.12),
    0 0 0 1px rgba(201,169,110,0.15) inset;
}

/* Tiêu đề sự kiện */
.event-section .event-grids .grid h3 {
  font-family: "comfortaaregular", sans-serif !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f5e6c8 0%, var(--gold) 50%, #f5e6c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding: 26px 24px 18px;
  margin-bottom: 0;
  text-align: center;
}

.event-section .event-grids .grid h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Ảnh bo tròn hơn, có viền gold mờ */
.event-section .event-grids .grid .image-wrap {
  padding: 0 20px;
  margin-bottom: 8px;
}

.event-section .event-grids .grid .image-wrap img {
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 1px solid rgba(201,169,110,0.15);
}

.event-section .event-grids .grid:hover .image-wrap img {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(201,169,110,0.08);
}

/* Thông tin ngày giờ, địa điểm */
.event-section .event-grids .grid p {
  color: rgba(245,230,200,0.78) !important;
  font-family: "comfortaaregular", sans-serif !important;
  font-size: 0.88rem !important;
  padding: 0 24px !important;
  line-height: 1.7;
}

.event-section .event-grids .grid p strong {
  display: inline-block;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem !important;
  background: linear-gradient(90deg, rgba(201,169,110,0.12), rgba(200,157,156,0.12));
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid rgba(201,169,110,0.2);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

/* Google map - đẩy xuống cuối card, bo tròn, shadow */
.event-section .event-grids .grid iframe {
  border-radius: 14px !important;
  margin: auto 20px 0 !important;
  width: calc(100% - 40px) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35) !important;
  border: 1px solid rgba(201,169,110,0.15) !important;
}

/* Google map iframe */
.event-section iframe {
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
}

/* ============================================================
   VIDEO SECTION - Nâng cấp section video
   ============================================================ */
.video-section.event-section .top-area h2 {
  font-size: 2.4rem !important;
}

.video-section.event-section .top-area {
  position: relative;
  overflow: hidden;
}

.btn-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ============================================================
   GALLERY SECTION - Nâng cấp gallery
   ============================================================ */
.gallery-section {
  background: linear-gradient(160deg, #0f1621 0%, #1a2235 50%, #0f1621 100%);
}

/* Quan trọng: KHÔNG set height:100% trên img - gây méo/mờ ảnh */
.gallery-container .grid {
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
}

.gallery-container .grid img {
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;          /* giữ tỉ lệ gốc, không mờ */
  display: block;
  image-rendering: auto; /* đảm bảo browser render sắc nét */
}

.gallery-container .grid:hover img {
  transform: scale(1.05); /* nhỏ hơn để tránh blur khi scale */
}

/* Overlay hiệu ứng hover - dùng pseudo trên wrapper, không che ảnh */
.gallery-container .grid a {
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-container .grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,157,156,0.25), rgba(201,169,110,0.25));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-container .grid:hover a::after {
  opacity: 1;
}

/* ============================================================
   SỔ LƯU BÚT — ULTIMATE PREMIUM REDESIGN (FINAL POLISH)
   ============================================================ */

#wishes,
.contact-section {
  background-color: #0d0a18 !important; /* Solid deep navy */
  background-image: none !important;
  position: relative;
  z-index: 100 !important; /* Extremely high to stay on top */
  isolation: isolate;
  padding: 100px 0 !important;
}

/* HIDE ALL ORNAMENTS FROM TEMPLATE THAT LEAK WHITE FLOWERS */
#wishes::before, #wishes::after,
#wishes .contact-form::before, #wishes .contact-form::after,
#wishes .section-title::before, #wishes .section-title::after,
.contact-section::before, .contact-section::after,
.contact-section .contact-form::before, .contact-section .contact-form::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Section Title */
#wishes .section-title h2 {
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem !important;
  margin-bottom: 20px !important;
  background: linear-gradient(to right, #f3eacb 0%, #d4af37 50%, #f3eacb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

#wishes .section-title p {
  color: #a1a1aa !important; /* Muted gray for subtitle */
  max-width: 650px;
  margin: 0 auto 60px !important;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* FORM - Solid Dark */
.contact-section .contact-form {
  background: #16161a !important; 
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 24px !important;
  padding: 45px !important;
  box-shadow: 0 40px 80px rgba(0,0,0,0.9) !important;
  z-index: 101 !important;
}

/* Inputs - SOLID CHARCOAL */
.contact-form .form-control,
#wish-form .form-control,
#wishes input, #wishes textarea {
  background-color: #202023 !important;
  border: 1px solid #3f3f46 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  font-size: 1rem !important;
  margin-bottom: 25px !important;
  box-shadow: none !important;
  height: auto !important;
}

.contact-form .form-control:focus {
  border-color: #d4af37 !important;
  background-color: #27272a !important;
}

/* Textarea Icon Bar - MUST BE DARK */
#wish-form .textAreaIcons {
  background: #27272a !important;
  border: 1px solid #3f3f46 !important;
  border-top: none !important;
  margin-top: -26px !important; /* Attach to textarea */
  border-radius: 0 0 12px 12px !important;
  padding: 10px 20px !important;
  color: #d4af37 !important;
}

/* Submit Button */
#wish-form .theme-btn, 
.contact-section .theme-btn {
  background: linear-gradient(90deg, #d4af37, #f3eacb, #d4af37) !important;
  color: #1a1a1a !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 18px 50px !important;
  border-radius: 60px !important;
  letter-spacing: 2px !important;
  margin-top: 10px !important;
}

/* WISH BOX */
.wish-box {
  background: #111114 !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  border-radius: 24px !important;
  padding: 35px !important;
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.6) !important;
  max-height: 600px !important;
}

.wish-item, .wish-box > div {
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  display: block;
  margin-bottom: 10px;
}

.wish-item p, .wish-box > div p {
  color: #e4e4e7 !important;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Scrollbar */
.wish-box::-webkit-scrollbar { width: 6px; }
.wish-box::-webkit-scrollbar-track { background: transparent; }
.wish-box::-webkit-scrollbar-thumb {
  margin-bottom: 14px;
  border-left: 3px solid var(--gold);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245, 235, 210, 0.92) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
}

.wish-item:hover,
.wish-box > div:hover {
  background: rgba(255,255,255,0.12) !important;
  transform: translateX(4px);
}

/* Tên người gửi rõ ràng */
.wish-box > div strong,
.wish-box > div b,
.wish-item strong,
.wish-item b {
  color: #d4af5c !important;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

/* Nội dung lời chúc */
.wish-box > div p,
.wish-item p {
  color: rgba(245, 235, 215, 0.88) !important;
  margin: 0;
  line-height: 1.8;
}


/* ============================================================
   DONATE SECTION - Hộp mừng cưới thiết kế mới
   ============================================================ */

/* Section */
.donate-section {
  background: linear-gradient(160deg, #0e1726 0%, #1a2540 50%, #111d32 100%);
  position: relative;
  overflow: hidden;
}

/* Background orbs */
.dc-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.dc-bg-orb--l {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,157,156,0.07) 0%, transparent 70%);
  top: -100px; left: -150px;
}
.dc-bg-orb--r {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
  bottom: -100px; right: -150px;
}

/* ---- Header ---- */
.dc-header {
  text-align: center;
  margin-bottom: 56px;
}

.dc-header__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
  margin-bottom: 14px;
}
.dc-header__line {
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.6));
}
.dc-header__ornament svg { opacity: 0.7; }

.dc-header__title {
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 3rem !important;
  color: #fff !important;
  margin: 0 0 12px !important;
  text-shadow: 0 0 40px rgba(201,169,110,0.2);
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}
@media (max-width: 767px) {
  .dc-header__title { font-size: 2.2rem !important; }
}

.dc-header__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Cards wrapper ---- */
.dc-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

/* ---- Individual card ---- */
.dc-card {
  flex: 1;
  background: linear-gradient(160deg, #fffdf8 0%, #fdf6ee 100%);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    0 0 0 1px rgba(201,169,110,0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  max-width: 340px;
}

.dc-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(201,169,110,0.4),
    0 0 40px rgba(201,169,110,0.1);
}

/* Subtle top shimmer bar */
.dc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.dc-card--groom::before {
  background: linear-gradient(90deg, var(--rose), var(--gold));
}
.dc-card--bride::before {
  background: linear-gradient(90deg, var(--gold), var(--rose));
}

/* Watermark pattern background */
.dc-card::after {
  content: '♥';
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 120px;
  color: rgba(200,157,156,0.05);
  pointer-events: none;
  line-height: 1;
  font-family: serif;
}

/* ---- Badge ---- */
.dc-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ---- Top: avatar + name ---- */
.dc-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.dc-card__avatar {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-card__avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--rose), var(--gold)) border-box;
}

.dc-card__avatar-icon {
  color: var(--rose);
  width: 36px;
  height: 36px;
  opacity: 0.7;
}

.dc-card__name-block {
  text-align: left;
}

.dc-card__role-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 2px;
}

.dc-card__name {
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 1.8rem !important;
  color: var(--navy) !important;
  margin: 0 !important;
  line-height: 1.15 !important;
  font-weight: normal !important;
}

/* ---- QR Frame ---- */
.dc-card__qr-frame {
  position: relative;
  padding: 16px;
  margin: 0 auto 20px;
  width: fit-content;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Corner brackets */
.dc-card__qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  border-style: solid;
}
.dc-card__qr-corner--tl { top: 4px; left: 4px;  border-width: 2px 0 0 2px; }
.dc-card__qr-corner--tr { top: 4px; right: 4px; border-width: 2px 2px 0 0; }
.dc-card__qr-corner--bl { bottom: 4px; left: 4px;  border-width: 0 0 2px 2px; }
.dc-card__qr-corner--br { bottom: 4px; right: 4px; border-width: 0 2px 2px 0; }

.dc-card__qr-img {
  display: block;
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  border: none !important;
  padding: 0 !important;
  object-fit: contain;
}

.dc-card__qr-hint {
  font-size: 0.68rem !important;
  color: rgba(0,0,0,0.35) !important;
  text-align: center;
  margin: 8px 0 0 !important;
  letter-spacing: 0.5px;
}

/* ---- Info rows ---- */
.dc-card__info {
  border-top: 1px solid rgba(201,169,110,0.2);
  padding-top: 16px;
}

.dc-card__info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.dc-card__info-row:last-child { border-bottom: none; }

.dc-card__info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.dc-card__info-label svg { opacity: 0.5; flex-shrink: 0; }

.dc-card__info-value {
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
  text-align: right;
}

.dc-card__info-value--bank {
  font-weight: 700;
  color: var(--rose-dark);
  font-size: 0.88rem;
}

/* Highlighted account number row */
.dc-card__info-row--highlight {
  background: linear-gradient(90deg, rgba(201,169,110,0.06), rgba(200,157,156,0.06));
  margin: 2px -4px;
  padding: 8px 4px;
  border-radius: 4px;
  border-bottom: none !important;
}

.dc-card__info-value--account {
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
}

/* ---- Center divider ---- */
.dc-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  flex-shrink: 0;
  width: 56px;
}

.dc-center__line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(201,169,110,0.3) 20%,
    rgba(201,169,110,0.3) 80%,
    transparent 100%
  );
}

.dc-center__heart {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,157,156,0.15), rgba(201,169,110,0.15));
  border: 1px solid rgba(201,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  flex-shrink: 0;
  margin: 16px 0;
  animation: logo-heartbeat 2s ease-in-out infinite;
}

/* ============================================================
   MODAL MỪNG CƯỚI (popup) - Giữ nguyên style
   ============================================================ */
.donate-modal {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
}

.donate-modal .donate-modal-content {
  background: linear-gradient(160deg, var(--navy) 0%, #2d3a57 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,169,110,0.3);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(201,169,110,0.15);
  overflow: hidden;
}

.donate-modal-header {
  background: linear-gradient(90deg, rgba(201,169,110,0.12), rgba(200,157,156,0.12)) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding: 16px 24px !important;
  color: var(--gold-light) !important;
}

.donate-modal-header strong {
  color: var(--gold-light) !important;
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.donate-modal-close {
  color: rgba(255,255,255,0.5) !important;
  font-size: 1.5rem !important;
  transition: color 0.2s ease !important;
}
.donate-modal-close:hover { color: #fff !important; }

/* Popup uses the new dc-card style too */
.donate-modal .donate-box {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 16px;
}

.donate-modal .donate-card {
  background: linear-gradient(160deg, #fffdf8, #fdf6ee) !important;
  border: 1px solid rgba(201,169,110,0.25) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
  text-align: center !important;
  min-width: 200px !important;
  flex: 1 !important;
  max-width: 260px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
}

.donate-modal .donate-card h3 {
  font-family: "dancing_scriptregular", cursive !important;
  font-size: 1.3rem !important;
  color: var(--navy) !important;
  margin-bottom: 12px !important;
}

.donate-modal .donate-card .qr-code-image {
  max-width: 140px !important;
  border: 4px solid #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
  border-radius: 4px !important;
  margin: 0 auto 12px !important;
  display: block !important;
}

.donate-modal .donate-card p {
  font-size: 0.82rem !important;
  color: var(--navy) !important;
  margin: 4px 0 !important;
}

.donate-modal .donate-card p strong {
  color: var(--rose-dark) !important;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .dc-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .dc-center {
    flex-direction: row;
    width: 100%;
    max-width: 340px;
    padding: 0;
    height: 40px;
  }
  .dc-center__line {
    width: auto; height: 1px; flex: 1;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(201,169,110,0.3) 20%,
      rgba(201,169,110,0.3) 80%,
      transparent 100%
    );
  }
  .dc-center__heart { margin: 0 12px; }

  .dc-card {
    width: 100%;
    max-width: 340px;
  }

  .dc-card__qr-img {
    width: 140px !important;
    height: 140px !important;
    max-width: 140px !important;
  }
}

/* ============================================================
   FOOTER - Trang trọng, sang trọng
   ============================================================ */
.site-footer.footer-style-1 {
  background: linear-gradient(160deg, var(--navy) 0%, #1a2235 100%) !important;
  position: relative;
  overflow: hidden;
}

.site-footer.footer-style-1::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--rose));
}

.site-footer.footer-style-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,169,110,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.site-footer .inner {
  position: relative;
  z-index: 1;
}

/* Xoá khung trang trí phía sau ảnh cặp đôi */
.footer-style-1 .couple-pic {
  background: none !important;
  width: auto !important;
  height: auto !important;
}

.site-footer .couple-pic {
  position: relative;
  display: inline-block;
}

.site-footer .couple-pic img {
  border-radius: 50%;
  border: 3px solid rgba(201,169,110,0.4);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  position: static !important;
  transform: none !important;
  height: 50%;
  max-width: 400px;
  object-fit: cover;
  image-rendering: auto;
}

@media (max-width: 767px) {
  .site-footer .couple-pic img {
    height: 50%;
    max-width: 75%;
  }
}

.site-footer h2 {
  font-family: "dancing_scriptregular", cursive;
  font-size: 3rem !important;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  background: linear-gradient(135deg, var(--rose), var(--gold)) !important;
  border: none !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold), var(--rose)) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md) !important;
}

/* ============================================================
   MUSIC PLAYER - Floating Romantic Toggle
   ============================================================ */
#music-player-toggle {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#music-player-toggle:hover {
  transform: scale(1.1);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201,169,110,0.25);
}

#music-player-toggle .music-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

#music-player-toggle.is-playing .music-icon {
  animation: music-rotate 4s linear infinite;
  color: var(--rose);
}

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

@media (max-width: 768px) {
  #music-player-toggle {
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
  }
}


/* ============================================================
   SECTION BG COLOR - Nền xen kẽ
   ============================================================ */
.section-bg-color,
#events.section-bg-color,
#events {
  background: linear-gradient(160deg, #22140a 0%, #1a0f06 50%, #22140a 100%) !important;
}

/* Đảm bảo TẤT CẢ section đều có nền tối, không bị nền trắng lọt */
section,
.wpo-section {
  background-color: #110b05;
}

/* Override bg-img for event grid cards specifically */
#events .event-grids .grid.section-bg-img {
  background: linear-gradient(160deg, #1c1108 0%, #130b05 100%) !important;
  background-image: none !important;
}

.section-bg-img {
  position: relative;
}

/* ============================================================
   ANIMATIONS - Hiệu ứng fade-in
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   CLICK HEART EFFECT
   ============================================================ */
.click-heart {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  font-size: 24px;
  animation: heart-float 1.2s ease-out forwards;
  user-select: none;
}

@keyframes heart-float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) scale(1.5) rotate(15deg);
    opacity: 0;
  }
}

.section-title {
  animation: fadeInUp 0.6s ease both;
}


.couple-area .couple-row {
  animation: fadeInUp 0.7s ease both;
}

.couple-area .couple-row.last-row {
  animation-delay: 0.15s;
}

.story-section ul li {
  animation: fadeInUp 0.6s ease both;
}
.story-section ul li:nth-child(2) { animation-delay: 0.12s; }
.story-section ul li:nth-child(3) { animation-delay: 0.24s; }

/* ============================================================
   TYPOGRAPHY - Nâng cấp tổng thể (dark theme)
   ============================================================ */
h1, h2, h3, h4 {
  letter-spacing: -0.01em;
  font-family: "dancing_scriptregular", cursive;
  color: #f5e6c8;
}

p {
  color: rgba(245,230,200,0.75);
  font-family: "comfortaaregular", sans-serif;
}

/* Link mặc định */
a {
  color: var(--gold);
}

/* Story section text */
.story-section .details p,
.story-section .story-text p {
  color: rgba(245,230,200,0.72) !important;
  font-family: "comfortaaregular", sans-serif !important;
}

/* Event section text */
.event-section .event-grids .grid .details-text p,
.event-section .event-grids .grid p {
  color: rgba(245,230,200,0.78) !important;
  font-family: "comfortaaregular", sans-serif !important;
}

/* Countdown clock text */
.count-down-clock .box .time,
.count-down-clock .time {
  color: var(--gold) !important;
  font-family: "comfortaaregular", sans-serif !important;
  font-weight: 700;
}

.count-down-clock .box span:not(.time),
.count-down-clock span:not(.time) {
  color: rgba(245,230,200,0.5) !important;
  font-family: "comfortaaregular", sans-serif !important;
  text-transform: uppercase;
  font-size: 0.65rem !important;
  letter-spacing: 1.5px;
}

/* ============================================================
   RESPONSIVE - Mobile adjustments
   ============================================================ */
@media (max-width: 991px) {
  .story-section .story-block {
    padding: 36px 20px !important;
  }

  .site-footer h2 {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 1.8rem !important;
  }

  .hero-style-1 .wedding-date span,
  .hero-style-4 .wedding-date span {
    font-size: 0.72rem !important;
    padding: 8px 18px;
    letter-spacing: 3px;
  }

  .event-section .top-area h2 {
    font-size: 2rem !important;
  }

  .wish-box {
    max-height: 350px;
  }
}

/* Mobile sidebar nav - dark theme */
@media (max-width: 991px) {
  .site-header #navbar {
    background: linear-gradient(180deg, #1a0f06, #110b05) !important;
    border-left: 1px solid rgba(201,169,110,0.2) !important;
    border-right: 1px solid rgba(201,169,110,0.2) !important;
  }

  .site-header #navbar ul a {
    color: rgba(245,230,200,0.8) !important;
    font-family: "comfortaaregular", sans-serif !important;
    border-bottom: 1px solid rgba(201,169,110,0.1) !important;
  }

  .site-header #navbar ul a:hover,
  .site-header #navbar ul a:focus {
    color: var(--gold) !important;
  }

  .site-header .close-navbar {
    color: var(--gold) !important;
  }

  .site-header .navbar-header button {
    background-color: rgba(201,169,110,0.8) !important;
  }
}

/* ============================================================
   DARK SECTION TEXT OVERRIDES
   Đảm bảo text luôn readable trên nền tối
   ============================================================ */

/* Text chung trong couple details */
.couple-section .details p {
  color: rgba(245,230,200,0.75) !important;
  font-family: "comfortaaregular", sans-serif !important;
}

/* Đảm bảo tên social links readable */
.couple-section .details ul.social li a {
  color: var(--gold) !important;
}

/* Calendar labels */
.mini_calendar th,
.mini_calendar td {
  font-family: "comfortaaregular", sans-serif !important;
}

/* Invitation section labels */
.invitation-section p,
.invitation-section span {
  font-family: "comfortaaregular", sans-serif;
}

/* Story text */
.story-section .details p {
  color: rgba(245,230,200,0.75) !important;
}

/* Event grid text trên nền tối */
.event-section .event-grids .grid p,
.event-section .event-grids .grid p strong {
  color: rgba(245,230,200,0.82) !important;
}
.event-section .event-grids .grid p strong {
  color: var(--gold) !important;
}

/* Section title trong events section */
.event-section .section-title h2 {
  background: linear-gradient(135deg, #f5e6c8 0%, var(--gold) 60%, #f5e6c8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.event-section .section-title p {
  color: rgba(245,230,200,0.6) !important;
}

/* Wishes section heading */
.contact-section .section-title h2 {
  background: linear-gradient(135deg, #f5e6c8 0%, var(--gold) 60%, #f5e6c8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ============================================================
   READABILITY FIX: Events & Wishes sections
   ============================================================ */

/* Mọi text p, span, li trong event-section grid */
.event-section .event-grids .grid p,
.event-section .event-grids .grid span,
.event-section .event-grids .grid li,
.event-section .event-grids .grid address,
.event-section .event-grids .grid .details p {
  color: rgba(245, 230, 200, 0.85) !important;
  line-height: 1.8;
}

.event-section .event-grids .grid p strong,
.event-section .event-grids .grid .details p strong {
  color: var(--gold) !important;
  font-weight: 700;
}

/* Label trong form contact / wishes */
.contact-section label,
.contact-section .form-group label {
  color: rgba(245, 230, 200, 0.75) !important;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Mọi text khác trong contact section */
.contact-section p,
.contact-section span,
.contact-section .section-sub-title {
  color: rgba(245, 230, 200, 0.72) !important;
}

/* Wish name / author text */
.wish-box strong,
.wish-box b,
.wish-item strong,
.wish-item b {
  color: var(--gold) !important;
}

/* Error messages form */
.contact-form .error,
.contact-form label.error {
  color: #f3a3a3 !important;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Submit button — giữ rõ ràng */
.contact-section .theme-btn,
.contact-section button[type="submit"] {
  color: #fff !important;
}

/* ============================================================
   FINAL POLISH: Event cards & Wishes typography
   ============================================================ */

/* Address / info text layout trong event card */
#events .event-grids .grid p {
  color: rgba(245, 230, 200, 0.88) !important;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 6px 20px !important;
  padding: 0;
}

#events .event-grids .grid p:first-of-type {
  margin-top: 16px !important;
}

/* Giờ giấc (strong) nổi bật */
#events .event-grids .grid p strong {
  font-size: 1.05rem;
  color: var(--gold) !important;
  display: block;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}

/* Divider dưới section title trên nền tối */
.couple-section .section-title::after,
.story-section .section-title::after,
.gallery-section .section-title::after,
.contact-section .section-title::after,
#events .section-title::after {
  background: linear-gradient(90deg, var(--gold), rgba(245,230,200,0.4), var(--gold)) !important;
}

/* Wish item hover sáng hơn */
.wish-item:hover,
.wish-box > div:hover {
  background: rgba(255,255,255,0.09) !important;
  transform: translateX(4px);
}

/* ============================================================
   WISHES ANSWER - Phần trả lời lời chúc từ dâu rể
   ============================================================ */
.wish-box-answer {
  margin-top: 14px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(200, 157, 156, 0.08) 0%, rgba(201, 169, 110, 0.05) 100%);
  border-left: 3px solid var(--rose);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.wish-box-answer strong {
  display: block;
  font-family: "comfortaaregular", sans-serif;
  color: var(--rose) !important;
  font-size: 0.85rem !important;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.wish-box-answer strong i {
  color: #e8737f !important;
  margin-right: 4px;
}

.wish-box-answer p {
  font-family: "comfortaaregular", sans-serif !important;
  color: rgba(245, 230, 200, 0.9) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-style: italic;
}
