:root {
  --deep-red: #C2185B;
  --maroon: #880E4F;
  --dark-red: #560027;
  --cream: #FFF5F8;
  --gold: #FFD700;
  --gold-light: #fff8dc;
  --gold-dark: #ffa500;
  --pink-light: #ffb6c1;
  --pink: #ff69b4;
  --coral: #ff6b6b;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Poppins", -apple-system, sans-serif;
  --shadow-gold: 0 0 1.25rem rgba(255, 215, 0, 0.4);
  --shadow-gold-lg: 0 0 2.5rem rgba(255, 215, 0, 0.6);
  --card-shadow: 0 0.625rem 1.875rem rgba(136, 14, 79, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

.hidden {
  display: none !important;
}

#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-1.25rem) rotate(5deg);
  }
}

@keyframes floatGentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.625rem);
  }
}

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

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes glow {

  0%,
  100% {
    filter: drop-shadow(0 0 1.25rem rgba(255, 215, 0, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 2.5rem rgba(255, 215, 0, 0.8));
  }
}

@keyframes divineGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 1.875rem rgba(255, 215, 0, 0.6)) drop-shadow(0 0 3.75rem rgba(255, 140, 0, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 3.125rem rgba(255, 215, 0, 0.9)) drop-shadow(0 0 6.25rem rgba(255, 140, 0, 0.6));
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes flicker {

  0%,
  100% {
    transform: scaleY(1) scaleX(1);
    opacity: 1;
  }

  10% {
    transform: scaleY(1.2) scaleX(0.9);
  }

  20% {
    transform: scaleY(0.9) scaleX(1.1);
    opacity: 0.95;
  }

  30% {
    transform: scaleY(1.1) scaleX(0.95);
  }

  40% {
    transform: scaleY(0.95) scaleX(1.05);
    opacity: 0.9;
  }

  50% {
    transform: scaleY(1.15) scaleX(0.92);
  }

  60% {
    transform: scaleY(0.92) scaleX(1.08);
    opacity: 0.95;
  }

  70% {
    transform: scaleY(1.08) scaleX(0.96);
  }

  80% {
    transform: scaleY(0.96) scaleX(1.04);
    opacity: 1;
  }

  90% {
    transform: scaleY(1.04) scaleX(0.98);
  }
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

@keyframes petalFall {
  0% {
    transform: translateY(-100vh) rotate(0deg) translateX(0);
    opacity: 1;
  }

  25% {
    transform: translateY(-50vh) rotate(180deg) translateX(1.875rem);
  }

  50% {
    transform: translateY(0) rotate(360deg) translateX(-1.25rem);
  }

  75% {
    transform: translateY(50vh) rotate(540deg) translateX(1.5625rem);
  }

  100% {
    transform: translateY(100vh) rotate(720deg) translateX(0);
    opacity: 0;
  }
}

@keyframes auraPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

@keyframes textGlow {

  0%,
  100% {
    text-shadow: 0 0 0.625rem var(--gold), 0 0 1.25rem var(--gold);
  }

  50% {
    text-shadow: 0 0 1.5625rem var(--gold), 0 0 2.8125rem var(--gold-dark), 0 0 4.0625rem var(--gold);
  }
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.15);
  }

  20% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.15);
  }

  40% {
    transform: scale(1);
  }
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(0.75rem);
    opacity: 0;
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-9.375rem) translateX(var(--tx, 0));
    opacity: 0;
  }
}

@keyframes divinePulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

.rotating {
  animation: rotate 20s linear infinite;
}

.rotating-reverse {
  animation: rotateReverse 20s linear infinite;
}

.pulsing {
  animation: pulse 2s ease-in-out infinite;
}

.glow-text {
  animation: textGlow 2s ease-in-out infinite;
}

.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-scroll-hidden {
  opacity: 0;
  transform: translateY(2.5rem);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.entrance-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #4a0000 0%, #8b0000 50%, #5c0000 100%);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}

.entrance-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mandala-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

.mandala {
  width: 100%;
  height: 100%;
  max-width: 56.25rem;
  color: var(--gold);
}

.mandala.rotating {
  animation: rotate 180s linear infinite;
}

.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  animation: particleFloat 5s ease-out infinite;
  box-shadow: 0 0 0.625rem var(--gold);
}

