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

:root {
  --color-bg: #0a0a0a;
  --color-orange: #ff6600;
  --color-orange-light: #ff9a3c;
  --color-orange-dark: #e65100;
  --color-text: #f5f5f5;
  --color-text-muted: #a3a3a3;
  --font-display: "Dancing Script", cursive;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient glow background */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40rem 40rem at 50% -10%, rgba(255, 102, 0, 0.22), transparent 60%),
    radial-gradient(30rem 30rem at 85% 20%, rgba(255, 154, 60, 0.14), transparent 55%),
    radial-gradient(35rem 35rem at 10% 80%, rgba(230, 81, 0, 0.16), transparent 60%);
  animation: glowPulse 9s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.75; transform: scale(1); }
  to   { opacity: 1;    transform: scale(1.08); }
}

/* Floating confetti */

.confetti {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.confetti span {
  position: absolute;
  top: -5vh;
  width: 9px;
  height: 9px;
  background: var(--color-orange);
  border-radius: 2px;
  opacity: 0;
  animation: fall linear infinite;
}

.confetti span:nth-child(odd)  { background: var(--color-orange-light); width: 7px; height: 7px; }
.confetti span:nth-child(3n)   { background: #ffffff; opacity: 0; }

.confetti span:nth-child(1)  { left: 6%;  animation-duration: 11s; animation-delay: 0s;   }
.confetti span:nth-child(2)  { left: 16%; animation-duration: 14s; animation-delay: 2s;   }
.confetti span:nth-child(3)  { left: 26%; animation-duration: 9s;  animation-delay: 4s;   }
.confetti span:nth-child(4)  { left: 36%; animation-duration: 13s; animation-delay: 1s;   }
.confetti span:nth-child(5)  { left: 46%; animation-duration: 10s; animation-delay: 5s;   }
.confetti span:nth-child(6)  { left: 56%; animation-duration: 15s; animation-delay: 3s;   }
.confetti span:nth-child(7)  { left: 66%; animation-duration: 12s; animation-delay: 6s;   }
.confetti span:nth-child(8)  { left: 76%; animation-duration: 9s;  animation-delay: 2s;   }
.confetti span:nth-child(9)  { left: 86%; animation-duration: 14s; animation-delay: 4s;   }
.confetti span:nth-child(10) { left: 94%; animation-duration: 11s; animation-delay: 7s;   }
.confetti span:nth-child(11) { left: 31%; animation-duration: 16s; animation-delay: 8s;   }
.confetti span:nth-child(12) { left: 71%; animation-duration: 13s; animation-delay: 9s;   }

@keyframes fall {
  0%   { transform: translateY(0) rotate(0deg);      opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { transform: translateY(108vh) rotate(540deg); opacity: 0; }
}

/* Stage */

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.75rem;
  padding: 4rem 1.5rem 3rem;
}

/* Badge */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange-light);
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  animation: rise 0.7s ease forwards 0.1s;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.6);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 102, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

/* Logo */

.logo-wrap {
  position: relative;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.25s;
}

.logo-wrap::after {
  content: "";
  position: absolute;
  inset: -8% -4%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 102, 0, 0.28), transparent 75%);
  filter: blur(10px);
}

.logo {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* Tagline */

.tagline {
  max-width: 30rem;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 500;
  color: var(--color-text-muted);
  opacity: 0;
  animation: rise 0.8s ease forwards 0.45s;
}

.tagline .accent {
  color: var(--color-orange);
  font-weight: 800;
}

/* Card */

.card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: rise 0.8s ease forwards 0.6s;
}

.pin {
  width: 28px;
  height: 28px;
  color: var(--color-orange);
}

.address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.address-street {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.address-city {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-orange));
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(255, 102, 0, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-link svg {
  width: 16px;
  height: 16px;
}

.map-link:hover,
.map-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(255, 102, 0, 0.85);
  outline: none;
}

/* Footer */

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  opacity: 0;
  animation: rise 0.8s ease forwards 0.8s;
}

/* Entrance animation */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Desktop */

@media (min-width: 768px) {
  .stage {
    gap: 2rem;
    padding: 5rem 2rem 3rem;
  }

  .logo {
    max-width: 460px;
  }

  .card {
    padding: 2rem 2.75rem;
  }
}

/* Respect reduced motion */

@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .confetti span,
  .badge-dot,
  .badge,
  .logo-wrap,
  .tagline,
  .card,
  .site-footer {
    animation: none;
    opacity: 1;
  }
  .confetti { display: none; }
}
