/* ============================================
   Birthday Invite - Luxury Black & Gold Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ---- Luxury Black & Gold Palette ---- */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(212, 175, 55, 0.04);
  --bg-card-hover: rgba(212, 175, 55, 0.08);
  --glass-bg: rgba(20, 20, 20, 0.85);
  --glass-border: rgba(212, 175, 55, 0.2);

  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #b8962e;
  --gold-muted: rgba(212, 175, 55, 0.6);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.85);
  --white-muted: rgba(255, 255, 255, 0.5);
  --white-dim: rgba(255, 255, 255, 0.3);

  --gradient-gold: linear-gradient(135deg, #d4af37, #f0d060, #d4af37);
  --gradient-gold-dark: linear-gradient(135deg, #b8962e, #d4af37);
  --gradient-gold-shine: linear-gradient(105deg, #b8962e 0%, #f0d060 45%, #d4af37 55%, #b8962e 100%);
  --gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, #0a0a0a 100%);

  --success: #4ade80;
  --error: #f87171;
  --warning: #fbbf24;

  --container-max: 1100px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.15);
  --shadow-gold-strong: 0 8px 40px rgba(212, 175, 55, 0.25);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.6);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

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

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

/* ============ UTILITIES ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.gold-text {
  background: var(--gradient-gold-shine);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ============ CONFETTI CANVAS ============ */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-primary);
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
  z-index: 0;
}

/* Gold sparkle particles */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(240, 208, 96, 0.6) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 40%, rgba(212, 175, 55, 0.5) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 15%, rgba(240, 208, 96, 0.7) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 35%, rgba(212, 175, 55, 0.4) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(240, 208, 96, 0.6) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 60%, rgba(212, 175, 55, 0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 70%, rgba(240, 208, 96, 0.4) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 45% 80%, rgba(212, 175, 55, 0.5) 50%, transparent 50%);
  animation: sparkleFloat 8s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes sparkleFloat {
  0% {
    opacity: 0.6;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(-10px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
}

/* Balloon header image */
.hero-balloons {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 24px;
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-balloons img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

.hero-badge {
  display: inline-block;
  padding: 6px 24px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-name {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  color: var(--white-soft);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease 0.4s both;
  font-family: 'Inter', sans-serif;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.5s both;
  text-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
}

/* Gold ribbon banner */
.hero-ribbon {
  display: inline-block;
  position: relative;
  padding: 12px 48px;
  background: var(--gradient-gold-shine);
  color: #0a0a0a;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.6s both;
  clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
}

/* Hero Images */
.hero-images {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.7s both;
  flex-wrap: wrap;
}

.hero-image-card {
  text-align: center;
}

.image-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.06);
  border: 2px solid rgba(212, 175, 55, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.4s ease;
  overflow: hidden;
}

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

.image-placeholder:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.placeholder-icon {
  font-size: 2.5rem;
}

.placeholder-text {
  font-size: 0.75rem;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.image-label {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gold-muted);
  font-weight: 500;
  letter-spacing: 1px;
}

/* Event Details */
.event-details {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.8s both;
  flex-wrap: wrap;
}

.detail-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  min-width: 140px;
  transition: all 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.detail-icon {
  font-size: 1.3rem;
}

.detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-dim);
}

.detail-value {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* Map Section */
.map-section {
  max-width: 550px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s ease 0.9s both;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 14px;
}

.map-container iframe {
  display: block;
}

.map-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.map-link-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  transform: translateY(-2px);
}

/* CTA Button */
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  border-radius: 50px;
  background: var(--gradient-gold-shine);
  color: #0a0a0a;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.8s ease 1s both;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.3);
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: sweepShine 3s infinite 2s;
  z-index: 1;
}

.cta-button span, .cta-button svg {
  position: relative;
  z-index: 2;
}

@keyframes sweepShine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 36px rgba(212, 175, 55, 0.45);
}

.cta-button svg {
  stroke: #0a0a0a;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--white-dim);
  font-size: 0.75rem;
  z-index: 2;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 1.2s both;
}

.scroll-arrow {
  width: 2px;
  height: 20px;
  background: var(--gradient-gold);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

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

  50% {
    transform: translateY(6px);
    opacity: 0.4;
  }
}

