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

@font-face {
  font-family: "TikTok Sans";
  src: url("fonts/TikTokSans[opsz,slnt,wdth,wght].woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 75% 150%;
  font-style: oblique -6deg 0deg;
  font-display: block;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "TikTok Sans", sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.static-mode .stars {
  opacity: 1;
}

body.static-mode .stars,
body.static-mode .star,
body.static-mode .glow,
body.static-mode .glow-soft,
body.static-mode .wave-band {
  animation: none;
}

body.static-mode .star {
  opacity: 0.7;
  filter: none;
}

@media (max-width: 1024px) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .stars {
    opacity: 1;
  }

  .star {
    opacity: 0.7;
    filter: none;
  }

  .content .word {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .mobile-break {
    display: inline;
  }
}

.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vw, 64px);
  background: #000;
}

.content {
  position: relative;
  width: min(744px, 90vw);
  text-align: center;
  z-index: 2;
  margin: 0 auto;
  user-select: none;
}

.content h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 350;
  font-variation-settings:
    "wdth" 120;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.content p {
  margin-top: clamp(12px, 2vw, 20px);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.02em;
  opacity: 0.55;
  max-width: min(592px, 90vw);
  margin-left: auto;
  margin-right: auto;
}

.mobile-break {
  display: none;
}

.content .word {
  display: inline-block;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.glow,
.wave-band {
  will-change: transform, opacity;
  transform: translateZ(0);
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: glow-rise 1.1s ease-out both 0.2s;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: 0;
  animation-name: star-rise, star-pulse;
  animation-duration: 1s, var(--star-duration, 4.8s);
  animation-delay: 0s, var(--star-delay, 0s);
  animation-timing-function: ease-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, both;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.65));
}

.glow {
  position: absolute;
  width: clamp(520px, 85vw, 1600px);
  height: clamp(220px, 34vw, 520px);
  filter: blur(120px);
  opacity: 1;
  animation: glow-rise 1.1s ease-out both;
}

.glow-left {
  left: -10%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(238, 135, 32, 1), rgba(238, 135, 32, 0.65) 45%, rgba(238, 135, 32, 0.2) 70%, transparent 88%);
  animation-delay: 0.05s;
}

.glow-right {
  right: -10%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(229, 7, 7, 1), rgba(229, 7, 7, 0.65) 45%, rgba(229, 7, 7, 0.2) 70%, transparent 88%);
  animation-delay: 0.1s;
}

.glow-center {
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  width: clamp(520px, 80vw, 1500px);
  height: clamp(240px, 36vw, 560px);
  filter: blur(130px);
  opacity: 1;
  background: radial-gradient(circle, rgba(179, 3, 3, 1), rgba(179, 3, 3, 0.7) 45%, rgba(179, 3, 3, 0.25) 70%, transparent 88%);
  animation-delay: 0.15s;
}

.glow-soft {
  left: 50%;
  bottom: -18%;
  transform: translateX(-50%);
  width: clamp(700px, 100vw, 2000px);
  height: clamp(320px, 40vw, 720px);
  filter: blur(160px);
  opacity: 1;
  background: radial-gradient(circle, rgba(238, 135, 32, 0.8), rgba(238, 135, 32, 0.4) 50%, rgba(238, 135, 32, 0.15) 75%, transparent 90%);
  animation: glow-rise 1.1s ease-out both 0.2s, glow-soft-float 2.6s ease-in-out infinite 1.1s;
}

.glow-text {
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: clamp(320px, 55vw, 820px);
  height: clamp(140px, 22vw, 280px);
  filter: blur(90px);
  opacity: 0.9;
  background: radial-gradient(circle, rgba(229, 7, 7, 0.9), rgba(179, 3, 3, 0.45) 55%, transparent 80%);
  z-index: 1;
}

.wave-band {
  position: absolute;
  left: -20%;
  bottom: -4%;
  width: 140%;
  height: clamp(260px, 34vw, 560px);
  background:
    radial-gradient(120% 120% at 50% 130%, rgba(238, 135, 32, 1) 0%, rgba(229, 7, 7, 0.95) 38%, rgba(179, 3, 3, 0.85) 60%, transparent 82%),
    radial-gradient(120% 120% at 0% 130%, rgba(238, 135, 32, 1) 0%, rgba(179, 3, 3, 0.85) 50%, transparent 80%),
    radial-gradient(120% 120% at 100% 130%, rgba(238, 135, 32, 1) 0%, rgba(179, 3, 3, 0.85) 50%, transparent 80%);
  filter: blur(10px);
  opacity: 1;
  z-index: 1;
  animation: glow-rise 1.1s ease-out both 0.25s, wave-drift 2.4s ease-in-out infinite 1.1s;
}

