:root {
  --black: #030006;
  --white: #fffaff;
  --muted: #d8c7ee;
  --violet: #9b35ff;
  --violet-hot: #c80cff;
  --cyan: #4adfff;
  --line: rgba(238, 214, 255, 0.46);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.splash {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100svh;
  min-height: 520px;
  padding: clamp(1rem, 3vw, 2rem);
}

.backdrop,
.backdrop::before,
.backdrop::after {
  position: absolute;
  inset: 0;
}

.backdrop {
  z-index: -3;
  overflow: hidden;
  background: #050008;
}

.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.44;
  filter: saturate(1.22) contrast(1.08) brightness(0.7);
  transform: scale(1.04);
}

.backdrop::before {
  content: "";
  z-index: 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(197, 30, 255, 0.3), transparent 24rem),
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 45%), rgba(74, 223, 255, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(2, 0, 5, 0.72), rgba(2, 0, 5, 0.92));
}

.backdrop::after {
  content: "";
  z-index: 2;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, transparent, rgba(209, 67, 255, 0.28), transparent);
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 48rem);
  padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -0.4rem;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 0.72;
  box-shadow:
    inset 0 0 28px rgba(185, 54, 255, 0.2),
    0 0 26px rgba(195, 42, 255, 0.34);
  clip-path: polygon(1.8rem 0, calc(100% - 1.8rem) 0, 100% 1.8rem, 100% calc(100% - 1.8rem), calc(100% - 1.8rem) 100%, 1.8rem 100%, 0 calc(100% - 1.8rem), 0 1.8rem);
}

.logo {
  width: clamp(7rem, 18vh, 10rem);
  max-width: 42vw;
  height: auto;
  margin-bottom: clamp(0.75rem, 2vh, 1.15rem);
  filter: drop-shadow(0 0 1.4rem rgba(190, 45, 255, 0.86));
}

h1 {
  margin: 0;
  color: var(--white);
  font-family: Impact, "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(3.7rem, 8.8vw, 7.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 0.08em rgba(255, 255, 255, 0.68),
    0 0 0.28em rgba(188, 51, 255, 0.72),
    0.035em 0.035em 0 rgba(88, 0, 186, 0.96);
}

.tagline {
  margin: clamp(0.45rem, 1.2vh, 0.65rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.76rem, 1.35vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(205, 63, 255, 0.86);
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(100%, 35rem);
  margin-top: clamp(1.15rem, 3vh, 1.85rem);
}

.social {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: clamp(3.6rem, 8vh, 4.7rem);
  padding: 0.9rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  color: var(--white);
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  font-weight: 950;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.08),
    0 0 26px rgba(183, 44, 255, 0.44);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.social::before {
  content: "";
  position: absolute;
  inset: -60% -25%;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.62) 50%, transparent 62%);
  transform: translateX(-92%) rotate(9deg);
  transition: transform 420ms ease;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.92);
  outline: none;
  box-shadow:
    inset 0 0 26px rgba(255, 255, 255, 0.14),
    0 0 30px rgba(255, 255, 255, 0.25),
    0 0 70px rgba(193, 45, 255, 0.72);
}

.social:hover::before,
.social:focus-visible::before {
  transform: translateX(92%) rotate(9deg);
}

.social svg,
.social span {
  position: relative;
  z-index: 1;
}

.social svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  fill: currentColor;
  filter: drop-shadow(0 0 0.45rem rgba(255, 255, 255, 0.8));
}

.discord {
  background:
    linear-gradient(135deg, rgba(74, 223, 255, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(159, 37, 255, 0.96), rgba(39, 0, 84, 0.95));
}

.tiktok {
  background:
    linear-gradient(135deg, rgba(255, 45, 247, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(77, 8, 132, 0.96), rgba(8, 0, 19, 0.95));
}

@media (max-width: 640px) {
  .splash {
    min-height: 560px;
    padding: 0.9rem;
  }

  .backdrop img {
    object-position: 50% center;
  }

  .panel {
    padding-inline: 1rem;
  }

  .panel::before {
    inset: 0;
    clip-path: polygon(1.2rem 0, calc(100% - 1.2rem) 0, 100% 1.2rem, 100% calc(100% - 1.2rem), calc(100% - 1.2rem) 100%, 1.2rem 100%, 0 calc(100% - 1.2rem), 0 1.2rem);
  }

  .logo {
    width: clamp(6.4rem, 20vh, 8.4rem);
    max-width: 56vw;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.05rem, 15vw, 4.85rem);
  }

  .links {
    grid-template-columns: 1fr;
    width: min(100%, 22rem);
  }
}

@media (max-height: 620px) {
  .splash {
    min-height: 480px;
  }

  .logo {
    width: clamp(5.5rem, 18vh, 8rem);
  }

  h1 {
    font-size: clamp(3.05rem, 10vw, 5.8rem);
  }

  .links {
    margin-top: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
