/* ==========================================================================
   3D ANIMATED LUXURY WEDDING WEBSITE - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Great+Vibes&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #09030c;
  --bg-card: rgba(22, 10, 30, 0.65);
  --bg-card-hover: rgba(35, 16, 48, 0.8);
  --gold-primary: #dfb15b;
  --gold-light: #fce09b;
  --gold-dark: #9e7228;
  --gold-gradient: linear-gradient(135deg, #fce09b 0%, #dfb15b 50%, #b38230 100%);
  --rose-gold: #e29ca7;
  --rose-gradient: linear-gradient(135deg, #f7c5cc 0%, #e29ca7 50%, #b86071 100%);
  --text-main: #f7f3ed;
  --text-muted: #c8b9d2;
  --text-gold: #ebd39c;
  --border-gold: rgba(223, 177, 91, 0.3);
  --border-gold-glow: rgba(223, 177, 91, 0.6);
  --shadow-gold: 0 10px 30px rgba(223, 177, 91, 0.15);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Montserrat', sans-serif;

  /* Transitions & Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-smooth: 0.6s var(--ease-out-expo);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  selection-background-color: var(--gold-primary);
  selection-color: var(--bg-dark);
}

::selection {
  background: var(--gold-primary);
  color: var(--bg-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Canvas Background */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Overlay Glow FX */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 30%, rgba(223, 177, 91, 0.08) 0%, transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(226, 156, 167, 0.06) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Typography Helpers */
.script-title {
  font-family: var(--font-script);
  color: var(--rose-gold);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(226, 156, 167, 0.3);
}

.heading-gold {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  display: block;
}

/* Layout Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 8rem 0;
  position: relative;
}

.text-center {
  text-align: center;
}

/* Glassmorphism Components */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.7s;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  border-color: var(--border-gold-glow);
  box-shadow: var(--shadow-gold), 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* 3D Tilt Wrapper */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
}

.tilt-inner {
  transform: translateZ(30px);
  transition: transform 0.2s ease-out;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold-gradient);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(223, 177, 91, 0.25);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 25px rgba(223, 177, 91, 0.4);
}

.btn-gold:hover::after {
  opacity: 0.3;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: transparent;
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-outline:hover {
  background: rgba(223, 177, 91, 0.15);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(223, 177, 91, 0.2);
}

/* ==========================================================================
   NAVBAR & TOP HEADER SYSTEM
   ========================================================================== */
.navbar {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  background: rgba(14, 6, 24, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(223, 177, 91, 0.12);
  transition: all 0.3s ease;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.nav-brand span {
  font-family: var(--font-sans);
  color: var(--gold-primary);
  font-size: 1.45rem;
  font-weight: 400;
}

.nav-brand i {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 0.3rem 0;
  line-height: 1.4;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold-gradient);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
}

.nav-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(223, 177, 91, 0.4);
}

.nav-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
}

.nav-btn-outline:hover {
  border-color: var(--gold-primary);
  color: #fff;
  background: rgba(223, 177, 91, 0.15);
}

.audio-btn {
  background: rgba(223, 177, 91, 0.1);
  border: 1px solid var(--border-gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.audio-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
  transform: scale(1.1);
}

.audio-btn.playing {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(223, 177, 91, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(223, 177, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 177, 91, 0); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  position: relative;
  text-align: center;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  color: var(--gold-primary);
  font-family: inherit;
  display: inline;
}

.hero-title span.script-ampersand {
  display: block;
  font-family: var(--font-script);
  color: var(--rose-gold);
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin: -0.8rem 0;
  font-weight: 400;
  text-shadow: 0 0 25px rgba(226, 156, 167, 0.4);
}

.hero-date {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 4px;
  color: var(--gold-light);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-date::before, .hero-date::after {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--gold-gradient);
}

/* Countdown Timer */
.countdown-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 750px;
  width: 100%;
  margin: 0 auto 3.5rem;
}

.countdown-box {
  background: rgba(22, 10, 30, 0.65);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero CTA buttons */
.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   OUR LOVE STORY SECTION
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--gold-primary) 15%, var(--gold-primary) 85%, transparent 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  position: relative;
  margin-bottom: 5rem;
  width: 50%;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50px;
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 15px var(--gold-primary);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -10px;
}

.timeline-card {
  width: 100%;
}

.timeline-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-gold);
}

.timeline-date {
  font-family: var(--font-serif);
  color: var(--rose-gold);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

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

/* ==========================================================================
   EVENT SCHEDULE & DETAILS SECTION
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.event-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(223, 177, 91, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.event-time {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(223, 177, 91, 0.15);
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.event-location {
  color: var(--text-gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.event-address {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.event-actions {
  margin-top: auto;
}

/* Venue Feature Banner */
.venue-banner {
  margin-top: 5rem;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
}

.venue-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.8s ease;
}

.venue-banner:hover .venue-banner-bg {
  transform: scale(1.05);
}

.venue-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 3rem 2rem;
  background: rgba(9, 3, 12, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid var(--border-gold);
}

/* ==========================================================================
   3D PHOTO GALLERY DECK SECTION
   ========================================================================== */