.shadow-ellipse {
  position: absolute;
  left: -28%;
  bottom: -26%;
  width: 156%;
  height: clamp(260px, 34vw, 460px);
  background: #000;
  opacity: 1;
  border-radius: 50% 50% 0 0;
  z-index: 1;
}

@keyframes wave-drift {
  0% {
    transform: translateY(0) scaleX(1);
  }
  50% {
    transform: translateY(36px) scaleX(1.06);
  }
  100% {
    transform: translateY(0) scaleX(1);
  }
}

@keyframes glow-soft-float {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 40px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

@keyframes glow-soft-float-mobile {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 22px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

@keyframes star-pulse {
  0% {
    opacity: 0;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.95));
  }
  100% {
    opacity: 0;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
  }
}

@keyframes glow-rise {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes wave-drift-mobile {
  0% {
    transform: translateY(0) scaleX(1);
  }
  50% {
    transform: translateY(18px) scaleX(1.03);
  }
  100% {
    transform: translateY(0) scaleX(1);
  }
}

@supports (-webkit-touch-callout: none) {
  body {
    -webkit-font-smoothing: auto;
  }

  .content h1 {
    font-weight: 400;
  }

  .content p {
    font-weight: 350;
  }
}

@media (max-width: 700px) {
  .page {
    padding-top: clamp(32px, 10vw, 64px);
  }

  .content h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.25;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
  }

  .content p {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.5;
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
  }

  .stars,
  .wave-band,
  .shadow-ellipse {
    width: 100%;
    left: 0;
  }

  .star {
    animation: none;
    opacity: 0.7;
    filter: none;
  }

  .glow-left {
    bottom: 10%;
  }

  .glow-right {
    bottom: 8%;
  }

  .glow-center {
    bottom: 12%;
    height: clamp(280px, 54vw, 680px);
  }

  .glow-soft {
    bottom: 8%;
    filter: blur(70px);
    background: radial-gradient(circle, rgba(238, 135, 32, 0.95), rgba(238, 135, 32, 0.55) 50%, rgba(238, 135, 32, 0.2) 78%, transparent 90%);
    animation: glow-rise 1.1s ease-out both 0.2s;
  }

  .wave-band {
    bottom: 16%;
    height: clamp(300px, 56vw, 640px);
    filter: blur(8px);
    background:
      radial-gradient(120% 120% at 50% 130%, rgba(238, 135, 32, 1) 0%, rgba(229, 7, 7, 1) 40%, rgba(179, 3, 3, 0.95) 62%, transparent 84%),
      radial-gradient(120% 120% at 0% 130%, rgba(238, 135, 32, 1) 0%, rgba(179, 3, 3, 0.95) 55%, transparent 82%),
      radial-gradient(120% 120% at 100% 130%, rgba(238, 135, 32, 1) 0%, rgba(179, 3, 3, 0.95) 55%, transparent 82%);
    animation: glow-rise 1.1s ease-out both 0.25s;
  }

  .shadow-ellipse {
    left: -20%;
    transform: none;
    bottom: -16%;
    width: 140%;
    height: 360px;
  }
}

@media (max-width: 420px) {
  .wave-band {
    bottom: 14%;
    height: clamp(280px, 60vw, 600px);
  }

  .shadow-ellipse {
    bottom: -18%;
    height: 340px;
  }
}

@media (max-width: 375px) and (max-height: 667px) {
  .wave-band {
    bottom: 14%;
  }

  .shadow-ellipse {
    bottom: -18%;
  }
}

@media (max-width: 1024px) and (min-width: 701px) and (orientation: portrait) {
  .wave-band {
    bottom: 6%;
    height: clamp(300px, 40vw, 520px);
  }

  .shadow-ellipse {
    bottom: -18%;
    height: clamp(300px, 40vw, 520px);
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .wave-band {
    bottom: 4%;
    height: clamp(220px, 32vw, 420px);
  }

  .shadow-ellipse {
    bottom: -20%;
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stars,
  .star,
  .glow,
  .glow-soft,
  .wave-band {
    animation: none;
  }
}