/* ============ SECTION HEADERS ============ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

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

/* ============ DRINKS MENU ============ */
.menu-section {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.drinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.drink-card {
  background: rgba(212, 175, 55, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.drink-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
  box-shadow: var(--shadow-gold);
}

.drink-emoji {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.drink-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--gold-light);
}

.drink-card p {
  font-size: 0.78rem;
  color: var(--white-dim);
}

/* ============ NAV BAR ============ */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-back:hover {
  color: var(--gold);
}

.nav-back svg {
  stroke: var(--gold-muted);
}

.nav-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}

/* ============ EVENT RIBBON ============ */
.event-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 28px;
  margin-bottom: 36px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-muted);
}

.ribbon-divider {
  width: 1px;
  height: 18px;
  background: rgba(212, 175, 55, 0.2);
}

/* ============ RSVP FORM ============ */
.rsvp-page-section {
  background: var(--bg-primary);
  padding-top: 48px;
  padding-bottom: 60px;
  min-height: calc(100vh - 52px);
}

.rsvp-form {
  padding: 40px 36px;
  max-width: 660px;
  margin: 0 auto;
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--gold-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group label .hint {
  color: var(--white-dim);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.04);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder {
  color: var(--white-dim);
}

.form-group input.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

.error-msg {
  display: block;
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 5px;
  min-height: 16px;
}

/* Phone input */
.phone-input {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.phone-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.phone-prefix {
  padding: 13px 14px;
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-right: 1px solid rgba(212, 175, 55, 0.12);
  user-select: none;
}

.phone-input input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Gender selector */
.gender-selector {
  display: flex;
  gap: 14px;
}

.gender-option {
  flex: 1;
  cursor: pointer;
}

.gender-option input {
  display: none;
}

.gender-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.03);
  border: 2px solid rgba(212, 175, 55, 0.12);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.gender-icon {
  font-size: 1.3rem;
}

.gender-option input:checked+.gender-card {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.15);
}

.gender-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.04);
}

/* Drinks selector */
.drinks-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drink-checkbox {
  cursor: pointer;
}

.drink-checkbox input {
  display: none;
}

.drink-chip {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  user-select: none;
  color: var(--white-soft);
}

.drink-chip:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.drink-checkbox input:checked+.drink-chip {
  background: var(--gradient-gold-shine);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold-shine);
  color: #0a0a0a;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  margin-top: 8px;
}

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

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

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

.form-message {
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-message.success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: var(--success);
}

.form-message.error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--error);
}

/* ============ CONFIRMATION BANNER ============ */
.confirmation-banner {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 11000;
  backdrop-filter: blur(12px);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90%;
  text-align: center;
}

.confirmation-banner.show {
  transform: translateX(-50%) translateY(0);
}

/* ============ THANK YOU PAGE ============ */
.thankyou-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
  background-image: url('../images/james-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.thankyou-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
  z-index: 0;
}

.thankyou-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  width: 100%;
  text-align: center;
}

.thankyou-icon {
  font-size: 4rem;
  margin-bottom: 12px;
  animation: celebrateWiggle 0.8s ease 0.3s;
}

@keyframes celebrateWiggle {

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

  25% {
    transform: rotate(-12deg);
  }

  50% {
    transform: rotate(12deg);
  }

  75% {
    transform: rotate(-6deg);
  }
}

.thankyou-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.thankyou-subtitle {
  font-size: 1.05rem;
  color: var(--white-muted);
  margin-bottom: 4px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.thankyou-detail {
  font-size: 0.9rem;
  color: var(--white-dim);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.thankyou-avatar-wrap {
  padding: 28px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.thankyou-avatar-wrap h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.thankyou-avatar-canvas {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

.thankyou-avatar-display {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(212, 175, 55, 0.06);
  border: 3px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
  animation: avatarGlow 3s ease-in-out infinite alternate;
}

.thankyou-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes avatarGlow {
  0% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
  100% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.3); }
}

.avatar-hint {
  font-size: 0.8rem;
  color: var(--white-dim);
}

/* Summary */
.thankyou-summary {
  padding: 24px;
  margin-bottom: 20px;
  text-align: left;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.thankyou-summary h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
  color: var(--gold-light);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-muted);
}

.summary-value {
  font-weight: 500;
  font-size: 0.9rem;
}

.summary-drinks {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 12px;
}

.summary-drink-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.drink-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: capitalize;
}

