/* ==========================================================================
   L'AMOUR ÉTERNEL — Luxury Editorial Wedding Invitation
   Minh Quân & Hà Anh · 20.12.2026
   ========================================================================== */

:root {
  --ivory: #FAF7F2;
  --linen: #F2EBE0;
  --linen-deep: #E8DEC9;
  --sage: #2C3A30;
  --sage-soft: #48594D;
  --sage-pale: #DCE3DB;
  --gold: #B8965E;
  --gold-light: #D6B982;
  --gold-pale: rgba(184, 150, 94, 0.22);
  --rose-taupe: #C7A69B;
  --ink: #1F1D1A;
  --ink-muted: #5C554C;
  --ink-light: #8C8275;
  --white: #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 50px rgba(31, 29, 26, 0.08);
  --shadow-card: 0 12px 35px rgba(31, 29, 26, 0.06);
  --shadow-gold: 0 10px 30px rgba(184, 150, 94, 0.24);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.envelope-locked {
  overflow: hidden;
  height: 100vh;
}

/* Subtle organic cotton paper texture overlay */
.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   1. 3D WAX-SEAL ENVELOPE OVERLAY
   ========================================================================== */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(circle at 50% 35%, #37463B 0%, #1F2A22 65%, #161E18 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 1.1s var(--ease-luxury), visibility 1.1s var(--ease-luxury), transform 1.1s var(--ease-luxury);
}

.envelope-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

.envelope-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(214, 185, 130, 0.12), transparent 65%),
    radial-gradient(500px circle at 80% 80%, rgba(199, 166, 155, 0.1), transparent 60%);
  pointer-events: none;
}

.envelope-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  color: var(--ivory);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.envelope-overlay.is-opening .envelope-header,
.envelope-overlay.is-opening .envelope-hint {
  opacity: 0;
  transform: translateY(-10px);
}

.envelope-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.envelope-guest-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(250, 247, 242, 0.78);
}

.envelope-guest-name {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* 3D Envelope Stage */
.envelope-stage {
  position: relative;
  width: min(440px, 90vw);
  height: min(300px, 62vw);
  perspective: 1400px;
  cursor: pointer;
  z-index: 3;
}

.envelope-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-luxury);
}

.envelope-stage:hover .envelope-wrapper {
  transform: translateY(-6px) rotateX(2deg);
}

.envelope-overlay.is-opening .envelope-stage:hover .envelope-wrapper {
  transform: none;
}

/* Envelope Back Base */
.envelope-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #EFE7DA 0%, #E3D6C3 100%);
  border-radius: 6px;
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(214, 185, 130, 0.25);
}

/* Inner Invitation Card that slides up */
.envelope-card {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  bottom: 8%;
  background: var(--ivory);
  border-radius: 4px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 150, 94, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  z-index: 2;
  transition: transform 1.05s var(--ease-luxury) 0.45s, box-shadow 1.05s ease 0.45s;
}

.envelope-card::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(184, 150, 94, 0.25);
  pointer-events: none;
}

.envelope-overlay.is-opening .envelope-card {
  transform: translateY(-64%) scale(1.04);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
}

.card-mini-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.card-mini-names {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  font-weight: 500;
  color: var(--sage);
  line-height: 1.2;
}

.card-mini-amp {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.4em;
  margin: 0 6px;
}

.card-mini-date {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
}

/* Envelope Front Pocket */
.envelope-front {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  border-radius: 6px;
}

.envelope-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F6F0E6 50%, transparent 50%);
  clip-path: polygon(0 0, 50% 54%, 0 100%);
  filter: drop-shadow(2px 0 6px rgba(31, 29, 26, 0.08));
}

.envelope-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(225deg, #F1E9DC 50%, transparent 50%);
  clip-path: polygon(100% 0, 50% 54%, 100% 100%);
  filter: drop-shadow(-2px 0 6px rgba(31, 29, 26, 0.08));
}

.envelope-bottom {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(0deg, #ECE2D2 0%, #F7F1E7 100%);
  clip-path: polygon(0 100%, 50% 48%, 100% 100%);
  border-radius: 0 0 6px 6px;
  pointer-events: none;
  box-shadow: inset 0 -1px 0 rgba(184, 150, 94, 0.35);
}

/* Gold Foil Trim Inside Envelope */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 58%;
  z-index: 6;
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease-luxury);
}

