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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #070b14;
  color: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

.font-serif-display {
  font-family: 'Playfair Display', Georgia, Cambria, serif;
}

/* Ambient Canvas */
#ambientCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Layout Helpers */
.container {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.container-narrow {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-narrow {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.header-inner {
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fcd34d;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* Top Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #f59e0b, #fde68a, #fb7185);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.75);
  z-index: 60;
  pointer-events: none;
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a.is-current {
  color: #fcd34d;
  font-weight: 600;
}

.nav-links a.is-current::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f59e0b, #fde68a);
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }
}

.mobile-quick-nav {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.5rem 1rem 0.65rem;
  border-top: 1px solid rgba(51, 65, 85, 0.55);
  scrollbar-width: none;
}

.mobile-quick-nav::-webkit-scrollbar {
  display: none;
}

.mobile-quick-nav a {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #cbd5e1;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(100, 116, 139, 0.35);
}

@media (min-width: 640px) {
  .mobile-quick-nav {
    display: none;
  }
}

/* Luxury Polaroid Video Showcase (2-Column Editorial Layout) */
.video-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .video-spotlight-grid {
    grid-template-columns: auto 1fr;
    gap: 2.75rem;
  }
}

.video-showcase {
  width: fit-content;
  max-width: 21rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  padding: 0.85rem 0.85rem 1.15rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(251, 191, 36, 0.36);
  box-shadow: 0 24px 55px -12px rgba(0, 0, 0, 0.7), 0 0 36px rgba(245, 158, 11, 0.16);
  transform: rotate(-1.5deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.video-showcase:hover {
  transform: rotate(0deg) translateY(-4px);
  border-color: rgba(251, 191, 36, 0.58);
}

.video-story-col {
  text-align: left;
}

.video-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.video-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.video-frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #070b14;
  border: 1px solid rgba(251, 191, 36, 0.25);
  cursor: pointer;
}

.video-player {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(7, 11, 20, 0.38);
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-frame.is-playing .video-play-overlay {
  opacity: 0;
  visibility: hidden;
}

.video-play-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.65);
  transition: transform 0.2s ease;
}

.video-frame:hover .video-play-circle {
  transform: scale(1.08);
}

.video-controls-bar {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}

.video-ctrl-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.video-ctrl-btn:hover {
  background: rgba(30, 41, 59, 0.92);
  transform: scale(1.06);
}

.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.3);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.music-btn:hover {
  background: rgba(245, 158, 11, 0.25);
}

/* Intro Curtain */
#introOverlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1rem;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#introOverlay.is-dismissed {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}

.intro-card {
  max-width: 28rem;
  width: 100%;
  text-align: center;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .intro-card {
    padding: 2.5rem;
  }
}

.intro-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fcd34d;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.875rem;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
  color: #020617;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.btn-primary-gold:hover {
  filter: brightness(1.08);
}

.btn-primary-gold:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.875rem;
  background: rgba(30, 41, 59, 0.85);
  color: #f1f5f9;
  border: 1px solid rgba(100, 116, 139, 0.45);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
}

/* Hero Section */
.hero-section {
  padding: 1.5rem 0 3rem;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 2.5rem 0 4rem;
  }
}

.hero-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, rgba(120, 53, 15, 0.55) 100%);
  min-height: 320px;
}

@media (min-width: 640px) {
  .hero-card {
    min-height: 410px;
  }
}

