/* ============================================================
   DESIGN TOKENS — LUXURY DEEP BURGUNDY (ĐỎ ĐÔ) & ROYAL NAVY THEME
============================================================ */
:root {
  --white: #ffffff;
  --bg-base: #fbf9f6;

  /* Primary Deep Burgundy (Đỏ Đô) palette */
  --burgundy-950: #2d0307;
  --burgundy-900: #3e050b;
  --burgundy-800: #570712;
  --burgundy-700: #720c1a;
  --burgundy-600: #8d1323;
  --burgundy-500: #a81c31;
  --burgundy-400: #c62d45;
  --burgundy-200: #f4d3d8;
  --burgundy-100: #faedf0;

  /* Secondary Royal Navy palette */
  --navy-900: #0a1422;
  --navy-800: #102035;
  --navy-700: #172c48;
  --navy-600: #223e63;
  --navy-500: #305484;
  --navy-400: #4670a8;
  --navy-100: #ebf1f8;

  /* Luxury Warm Metallic Gold & Champagne palette */
  --gold-500: #c59b27;
  --gold-600: #b58d3d;
  --gold-700: #9e792e;
  --gold-400: #d4af37;
  --gold-300: #e3cc88;
  --gold-200: #f2e6bd;
  --gold-100: #fbf5e4;

  /* Ink / Text contrast */
  --ink: #220508;
  --ink-soft: #4a151e;
  --ink-muted: #6f3b44;
  --ink-navy: #102035;

  /* Lines & Borders */
  --line-gold: rgba(197, 155, 39, 0.35);
  --line-burgundy: rgba(114, 12, 26, 0.22);
  --line-navy: rgba(23, 44, 72, 0.18);

  /* Primary aliases */
  --primary: var(--burgundy-700);
  --primary-deep: var(--burgundy-900);
  --primary-soft: var(--burgundy-500);

  --red: var(--burgundy-700);
  --red-deep: var(--burgundy-900);
  --red-soft: var(--burgundy-500);

  --blue-100: var(--navy-100);
  --blue-200: #d6e2ef;
  --blue-300: var(--gold-300);
  --blue-400: var(--gold-500);
  --blue-500: var(--navy-600);
  --blue-600: var(--navy-800);
  --blue-700: var(--navy-900);
  --blue-deep: var(--navy-900);

  --gold: var(--gold-500);
  --gold-light: var(--gold-200);
  --gold-pale: var(--gold-100);
  --cream: var(--bg-base);
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', 'Dancing Script', cursive;
  --font-luxury: 'Great Vibes', 'Dancing Script', cursive;
  --font-curve: 'Great Vibes', 'Dancing Script', cursive;
  --font-signature: 'Great Vibes', 'Dancing Script', cursive;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-dur: 2.55s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: linear-gradient(180deg,
    #f7f4ed 0%,
    #faf8f3 8%,
    #f5f1e8 18%,
    #fcfbfa 28%,
    #ffffff 40%,
    #fcfbfa 52%,
    #f5f1e8 64%,
    #faf8f3 76%,
    #f7f4ed 88%,
    #f2ecdc 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
}

.script-curve {
  font-family: var(--font-luxury);
  font-weight: 400;
}

/* ============================================================
   REVEAL ON SCROLL — ULTRA SLOW LUXURY MOTION (2.55s)
============================================================ */
.reveal,
.reveal-up,
.reveal-down,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-in {
  opacity: 0;
  will-change: opacity, transform;
  transition-property: opacity, transform;
  transition-duration: var(--reveal-dur);
  transition-timing-function: var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

/* 1. Mặc định: Fade-up (trượt nhẹ từ dưới lên 26px) */
.reveal,
.reveal-up {
  transform: translate3d(0, 26px, 0);
}

/* 2. Fade-down: trượt nhẹ từ trên xuống 22px */
.reveal-down {
  transform: translate3d(0, -22px, 0);
}

/* 3. Fade-left: trượt mượt mà từ phải sang trái 32px vào tâm */
.reveal-left {
  transform: translate3d(32px, 0, 0);
}

/* 4. Fade-right: trượt mượt mà từ trái sang phải 32px vào tâm */
.reveal-right {
  transform: translate3d(-32px, 0, 0);
}

/* 5. Fade-scale: mờ dần và mở rộng nhẹ nhàng từ 0.94 lên 1.0 */
.reveal-scale {
  transform: translate3d(0, 18px, 0) scale(0.94);
}

/* 6. Fade-in: mờ dần tại chỗ không dịch chuyển */
.reveal-in {
  transform: none;
}

/* Trạng thái hiển thị khi cuộn tới */
.reveal.is-visible,
.reveal-up.is-visible,
.reveal-down.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-in.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Tinh chỉnh riêng cho các họa tiết hoa văn căn giữa */
.invite__swirl.reveal,
.invite__swirl.reveal-down {
  transform: translate(-50%, -20px);
}
.invite__swirl.reveal.is-visible,
.invite__swirl.reveal-down.is-visible {
  opacity: 0.75;
  transform: translate(-50%, 0);
}

.letter__swirl.reveal,
.letter__swirl.reveal-down {
  transform: translate(-50%, -20px) scaleX(-1);
}
.letter__swirl.reveal.is-visible,
.letter__swirl.reveal-down.is-visible {
  opacity: 0.85;
  transform: translate(-50%, 0) scaleX(-1);
}

/* Utility delays (chậm hơn 1.7 lần) */
.delay-1 { --reveal-delay: 0.25s; }
.delay-2 { --reveal-delay: 0.50s; }
.delay-3 { --reveal-delay: 0.75s; }
.delay-4 { --reveal-delay: 1.00s; }
.delay-5 { --reveal-delay: 1.25s; }

/* ============================================================
   AMBIENT PARTICLES
============================================================ */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  top: -5%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.7) 0%, transparent 70%);
  opacity: .6;
  animation: fall linear infinite;
}