.envelope-flap-face {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #FAF5EC 0%, #EAE0CF 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  backface-visibility: hidden;
  box-shadow: 0 6px 18px rgba(31, 29, 26, 0.14);
}

.envelope-flap-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #C7A86E 0%, #A9864E 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: rotateX(180deg);
  backface-visibility: hidden;
}

.envelope-overlay.is-opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

/* Wax Seal Button */
.wax-seal {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 32% 30%, #E7CE9B 0%, #C5A05E 42%, #977237 82%, #745525 100%);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.32),
    inset 0 2px 6px rgba(255, 248, 232, 0.55),
    inset 0 -4px 10px rgba(82, 56, 18, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-luxury), opacity 0.45s ease, box-shadow 0.4s ease;
  animation: sealPulse 2.8s ease-in-out infinite;
}

.wax-seal::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 246, 224, 0.45);
}

.wax-seal-monogram {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #FFF7E4;
  text-shadow: 0 1px 2px rgba(72, 48, 12, 0.55);
}

.wax-seal:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 14px 32px rgba(184, 150, 94, 0.48), inset 0 2px 6px rgba(255, 248, 232, 0.65);
}

.envelope-overlay.is-opening .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.35);
  pointer-events: none;
  animation: none;
}

@keyframes sealPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32), 0 0 0 0 rgba(214, 185, 130, 0.45); }
  50% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(214, 185, 130, 0); }
}

.envelope-hint {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(250, 247, 242, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.envelope-hint-line {
  width: 28px;
  height: 1px;
  background: var(--gold-light);
  opacity: 0.65;
}

/* ==========================================================================
   2. FLOATING NAVIGATION & AUDIO CONTROL
   ========================================================================== */
.top-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(250, 247, 242, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(184, 150, 94, 0.28);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(31, 29, 26, 0.08);
  transition: transform 0.65s var(--ease-luxury), opacity 0.65s ease;
  opacity: 0;
  max-width: calc(100vw - 24px);
}

.top-nav.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--sage);
  background: rgba(184, 150, 94, 0.14);
}

.top-nav .nav-cta {
  background: var(--sage);
  color: var(--ivory);
}

.top-nav .nav-cta:hover,
.top-nav .nav-cta.is-active {
  background: #1F2A22;
  color: var(--gold-light);
}

/* Floating Audio & Quick Gift Buttons */
.floating-controls {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 450;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 150, 94, 0.4);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  color: var(--sage);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(31, 29, 26, 0.12);
  transition: transform 0.3s var(--ease-luxury), background-color 0.3s ease, box-shadow 0.3s ease;
}

.fab-btn:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(31, 29, 26, 0.16);
}