.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  min-height: 320px;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 2.5rem;
    min-height: 410px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 1.875rem;
  line-height: 1.18;
  font-weight: 700;
  color: #ffffff;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-desc {
  margin-top: 0.75rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  max-width: 40rem;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1rem;
  }
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.stat-card {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fcd34d;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

/* Sections */
.section-band {
  padding: 2.75rem 0;
  border-top: 1px solid rgba(30, 41, 59, 0.85);
  background: rgba(15, 23, 42, 0.4);
}

.section-plain {
  padding: 2.75rem 0;
}

@media (min-width: 640px) {
  .section-band, .section-plain {
    padding: 3.5rem 0;
  }
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fbbf24;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-sub {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0.5rem auto 0;
  max-width: 36rem;
}

/* Cake & Candles */
.cake-box {
  margin-top: 2rem;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .cake-box {
    padding: 2.5rem;
  }
}

.cake-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-chip-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.btn-chip-amber:hover {
  background: rgba(245, 158, 11, 0.32);
}

.btn-chip-slate {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid rgba(100, 116, 139, 0.45);
}

.btn-chip-slate:hover {
  background: #334155;
}

.cake-scene {
  position: relative;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cake-ambient-glow {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26rem;
  max-width: 100%;
  height: 11rem;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.24) 0%, rgba(244, 63, 94, 0.08) 45%, transparent 72%);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.candles-row {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.65rem;
  margin-bottom: -0.2rem;
}

@media (min-width: 640px) {
  .candles-row {
    gap: 0.95rem;
  }
}

.candles-row-bottom {
  margin-top: -0.35rem;
}

.candle-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.candle-btn:hover {
  transform: translateY(-5px) scale(1.07);
}

.candle-flame-wrap {
  position: relative;
  height: 2rem;
  width: 1.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.flame-halo {
  position: absolute;
  bottom: 0.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.48) 0%, rgba(245, 158, 11, 0.12) 55%, transparent 75%);
  animation: haloPulse 1.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.candle-stick {
  position: relative;
  width: 0.85rem;
  height: 2.75rem;
  border-radius: 0.25rem 0.25rem 0.08rem 0.08rem;
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.28), 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: filter 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.candle-stick::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -35deg,
    rgba(255, 255, 255, 0.24) 0px,
    rgba(255, 255, 255, 0.24) 3px,
    transparent 3px,
    transparent 8px
  );
}

.candle-lit {
  background: linear-gradient(180deg, #fef3c7 0%, #fb7185 38%, #e11d48 100%);
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.25), 0 -4px 12px rgba(251, 191, 36, 0.35);
}

