@font-face {
  font-family: "Bruno Ace SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/BrunoAceSC-Regular-latin.woff2") format("woff2"),
       url("/assets/fonts/BrunoAceSC-Regular.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg-1: #020712;
  --bg-2: #071427;
  --panel: rgba(8, 16, 34, 0.9);
  --panel-edge: rgba(126, 233, 255, 0.18);
  --track: rgba(77, 202, 235, 0.12);
  --laser: #78ecff;
  --laser-soft: rgba(120, 236, 255, 0.24);
  --text-main: #f8fafc;
  --text-sub: rgba(226, 232, 240, 0.82);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Avenir Next Rounded", "Nunito Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 18%, rgba(70, 204, 255, 0.1), transparent 26%),
    radial-gradient(circle at 82% 88%, rgba(68, 139, 255, 0.08), transparent 28%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 52%, #020814 100%);
  color: var(--text-main);
}

body {
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  isolation: isolate;
}

.stage::before,
.stage::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
}

.stage::before {
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  top: 8%;
  left: 11%;
  background: rgba(40, 182, 237, 0.12);
  animation: spotlight-left 18s ease-in-out infinite alternate;
}

.stage::after {
  width: min(38vw, 500px);
  height: min(38vw, 500px);
  right: 8%;
  bottom: 4%;
  background: rgba(59, 130, 246, 0.08);
  animation: spotlight-right 22s ease-in-out infinite alternate;
}

.panel {
  position: relative;
  width: min(100%, 700px);
  padding: 78px 56px 70px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 15, 31, 0.96), rgba(4, 9, 21, 0.98));
  box-shadow:
    0 28px 120px rgba(2, 6, 23, 0.82),
    0 0 80px rgba(56, 189, 248, 0.12);
  overflow: visible;
}

.pulse-frame {
  position: absolute;
  inset: -22px;
  pointer-events: none;
  z-index: 2;
}

.pulse-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  pointer-events: none;
}

.pulse-frame::after {
  border: 2px solid rgba(120, 236, 255, 0.42);
  box-shadow:
    0 0 18px rgba(120, 236, 255, 0.22),
    0 0 42px rgba(56, 189, 248, 0.16),
    inset 0 0 16px rgba(120, 236, 255, 0.08);
  animation: frame-pulse 4.2s ease-in-out infinite;
}

.content {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.brand {
  margin: 0;
  font-size: clamp(4rem, 15vw, 7rem);
  font-family: "Bruno Ace SC", "Avenir Next Rounded", "Nunito Sans", "Segoe UI", sans-serif;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  font-weight: 800;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  text-shadow: 0 0 30px rgba(120, 236, 255, 0.08);
  animation: reveal 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tagline {
  margin: 0;
  font-size: clamp(0.72rem, 1.8vw, 0.96rem);
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  text-transform: uppercase;
  color: var(--text-sub);
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

@keyframes frame-pulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.995);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.008);
  }
}

@keyframes spotlight-left {
  0% {
    transform: translate3d(-2%, -3%, 0) scale(0.98);
    opacity: 0.28;
  }
  50% {
    transform: translate3d(10%, 4%, 0) scale(1.08);
    opacity: 0.46;
  }
  100% {
    transform: translate3d(18%, 10%, 0) scale(1.02);
    opacity: 0.34;
  }
}

@keyframes spotlight-right {
  0% {
    transform: translate3d(4%, 2%, 0) scale(1);
    opacity: 0.22;
  }
  50% {
    transform: translate3d(-8%, -8%, 0) scale(1.1);
    opacity: 0.34;
  }
  100% {
    transform: translate3d(-14%, -14%, 0) scale(1.04);
    opacity: 0.26;
  }
}

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

@media (max-width: 720px) {
  .stage {
    padding: 20px;
  }

  .panel {
    padding: 58px 26px 54px;
    border-radius: 28px;
  }

  .pulse-frame {
    inset: -16px;
  }

  .brand {
    letter-spacing: 0.03em;
    text-indent: 0.03em;
  }

  .tagline {
    letter-spacing: 0.34em;
    text-indent: 0.34em;
  }
}