.fab-btn--gold {
  background: linear-gradient(135deg, #C7A366 0%, #A98448 100%);
  color: var(--white);
  border-color: transparent;
}

.fab-btn--gold:hover {
  background: linear-gradient(135deg, #D1AE72 0%, #B48F52 100%);
}

.music-disc {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, var(--gold-light) 22%, var(--sage) 24%, #1A241D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fab-btn.is-playing .music-disc {
  animation: spinSlow 6s linear infinite;
}

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

.sound-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.sound-bars span {
  width: 2px;
  background: var(--gold);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.fab-btn.is-playing .sound-bars span:nth-child(1) { animation: barBounce 0.9s ease-in-out infinite; }
.fab-btn.is-playing .sound-bars span:nth-child(2) { animation: barBounce 0.9s ease-in-out 0.2s infinite; }
.fab-btn.is-playing .sound-bars span:nth-child(3) { animation: barBounce 0.9s ease-in-out 0.4s infinite; }

@keyframes barBounce {
  0%, 100% { height: 3px; }
  50% { height: 11px; }
}

/* ==========================================================================
   3. EDITORIAL HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1E2720;
  color: var(--ivory);
}

.hero-bg {
  position: absolute;
  inset: -4%;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 28%;
  transform: scale(1.06);
  transition: transform 2.2s var(--ease-luxury);
  will-change: transform;
}

body:not(.envelope-locked) .hero-bg {
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 28, 23, 0.62) 0%, rgba(22, 28, 23, 0.24) 28%, rgba(22, 28, 23, 0.08) 52%, rgba(22, 28, 23, 0.56) 78%, rgba(22, 28, 23, 0.88) 100%);
}

#petalCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  min-height: 100vh;
  padding: clamp(54px, 7vh, 84px) 24px 96px;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.hero-top,
.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-monogram-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(214, 185, 130, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(25, 33, 27, 0.28);
  backdrop-filter: blur(6px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.3);
}

.hero-title .amp {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: 0.82em;
  display: inline-block;
  margin: 0 12px;
  font-weight: 400;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 20px;
}

.hero-divider span {
  width: 56px;
  height: 1px;
  background: rgba(214, 185, 130, 0.65);
}

.hero-divider svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
}

.hero-venue-sub {
  margin-top: 8px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.8);
}

.hero-guest-badge {
  margin-top: 30px;
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.12);
  border: 1px solid rgba(214, 185, 130, 0.42);
  backdrop-filter: blur(8px);
  font-size: 0.86rem;
  color: var(--ivory);
}

.hero-guest-badge strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-left: 6px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(250, 247, 242, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   4. SHARED SECTION STYLING
   ========================================================================== */
.section {
  padding: clamp(72px, 10vw, 124px) 24px;
  position: relative;
}

.section--linen {
  background-color: var(--linen);
}

.section--sage {
  background: linear-gradient(160deg, #2B392F 0%, #1E2821 100%);
  color: var(--ivory);
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 820px;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(44px, 6vw, 68px);
}

.section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section--sage .section-kicker {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--sage);
}

.section--sage .section-title {
  color: var(--ivory);
}

.section-subtitle {
  max-width: 580px;
  margin: 14px auto 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.section--sage .section-subtitle {
  color: rgba(250, 247, 242, 0.75);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.ornament-diamond {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   5. FORMAL INVITATION CARD (THIỆP MỜI CHÍNH THỨC)
   ========================================================================== */
.invite-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(184, 150, 94, 0.38);
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.invite-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(184, 150, 94, 0.22);
  pointer-events: none;
}

.corner-flourish {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.65;
  pointer-events: none;
}

.corner-flourish.tl { top: 20px; left: 20px; border-width: 1px 0 0 1px; }
.corner-flourish.tr { top: 20px; right: 20px; border-width: 1px 1px 0 0; }
.corner-flourish.bl { bottom: 20px; left: 20px; border-width: 0 0 1px 1px; }
.corner-flourish.br { bottom: 20px; right: 20px; border-width: 0 1px 1px 0; }

.quote-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.42rem);
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 38px;
}

.families-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 42px;
}

.family-col-label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.family-names {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--sage);
  line-height: 1.55;
}

.family-addr {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-light);
}

.family-divider {
  width: 1px;
  height: 82px;
  background: linear-gradient(180deg, transparent, rgba(184, 150, 94, 0.55), transparent);
}

.invite-announce {
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.invite-couple-names {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 500;
  color: var(--sage);
  line-height: 1.2;
}

.invite-couple-names .script-amp {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 0.9em;
  margin: 0 12px;
}

.invite-date-block {
  margin: 34px auto 0;
  max-width: 540px;
  padding: 22px 16px;
  border-top: 1px solid rgba(184, 150, 94, 0.35);
  border-bottom: 1px solid rgba(184, 150, 94, 0.35);
}

.date-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.date-side {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.date-day-big {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  padding: 0 22px;
  border-left: 1px solid rgba(184, 150, 94, 0.35);
  border-right: 1px solid rgba(184, 150, 94, 0.35);
}

.date-lunar {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-light);
}

/* ==========================================================================
   6. COUNTDOWN SECTION
   ========================================================================== */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2.5vw, 24px);
  max-width: 720px;
  margin: 0 auto;
}

.countdown-box {
  background: rgba(250, 247, 242, 0.06);
  border: 1px solid rgba(214, 185, 130, 0.28);
  padding: clamp(20px, 3vw, 34px) 12px;
  text-align: center;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-light);
  display: block;
}

.countdown-label {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.72);
  display: block;
}