.ambient-particle.spark {
  width: 4px;
  height: 4px;
  background: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
}

.ambient-particle.petal {
  width: 13px;
  height: 10px;
  background: radial-gradient(circle, #f2e6bd 0%, #c59b27 100%);
  box-shadow: 0 0 10px rgba(197, 155, 39, 0.4);
  border-radius: 50% 0 50% 50%;
  opacity: .6;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: .8;
  }

  90% {
    opacity: .6;
  }

  100% {
    transform: translateY(110vh) translateX(30px) rotate(220deg);
    opacity: 0;
  }
}

/* ============================================================
   INTRO — ENVELOPE (LIGHT PAPER BACKDROP & BURGUNDY ENVELOPE)
============================================================ */
.intro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f7f3ea;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(246, 239, 226, 0.5) 100%),
    url('../assets/images/paper-texture.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--burgundy-700);
  z-index: 2;
}

.intro__cap {
  position: absolute;
  opacity: .28;
  filter: drop-shadow(0 2px 6px rgba(114, 18, 30, 0.15));
}

.intro__cap--1 {
  top: 10%;
  left: 8%;
  transform: rotate(-12deg);
}

.intro__cap--2 {
  bottom: 12%;
  right: 10%;
  transform: rotate(16deg);
}

.intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  padding: 0 16px;
  text-align: center;
}

.intro__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4px;
}

.intro__header-sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #7a1523;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.intro__header-title {
  margin: 2px 0;
  font-family: 'Great Vibes', 'Dancing Script', cursive;
  font-size: clamp(38px, 10.5vw, 54px);
  color: #5c0a15;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(92, 10, 21, 0.15);
}

.intro__header-tag {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(10px, 2.5vw, 11px);
  letter-spacing: 0.08em;
  color: #8c7349;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.45;
  max-width: 320px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* ============================================================
   ENVELOPE (PHONG THƯ ĐỎ ĐÔ NHUNG THEO NỀN INTRO-BG)
============================================================ */
.envelope {
  position: relative;
  cursor: pointer;
  user-select: none;
  width: min(88vw, 345px);
  aspect-ratio: 3/2;
  perspective: 1000px;
  filter: drop-shadow(0 22px 48px rgba(35, 4, 8, 0.32));
  transition: transform 0.35s var(--ease);
}

.envelope:hover {
  transform: translateY(-3px) scale(1.015);
}

.envelope__back {
  position: absolute;
  inset: 0;
  background-color: #38050c;
  background-image:
    linear-gradient(145deg, rgba(65, 8, 16, 0.8) 0%, rgba(30, 2, 6, 0.92) 100%),
    url('../assets/images/intro-bg.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.85);
  z-index: 1;
}

.envelope__pocket {
  position: absolute;
  inset: 0;
  background-color: #590914;
  background-image:
    linear-gradient(155deg, rgba(120, 15, 30, 0.45) 0%, rgba(45, 4, 10, 0.85) 100%),
    url('../assets/images/intro-bg.jpg');
  background-size: cover;
  background-position: center;
  border: 1.2px solid rgba(212, 175, 55, 0.65);
  border-radius: 8px;
  box-shadow: 0 20px 45px -10px rgba(15, 2, 4, 0.55),
              inset 0 0 0 1px rgba(255, 235, 170, 0.18),
              inset 0 4px 25px rgba(0, 0, 0, 0.45);
  z-index: 4;
  overflow: hidden;
}

.envelope__pocket-stitch {
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(229, 193, 88, 0.55);
  border-radius: 5px;
  pointer-events: none;
  z-index: 4;
}

.envelope__guest {
  position: absolute;
  bottom: 14px;
  right: 18px;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: #eeddb2;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  z-index: 5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.envelope__guest span {
  font-weight: 700;
  font-style: normal;
  font-family: 'Dancing Script', var(--font-script);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(212, 175, 55, 0.35);
  letter-spacing: 0.02em;
}

.envelope__flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56%;
  background-color: #6e0d1b;
  background-image:
    linear-gradient(180deg, rgba(140, 18, 36, 0.45) 0%, rgba(70, 7, 15, 0.88) 100%),
    url('../assets/images/intro-bg.jpg');
  background-size: cover;
  background-position: top center;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.75s var(--ease), z-index 0.75s var(--ease);
  z-index: 5;
  border-radius: 8px 8px 0 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.envelope__flap-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.envelope.is-open .envelope__flap {
  transform: rotateX(180deg);
  z-index: 1;
}

/* ============================================================
   INNER LETTER (LÁ THƯ PHONG CÁCH CỔ ĐIỂN TỐI GIẢN)
============================================================ */
.envelope__letter {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  bottom: 8%;
  background-color: #faf7f0;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(247, 241, 230, 0.4) 100%),
    url('../assets/images/paper-texture.jpg');
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(197, 155, 39, 0.5);
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  box-shadow: 0 12px 30px rgba(10, 2, 4, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.envelope.is-open .envelope__letter {
  animation: letterBounceDrop 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes letterBounceDrop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
    z-index: 2;
  }
  25% {
    opacity: 1;
    z-index: 10;
  }
  58% {
    transform: translateY(-112%) scale(1.04);
    z-index: 10;
    box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.45);
  }
  82% {
    transform: translateY(-36%) scale(0.99);
    z-index: 10;
  }
  100% {
    transform: translateY(-42%) scale(1);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 18px 36px -8px rgba(10, 22, 38, 0.3);
  }
}

.envelope__letter-inner {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(197, 155, 39, 0.4);
  outline: 2px solid transparent;
  outline-offset: -4px;
  padding: 16px 12px;
  border-radius: 2px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(197, 155, 39, 0.05);
}

.envelope__letter-inner::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(197, 155, 39, 0.22);
  pointer-events: none;
}

.envelope__letter-decor-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
}