.candle-out {
  background: linear-gradient(180deg, #64748b 0%, #334155 100%);
  opacity: 0.78;
}

.candle-holder {
  width: 1.15rem;
  height: 0.28rem;
  border-radius: 0 0 0.35rem 0.35rem;
  background: linear-gradient(90deg, #b45309, #fde68a, #d97706);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}

/* Luxury 2-Tier Drip Cake */
.cake-tier-top {
  position: relative;
  width: 15.5rem;
  max-width: 82%;
  height: 3.75rem;
  border-radius: 0.9rem 0.9rem 0.25rem 0.25rem;
  background: linear-gradient(180deg, #581c2e 0%, #3b0f1e 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: inset 0 6px 14px rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.45rem;
}

.cake-tier-bottom {
  position: relative;
  width: 24rem;
  max-width: 96%;
  height: 4.8rem;
  border-radius: 1rem 1rem 0.5rem 0.5rem;
  background: linear-gradient(180deg, #4c1d2e 0%, #2a0a16 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: inset 0 8px 18px rgba(255, 255, 255, 0.07), 0 14px 30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.9rem;
}

.cake-drip-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.05rem;
  background: linear-gradient(90deg, #fde68a, #fffbeb, #fcd34d, #fef3c7);
  border-bottom: 2px solid rgba(217, 119, 6, 0.45);
}

.cake-drip-drops {
  position: absolute;
  top: 0.9rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.drip {
  width: 0.7rem;
  border-radius: 0 0 9999px 9999px;
  background: linear-gradient(180deg, #fef3c7, #fcd34d);
}

.drip-sm { height: 0.55rem; }
.drip-md { height: 0.9rem; }
.drip-lg { height: 1.2rem; }

.cake-pearls {
  position: absolute;
  bottom: 0.25rem;
  left: 0.6rem;
  right: 0.6rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.pearl {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #fbbf24);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.55);
}

.cake-stand-neck {
  width: 5.5rem;
  height: 0.95rem;
  background: linear-gradient(90deg, #92400e, #fde68a, #b45309);
  border-radius: 0 0 0.35rem 0.35rem;
}

.cake-stand-base {
  width: 14rem;
  max-width: 70%;
  height: 0.65rem;
  background: linear-gradient(90deg, #78350f, #fcd34d, #78350f);
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.wish-banner {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Two-Column Letter & Tabs */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .two-col-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.panel-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .panel-card {
    padding: 2rem;
  }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.panel-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fcd34d;
  flex-shrink: 0;
}

.envelope-card {
  width: 100%;
  position: relative;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 1.75rem;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.envelope-card:hover {
  border-color: rgba(251, 191, 36, 0.75);
}

.envelope-seal {
  position: relative;
  z-index: 10;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(251, 113, 133, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: #fb7185;
}

/* Tabs */
.tab-bar {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.75);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.tab-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.is-active {
  background: #f59e0b;
  color: #020617;
}

.tab-btn:not(.is-active) {
  background: #1e293b;
  color: #cbd5e1;
}

.tab-btn:not(.is-active):hover {
  color: #ffffff;
}

.timeline-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.timeline-badge {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fcd34d;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.doa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .doa-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.doa-item {
  padding: 0.875rem;
  border-radius: 1rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.75);
}

/* 3 Notes Grid */
.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .notes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.note-card {
  border-radius: 1rem;
  padding: 1.4rem;
  cursor: pointer;
  width: 100%;
}

/* Footer & Toast */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(30, 41, 59, 0.85);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
}

.toast-box {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #1e293b;
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.hidden {
  display: none !important;
}

/* Animations */
@keyframes shimmerGold {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-gold {
  background: linear-gradient(90deg, #fde68a 0%, #f59e0b 25%, #fffbeb 50%, #f59e0b 75%, #fde68a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerGold 5.5s linear infinite;
}

@keyframes flameSway {
  0% { transform: scale(1) rotate(-3deg) skewX(-1deg); }
  35% { transform: scale(1.06, 1.14) rotate(2deg) skewX(2deg); }
  70% { transform: scale(0.96, 1.05) rotate(-1.5deg) skewX(-1deg); }
  100% { transform: scale(1.04, 1.12) rotate(3deg) skewX(1deg); }
}

@keyframes haloPulse {
  0% { opacity: 0.65; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1.15); }
}

@keyframes smokeRise {
  0% { opacity: 0.85; transform: translateY(0) scaleX(1); }
  50% { opacity: 0.45; transform: translateY(-10px) translateX(3px) scaleX(1.5); }
  100% { opacity: 0; transform: translateY(-22px) translateX(-2px) scaleX(2); }
}

@keyframes flameIgnite {
  0% { opacity: 0; transform: scale(0.15) translateY(6px); }
  65% { opacity: 1; transform: scale(1.25) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.flame {
  position: relative;
  width: 0.82rem;
  height: 1.45rem;
  border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%;
  background: radial-gradient(circle at 50% 72%, #fffbeb 0%, #fde047 38%, #f59e0b 75%, #ea580c 100%);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.9), 0 0 28px rgba(245, 158, 11, 0.55);
  animation: flameSway 1.1s ease-in-out infinite alternate;
  transform-origin: bottom center;
}

.flame-ignite {
  animation: flameIgnite 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards, flameSway 1.1s ease-in-out 0.35s infinite alternate;
}

.flame::after {
  content: '';
  position: absolute;
  bottom: 0.16rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.36rem;
  height: 0.68rem;
  border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%;
  background: linear-gradient(to top, #bae6fd 0%, #ffffff 70%);
}

.wick {
  position: relative;
  width: 0.18rem;
  height: 0.45rem;
  background: #334155;
  border-radius: 9999px;
}

.smoke-wisp {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  width: 0.35rem;
  height: 0.9rem;
  margin-left: -0.175rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.65), transparent 70%);
  filter: blur(1.5px);
  animation: smokeRise 1.3s ease-out forwards;
  pointer-events: none;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.3); }
}

.star-twinkle {
  animation: twinkle 3s ease-in-out infinite;
  transform-origin: center;
}

.star-twinkle-delay {
  animation: twinkle 3.8s ease-in-out 1.3s infinite;
  transform-origin: center;
}

.glass-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.84));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(251, 191, 36, 0.48);
  box-shadow: 0 18px 45px -10px rgba(245, 158, 11, 0.16);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 28px rgba(245, 158, 11, 0.16); }
  50% { box-shadow: 0 0 48px rgba(245, 158, 11, 0.34); }
}

.lantern-glow {
  animation: pulseGlow 5s ease-in-out infinite;
}

.envelope-box { perspective: 900px; }
.envelope-flap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(245, 158, 11, 0.2), transparent);
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
  transform-origin: top center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.envelope-box.is-opening .envelope-flap {
  transform: rotateX(180deg);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.letter-line {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.letter-line:nth-child(1) { animation-delay: 0.08s; }
.letter-line:nth-child(2) { animation-delay: 0.22s; }
.letter-line:nth-child(3) { animation-delay: 0.38s; }
.letter-line:nth-child(4) { animation-delay: 0.54s; }
.letter-line:nth-child(5) { animation-delay: 0.70s; }

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.8s ease-out, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  transition: opacity 0.65s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal.is-visible .reveal-item:nth-child(1) { transition-delay: 0.06s; }
.reveal.is-visible .reveal-item:nth-child(2) { transition-delay: 0.16s; }
.reveal.is-visible .reveal-item:nth-child(3) { transition-delay: 0.26s; }
.reveal.is-visible .reveal-item:nth-child(4) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