.corner-decor {
  position: absolute;
  width: 11.25rem;
  height: 11.25rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.corner-decor:hover {
  opacity: 0.8;
}

.corner-decor.top-left {
  top: 0;
  left: 0;
}

.corner-decor.top-right {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.corner-decor.bottom-left {
  bottom: 0;
  left: 0;
  transform: rotate(-90deg);
}

.corner-decor.bottom-right {
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}

.corner-svg {
  width: 100%;
  height: 100%;
}

.entrance-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe;
  padding: 1rem;
  text-align: center;
  max-width: 37.5rem;
  height: 100%;
  max-height: 100vh;
}

.om-symbol {
  position: relative;
  margin-bottom: 0.5rem;
}

.om-symbol svg {
  animation: pulse 3s ease-in-out infinite, glow 2s ease-in-out infinite;
}

.om-glow {
  position: absolute;
  inset: -2rem;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: auraPulse 3s ease-in-out infinite;
}

.shubh-labh {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.shubh,
.labh {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
}

.swastik-container {
  position: relative;
}

.swastik-svg {
  animation: rotate 30s linear infinite;
}

.ganpati-container {
  position: relative;
  margin-bottom: 1rem;
}

.ganpati-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(2.5rem);
}

.ganpati-aura.aura-1 {
  inset: -5rem;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.35) 0%, transparent 70%);
  animation: auraPulse 4s ease-in-out infinite;
}

.ganpati-aura.aura-2 {
  inset: -3.5rem;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.25) 0%, transparent 70%);
  animation: auraPulse 3s ease-in-out infinite 0.5s;
}

.ganpati-aura.aura-3 {
  inset: -2rem;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.2) 0%, transparent 70%);
  animation: divinePulse 2.5s ease-in-out infinite 1s;
}

.rotating-ring {
  position: absolute;
  border-radius: 50%;
}

.rotating-ring.ring-1 {
  inset: -1.5rem;
  border: 2px dashed rgba(255, 215, 0, 0.5);
  animation: rotate 40s linear infinite;
}

.rotating-ring.ring-2 {
  inset: -2.5rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
  animation: rotateReverse 30s linear infinite;
}

.rotating-ring.ring-3 {
  inset: -3.5rem;
  border: 1px dotted rgba(255, 215, 0, 0.2);
  animation: rotate 50s linear infinite;
}

.ganpati-idol-wrapper {
  position: relative;
  z-index: 1;
}

.ganpati-idol {
  animation: float 6s ease-in-out infinite, divineGlow 4s ease-in-out infinite;
  width: auto;
  max-width: 80vw;
  max-height: 30vh;
  border-radius: 10px;
}

.divine-glow {
  animation: divinePulse 3s ease-in-out infinite;
}

.sparkles-container {
  position: absolute;
  inset: -3rem;
  pointer-events: none;
}