.envelope__letter-cap {
  color: #7a1523;
  opacity: 0.85;
}

.envelope__letter-prefix {
  margin: 3px 0 2px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #72121e;
  font-weight: 600;
  text-transform: uppercase;
}

.envelope__letter-name {
  margin: 4px 0 6px;
  font-family: 'Be Vietnam Pro', var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  font-style: normal;
  color: #5c0a15;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.envelope__letter-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65%;
  margin: 3px 0;
  color: rgba(197, 155, 39, 0.6);
  font-size: 9px;
  position: relative;
}

.envelope__letter-divider::before,
.envelope__letter-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 155, 39, 0.5), transparent);
}

.envelope__letter-divider span {
  padding: 0 6px;
  font-size: 7px;
  color: rgba(197, 155, 39, 0.7);
}

.envelope__letter-date {
  margin: 3px 0 0;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #8c7349;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.intro__hint {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #72121e;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.burst-particle {
  position: fixed;
  z-index: 150;
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   MUSIC TOGGLE
============================================================ */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-800);
  box-shadow: 0 6px 20px -4px rgba(197, 155, 39, 0.35);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  outline: none;
}

.music-toggle:hover {
  transform: scale(1.08);
  border-color: var(--gold-600);
  background: var(--gold-500);
  color: var(--white);
  box-shadow: 0 8px 24px -4px rgba(197, 155, 39, 0.5);
}

.music-toggle__icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.music-toggle.is-playing .music-toggle__icon {
  animation: spinSlow 5s linear infinite;
}

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

/* ============================================================
   SHARED
============================================================ */
.eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--gold-600);
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.section-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--gold-600);
  font-weight: 700;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: 44px;
  color: var(--burgundy-900);
  margin: 0 0 20px;
}

.hr-line {
  width: 64px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: 18px auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-500);
  margin: 14px 0;
}

.divider span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gold-500);
  color: var(--burgundy-900);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  transition: all .35s var(--ease);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(197, 155, 39, .65);
}

.btn-outline--small {
  padding: 9px 20px;
  font-size: 12px;
}

.btn-fill {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #780d1c 0%, #4a0610 100%);
  color: #f2e6bd;
  padding: 15px 24px;
  font-size: 14px;
  letter-spacing: .1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 10px 26px -12px rgba(87, 7, 18, .55);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.btn-fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -12px rgba(87, 7, 18, .7);
  background: linear-gradient(135deg, #8d1323 0%, #570712 100%);
}

.btn-fill:active {
  transform: translateY(0);
}

/* ============================================================
   HERO (LUXURY PAPER TEXTURE & FRAMED EVENT PHOTO)
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: max(32px, 4.6vh) 20px max(24px, 3.5vh);
  background-color: #fcfbf8;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(251, 247, 238, 0.78) 100%),
    url('../assets/images/paper-texture.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Họa tiết hoa văn 2 góc quay ngược theo chiều dọc */
.hero__decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  width: clamp(115px, 28vw, 180px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 4px 12px rgba(114, 12, 26, 0.12));
}

.hero__decor--tl {
  top: -2px;
  left: -2px;
  transform: scaleY(-1);
}

.hero__decor--br {
  bottom: -2px;
  right: -2px;
  transform: scaleX(-1);
}

.hero__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 620px;
  min-height: calc(100svh - max(56px, 8.2vh));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: clamp(18px, 2.8vh, 30px);
  margin: 0 auto;
}

/* 1. Header trên cùng cao nhất cách một khoảng nhẹ: Logo trường + Text */
.hero__school-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 12px;
  margin-top: 0;
  margin-bottom: 4px;
}

.hero__logo {
  width: clamp(42px, 9.8vw, 50px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.hero__school-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.35;
}

.hero__school-name {
  font-family: var(--font-sans);
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 600;
  color: #0f2038;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__faculty-name {
  font-family: var(--font-sans);
  font-size: clamp(10.5px, 2.6vw, 12px);
  font-weight: 600;
  color: #720c1a;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Khối thông tin trung tâm: Khoảng cách trên dưới rộng rãi, thoáng đãng */
.hero__center-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: clamp(16px, 2.5vh, 26px);
  margin: auto 0;
}

/* 2. Tiêu đề chính sự kiện */
.hero__title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
}

.hero__class-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 290px;
  margin-bottom: 2px;
}

.hero__tag-line {
  flex: 1;
  height: 1.2px;
  background: linear-gradient(90deg, transparent, rgba(114, 12, 26, 0.45), transparent);
}

.hero__tag-text {
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 2.7vw, 13px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #720c1a;
  text-transform: uppercase;
}

