:root {
  --black: #050407;
  --charcoal: #141016;
  --red: #ff183d;
  --hot-red: #ff335c;
  --deep-red: #7d0019;
  --white: #fff4f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, sans-serif;
}

.arena {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: 100vh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 24, 61, 0.28), transparent 27%),
    radial-gradient(circle at 80% 78%, rgba(255, 51, 92, 0.2), transparent 24%),
    linear-gradient(135deg, #0c070b 0%, #151015 45%, #050407 100%);
}

.arena::before {
  position: absolute;
  inset: -25%;
  content: "";
  background:
    conic-gradient(from 45deg at 50% 50%, transparent 0 15%, rgba(255, 24, 61, 0.12) 16% 19%, transparent 20% 50%, rgba(255, 24, 61, 0.1) 51% 54%, transparent 55% 100%),
    repeating-linear-gradient(115deg, transparent 0 42px, rgba(255, 255, 255, 0.045) 43px 44px);
  opacity: 0.9;
  transform: rotate(0deg) scale(1.1);
  animation: rotate-field 30s linear infinite;
  z-index: 0;
}

.arena::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(transparent 0 48%, rgba(255, 24, 61, 0.16) 49%, transparent 51% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: scan 4s ease-in-out infinite;
  z-index: 4;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 24, 61, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 24, 61, 0.16) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 100%);
  perspective: 700px;
  transform: rotateX(62deg) translateY(30vh) scale(1.25);
  transform-origin: center bottom;
  animation: grid-run 1.9s linear infinite;
  z-index: 1;
}

.geometry {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.shape {
  --shape-size: 80px;
  --shape-x: 20vw;
  --shape-y: 20vh;
  --shape-speed: 9s;
  --shape-tilt: 0deg;
  position: absolute;
  top: var(--shape-y);
  left: var(--shape-x);
  width: var(--shape-size);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 51, 92, 0.72);
  background: linear-gradient(135deg, rgba(255, 24, 61, 0.22), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 18px rgba(255, 24, 61, 0.42),
    inset 0 0 24px rgba(255, 24, 61, 0.12);
  clip-path: polygon(50% 0, 100% 88%, 0 88%);
  transform: rotate(var(--shape-tilt));
  animation: shape-float var(--shape-speed) ease-in-out infinite alternate;
}

.shape:nth-child(2n) {
  border-color: rgba(255, 244, 246, 0.5);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.shape:nth-child(3n) {
  clip-path: polygon(12% 12%, 88% 12%, 88% 88%, 12% 88%);
}

.tag {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  max-width: 96vw;
  margin: 0;
  padding: clamp(0.7rem, 2vw, 1.4rem);
  color: var(--white);
  font-size: clamp(3.1rem, 9.8vw, 8.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    3px 0 0 var(--red),
    -3px 0 0 #2b060d,
    0 8px 0 #94001f,
    0 0 18px rgba(255, 24, 61, 0.9),
    0 0 44px rgba(255, 24, 61, 0.55);
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.65));
  animation: tag-pulse 2.6s ease-in-out infinite;
  z-index: 3;
}

.tag::before,
.tag::after {
  position: absolute;
  inset: 50% -2vw auto;
  height: 0.12em;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red), var(--white), var(--red), transparent);
  filter: blur(2px);
  transform: translateY(-50%) skewX(-22deg);
  opacity: 0.65;
  z-index: -1;
}

.tag::after {
  inset: auto 8vw 6%;
  height: 0.06em;
  opacity: 0.85;
  filter: blur(0);
}

.tag span {
  display: inline-block;
  padding: 0.03em 0.02em 0.13em;
  transform-origin: 50% 70%;
  animation: letter-strike 2.1s cubic-bezier(0.3, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--i) * 0.055s);
}

.tag span:nth-child(2n) {
  color: #ffdce3;
}

.tag span:nth-child(3n) {
  color: #ffffff;
  text-shadow:
    3px 0 0 #ff4e6d,
    -3px 0 0 #35060e,
    0 8px 0 #b50027,
    0 0 18px rgba(255, 24, 61, 0.95),
    0 0 44px rgba(255, 24, 61, 0.6);
}

.tag .space {
  width: 0.22em;
}

@keyframes rotate-field {
  to {
    transform: rotate(360deg) scale(1.1);
  }
}

@keyframes scan {
  0%,
  100% {
    background-position: 0 -18vh, 0 0;
  }

  50% {
    background-position: 0 18vh, 0 10px;
  }
}

@keyframes grid-run {
  to {
    background-position: 0 58px, 58px 0;
  }
}

@keyframes shape-float {
  to {
    transform: translate3d(2vw, -4vh, 0) rotate(calc(var(--shape-tilt) + 46deg));
  }
}

@keyframes letter-strike {
  0%,
  100% {
    transform: translateY(0) skewX(-4deg) scale(1);
  }

  48% {
    transform: translateY(-0.08em) skewX(-10deg) scale(1.045);
  }
}

@keyframes tag-pulse {
  0%,
  100% {
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.65)) saturate(1);
  }

  50% {
    filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.7)) saturate(1.24);
  }
}

@media (max-width: 720px) {
  .tag {
    flex-wrap: wrap;
    max-width: 94vw;
    font-size: clamp(3.3rem, 18vw, 6.7rem);
    line-height: 0.86;
  }

  .tag .space {
    flex-basis: 100%;
    width: 0;
    height: 0.12em;
  }

  .grid {
    background-size: 42px 42px;
  }

  @keyframes grid-run {
    to {
      background-position: 0 42px, 42px 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
