/* =========================
   Ranting Event Hall Website
   Theme: Rustic Luxury Nature
   ========================= */

:root {
  --black: #050504;
  --dark: #0d0c08;
  --brown: #4a2f1b;
  --wood: #2a190d;
  --green: #1f321c;
  --green-soft: #52643f;
  --cream: #f8eedc;
  --muted-cream: rgba(248, 238, 220, 0.78);
  --gold: #c9a45c;
  --gold-light: #e6cc8f;
  --line: rgba(230, 204, 143, 0.35);
  --glass: rgba(255, 255, 255, 0.065);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 10%, rgba(82, 100, 63, 0.28), transparent 28%),
    radial-gradient(circle at 85% 35%, rgba(74, 47, 27, 0.42), transparent 28%),
    linear-gradient(135deg, #030302 0%, #111009 45%, #251407 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(ellipse at top left, rgba(230, 204, 143, 0.18), transparent 28%),
    linear-gradient(120deg, transparent, rgba(255,255,255,0.04), transparent);
}

.nature-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(82, 100, 63, 0.44), transparent 68%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.nature-glow-1 {
  top: -120px;
  left: -120px;
}

.nature-glow-2 {
  right: -120px;
  bottom: 10%;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
  position: relative;
  z-index: 1;
}

.navbar {
  width: min(1120px, 92%);
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(230, 204, 143, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted-cream);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 0 56px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-card {
  width: min(790px, 92%);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(248, 238, 220, 0.09), rgba(248, 238, 220, 0.03)),
    rgba(0, 0, 0, 0.38);
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(230, 204, 143, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-card::before {
  top: -70px;
  left: -70px;
}

.hero-card::after {
  bottom: -70px;
  right: -70px;
}

.logo {
  width: min(270px, 78%);
  display: block;
  margin: 0 auto 22px;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.65));
}

.eyebrow,
.section-tag {
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

h1 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 0.98;
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  color: #fff7e8;
}

h2 {
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.08;
  color: #fff7e8;
  margin-bottom: 22px;
}

h3 {
  font-weight: 400;
  font-size: 1.45rem;
  color: #fff7e8;
  margin-bottom: 14px;
}

.hero-text {
  max-width: 630px;
  margin: 22px auto 0;
  color: var(--muted-cream);
  line-height: 1.9;
  font-size: 1.08rem;
}

.event-pill {
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 4px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.button-group {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 14px 24px;
  text-decoration: none;
  border: 1px solid var(--gold);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  color: #150e06;
  background: linear-gradient(135deg, var(--gold-light), #a77f36);
  box-shadow: 0 14px 34px rgba(201, 164, 92, 0.22);
}

.btn-outline {
  color: var(--cream);
  background: transparent;
  border-color: rgba(248, 238, 220, 0.42);
}

.music-btn {
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--muted-cream);
  text-decoration: underline;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
}

.section {
  padding: 86px 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.intro-text {
  max-width: 790px;
  margin: auto;
  color: var(--muted-cream);
  line-height: 2;
  font-size: 1.08rem;
  padding: 32px;
  border-radius: 26px;
  border: 1px solid rgba(230, 204, 143, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.detail-card,
.timeline-card,
.feature-card,
.rsvp-form {
  border: 1px solid rgba(230, 204, 143, 0.25);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(0, 0, 0, 0.20);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.22);
}

.detail-card {
  padding: 24px 16px;
}

.detail-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
}

.detail-card strong {
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 400;
}

.timeline {
  max-width: 850px;
  margin: 32px auto 0;
  display: grid;
  gap: 18px;
}

.timeline-card {
  text-align: left;
  padding: 30px;
  position: relative;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--gold-light), transparent);
}