.hero__main-title {
  margin: 2px 0 0;
  font-family: 'Great Vibes', 'Dancing Script', cursive;
  font-size: clamp(58px, 15vw, 84px);
  color: #720c1a;
  font-weight: 400;
  line-height: 1.08;
  text-shadow: 0 2px 10px rgba(114, 12, 26, 0.12);
}

.hero__program-lead {
  margin: 4px 0 2px;
  font-family: var(--font-sans);
  font-size: clamp(12px, 2.9vw, 14px);
  color: #8c7349;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__main-sub {
  margin: 2px 0 0;
  font-family: 'Playfair Display', var(--font-serif);
  font-size: clamp(12.5px, 3.1vw, 15px);
  color: #720c1a;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* 3. Khung ảnh sự kiện ở vị trí trung tâm */
.hero__photo-card {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0;
  padding: 2px 0;
}

.hero__photo-frame {
  width: min(94vw, 540px);
  aspect-ratio: 16 / 9.6;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 1.5px rgba(197, 155, 39, 0.45), 0 18px 40px -10px rgba(92, 10, 21, 0.2);
  position: relative;
  background: #faf7f2;
  cursor: zoom-in;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hero__photo-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1.5px rgba(197, 155, 39, 0.7), 0 22px 46px -8px rgba(92, 10, 21, 0.26);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s var(--ease);
}

.hero__photo-frame:hover .hero__photo {
  transform: scale(1.03);
}

/* 4. Thông tin niên khóa & Ngày tháng ở dưới cùng */
.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-top: 6px;
  width: 100%;
}

.hero__ceremony-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  align-items: center;
  justify-content: center;
}

.hero__ceremony-line2 {
  font-family: 'Great Vibes', 'Dancing Script', cursive;
  font-size: clamp(34px, 8.8vw, 48px);
  font-weight: 400;
  color: #720c1a;
  line-height: 1.15;
  padding: 0;
  margin: 0;
}

.hero__date {
  font-family: var(--font-sans);
  font-size: clamp(14px, 3.6vw, 17.5px);
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #9e792e;
  margin: 2px 0 0;
  text-shadow: 0 1px 4px rgba(197, 155, 39, 0.2);
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.scroll-cue {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.scroll-cue span {
  display: block;
  width: 1.5px;
  height: 22px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================================
   3. THAN MOI
============================================================ */
.invite {
  position: relative;
  text-align: center;
  padding: 64px 22px 50px;
  max-width: 580px;
  margin: 0 auto;
}

.invite__swirl {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-500);
  opacity: .75;
}

.invite__cap {
  color: var(--burgundy-700);
  margin-top: 32px;
}

.invite__label {
  font-family: var(--font-sans);
  letter-spacing: .24em;
  font-size: clamp(11px, 2.7vw, 13px);
  color: var(--burgundy-900);
  margin: 20px 0 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.invite__to-name {
  font-family: 'Playfair Display', 'Be Vietnam Pro', Georgia, serif;
  font-style: normal;
  font-size: clamp(18px, 4.4vw, 23px);
  color: #720c1a;
  margin: 10px auto 12px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: 92%;
  word-break: break-word;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.invite .hr-line {
  width: 120px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: 14px auto 26px;
}

.invite__event-intro {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(15px, 3.6vw, 17.5px);
  color: #720c1a;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  line-height: 1.3;
  opacity: 0.82;
}

.invite__event-title {
  font-family: 'Playfair Display', var(--font-serif);
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 600;
  color: #720c1a;
  margin: 6px auto 20px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  max-width: 520px;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.amp-default {
  font-family: var(--font-sans);
  font-weight: 500;
  font-style: normal;
  display: inline-block;
  font-size: 0.9em;
  vertical-align: baseline;
}

.invite__sub2 {
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 2.8vw, 13px);
  letter-spacing: .18em;
  color: #8c7349;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 34px;
}

.date-block__side {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  font-weight: 500;
  border-top: 1.8px solid var(--line-gold);
  border-bottom: 1.8px solid var(--line-gold);
  padding: 14px 10px;
  width: min(112px, 30vw);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.date-block__num {
  font-family: var(--font-sans);
  font-size: 46px;
  color: var(--burgundy-900);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.invite__venue-label {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(14px, 3.4vw, 15.5px);
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 0 0 8px; /* Thu gần lại với tên hội trường tương tự thẻ tham dự chương trình */
  opacity: 0.82;
}

.invite__venue {
  font-family: var(--font-sans);
  font-size: clamp(16.5px, 4.2vw, 19.5px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--burgundy-900);
  margin: 0 0 3px; /* Kéo gần sát hơn với Trường Đại học An Giang */
  line-height: 1.3;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.invite__address {
  font-family: var(--font-sans);
  font-size: clamp(15.5px, 4vw, 18.5px);
  color: var(--burgundy-900);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 32px;
}

/* ============================================================
   BACKGROUND DECORATORS
============================================================ */
.bg-decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.85;
}

.bg-decor--invite-tl {
  top: clamp(140px, 18vh, 180px); /* Dịch thấp hẳn xuống giữa section invite */
  left: 0;
  width: clamp(90px, 22vw, 135px);
  height: auto;
}

.bg-decor--invite-br {
  bottom: 0;
  right: 0;
  width: clamp(90px, 22vw, 135px);
  height: auto;
}

.bg-decor--timeline-br {
  bottom: 0;
  right: 0;
  width: clamp(90px, 22vw, 135px);
  height: auto;
}

/* ============================================================
   4. TIMELINE (ĐƯỜNG KẺ TRỤC BÊN TRÁI & NỘI DUNG BÊN PHẢI)
============================================================ */
.timeline-section {
  position: relative;
  padding: 60px 20px 54px;
  max-width: 560px;
  margin: 0 auto;
}

.timeline-section .section-title {
  margin-bottom: 10px;
}

.timeline {
  list-style: none;
  margin: 24px auto 0;
  padding: 0 0 0 6px;
  position: relative;
  width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 27px; /* Căn thẳng trục giữa icon 44px (6px padding + 22px tâm) */
  top: -24px; /* Kéo dài hơn về phía trên */
  bottom: -24px; /* Kéo dài hơn về phía dưới */
  width: 1.5px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(212, 175, 55, 0.15) 8%, 
    rgba(212, 175, 55, 0.85) 25%, 
    rgba(212, 175, 55, 0.85) 75%, 
    rgba(212, 175, 55, 0.15) 92%, 
    transparent 100%
  );
  z-index: 0;
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  position: relative;
  width: 100%;
}

.timeline__node {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #faf7f2;
  border: 1.6px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy-700);
  box-shadow: 0 4px 16px -4px rgba(114, 12, 26, 0.2), inset 0 0 8px rgba(212, 175, 55, 0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.timeline__item:hover .timeline__icon {
  transform: scale(1.08);
  border-color: var(--burgundy-700);
  box-shadow: 0 6px 20px -4px rgba(114, 12, 26, 0.3);
}

.timeline__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  flex: 1;
  padding-top: 2px;
}

.timeline__time {
  font-family: var(--font-sans);
  font-size: clamp(16px, 4.2vw, 18.5px);
  color: #720c1a;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.timeline__title {
  font-family: var(--font-sans);
  font-size: clamp(13px, 3.4vw, 14.5px);
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #540813;
  text-transform: uppercase;
  margin: 1px 0 0;
  line-height: 1.35;
}

.timeline__desc {
  font-family: var(--font-sans);
  font-size: clamp(12.5px, 3.1vw, 13.5px);
  color: #614247;
  line-height: 1.5;
  margin: 2px 0 0;
  font-weight: 400;
}

/* ============================================================
   5. PARALLAX QUOTE (ẢNH ĐỨNG YÊN DƯỚI NỀN KHI CUỘN TRANG)
============================================================ */
.parallax {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 22px 0 30px;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  box-shadow: 0 14px 36px -12px rgba(45, 4, 9, 0.35);
}

.parallax::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/photo3.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.parallax__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 32, 53, 0.65) 0%, rgba(62, 5, 11, 0.78) 100%);
  z-index: 1;
}

.parallax__text-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  z-index: 2;
}

.parallax__text {
  text-align: center;
  color: var(--white);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 640px;
}

.parallax__line1 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 4.8vw, 30px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fbf5e4;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.75);
  line-height: 1.35;
}

