/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: "Inter", sans-serif;
  background: #0b0b0f;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  position: unset;
  background-color: unset;
}

/* =========================
   INTRO LOADER
========================= */
#intro-loader {
  position: fixed;
  inset: 0;
  background: #0b0b0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 1.2s ease,
    visibility 1.2s ease;
}

#intro-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  animation: luxuryFade 2s ease forwards;
}

.loader-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(
    32px,
    8vw,
    70px
  ); /* scales between 32px and 70px depending on viewport width */
  color: #d4a5ff;
  letter-spacing: 4px;
  white-space: nowrap; /* prevent wrapping */
  text-align: center;
}

.loader-content p {
  margin-top: 10px;
  opacity: 0.8;
  letter-spacing: 2px;
  font-size: clamp(
    8px,
    8vw,
    24px
  );
}

@keyframes luxuryFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.8)
  );
  z-index: 1;
}

#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  padding: 0 15px;
}

.hero-inner h1 {
  font-family: "Playfair Display", serif;
  font-size: 70px;
  margin-bottom: 20px;
  color: #d4a5ff;
  letter-spacing: 4px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1.8s ease forwards;
  animation-delay: 2.2s;
}

.hero-inner p,
#countdown {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1.8s ease forwards;
  animation-delay: 2.8s;
}

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

.swipe-cue {
  position: absolute;
  left: 50%;
  bottom: 12vh;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.92;
  animation: swipePulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.swipe-cue p {
  margin: 0;
}

.swipe-arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid #d4a5ff;
  border-bottom: 2px solid #d4a5ff;
  transform: rotate(135deg);
  animation: swipeBounce 1.6s ease-in-out infinite;
}

@keyframes swipeBounce {
  0%,
  100% {
    transform: translateY(0) rotate(135deg);
    opacity: 0.8;
  }

  50% {
    transform: translateY(10px) rotate(135deg);
    opacity: 1;
  }
}

@keyframes swipePulse {
  0%,
  100% {
    opacity: 0.9;
  }

  50% {
    opacity: 1;
  }
}

/* =========================
   PANELS & GLASS CARDS
========================= */
.panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.panel img.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.panel.dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to bottom, #111, #0b0b0f);
}

.image-panel .overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.panel .inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

h2 {
  font-size: 72px;
  margin-bottom: 20px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(212, 165, 255, 0.2);
  position: relative;
  z-index: 2;
  text-align: center;
}

.glass-card .icon {
  font-size: 40px;
  margin-top: 15px;
}

/* Reveal Animations */
.panel .inner {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.panel .inner.active {
  opacity: 1;
  transform: translateY(0);
}

.panel .inner > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.panel .inner.active > * {
  opacity: 1;
  transform: translateY(0);
}

.panel .inner.active > *:nth-child(1) {
  transition-delay: 0.1s;
}

.panel .inner.active > *:nth-child(2) {
  transition-delay: 0.3s;
}

.panel .inner.active > *:nth-child(3) {
  transition-delay: 0.5s;
}

.panel .inner.active > *:nth-child(4) {
  transition-delay: 0.7s;
}

.panel .inner.active > *:nth-child(5) {
  transition-delay: 0.9s;
}

.panel .inner.active > *:nth-child(6) {
  transition-delay: 1.1s;
}

.panel .inner.active > *:nth-child(7) {
  transition-delay: 1.3s;
}

.panel .inner.active > *:nth-child(8) {
  transition-delay: 1.5s;
}

.panel .inner.active > *:nth-child(9) {
  transition-delay: 1.7s;
}

.panel .inner.active > *:nth-child(10) {
  transition-delay: 1.9s;
}

.panel .inner.active > *:nth-child(11) {
  transition-delay: 2.1s;
}

.panel .inner.active > *:nth-child(12) {
  transition-delay: 2.3s;
}

.section-bodyText {
  padding: 4px;
}

.section-bodyText img{
  width: 1.4em;
  height: 1.4em;
}

/* Countdown */
#countdown {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: nowrap;
  justify-content: center;
}

#countdown div {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 18px 20px;
  border-radius: 12px;
  /* text-align: center; */
}

/* =========================
   FOOTER
========================= */
footer {
  width: 100%;
  text-align: center;
  scroll-snap-align: none;
  position: absolute;
  bottom: 0;
  z-index: 2;
}
.footer-inner {
  background: #000;
  padding: 20px;
}

.panel.reception::after {
  content: "";
  display: block;
  height: 120px;
}

/* =========================
   PROGRESS & NAVIGATION
========================= */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: #d4a5ff;
  width: 0;
  z-index: 9999;
}

#dot-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}

#dot-nav ul {
  list-style: none;
}

#dot-nav li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #555;
  margin: 15px 0;
  cursor: pointer;
  transition: 0.3s;
}

#dot-nav li.active {
  background: #d4a5ff;
}

/* =========================
   PARTICLES & CONFETTI
========================= */
#confetti {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
}

.reception {
  /* background: url("assets/images/reception.png") center/cover no-repeat #000; */
  position: relative;
}

.reception-img {
  position: absolute;
}

.mb-24{
  display: inline-block;
  margin-bottom: 24px;
}

.mt-24{
  display: inline-block;
  margin-top: 24px;
}

.mt-12{
  display: inline-block;
  margin-top: 12px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 2560px) {
  .hero-inner h1 {
    font-size: 80px;
  }

  .hero-inner p {
    font-size: 30px;
  }

  h2 {
    font-size: 36px;
  }

  #countdown div {
    padding: 26px 28px;
    font-size: 30px;
  }

  .glass-card {
    padding: 30px;
  }

  #dot-nav {
    right: 15px;
  }
}

@media (max-width: 1440px) {
  .hero-inner h1 {
    font-size: 56px;
  }

  .hero-inner p {
    font-size: 18px;
  }

  h2 {
    font-size: 36px;
  }

  #countdown div {
    padding: 14px 16px;
    font-size: 18px;
  }

  .glass-card {
    padding: 30px;
  }

  #dot-nav {
    right: 15px;
  }
}

@media (max-width: 1024px) {
  .hero-inner h1 {
    font-size: 42px;
  }

  .hero-inner p {
    font-size: 16px;
  }

  h2 {
    font-size: 32px;
  }

  #countdown div {
    padding: 12px 14px;
    font-size: 16px;
  }

  .glass-card {
    padding: 25px;
  }

  #dot-nav {
    right: 15px;
  }
}

@media (max-width: 768px) {
  .hero-inner h1 {
    font-size: 37px;
  }

  .hero-inner p {
    font-size: 14px;
  }

  #countdown div {
    padding: 10px 12px;
    font-size: 14px;
  }

  h2 {
    font-size: 28px;
  }

  .glass-card {
    padding: 20px;
  }

  #dot-nav {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .hero-inner h1 {
    font-size: 27px;
  }

  .hero-inner p {
    font-size: 12px;
  }

  #countdown {
    gap: 10px;
  }

  #countdown div {
    padding: 8px 10px;
    font-size: 12px;
  }

  h2 {
    font-size: 24px;
  }

  .glass-card {
    padding: 15px;
  }
}

@media (max-width: 150px) {
  body {
    position: absolute;
    left: 99999px;
    top: -99999px;
    background-color: #000;
  }
}

svg{
  margin-bottom: -5px;
}

a {
  color: #ffffff;
  text-decoration: none;
}