.timeline-time {
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.timeline-card ul {
  padding-left: 20px;
  color: var(--muted-cream);
  line-height: 1.9;
}

.venue-section {
  background: linear-gradient(180deg, transparent, rgba(31, 50, 28, 0.20), transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.feature-card {
  padding: 22px 14px;
  color: var(--cream);
  font-size: 1.05rem;
}

.rsvp-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  text-align: left;
}

.rsvp-copy p {
  color: var(--muted-cream);
  line-height: 1.9;
  font-size: 1.05rem;
}

.rsvp-form {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.rsvp-form label {
  display: grid;
  gap: 8px;
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.72rem;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid rgba(230, 204, 143, 0.32);
  border-radius: 14px;
  background: rgba(0,0,0,0.32);
  color: var(--cream);
  padding: 14px 14px;
  outline: none;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(248, 238, 220, 0.45);
}

.submit-btn {
  width: 100%;
  margin-top: 4px;
}

.small-note {
  color: rgba(248, 238, 220, 0.55);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.location-text {
  color: var(--muted-cream);
  font-size: 1.12rem;
}

footer {
  text-align: center;
  padding: 48px 20px;
  border-top: 1px solid rgba(230, 204, 143, 0.18);
  background: rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 1;
}

footer img {
  width: 120px;
  margin-bottom: 12px;
  opacity: 0.92;
}

footer p {
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 2px;
}

footer small {
  display: block;
  margin-top: 8px;
  color: var(--muted-cream);
  font-family: Arial, sans-serif;
}

/* Responsive */
@media (max-width: 820px) {
  .navbar {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .details-grid,
  .feature-grid,
  .rsvp-container {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .hero {
    padding-top: 92px;
  }

  .hero-card {
    border-radius: 24px;
  }

  .event-pill {
    font-size: 0.74rem;
  }

  .section {
    padding: 64px 0;
  }
}
/* Custom iPhone-style dropdown */
.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(230, 204, 143, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.32);
  color: var(--cream);
  padding: 15px 16px;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: 0.25s ease;
}

.select-trigger:hover {
  border-color: rgba(230, 204, 143, 0.65);
  box-shadow: 0 0 0 4px rgba(230, 204, 143, 0.08);
}

.select-trigger.active {
  border-color: var(--gold-light);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.select-arrow {
  font-size: 1.4rem;
  color: var(--gold-light);
  transition: 0.25s ease;
}

.select-trigger.active .select-arrow {
  transform: rotate(180deg);
}

.select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  display: none;
  padding: 8px;
  border: 1px solid rgba(230, 204, 143, 0.35);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(40, 30, 18, 0.96), rgba(8, 8, 6, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.custom-select.open .select-menu {
  display: grid;
  gap: 6px;
}

.select-menu button {
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 14px 15px;
  background: transparent;
  color: var(--cream);
  text-align: left;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  cursor: pointer;
  transition: 0.2s ease;
}

.select-menu button:hover {
  background: rgba(230, 204, 143, 0.16);
  color: #fff7e8;
}

.select-menu button.selected {
  background: linear-gradient(135deg, rgba(230, 204, 143, 0.28), rgba(82, 100, 63, 0.22));
  color: var(--gold-light);
}
/* Event details jadi satu-satu ke bawah di phone */
@media (max-width: 600px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-card {
    width: 100%;
    min-height: 120px;
    padding: 22px 16px;
    border-radius: 24px;
  }

  .detail-card:nth-child(4) {
    grid-column: auto;
  }

  .detail-card strong {
    font-size: 1rem;
    line-height: 1.4;
  }
}
/* Full premium scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(4px);
  transition:
    opacity 1.15s ease,
    transform 1.15s ease,
    filter 1.15s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Animation untuk element yang datang dari kiri */
.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  filter: blur(4px);
  transition:
    opacity 1.15s ease,
    transform 1.15s ease,
    filter 1.15s ease;
}

.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* Animation untuk element yang datang dari kanan */
.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  filter: blur(4px);
  transition:
    opacity 1.15s ease,
    transform 1.15s ease,
    filter 1.15s ease;
}

.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* Delay supaya keluar satu-satu, nampak mahal */
.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

.delay-4 {
  transition-delay: 0.48s;
}

.delay-5 {
  transition-delay: 0.6s;
}

/* Hero animation masa mula buka website */
.hero-card {
  animation: heroFadeUp 1.4s ease both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(38px) scale(0.98);
    filter: blur(5px);
  }

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

/* Button nampak smooth bila hover */
.btn,
.music-btn,
.select-trigger,
.submit-btn {
  transition: 0.3s ease;
}

.btn:hover,
.submit-btn:hover {
  transform: translateY(-4px) scale(1.02);
}

/* Untuk user yang off animation */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .hero-card {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }
}
/* Premium opening screen */
.enter-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(82, 100, 63, 0.28), transparent 35%),
    linear-gradient(135deg, #030302, #151007, #251407);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.enter-card {
  width: min(430px, 92%);
  text-align: center;
  padding: 38px 28px;
  border: 1px solid rgba(230, 204, 143, 0.35);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(0,0,0,0.34);
  box-shadow: 0 30px 90px rgba(0,0,0,0.65);
  backdrop-filter: blur(14px);
  animation: enterFade 1.2s ease both;
}

.enter-card img {
  width: 180px;
  margin-bottom: 18px;
}

.enter-card p {
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  margin-bottom: 8px;
}

.enter-card h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.enter-card button {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--gold-light), #a77f36);
  color: #150e06;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  cursor: pointer;
}

.enter-card small {
  display: block;
  margin-top: 16px;
  color: rgba(248, 238, 220, 0.68);
  font-family: Arial, sans-serif;
}

@keyframes enterFade {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
/* Premium hero event details */
.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 34px auto 8px;
}

.hero-detail-item {
  padding: 18px 14px;
  border: 1px solid rgba(230, 204, 143, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.24);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.hero-detail-item small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.hero-detail-item strong {
  display: block;
  color: #fff7e8;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}

/* Phone view */
@media (max-width: 600px) {
  .hero-details {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-detail-item {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .hero-detail-item strong {
    font-size: 1rem;
  }
}
.music-btn {
  margin-top: 18px;
  border: 1px solid rgba(230, 204, 143, 0.35);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--gold-light);
  text-decoration: none;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  backdrop-filter: blur(10px);
}

.music-btn:hover {
  border-color: var(--gold-light);
  background: rgba(230, 204, 143, 0.10);
}
/* Real Google Maps logo inside button */
.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.google-map-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
/* Fix dropdown bertindih di phone */
.custom-select {
  position: relative;
  z-index: 5;
}

.custom-select.open {
  z-index: 999;
}

.select-menu {
  z-index: 1000;
}

/* Mobile: dropdown turun ke bawah, tidak overlap field lain */
@media (max-width: 600px) {
  .custom-select.open {
    z-index: 9999;
  }

  .custom-select.open .select-menu {
    position: static;
    display: grid;
    margin-top: 10px;
    width: 100%;
    max-height: none;
    z-index: 9999;
  }

  .select-menu {
    border-radius: 18px;
  }

  .select-menu button {
    padding: 15px 16px;
    font-size: 0.95rem;
  }

  .rsvp-form {
    overflow: visible;
  }

  .rsvp-form label {
    position: relative;
  }
}
/* FIX: Dropdown tidak bertindih di phone */
.rsvp-form {
  overflow: visible !important;
}

.rsvp-form label {
  position: relative;
  overflow: visible !important;
}

.custom-select {
  position: relative !important;
  z-index: 5;
}

.custom-select.open {
  z-index: 9999 !important;
}

.custom-select.open .select-menu {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: grid !important;
  width: 100% !important;
  margin-top: 10px !important;
  max-height: none !important;
  z-index: 9999 !important;
}

.select-menu {
  border-radius: 18px !important;
}

.select-menu button {
  position: relative;
  z-index: 1;
}
/* iPhone style blur focus when dropdown is open */
.select-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.select-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

body.dropdown-open .rsvp-form {
  position: relative;
  z-index: 9999;
}

body.dropdown-open .rsvp-form > label,
body.dropdown-open .submit-btn,
body.dropdown-open .small-note {
  filter: blur(2px);
  opacity: 0.35;
  pointer-events: none;
  transition: 0.25s ease;
}

body.dropdown-open .rsvp-form > label.active-select-label {
  filter: blur(0);
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 10002;
}

body.dropdown-open .custom-select.open {
  position: relative;
  z-index: 10003;
}

body.dropdown-open .custom-select.open .select-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  display: grid !important;
  width: 100% !important;
  z-index: 10004 !important;
  pointer-events: auto;
}

body.dropdown-open .custom-select.open .select-menu button {
  pointer-events: auto;
}
/* FINAL FIX: Dropdown popup clear, background blur, no tindih */
body.dropdown-open .rsvp-form > label,
body.dropdown-open .submit-btn,
body.dropdown-open .small-note {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.dropdown-open .rsvp-form > label.active-select-label {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.select-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9998 !important;
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.select-backdrop.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.dropdown-open .rsvp-form {
  position: relative !important;
  z-index: 9999 !important;
}

body.dropdown-open .custom-select.open {
  position: relative !important;
  z-index: 10000 !important;
}

body.dropdown-open .custom-select.open .select-menu {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(420px, 86vw) !important;
  display: grid !important;
  gap: 8px !important;
  padding: 12px !important;
  z-index: 10001 !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(44, 32, 20, 0.98), rgba(9, 8, 6, 0.98)) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75) !important;
  border: 1px solid rgba(230, 204, 143, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

body.dropdown-open .custom-select.open .select-menu button {
  color: var(--cream) !important;
  padding: 17px 18px !important;
  font-size: 1rem !important;
  border-radius: 16px !important;
  text-align: center !important;
  pointer-events: auto !important;
}

body.dropdown-open .custom-select.open .select-menu button:hover,
body.dropdown-open .custom-select.open .select-menu button.selected {
  background: linear-gradient(135deg, rgba(230, 204, 143, 0.30), rgba(82, 100, 63, 0.24)) !important;
  color: var(--gold-light) !important;
}
/* UNDO BLUR DROPDOWN - kembali normal tanpa blur */
.select-backdrop {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.dropdown-open header,
body.dropdown-open main,
body.dropdown-open footer,
body.dropdown-open .rsvp-form,
body.dropdown-open .rsvp-form > label,
body.dropdown-open .submit-btn,
body.dropdown-open .small-note {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.dropdown-open .custom-select.open .select-menu,
.custom-select.open .select-menu {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  display: grid !important;
  margin-top: 10px !important;
  z-index: 999 !important;
  border-radius: 18px !important;
}

.custom-select.open {
  z-index: 999 !important;
}