.parallax__line2 {
  font-family: 'Dancing Script', var(--font-script);
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 700;
  color: #f2e6bd;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.4);
  line-height: 1.2;
}

/* ============================================================
   6. COUNTDOWN + CALENDAR
============================================================ */
.countdown-section {
  padding: 36px 20px 36px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 13.5px;
  letter-spacing: .28em;
  color: #b88a38;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 16px);
  margin: 14px auto 46px;
  max-width: 440px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 4px;
  min-width: clamp(52px, 14vw, 72px);
  box-shadow: none;
}

.countdown__num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 9.6vw, 54px);
  color: var(--burgundy-900);
  font-weight: 400; /* Mỏng chữ hơn */
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.countdown__label {
  font-family: var(--font-sans);
  font-size: clamp(10.5px, 2.6vw, 12px);
  letter-spacing: .18em;
  color: #3b506d;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.countdown__sep {
  font-size: clamp(22px, 5.5vw, 30px);
  color: #c59b27;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 22px; /* Căn thẳng hàng tâm với số và cao hơn label */
  display: flex;
  align-items: center;
}

.calendar-wrap {
  max-width: 380px;
  margin: 24px auto 0;
  text-align: center;
}

.calendar__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--burgundy-900);
  padding: 0 6px;
  text-align: center;
}

.calendar__month {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(21px, 5.6vw, 26px); /* Tăng lớn kích cỡ hơn */
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--burgundy-900);
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.calendar__card {
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 20px;
  padding: 20px 16px 20px;
  box-shadow: 0 6px 20px -10px rgba(114, 12, 26, 0.06);
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: #70444b;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.04em;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 6px;
  text-align: center;
}

.calendar__grid span {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Be Vietnam Pro', 'Playfair Display', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 14.5px;
  font-weight: 600;
  color: #381a1f;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.calendar__grid span.is-empty {
  visibility: hidden;
}

.calendar__grid span.is-target {
  color: #ffffff;
  font-weight: 700;
}

.calendar__grid span.is-target .circle-svg {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  fill: #7c0e1e;
  color: #d4af37;
  stroke: #e5c158;
  stroke-width: 1px;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(124, 14, 30, 0.35);
}

.calendar__grid span.is-target .heart-svg {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  fill: #7c0e1e;
  color: #d4af37;
  stroke: #e5c158;
  stroke-width: 1.6px;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 3px 10px rgba(124, 14, 30, 0.45));
  animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 3px 10px rgba(124, 14, 30, 0.45));
  }
  14% {
    transform: translate(-50%, -50%) scale(1.12);
    filter: drop-shadow(0 5px 16px rgba(212, 175, 55, 0.65));
  }
  28% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 3px 10px rgba(124, 14, 30, 0.45));
  }
  42% {
    transform: translate(-50%, -50%) scale(1.15);
    filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.75));
  }
  70% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 3px 10px rgba(124, 14, 30, 0.45));
  }
}