.sparkle-star {
  position: absolute;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle-star svg {
  width: 100%;
  height: 100%;
}

.mantra-container {
  margin-bottom: 2rem;
  padding: 0 1rem;
  width: 100%;
  max-width: 34.375rem;
}

.mantra-border {
  position: relative;
  padding: 1.5rem 2rem;
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.corner-accent {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  background: var(--deep-red);
}

.corner-accent.tl {
  top: -0.5rem;
  left: -0.5rem;
}

.corner-accent.tr {
  top: -0.5rem;
  right: -0.5rem;
}

.corner-accent.bl {
  bottom: -0.5rem;
  left: -0.5rem;
}

.corner-accent.br {
  bottom: -0.5rem;
  right: -0.5rem;
}

.mantra-text {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  min-height: 1.9em;
}

.mantra-text+.mantra-text {
  margin-top: 0.5rem;
}

.mantra-translation {
  color: var(--gold-light);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  font-style: italic;
  opacity: 0.85;
  line-height: 1.7;
}

.diyas-container {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
}

.diya {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
}

.diya-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.125rem;
  height: 1.25rem;
  background: linear-gradient(to bottom, #daa520, #b8860b);
  border-radius: 0 0 50% 50%;
  box-shadow: inset 0 -0.3125rem 0.625rem rgba(0, 0, 0, 0.3);
}

.diya-base::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 0.625rem;
  background: #cd853f;
  border-radius: 50%;
}

.diya-oil {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.875rem;
  height: 0.5rem;
  background: linear-gradient(to bottom, #8b4513, #654321);
  border-radius: 50%;
}

.flame-container {
  position: absolute;
  bottom: 1.5625rem;
  left: 50%;
  transform: translateX(-50%);
}

.flame {
  width: 0.75rem;
  height: 1.875rem;
  background: linear-gradient(to top, #ff4500, #ff8c00 30%, #ffd700 60%, #fffacd);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flicker 0.4s ease-in-out infinite;
  box-shadow: 0 0 0.625rem #ff8c00, 0 0 1.25rem #ff4500, 0 0 1.875rem #ff6600;
}

.flame.inner {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0.375rem;
  height: 1.125rem;
  background: linear-gradient(to top, #ffff00, #fffacd);
  animation: flicker 0.3s ease-in-out infinite reverse;
}

.flame-glow {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.125rem;
  height: 3.125rem;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.5) 0%, transparent 70%);
  animation: auraPulse 1.5s ease-in-out infinite;
}

.enter-button {
  position: relative;
  padding: 1.25rem 2.5rem;
  border-radius: 3.125rem;
  overflow: hidden;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-red);
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
  background-size: 200% 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0.25rem 1.25rem rgba(255, 215, 0, 0.4);
}

.enter-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-gold-lg);
}

.enter-button:active {
  transform: scale(0.98);
}

.btn-glow {
  position: absolute;
  inset: -0.25rem;
  background: var(--gold);
  border-radius: 3.125rem;
  opacity: 0.5;
  filter: blur(0.9375rem);
  animation: auraPulse 2s ease-in-out infinite;
  z-index: -1;
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s linear infinite;
}

.btn-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.namaste {
  animation: pulse 2s ease-in-out infinite;
}

.shubh-vivah {
  color: rgba(255, 215, 0, 0.7);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

.petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 20;
}

.petal {
  position: absolute;
  top: -3.75rem;
  animation: petalFall linear infinite;
}

.petal svg {
  width: 100%;
  height: 100%;
}

.invitation-container {
  position: relative;
  min-height: 100vh;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
  transition: all 0.5s ease;
}