/* ==========================================================================
   7. COUPLE PROFILES (CÔ DÂU & CHÚ RỂ)
   ========================================================================== */
.couple-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.person-card {
  background: var(--white);
  border: 1px solid rgba(184, 150, 94, 0.22);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.55s var(--ease-luxury), box-shadow 0.55s ease;
}

.person-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(31, 29, 26, 0.1);
}

.person-card--offset {
  margin-top: 44px;
}

.person-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--linen);
}

.person-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.9s var(--ease-luxury);
}

.person-card:hover .person-photo-wrap img {
  transform: scale(1.04);
}

.person-info {
  padding: 26px 12px 10px;
  text-align: center;
}

.person-role {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.person-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 10px;
}

.person-bio {
  font-size: 0.9rem;
  color: var(--ink-muted);
  max-width: 380px;
  margin: 0 auto;
}

/* ==========================================================================
   8. LOVE STORY TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  opacity: 0.45;
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  margin-bottom: 48px;
}

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

.timeline-dot {
  grid-column: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--gold);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--linen);
}

.timeline-card {
  background: var(--white);
  padding: 28px 30px;
  border: 1px solid rgba(184, 150, 94, 0.24);
  box-shadow: var(--shadow-card);
}

.timeline-item:nth-child(odd) .timeline-card {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 3;
  text-align: left;
}

.timeline-year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.timeline-heading {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   9. EVENTS & DRESS CODE
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.event-card {
  background: var(--white);
  border: 1px solid rgba(184, 150, 94, 0.3);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
}

.event-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 14px;
  border: 1px solid rgba(184, 150, 94, 0.45);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--sage);
  margin-bottom: 18px;
}

.event-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.event-meta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.event-meta svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.event-schedule {
  border-top: 1px dashed rgba(184, 150, 94, 0.35);
  padding-top: 18px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.schedule-time {
  font-weight: 600;
  color: var(--sage);
}

.schedule-act {
  color: var(--ink-muted);
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Dress Code Bar */
.dresscode-panel {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid rgba(184, 150, 94, 0.28);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.dresscode-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--sage);
  margin-bottom: 6px;
}

.dresscode-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.swatch-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

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

.swatch-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px rgba(184, 150, 94, 0.45), 0 8px 18px rgba(31, 29, 26, 0.1);
  transition: transform 0.35s var(--ease-luxury);
}

.swatch-item:hover .swatch-circle {
  transform: scale(1.16);
}

.swatch-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   10. EDITORIAL PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--linen-deep);
  border-radius: 2px;
}

.gallery-item--wide { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery-item--tall { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery-item--half { grid-column: span 6; aspect-ratio: 4 / 3; }
.gallery-item--third { grid-column: span 4; aspect-ratio: 4 / 5; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.85s var(--ease-luxury);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 28, 23, 0.78) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: var(--ivory);
}

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

.gallery-caption span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(18, 22, 19, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.lightbox-img {
  max-width: min(92vw, 1080px);
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(214, 185, 130, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.lightbox-caption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(250, 247, 242, 0.85);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(250, 247, 242, 0.1);
  border: 1px solid rgba(214, 185, 130, 0.35);
  color: var(--ivory);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(184, 150, 94, 0.35);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   11. RSVP FORM & GUESTBOOK WISHES
   ========================================================================== */
.rsvp-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.rsvp-card,
.wishes-card {
  background: var(--white);
  border: 1px solid rgba(184, 150, 94, 0.28);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-card);
}

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

.form-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 7px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid rgba(184, 150, 94, 0.35);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 150, 94, 0.14);
}

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

.attendance-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.attendance-option input {
  display: none;
}

.attendance-option span {
  display: block;
  text-align: center;
  padding: 12px 10px;
  font-size: 0.84rem;
  border: 1px solid rgba(184, 150, 94, 0.35);
  background: var(--ivory);
  color: var(--ink-muted);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.attendance-option input:checked + span {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--ivory);
  font-weight: 500;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Wishes Wall */
.wishes-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(184, 150, 94, 0.25);
}

.wishes-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--sage);
}

.wishes-count {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 6px;
}

.wishes-list::-webkit-scrollbar { width: 4px; }
.wishes-list::-webkit-scrollbar-thumb { background: rgba(184, 150, 94, 0.45); border-radius: 4px; }