.gallery-container {
  margin-top: 4rem;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.gallery-item {
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-gold);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 3, 12, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}

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

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

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 8, 0.92);
  backdrop-filter: blur(25px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-glass);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   3D WAX-SEALED RSVP MODAL SECTION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 8, 0.85);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.rsvp-box {
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.rsvp-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.rsvp-close:hover {
  color: var(--gold-primary);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(13, 5, 20, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.3);
  background: rgba(22, 10, 30, 0.8);
}

.form-select option {
  background: #120817;
  color: #fff;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-btn {
  flex: 1;
  position: relative;
}

.radio-btn input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-btn label {
  display: block;
  padding: 0.9rem;
  text-align: center;
  background: rgba(13, 5, 20, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.radio-btn input:checked + label {
  background: rgba(223, 177, 91, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.2);
}

/* Wax Seal Accent */
.wax-seal {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #b83248 0%, #7a1b2b 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(122, 27, 43, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ==========================================================================
   REGISTRY & ACCOMMODATIONS
   ========================================================================== */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.registry-card {
  text-align: center;
}

.registry-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

/* ==========================================================================
   HOST ADMIN DRAWER
   ========================================================================== */
.admin-drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100vw;
  max-height: 70vh;
  background: rgba(13, 5, 20, 0.95);
  backdrop-filter: blur(30px);
  border-top: 2px solid var(--gold-primary);
  z-index: 3000;
  transition: bottom 0.5s var(--ease-out-expo);
  padding: 2rem;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.admin-drawer.active {
  bottom: 0;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-gold);
}

.admin-table th {
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: rgba(5, 2, 8, 0.9);
  border-top: 1px solid var(--border-gold);
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-brand span {
  font-family: var(--font-script);
  color: var(--rose-gold);
  font-size: 2.8rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 1.5rem 0 2.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.admin-trigger {
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  background: none;
  border: none;
}

.admin-trigger:hover {
  opacity: 1;
  color: var(--gold-primary);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
  .hero-title span {
    font-size: 5rem;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
    margin-left: 0;
  }
  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .countdown-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .countdown-number {
    font-size: 2.5rem;
  }
  .heading-gold {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   SAAS PLATFORM, DASHBOARD, LOGIN & REGISTER EXTENSIONS
   ========================================================================== */

/* Offer Badge / Banner */
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(223, 177, 91, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(223, 177, 91, 0.2);
}
.offer-badge i {
  color: #4cd964;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Auth Cards (Login & Register) */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: rgba(18, 9, 28, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(223, 177, 91, 0.15);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-top: 0.5rem;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-gold);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(223, 177, 91, 0.3);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 576px) {
  .form-row { grid-template-columns: 1fr; }
}

.theme-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.theme-choice-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(223, 177, 91, 0.2);
  border-radius: 14px;
  padding: 1rem 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-choice-card:hover, .theme-choice-card.selected {
  border-color: var(--gold-primary);
  background: rgba(223, 177, 91, 0.15);
  box-shadow: 0 0 20px rgba(223, 177, 91, 0.25);
  transform: translateY(-3px);
}

.theme-choice-card input[type="radio"] {
  position: absolute;
  top: 10px;
  right: 10px;
  accent-color: var(--gold-primary);
}

.theme-preview-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}

.theme-choice-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Dashboard Specific Layout */
.dashboard-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(12, 5, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dash-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.dash-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: rgba(22, 10, 32, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dash-link-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(0,0,0,0.4);
  border: 1px dashed var(--border-gold);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--gold-light);
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dash-stat-card {
  background: rgba(25, 12, 38, 0.75);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.dash-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(223, 177, 91, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-light);
}

.dash-stat-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.dash-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dash-tabs-header {
  display: flex;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(223, 177, 91, 0.2);
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.dash-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.dash-tab-btn:hover {
  color: var(--gold-light);
  background: rgba(223, 177, 91, 0.08);
}

.dash-tab-btn.active {
  color: var(--bg-dark);
  background: var(--gold-gradient);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(223, 177, 91, 0.3);
}

.dash-tab-content {
  display: none;
}

.dash-tab-content.active {
  display: block;
}

/* Guest Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: rgba(20, 9, 30, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.guest-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.guest-table th {
  background: rgba(10, 3, 16, 0.9);
  color: var(--gold-light);
  font-weight: 600;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-gold);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.guest-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(223, 177, 91, 0.1);
  color: var(--text-main);
}

.guest-table tr:hover td {
  background: rgba(223, 177, 91, 0.05);
}

.badge-status {
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-attending {
  background: rgba(76, 217, 100, 0.2);
  color: #4cd964;
  border: 1px solid rgba(76, 217, 100, 0.4);
}

.badge-declined {
  background: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.4);
}

/* Theme Gallery Grid */
.theme-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.theme-card {
  background: rgba(25, 12, 38, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.theme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(223, 177, 91, 0.25);
  border-color: var(--gold-primary);
}

.theme-card-preview {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.theme-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 5, 20, 0.95), transparent 70%);
}

.theme-card-badge {
  position: relative;
  z-index: 2;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.theme-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.theme-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.theme-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.theme-card-actions {
  display: flex;
  gap: 0.8rem;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 600px;
  background: rgba(22, 10, 32, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