.calendar__grid span.is-target .num-text {
  position: relative;
  z-index: 2;
  line-height: 1;
  color: #ffffff;
  font-weight: 700;
  font-size: 15.5px;
  transform: translateY(-1px);
}

/* ============================================================
   7. PHOTO GALLERY (3 ẢNH TRANG TRÍ HOA THEO MẪU)
============================================================ */
.gallery-section {
  position: relative;
  padding: 46px 20px 48px; /* Tăng khoảng cách với section countdown phía trên */
  max-width: 540px;
  margin: 0 auto;
  overflow: visible;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Thu gọn khoảng cách giữa các ảnh */
  width: 100%;
}

.gallery-card {
  position: relative;
  border-radius: 0; /* Vuông vắn sắc nét */
  overflow: hidden;
  background-color: #5c0a15;
  border: 6px solid #5c0a15; /* Border đỏ đô vuông dày theo yêu cầu */
  box-shadow: 0 10px 30px -6px rgba(92, 10, 21, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gallery-card--1 {
  width: 82%;
  aspect-ratio: 16 / 10;
  margin-left: auto;
  margin-right: 0; /* Thụt qua phải */
}

.gallery-card--2 {
  width: 100%; /* Hiển thị to đầy đủ 100% */
  aspect-ratio: 16 / 9.5;
  margin-left: auto;
  margin-right: auto;
}

.gallery-card--3 {
  width: 82%;
  aspect-ratio: 16 / 10;
  margin-left: 0;
  margin-right: auto; /* Thụt qua trái */
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(92, 10, 21, 0.48);
}

.gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  transition: transform 0.5s var(--ease);
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.03);
}

/* Các cụm hoa trang trí theo đúng mẫu */
.gallery-decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 6;
  filter: drop-shadow(0 6px 14px rgba(92, 10, 21, 0.28));
}

.gallery-decor--tl {
  top: -26px;
  left: -14px;
  width: clamp(105px, 28vw, 150px);
  height: auto;
}

.gallery-decor--ml {
  top: 31%;
  left: -22px;
  transform: translateY(-50%);
  width: clamp(56px, 15vw, 80px);
  height: auto;
}

.gallery-decor--mr {
  top: 67%;
  right: -22px;
  transform: translateY(-50%);
  width: clamp(56px, 15vw, 80px);
  height: auto;
}

.gallery-decor--br {
  bottom: -26px;
  right: -14px;
  width: clamp(110px, 29vw, 155px);
  height: auto;
}

@media (min-width: 768px) {
  .gallery-card {
    border-width: 8px; /* Border đỏ dày hơn trên desktop */
  }
  .gallery-decor--tl {
    top: -30px;
    left: -20px;
    width: 160px;
  }
  .gallery-decor--ml {
    left: -28px;
    width: 90px;
  }
  .gallery-decor--mr {
    right: -28px;
    width: 90px;
  }
  .gallery-decor--br {
    bottom: -30px;
    right: -20px;
    width: 165px;
  }
}

/* ============================================================
   8. LETTER — LUXURY BURGUNDY BACKDROP & PAPER SHEET WITH BOW
============================================================ */
.letter-wrapper {
  position: relative;
  padding: 58px 16px 64px;
  background-color: #3b050c;
  background-image:
    radial-gradient(circle at 50% 40%, rgba(138, 19, 35, 0.45) 0%, rgba(20, 2, 5, 0.9) 100%),
    url('../assets/images/intro-bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: visible;
  margin: 28px 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.75), 0 10px 30px rgba(45, 3, 7, 0.25);
}

.letter {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  z-index: 2;
  text-align: center;
}

.letter__swirl {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%) scaleX(-1);
  color: var(--gold-400);
  opacity: .85;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.letter__title {
  font-family: 'Great Vibes', 'Dancing Script', cursive;
  font-size: clamp(48px, 12vw, 64px);
  font-weight: 400;
  color: #fdfaf3;
  margin: 0 0 22px;
  text-shadow: 0 2px 14px rgba(212, 175, 55, 0.65), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.letter__card {
  background-color: #fbf9f4;
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(251, 247, 238, 0.3) 100%),
    url('../assets/images/paper-texture.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 3px;
  padding: clamp(36px, 7.5vw, 60px) clamp(22px, 5.5vw, 48px) clamp(42px, 8vw, 58px);
  position: relative;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.82),
              0 6px 20px rgba(0, 0, 0, 0.48),
              inset 0 0 20px rgba(255, 255, 255, 0.9),
              inset 0 0 45px rgba(197, 155, 39, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.85);
  text-align: left;
}

.letter__card::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 18px;
  font-family: var(--font-serif);
  font-size: 84px;
  color: var(--gold-300);
  line-height: 1;
  opacity: 0.85;
}

.letter__paragraph {
  font-family: 'Be Vietnam Pro', var(--font-sans);
  font-size: 14.5px;
  line-height: 1.9;
  color: #2b0b10;
  margin: 0 0 16px;
  text-align: left;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.letter__sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-top: 24px;
  text-align: right;
  position: relative;
  z-index: 2;
}