.wish-item {
  background: var(--ivory);
  border-left: 2px solid var(--gold);
  padding: 16px 18px;
  animation: wishFadeIn 0.55s var(--ease-luxury);
}

@keyframes wishFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wish-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.wish-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sage);
}

.wish-tag {
  font-size: 0.68rem;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(44, 58, 48, 0.08);
  color: var(--sage-soft);
}

.wish-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   12. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-luxury);
}

.btn--primary {
  background: var(--sage);
  color: var(--ivory);
}

.btn--primary:hover {
  background: #1C261F;
  box-shadow: 0 10px 24px rgba(28, 38, 31, 0.24);
  transform: translateY(-1px);
}

.btn--gold {
  background: linear-gradient(135deg, #C7A366 0%, #A98448 100%);
  color: var(--white);
}

.btn--gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: rgba(184, 150, 94, 0.65);
  color: var(--sage);
}

.btn--outline:hover {
  background: rgba(184, 150, 94, 0.12);
  border-color: var(--gold);
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   13. GIFT & PERSONALIZE MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(18, 22, 19, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.modal-box {
  background: var(--ivory);
  border: 1px solid rgba(184, 150, 94, 0.45);
  width: min(500px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 38px);
  position: relative;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.4s var(--ease-luxury);
}

.modal-backdrop.is-open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 94, 0.35);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--sage);
  color: var(--ivory);
  border-color: var(--sage);
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 22px 0;
  background: var(--linen);
  padding: 5px;
  border-radius: 4px;
}

.modal-tab {
  border: none;
  background: transparent;
  padding: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.25s ease;
}

.modal-tab.is-active {
  background: var(--sage);
  color: var(--ivory);
}

.qr-frame {
  width: 196px;
  height: 196px;
  margin: 0 auto 18px;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(184, 150, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-info {
  background: var(--white);
  border: 1px solid rgba(184, 150, 94, 0.24);
  padding: 16px;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.bank-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin: 4px 0;
}

/* ==========================================================================
   14. FOOTER & TOAST
   ========================================================================== */
.footer {
  background: #1A231D;
  color: rgba(250, 247, 242, 0.78);
  text-align: center;
  padding: 72px 24px 48px;
  position: relative;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ivory);
  margin-bottom: 10px;
}

.footer-names span {
  font-family: var(--font-script);
  color: var(--gold-light);
  margin: 0 10px;
}

.footer-thanks {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.66);
}

.footer-tools {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.footer-tool-btn {
  background: transparent;
  border: 1px solid rgba(214, 185, 130, 0.38);
  color: var(--gold-light);
  padding: 9px 18px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.footer-tool-btn:hover {
  background: rgba(214, 185, 130, 0.14);
}

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: rgba(250, 247, 242, 0.42);
}

/* Toast Notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(90px);
  z-index: 1500;
  background: var(--sage);
  color: var(--ivory);
  border: 1px solid rgba(214, 185, 130, 0.5);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.84rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: transform 0.45s var(--ease-luxury), opacity 0.45s ease;
  pointer-events: none;
}

.toast.is-shown {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Confetti Canvas */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1400;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .couple-grid,
  .events-grid,
  .rsvp-layout {
    grid-template-columns: 1fr;
  }

  .person-card--offset {
    margin-top: 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    margin-bottom: 28px;
  }

  .timeline-dot {
    grid-column: 1;
  }

  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    text-align: left;
  }

  .gallery-item--wide,
  .gallery-item--tall,
  .gallery-item--half,
  .gallery-item--third {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 640px) {
  .families-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .family-divider {
    width: 72px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(184, 150, 94, 0.55), transparent);
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide,
  .gallery-item--tall,
  .gallery-item--half,
  .gallery-item--third {
    grid-column: span 12;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .top-nav {
    gap: 2px;
    padding: 5px 6px;
  }

  .top-nav a {
    font-size: 0.65rem;
    padding: 6px 9px;
  }

  .floating-controls {
    right: 14px;
    bottom: 14px;
  }

  .fab-label {
    display: none;
  }

  .fab-btn {
    padding: 0 12px;
  }
}