/* Event card */
.thankyou-event {
  padding: 24px;
  margin-bottom: 20px;
  text-align: left;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.thankyou-event h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
  color: var(--gold-light);
}

.thankyou-event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.te-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.te-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.te-item div {
  font-size: 0.85rem;
  line-height: 1.5;
}

.te-item strong {
  color: var(--gold-muted);
  font-weight: 600;
}

/* Confirmations */
.thankyou-confirmations {
  padding: 24px;
  margin-bottom: 28px;
  text-align: left;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.thankyou-confirmations h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
  color: var(--gold-light);
}

.conf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.03);
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.conf-item.conf-success {
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.12);
}

.conf-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.conf-sms-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.conf-sms-link:hover {
  text-decoration: underline;
}

.thankyou-actions {
  animation: fadeInUp 0.8s ease 0.9s both;
}

/* ============ DJ / MUSIC SECTION ============ */
.music-section {
  border-bottom: 1px solid rgba(212, 175, 55, 0.06);
}

.dj-showcase {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dj-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  background: rgba(212, 175, 55, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.12);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.dj-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.06);
}

.dj-image-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.15);
  transition: all 0.4s ease;
  animation: pulseGoldBox 3s infinite;
}

@keyframes pulseGoldBox {
  0% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
  50% { box-shadow: 0 0 35px rgba(212, 175, 55, 0.4); border-color: rgba(212, 175, 55, 0.7); }
  100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
}

.dj-card:hover .dj-image-wrapper {
  border-color: var(--gold);
  box-shadow: 0 0 36px rgba(212, 175, 55, 0.35);
}

.dj-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dj-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dj-card:hover .dj-glow {
  opacity: 1;
}

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

.dj-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.dj-tagline {
  font-size: 0.9rem;
  color: var(--white-muted);
  margin-bottom: 10px;
}

.dj-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--gold-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dj-instagram svg {
  fill: var(--gold-muted);
}

.dj-card:hover .dj-instagram {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.dj-card:hover .dj-instagram svg {
  fill: var(--gold);
}

/* ============ FOOTER ============ */
.landing-footer {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  color: var(--white-dim);
  font-size: 0.85rem;
}

.landing-footer strong {
  color: var(--white-soft);
}

.footer-dj-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-dj-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .hero {
    padding: 30px 16px;
  }

  .hero-balloons {
    max-width: 320px;
  }

  .hero-images {
    gap: 16px;
  }

  .image-placeholder {
    width: 130px;
    height: 130px;
  }

  .event-details {
    gap: 10px;
  }

  .detail-card {
    padding: 14px 20px;
    min-width: 100px;
  }

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

  .rsvp-form {
    padding: 28px 22px;
  }

  .gender-selector {
    gap: 10px;
  }

  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .drink-card {
    padding: 20px 12px;
  }

  .drink-emoji {
    font-size: 2rem;
  }

  .drink-card h3 {
    font-size: 0.9rem;
  }

  .hero-ribbon {
    padding: 10px 36px;
    font-size: 0.85rem;
    letter-spacing: 3px;
  }

  .page-nav {
    padding: 12px 16px;
  }

  .event-ribbon {
    padding: 14px 18px;
    gap: 10px;
  }

  .ribbon-divider {
    display: none;
  }

  .thankyou-page {
    padding: 36px 16px;
  }

  .thankyou-avatar-canvas {
    height: 220px;
  }

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

  .thankyou-event-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .thankyou-summary,
  .thankyou-event,
  .thankyou-confirmations,
  .thankyou-avatar-wrap {
    padding: 22px 18px;
  }

  .map-section {
    margin: 0 auto 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero-name {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    letter-spacing: 3px;
  }

  .hero-ribbon {
    padding: 8px 28px;
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .drinks-selector {
    gap: 6px;
  }

  .drink-chip {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .detail-card {
    padding: 12px 16px;
    min-width: 90px;
  }

  .detail-value {
    font-size: 0.85rem;
  }

  .image-placeholder {
    width: 110px;
    height: 110px;
  }

  .placeholder-icon {
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .event-details {
    flex-direction: column;
    align-items: center;
  }

  .detail-card {
    width: 80%;
  }

  .hero-images {
    flex-direction: column;
    align-items: center;
  }
}