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

html,
body {
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  font-family: "Archivo Black", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #0a0a0a;
}

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

.veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.26) 70%,
    rgba(0, 0, 0, 0.38) 100%
  );
  pointer-events: none;
}

.overlay {
  position: relative;
  z-index: 1;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 7vh, 4.5rem);
  padding: 1.5rem;
  text-align: center;
}

.brand {
  margin: 0;
  line-height: 0;
  opacity: 0;
  animation: rise-in 1.1s ease 0.15s forwards;
}

/* PNG is pure white with an alpha channel, so opacity lets the video read through */
.logo {
  display: block;
  width: min(78vw, 460px);
  height: auto;
  user-select: none;
  opacity: 0.72;
}

.tickets {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(58vw, 12rem);
  padding: 0.34rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Archivo Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 5vw, 1.9rem);
  letter-spacing: 0.42em;
  line-height: 1;
  padding-left: calc(0.6rem + 0.42em);
  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
  opacity: 0;
  animation: rise-in 1.1s ease 0.4s forwards;
}

.tickets:hover,
.tickets:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  color: #141414;
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.tickets:active {
  transform: translateY(0);
  box-shadow: none;
}

.social {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  opacity: 0;
  animation: rise-in 1.1s ease 0.55s forwards;
}

/* Same treatment as the wordmark: white with a slight see-through */
.social-link {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  color: #fff;
  opacity: 0.68;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.social-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-link:hover,
.social-link:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  outline: none;
}

.sound-toggle {
  position: fixed;
  z-index: 2;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  opacity: 0;
  animation: rise-in 1.1s ease 0.55s forwards;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.9);
  outline: none;
}

.sound-toggle:active {
  transform: scale(0.96);
}

.sound-toggle .icon {
  width: 1.05rem;
  height: 1.05rem;
  display: none;
}

.sound-toggle[aria-pressed="false"] .icon-muted,
.sound-toggle[aria-pressed="true"] .icon-on {
  display: block;
}

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

@media (min-width: 768px) {
  .logo {
    width: min(40vw, 520px);
  }

  .tickets {
    min-width: 15rem;
    margin-top: clamp(1rem, 3vh, 2rem);
  }

  .social {
    gap: 2rem;
  }

  .social-link {
    width: 2.05rem;
    height: 2.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .tickets,
  .social,
  .sound-toggle {
    animation: none;
    opacity: 1;
  }

  .logo {
    opacity: 0.72;
  }

  .social-link {
    opacity: 0.68;
  }

  .tickets,
  .social-link,
  .sound-toggle {
    transition: none;
  }
}