.main-nav.scrolled {
  background: rgba(194, 24, 91, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  box-shadow: 0 0.25rem 1.875rem rgba(136, 14, 79, 0.2);
  border-bottom: 1px solid rgba(194, 24, 91, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo .heart-icon {
  animation: heartbeat 2s ease-in-out infinite;
}

.desktop-nav {
  display: none;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0.375rem;
  height: 0.375rem;
  background: var(--gold);
  border-radius: 50%;
}

.rsvp-btn {
  padding: 0.5rem 1.5rem;
  background: var(--gold);
  color: var(--deep-red);
  border-radius: 3.125rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.625rem rgba(255, 215, 0, 0.3);
}

.rsvp-btn:hover {
  background: var(--gold-light);
  transform: scale(1.05);
  box-shadow: 0 0.25rem 1.25rem rgba(255, 215, 0, 0.5);
}

.desktop-only {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 1.5rem;
  height: 0.125rem;
  background: var(--gold);
  transition: all 0.3s ease;
  border-radius: 0.125rem;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.3125rem, -0.3125rem);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(194, 24, 91, 0.3);
  backdrop-filter: blur(10px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.25rem);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-link {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(1.25rem);
}

.mobile-menu.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active .mobile-link:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-menu.active .mobile-link:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-menu.active .mobile-link:nth-child(7) {
  transition-delay: 0.4s;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--gold);
  transform: translateX(0.625rem);
}

.mobile-rsvp-btn {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: var(--deep-red);
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.mobile-rsvp-btn:hover {
  transform: scale(1.05);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(139, 0, 0, 0.85) 0%, rgba(139, 0, 0, 0.75) 50%, rgba(74, 0, 0, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 50rem;
  padding: 2rem;
}

.hero-ornament {
  margin-bottom: -1rem;
}

.ornament-svg {
  width: 12.5rem;
  margin: 0 auto;
}

.ganesh-blessing {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 0.9375rem rgba(255, 215, 0, 0.4);
  animation: textGlow 3s ease-in-out infinite;
}

.hero-title {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.3);
}

.together-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
  font-size: 1rem;
}

.star {
  display: inline-block;
}

.couple-names {
  margin-top: 1.1rem;
  margin-bottom: 1.5rem;
}

.bride-name,
.groom-name {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 3rem;
  transition: all 0.3s ease;
  cursor: default;
}

.bride-name:hover,
.groom-name:hover {
  color: var(--gold);
  transform: scale(1.05);
  text-shadow: 0 0 1.875rem rgba(255, 215, 0, 0.5);
}

.ampersand {
  display: block;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-top: 0.5rem;
  margin-bottom: -0.4rem;
  line-height: 1;
}

.invitation-text {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.date-box {
  position: relative;
  display: inline-block;
  padding: 0.5rem 2.5rem;
  background: rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 0.075rem solid var(--gold);
  border-radius: 2rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.date-box:hover {
  transform: scale(1.02);
}

.date-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  animation: shimmer 3s linear infinite;
}

.wedding-date {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  position: relative;
}

.save-date {
  color: rgba(255, 248, 220, 0.8);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  position: relative;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 215, 0, 0.6);
  font-size: 0.85rem;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 0.125rem solid rgba(255, 215, 0, 0.6);
  border-radius: 0.75rem;
  display: flex;
  justify-content: center;
  padding-top: 0.4375rem;
}

.scroll-wheel {
  width: 0.375rem;
  height: 0.75rem;
  background: var(--gold);
  border-radius: 0.1875rem;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

.countdown-section {
  padding: 4rem 1rem;
  background: var(--cream);
  position: relative;
}

.section-divider {
  position: absolute;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.section-divider.top {
  top: 0;
}

.section-divider.bottom {
  bottom: 0;
}

.countdown-content {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.countdown-label {
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.countdown-title {
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 0.5rem 0 2rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-box {
  position: relative;
  width: 4.6875rem;
  height: 5.625rem;
  background: linear-gradient(to bottom, var(--deep-red), var(--maroon));
  border-radius: 0.75rem;
  border: 0.125rem solid rgba(255, 215, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0.25rem 1.25rem rgba(139, 0, 0, 0.3);
}

.time-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.time-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0.0625rem;
  background: rgba(0, 0, 0, 0.2);
}

.time-value {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3);
}

.time-label {
  color: var(--deep-red);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
}

.time-separator {
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: -1.5rem;
  animation: pulse 1s ease-in-out infinite;
}

.couple-section {
  padding: 4.5rem 1rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 1rem;
}

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

.heart-gold {
  color: var(--gold);
}

.section-title {
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-top: 0.75rem;
}

.section-header.light .section-title {
  color: var(--gold-light);
}

.section-subtitle {
  color: rgba(255, 248, 220, 0.7);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.couple-grid {
  display: grid;
  gap: 3rem;
  max-width: 62.5rem;
  margin: 0 auto;
}

.couple-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.couple-card:hover {
  transform: scale(1.02);
}

.photo-frame {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.frame-ring {
  position: absolute;
  border-radius: 50%;
  border: 0.125rem solid var(--gold);
}

.frame-ring:first-child {
  inset: -1rem;
}

.frame-ring:nth-child(2) {
  inset: -2rem;
  border: 1px solid rgba(255, 215, 0, 0.5);
}

.ring-animate {
  animation: rotate 20s linear infinite;
}

.ring-animate-reverse {
  animation: rotateReverse 30s linear infinite;
}

.frame-glow {
  position: absolute;
  inset: -1rem;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.couple-card:hover .frame-glow {
  opacity: 1;
}

.couple-photo {
  width: 13.75rem;
  height: 13.75rem;
  object-fit: cover;
  border-radius: 50%;
  border: 0.25rem solid rgba(255, 215, 0, 0.6);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.couple-card:hover .couple-photo {
  transform: scale(1.05);
  box-shadow: 0 0 1.875rem rgba(255, 215, 0, 0.4);
}

.person-name {
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.person-name:hover {
  transform: scale(1.05);
}

.person-parents {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.person-bio {
  color: #555;
  font-size: 0.95rem;
  max-width: 21.875rem;
  margin: 0 auto;
  line-height: 1.7;
}

.couple-quote {
  max-width: 43.75rem;
  margin: 4rem auto 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(139, 0, 0, 0.05) 100%);
  border-radius: 1rem;
  border: 1px solid rgba(139, 0, 0, 0.2);
  text-align: center;
  position: relative;
}

.quote-heart {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--gold);
  font-size: 1.5rem;
}

.couple-quote p {
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
}

.story-section {
  padding: 5rem 1rem;
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 62.5rem;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0.125rem;
  background: rgba(255, 215, 0, 0.3);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--gold), var(--deep-red));
  transition: height 0.3s ease;
  border-radius: 3px;
}

.timeline-event {
  position: relative;
  width: 50%;
  padding: 0 2.5rem;
  margin-bottom: 0;
  box-sizing: border-box;
}

.timeline-event.left {
  left: 0;
  text-align: right;
}

.timeline-event.right {
  left: 50%;
  text-align: left;
}

.timeline-event.right .event-content {
  text-align: left;
}

.event-content {
  flex: 1;
  padding: 1.5rem;
  background: var(--gold-light);
  border-radius: 1rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-content:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: 0.85rem;
}

.event-title {
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.event-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.event-node {
  position: absolute;
  top: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--deep-red);
  border: 0.1875rem solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.3s ease;
  box-shadow: 0 0 0.9375rem rgba(255, 215, 0, 0.3);
}

.timeline-event.left .event-node {
  right: -1.25rem;
  left: auto;
  transform: none;
}

.timeline-event.right .event-node {
  left: -1.25rem;
  transform: none;
}

.timeline-event.active .event-node {
  background: var(--gold);
  transform: scale(1.2);
  box-shadow: 0 0 1.5625rem var(--gold), 0 0 3.125rem rgba(139, 0, 0, 0.5);
  border-color: #fff;
}

.timeline-event.active .event-node .heart-icon {
  color: var(--deep-red);
  animation: heartbeat 1.5s infinite;
}

.event-node:hover {
  transform: translateX(-50%) scale(1.2) rotate(360deg);
}

.event-node .heart-icon {
  color: var(--gold);
  font-size: 1.2rem;
}

.events-section {
  padding: 5rem 1rem;
  background: var(--deep-red);
  position: relative;
  overflow: hidden;
}

.events-bg-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-circle {
  position: absolute;
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 50%;
}

.bg-circle.circle-1 {
  top: 10%;
  left: 10%;
  width: 15.625rem;
  height: 15.625rem;
  animation: rotate 30s linear infinite, pulse 10s ease-in-out infinite;
}

.bg-circle.circle-2 {
  bottom: 10%;
  right: 10%;
  width: 21.875rem;
  height: 21.875rem;
  animation: rotateReverse 40s linear infinite, pulse 12s ease-in-out infinite;
}

.bg-circle.circle-3 {
  top: 40%;
  left: 20%;
  width: 9.375rem;
  height: 9.375rem;
  animation: rotate 25s linear infinite;
}

.sparkle {
  color: var(--gold);
}

.events-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 56.25rem;
  margin: 0 auto;
}

.event-card {
  position: relative;
  background: rgba(255, 248, 220, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 1.5rem;
  padding-left: 2rem;
}

.event-card:hover {
  transform: scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.2);
}

.event-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.375rem;
}

.event-card[data-color="#FF6B6B"] .event-accent {
  background: #ff6b6b;
}

.event-card[data-color="#FFD700"] .event-accent {
  background: #ffd700;
}

.event-card[data-color="#FF69B4"] .event-accent {
  background: #ff69b4;
}

.event-card[data-color="#8B0000"] .event-accent {
  background: var(--gold);
}

.event-card[data-color="#9C27B0"] .event-accent {
  background: #9c27b0;
}

.event-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.event-card:hover .event-icon {
  transform: scale(1.2);
}

.event-name {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-name::after {
  content: "›";
  transition: transform 0.3s ease;
}

.event-card.expanded .event-name::after {
  transform: rotate(90deg);
}

.event-description {
  color: rgba(255, 248, 220, 0.8);
  font-size: 0.95rem;
}

.event-datetime {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.event-date-info,
.event-time-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.event-date-info {
  color: var(--gold);
  font-weight: 500;
}

.event-time-info {
  color: var(--gold-light);
}

.event-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.event-card.expanded .event-details {
  max-height: 12.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.event-details p {
  color: rgba(255, 248, 220, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.venue-section {
  padding: 5rem 1rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.venue-glow {
  position: absolute;
  top: -12.5rem;
  right: -12.5rem;
  width: 31.25rem;
  height: 31.25rem;
  background: radial-gradient(circle, rgba(194, 24, 91, 0.1) 0%, transparent 70%);
  animation: auraPulse 8s ease-in-out infinite;
}

.venue-grid {
  display: grid;
  gap: 3rem;
  max-width: 68.75rem;
  margin: 0 auto 3rem;
}

.venue-image-container {
  position: relative;
}

.venue-frame,
.venue-frame-outer {
  position: absolute;
  border-radius: 1rem;
}

.venue-frame {
  inset: -1rem;
  border: 0.125rem solid rgba(255, 215, 0, 0.3);
}

.venue-frame-outer {
  inset: -2rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 1.5rem;
}

.venue-image {
  width: 100%;
  height: 18.75rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.15);
}

.venue-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--deep-red) 0%, transparent 100%);
  border-radius: 0 0 1rem 1rem;
}

.venue-image-overlay h3 {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.venue-image-overlay p {
  color: rgba(255, 248, 220, 0.8);
  font-size: 0.9rem;
}

.venue-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(139, 0, 0, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(139, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.info-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-icon {
  width: 3.125rem;
  height: 3.125rem;
  background: var(--deep-red);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  color: var(--deep-red);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.info-text p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--deep-red), var(--maroon));
  color: var(--gold-light);
  border-radius: 50px;
  font-weight: 500;
  margin-top: 1rem;
  box-shadow: 0 0.25rem 1.25rem rgba(139, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.directions-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0.375rem 1.875rem rgba(139, 0, 0, 0.3);
}

.venue-map {
  position: relative;
  max-width: 68.75rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.1);
  border: 0.25rem solid rgba(255, 215, 0, 0.5);
}

.map-image {
  width: 100%;
  height: 15.625rem;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.map-overlay:hover {
  background: rgba(139, 0, 0, 0.1);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--deep-red);
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.map-btn:hover {
  transform: scale(1.1);
}

.gallery-section {
  padding: 4rem 1rem;
  background: linear-gradient(to bottom, var(--cream), var(--gold-light));
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(139, 0, 0, 0.1);
  color: var(--deep-red);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(139, 0, 0, 0.2);
}

.filter-btn.active {
  background: var(--deep-red);
  color: var(--gold);
  box-shadow: 0 0.25rem 0.9375rem rgba(139, 0, 0, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 68.75rem;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

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

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(139, 0, 0, 0.9) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-title {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.gallery-category {
  color: var(--gold);
  font-size: 0.75rem;
}

.like-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.1rem;
}

.gallery-item:hover .like-btn {
  opacity: 1;
}

.like-btn:hover {
  transform: scale(1.1);
}

.like-btn.liked {
  color: #ff4444;
  background: rgba(255, 255, 255, 0.9);
  animation: pulse 0.3s ease;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3.125rem;
  height: 3.125rem;
  background: none;
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.125rem;
  height: 3.125rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

#lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.5);
}

.lightbox-info {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

#lightbox-title {
  color: white;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

#lightbox-category {
  color: var(--gold);
  font-size: 0.85rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===== Video Section ===== */
.video-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, var(--deep-red) 0%, var(--maroon) 50%, var(--dark-red) 100%);
  position: relative;
  overflow: hidden;
}

.video-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(5rem);
}

.video-glow-1 {
  top: -6.25rem;
  left: -6.25rem;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  animation: auraPulse 8s ease-in-out infinite;
}

.video-glow-2 {
  bottom: -6.25rem;
  right: -6.25rem;
  width: 31.25rem;
  height: 31.25rem;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
  animation: auraPulse 10s ease-in-out infinite 2s;
}

.video-section .section-header {
  margin-bottom: 3rem;
}

.video-section .section-title {
  color: var(--coral);
}

.video-subtitle {
  color: rgba(255, 248, 220, 0.7);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.video-showcase {
  max-width: 56.25rem;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
}

.video-frame-ring {
  position: absolute;
  border-radius: 1.25rem;
  pointer-events: none;
}

.video-frame-ring.ring-outer {
  inset: -1.5rem;
  border: 0.0625rem solid rgba(255, 215, 0, 0.15);
  border-radius: 1.75rem;
  animation: rotate 60s linear infinite;
}

.video-frame-ring.ring-inner {
  inset: -0.75rem;
  border: 0.125rem dashed rgba(255, 215, 0, 0.25);
  border-radius: 1.5rem;
  animation: rotateReverse 45s linear infinite;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 50rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 1.25rem 3.75rem rgba(0, 0, 0, 0.4),
    0 0 1.875rem rgba(255, 215, 0, 0.15),
    inset 0 0 0 0.125rem rgba(255, 215, 0, 0.3);
  background: #000;
}

.video-container video {
  width: 100%;
  display: block;
  border-radius: 1rem;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  cursor: pointer;
  z-index: 2;
}

.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: rgba(194, 24, 91, 0.7);
  backdrop-filter: blur(0.625rem);
  border: 0.1875rem solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.video-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 2.5rem rgba(255, 215, 0, 0.5);
}

.play-btn-ring {
  position: absolute;
  inset: -0.75rem;
  border: 0.125rem solid rgba(255, 215, 0, 0.4);
  border-radius: 50%;
  animation: auraPulse 2s ease-in-out infinite;
}

.play-btn-glow {
  position: absolute;
  inset: -1rem;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: divinePulse 3s ease-in-out infinite;
}

.video-play-text {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.5);
}

/* Custom video controls */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 3;
}

.video-container:hover .video-controls,
.video-controls.visible {
  opacity: 1;
  visibility: visible;
}

.vc-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.vc-btn:hover {
  transform: scale(1.2);
  color: var(--gold-light);
}

.vc-progress-bar {
  flex: 1;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.125rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.vc-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 0.125rem;
  transition: width 0.1s linear;
}

.vc-time {
  color: rgba(255, 248, 220, 0.8);
  font-size: 0.75rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .video-frame-ring.ring-outer,
  .video-frame-ring.ring-inner {
    display: none;
  }

  .video-container {
    border-radius: 0.75rem;
  }

  .video-container video {
    border-radius: 0.75rem;
  }

  .video-play-btn {
    width: 4rem;
    height: 4rem;
  }

  .video-play-btn svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .vc-time {
    display: none;
  }
}

.blessings-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%);
  position: relative;
  overflow: hidden;
}

.blessings-decor {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.blessings-decor.circle-1 {
  top: 10%;
  left: -6.25rem;
  width: 18.75rem;
  height: 18.75rem;
  animation: auraPulse 6s ease-in-out infinite;
}

.blessings-decor.circle-2 {
  bottom: 10%;
  right: -6.25rem;
  width: 25rem;
  height: 25rem;
  animation: auraPulse 8s ease-in-out infinite 2s;
}

.blessings-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 56.25rem;
  margin: 0 auto;
}

.blessings-form-container {
  width: 100%;
  max-width: 37.5rem;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.blessing-form h3 {
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0rem;
}

.blessing-form input,
.blessing-form textarea {
  width: 100%;
  padding: 1rem;
  border: 0.125rem solid rgba(139, 0, 0, 0.1);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blessing-form input:focus,
.blessing-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 0.1875rem rgba(255, 215, 0, 0.2);
}

.send-blessing-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--deep-red), var(--maroon));
  color: var(--gold-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.9375rem rgba(139, 0, 0, 0.2);
}

.send-blessing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.375rem 1.5625rem rgba(139, 0, 0, 0.3);
}

.success-message {
  color: #22c55e;
  text-align: center;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 0.5rem;
}

.blessings-list {
  width: 100%;
  max-width: 37.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blessing-card {
  background: white;
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blessing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.1);
}

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

.blessing-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--deep-red), var(--maroon));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.author-name {
  color: var(--deep-red);
  font-weight: 500;
}

.blessing-like {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 68, 68, 0.1);
  border-radius: 50px;
  color: #ff4444;
  transition: all 0.3s ease;
}

.blessing-like:hover {
  background: rgba(255, 68, 68, 0.2);
  transform: scale(1.05);
}

.blessing-message {
  color: #555;
  font-style: italic;
  line-height: 1.6;
}

.main-footer {
  background: linear-gradient(to bottom, #2c0e0e, #1a0505);
  padding: 1.5rem 1rem 2rem;
  position: relative;
  text-align: center;
  color: var(--gold-light);
  overflow: hidden;
}

.footer-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.footer-content {
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-welcome-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.0625rem;
}

.footer-compliments {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.compliments-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Dancing Script", cursive;
  letter-spacing: 0.0625rem;
}

.parents-names {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  background: linear-gradient(to right, var(--gold), #ffecb3, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.3;
  margin: 0;
}

.footer-date {
  font-size: 1.1rem;
  letter-spacing: 0.0625rem;
  color: rgba(238, 233, 215, 0.8);
  font-weight: 300;
  text-transform: uppercase;
}

.footer-divider-ornament {
  margin: 1rem 0;
  opacity: 0.8;
}

.footer-contact-info {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  color: rgba(255, 248, 220, 0.8);
  cursor: pointer;
}

.contact-item:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.2rem;
}

.footer-social .hashtag {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: -0.5rem;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  width: 100%;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.credit-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 0.625rem rgba(255, 215, 0, 0.8);
  animation: pulse 1.5s infinite ease-in-out;
  padding: 0 4px;
  transition: all 0.3s ease;
}

.credit-link:hover {
  text-decoration: none;
  color: #fff;
  text-shadow: 0 0 1.25rem rgba(255, 255, 255, 1), 0 0 1.875rem var(--gold);
  transform: scale(1.2);
}

.footer-shubh {
  font-size: 1.2rem !important;
  color: var(--gold) !important;
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: 0.125rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 248, 220, 0.5);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.heart-beat {
  color: var(--gold);
  animation: heartbeat 2s ease-in-out infinite;
}

.final-blessing {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.final-blessing .sanskrit {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.final-blessing .english {
  color: rgba(255, 248, 220, 0.6);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .couple-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .blessings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .desktop-only {
    display: block;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .bride-name,
  .groom-name {
    font-size: 4.5rem;
  }

  .timeline-event {
    gap: 3rem;
  }

  .venue-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .bride-name,
  .groom-name {
    font-size: 5rem;
  }
}

@media (max-width: 768px) {
  .timeline {
    max-width: 100%;
    padding-left: 0.625rem;
  }

  .timeline-line {
    left: 1.875rem;
    transform: none;
  }

  .timeline-event,
  .timeline-event.left,
  .timeline-event.right {
    width: 100%;
    left: 0;
    padding-left: 4.375rem;
    padding-right: 1.25rem;
    text-align: left;
    margin-bottom: 2rem;
  }

  .timeline-event.right .event-content {
    text-align: left;
  }

  .event-node,
  .timeline-event.left .event-node,
  .timeline-event.right .event-node {
    left: 1.875rem;
    right: auto;
    transform: translateX(-50%);
  }

  .timeline-event.active .event-node {
    transform: translateX(-50%) scale(1.2);
  }

  .mantra-text {
    font-size: 0.85rem;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .mantra-border {
    padding: 1rem 0.5rem;
  }
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.875rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-animate-up {
  opacity: 0;
  animation: heroFadeInUp 1s ease-out forwards;
}

.hero-animate-zoom {
  opacity: 0;
  animation: heroZoomIn 1s ease-out forwards;
}

.hero-animate-fade {
  opacity: 0;
  animation: heroFadeIn 1.5s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

.delay-5 {
  animation-delay: 1.0s;
}

.delay-6 {
  animation-delay: 1.2s;
}

.delay-7 {
  animation-delay: 1.4s;
}

.delay-8 {
  animation-delay: 1.6s;
}

.delay-2s {
  animation-delay: 2s;
}

.delay-2-8s {
  animation-delay: 2.8s;
}

.delay-3-2s {
  animation-delay: 3.2s;
}

.footer-instagram-icon {
  vertical-align: middle;
  margin-left: 0.125rem;
  margin-bottom: 0.125rem;
}