:root {
  --ink: #07131c;
  --deep: #0c2433;
  --teal: #1fa6a0;
  --coral: #ff5a3c;
  --sun: #f2c14e;
  --foam: #e8f2f0;
}

html {
  scroll-behavior: smooth;
}

.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--foam);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--sun);
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  color: var(--foam);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

#site-header.is-scrolled {
  background: rgba(7, 19, 28, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 28, 0.55) 0%, rgba(7, 19, 28, 0.35) 40%, rgba(7, 19, 28, 0.78) 100%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(31, 166, 160, 0.22), transparent 55%);
}

.hero-logo {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.credit-link {
  font-weight: 600;
  color: var(--sun);
}
.credit-link:hover {
  text-decoration: underline;
}

.countdown-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
@media (min-width: 1024px) {
  .countdown-wrap {
    flex-wrap: nowrap;
  }
}
.countdown-item {
  min-width: 4.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 19, 28, 0.45);
  padding: 0.7rem 0.65rem 0.55rem;
  text-align: center;
}
.countdown-num {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--sun);
}
.countdown-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(155, 180, 184, 0.9);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.cta-primary:hover {
  background: var(--sun);
  color: var(--ink);
  transform: translateY(-1px);
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(232, 242, 240, 0.25);
  color: var(--foam);
  padding: 0.85rem 1.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cta-ghost:hover {
  border-color: var(--teal);
  background: rgba(31, 166, 160, 0.12);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.45;
  animation: floaty 12s ease-in-out infinite;
}
.hero-orb-a {
  width: 28rem;
  height: 28rem;
  background: rgba(31, 166, 160, 0.45);
  top: 8%;
  right: -8%;
}
.hero-orb-b {
  width: 22rem;
  height: 22rem;
  background: rgba(255, 90, 60, 0.35);
  bottom: 5%;
  left: -6%;
  animation-delay: -4s;
}
.hero-orb-c {
  width: 18rem;
  height: 18rem;
  background: rgba(242, 193, 78, 0.25);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.04);
  }
}

.scroll-hint {
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: rgba(155, 180, 184, 0.8);
  animation: pulse-hint 2.4s ease-in-out infinite;
}
@keyframes pulse-hint {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}

.experience-card {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.experience-media {
  position: absolute;
  inset: 0;
}
.experience-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #123041, #0c2433 40%, #1fa6a0);
}
.experience-fallback[data-index="1"] {
  background: linear-gradient(135deg, #2a1210, #0c2433 45%, #ff5a3c);
}
.experience-fallback[data-index="2"] {
  background: linear-gradient(135deg, #1b2a12, #0c2433 45%, #f2c14e);
}
.experience-fallback[data-index="3"] {
  background: linear-gradient(160deg, #0c2433, #1fa6a0 70%, #07131c);
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: linear-gradient(145deg, rgba(31, 166, 160, 0.15), rgba(7, 19, 28, 0.8));
  color: rgba(155, 180, 184, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.gallery-placeholder[data-index="1"],
.gallery-placeholder[data-index="4"] {
  background: linear-gradient(145deg, rgba(255, 90, 60, 0.18), rgba(7, 19, 28, 0.85));
}
.gallery-placeholder[data-index="2"],
.gallery-placeholder[data-index="5"] {
  background: linear-gradient(145deg, rgba(242, 193, 78, 0.16), rgba(7, 19, 28, 0.85));
}

.sponsor-chip {
  display: inline-flex;
  min-width: 9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  color: var(--foam);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sponsor-chip:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

details summary::-webkit-details-marker {
  display: none;
}