.letter__closing {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(15px, 3.8vw, 17.5px);
  font-weight: 500;
  color: #720c1a;
  letter-spacing: 0.02em;
}

.letter__author {
  font-family: 'Be Vietnam Pro', var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(17px, 4.4vw, 22px);
  color: var(--burgundy-900);
  line-height: 1.25;
  letter-spacing: 0.1em;
  margin-top: 4px;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Nơ lụa satin đỏ đô ở góc dưới bên trái — hạ thấp hơn để không dính chữ trên mobile */
.letter__bow {
  position: absolute;
  bottom: -46px;
  left: -24px;
  width: clamp(70px, 18vw, 100px);
  height: auto;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.75));
  transform: rotate(-6deg);
  transition: transform 0.4s var(--ease);
}

.letter__card:hover .letter__bow {
  transform: rotate(-2deg) scale(1.04);
}

@media (max-width: 640px) {
  .letter__bow {
    bottom: -40px;
    left: -16px;
    width: clamp(64px, 17vw, 78px);
  }
}

/* ============================================================
   LIGHTBOX MODAL
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: 20px;
}

/* ============================================================
   LIGHTBOX MODAL (SLIDER GALLERY)
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: 16px;
  touch-action: pan-y;
}

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

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 2, 4, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 96vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox__img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
  user-select: none;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: -46px;
  right: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.lightbox__close:hover {
  background: rgba(212, 175, 55, 0.35);
  transform: scale(1.1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #f7e7c4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.lightbox__nav:hover {
  background: rgba(114, 12, 26, 0.85);
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
}

.lightbox__nav--prev {
  left: clamp(4px, 1.8vw, 24px);
}

.lightbox__nav--next {
  right: clamp(4px, 1.8vw, 24px);
}

.lightbox__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  text-align: center;
}

.lightbox__counter {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-400);
  font-weight: 600;
}

.lightbox__caption {
  color: #f0eae1;
  font-size: 13.5px;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 480px;
  margin: 0;
}

.hero__img,
.cross-photos__item img,
.album__item img {
  cursor: zoom-in;
}

/* ============================================================
   9. RSVP
============================================================ */
.rsvp {
  position: relative;
  padding: 40px 20px 42px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.rsvp__cap {
  color: var(--gold-600);
  margin-bottom: 14px;
}

.rsvp__sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.7;
}

.rsvp__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--ink);
  font-weight: 600;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field textarea,
.field select {
  border: 1.5px solid var(--gold-300);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  outline: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c59b27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}

.field select option {
  color: var(--ink);
  background: var(--white);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, .2);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  border: 1.5px solid var(--gold-200);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
  position: relative;
  background: rgba(255,255,255,0.7);
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill:has(input:checked) {
  background: var(--burgundy-700);
  border-color: var(--burgundy-700);
  color: var(--gold-200);
  box-shadow: 0 4px 14px -4px rgba(114, 12, 26, 0.55);
}

.rsvp__status {
  text-align: center;
  font-size: 13px;
  color: var(--gold-600);
  min-height: 18px;
  margin: 4px 0 0;
}

/* ============================================================
   10. GUESTBOOK + FOOTER
============================================================ */
/* ============================================================
   9. GUESTBOOK (VERTICAL CAROUSEL)
============================================================ */
.guestbook {
  padding: 38px 20px 38px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.guestbook__card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 22px;
  padding: 14px 12px;
  box-shadow: 0 10px 28px -12px rgba(114, 12, 26, 0.08);
  margin: 0 auto;
}

.guestbook__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.guestbook__list::-webkit-scrollbar {
  display: none;
}

.guestbook__empty {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-style: italic;
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.guestbook__entry {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px 12px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  user-select: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guestbook__entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.guestbook__entry-name {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 600;
  color: #1e293b;
  font-size: 16px;
  margin: 0 0 4px;
  line-height: 1.3;
}

.guestbook__entry-msg {
  font-family: 'Be Vietnam Pro', var(--font-sans);
  font-size: 13.5px;
  color: #334155;
  margin: 0 0 10px;
  line-height: 1.55;
  word-break: break-word;
}

.guestbook__entry-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.gb-badge {
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.gb-badge--yes {
  background: #f0f7ff;
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.gb-badge--no {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.guestbook__entry-time {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
}

/* ============================================================
   10. FOOTER (POSTER STYLE PHOTO BACKGROUND)
============================================================ */
.footer {
  position: relative;
  text-align: center;
  padding: 0;
  margin-top: 40px;
  background: transparent;
  overflow: hidden;
}

.footer__poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 0;
  border: none; /* Không cần border viền */
  overflow: hidden;
  display: flex;
  align-items: center; /* Canh ở vị trí center theo chiều dọc */
  justify-content: center;
  background-image: url('../assets/images/photo4.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 20px 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.footer__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 38, 0.1) 0%, rgba(6, 16, 32, 0.6) 42%, rgba(4, 10, 22, 0.95) 100%);
  z-index: 1;
}

.footer__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__name {
  font-family: 'Be Vietnam Pro', var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(17px, 4.4vw, 22px);
  letter-spacing: 0.12em;
  color: #fbf5e4;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
  margin: 0 0 4px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.footer__date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 230px;
  margin: 0 auto 8px;
}

.footer__date-line {
  flex: 1;
  height: 1px;
  background: #e8d29b;
  opacity: 0.75;
}

.footer__date-text {
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 2.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #e8d29b;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-variant-numeric: lining-nums tabular-nums;
}

.footer__quote {
  font-family: 'Be Vietnam Pro', var(--font-sans);
  font-style: normal;
  font-size: clamp(11px, 2.6vw, 12px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  max-width: 320px;
  font-weight: 400;
}

.footer__bottom-bar {
  background: #fdfbf7;
  padding: 8px 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
  z-index: 2;
}

.footer__designed {
  font-size: 11px;
  color: #475569;
  margin: 0;
}

.footer__designed a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.footer__designed a:hover {
  opacity: 0.8;
}

/* ============================================================
   RESPONSIVE TWEAKS
============================================================ */
@media (min-width:768px) {
  .hero__content {
    max-width: 720px;
  }

  .letter__card {
    padding: 60px;
  }
}

@media (max-width:380px) {
  .section-title {
    font-size: 36px;
  }

  .countdown__unit {
    min-width: 56px;
    padding: 10px 6px;
  }

  .countdown__num {
    font-size: 24px;
  }
}

/* ============================================================
   BACKGROUND DECORATIVE ELEMENTS (PNG OVERLAYS)
   - Mobile-first positioning
   - mix-blend-mode: multiply for light sections; normal for dark intro
   - opacity: high clarity
   - pointer-events: none; z-index: 0 / 1;
============================================================ */
.invite,
.timeline-section,
.countdown-section,
.rsvp,
.guestbook {
  position: relative;
  overflow-x: clip;
}

.bg-decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  mix-blend-mode: multiply;
  opacity: 0.88;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
  will-change: transform;
}

/* Họa tiết ở màn hình Intro: bg6 (góc dưới trái) & bg7 (góc trên phải) hòa quyện trên nền giấy */
.intro .bg-decor {
  mix-blend-mode: multiply;
  opacity: 0.85;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.bg-decor--intro-bl {
  bottom: -10px;
  left: -15px;
  width: clamp(120px, 34vw, 195px);
  transform: rotate(-8deg);
}

.bg-decor--intro-tr {
  top: -10px;
  right: -15px;
  width: clamp(120px, 34vw, 190px);
  transform: rotate(12deg);
}

/* Vị trí từng Section (Mobile-First) */
.bg-decor--invite-tl {
  top: -15px;
  left: -12px;
  width: clamp(100px, 28vw, 150px);
  transform: rotate(-10deg);
}

.bg-decor--invite-br {
  bottom: 0px;
  right: -15px;
  width: clamp(110px, 30vw, 165px);
  transform: rotate(15deg);
}

.bg-decor--timeline-tr {
  top: 10px;
  right: -18px;
  width: clamp(95px, 26vw, 145px);
  transform: rotate(20deg);
}

.bg-decor--timeline-bl {
  bottom: 15px;
  left: -20px;
  width: clamp(115px, 32vw, 170px);
  transform: rotate(-15deg);
}

.bg-decor--countdown-left {
  top: 5px; /* Đưa lên đầu section countdown */
  left: -22px;
  width: clamp(105px, 28vw, 155px);
  transform: rotate(-8deg);
}

.bg-decor--countdown-right {
  bottom: -25px;
  right: -15px;
  width: clamp(115px, 32vw, 175px);
  transform: rotate(10deg);
}

.bg-decor--rsvp-tl {
  top: 5px;
  left: -15px;
  width: clamp(105px, 28vw, 160px);
  transform: rotate(-10deg);
}

.bg-decor--rsvp-br {
  bottom: 5px;
  right: -16px;
  width: clamp(115px, 30vw, 170px);
  transform: rotate(14deg);
}

.bg-decor--guestbook-bl {
  bottom: -15px;
  left: -18px;
  width: clamp(120px, 32vw, 180px);
  transform: rotate(-10deg);
}

/* Responsive Desktop: Phóng to và giãn ra hai bên cạnh */
@media (min-width: 768px) {
  .bg-decor {
    opacity: 0.92;
  }

  .intro .bg-decor {
    opacity: 0.88;
  }

  .bg-decor--intro-bl {
    bottom: 10px;
    left: -35px;
    transform: rotate(-8deg) scale(1.35);
  }

  .bg-decor--intro-tr {
    top: 10px;
    right: -35px;
    transform: rotate(12deg) scale(1.35);
  }

  .bg-decor--invite-tl {
    top: -25px;
    left: -45px;
    transform: rotate(-10deg) scale(1.3);
  }

  .bg-decor--invite-br {
    bottom: -10px;
    right: -45px;
    transform: rotate(15deg) scale(1.3);
  }

  .bg-decor--timeline-tr {
    top: 20px;
    right: -50px;
    transform: rotate(20deg) scale(1.35);
  }

  .bg-decor--timeline-bl {
    bottom: 25px;
    left: -50px;
    transform: rotate(-15deg) scale(1.35);
  }

  .bg-decor--countdown-left {
    top: -15px;
    left: -55px;
    transform: rotate(-8deg) scale(1.3);
  }

  .bg-decor--countdown-right {
    bottom: -35px;
    right: -55px;
    transform: rotate(10deg) scale(1.35);
  }

  .bg-decor--rsvp-tl {
    top: 5px;
    left: -45px;
    transform: rotate(-10deg) scale(1.35);
  }

  .bg-decor--rsvp-br {
    bottom: 0px;
    right: -50px;
    transform: rotate(14deg) scale(1.35);
  }

  .bg-decor--guestbook-bl {
    bottom: -25px;
    left: -60px;
    transform: rotate(-10deg) scale(1.35);
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}