@font-face {
  font-family: "Exo2Var";
  src: url("/Fonts/Exo2-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RubikVar";
  src: url("/Fonts/Rubik-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #f7efff;
  --muted: rgba(247, 239, 255, 0.72);
  --deep: #0b0014;
  --violet: #6b2bff;
  --orchid: #b24bff;
  --magenta: #ff62c6;
  --cyan: #55f0ff;
  --glow: rgba(143, 76, 255, 0.35);
  --panel: rgba(11, 4, 22, 0.7);
  --stroke: rgba(255, 255, 255, 0.16);
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: "RubikVar", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 10% 15%, rgba(107, 43, 255, 0.35), transparent 60%),
    radial-gradient(900px 650px at 90% 20%, rgba(255, 98, 198, 0.28), transparent 58%),
    radial-gradient(700px 600px at 50% 85%, rgba(85, 240, 255, 0.2), transparent 62%),
    linear-gradient(160deg, #08000e 0%, #140023 45%, #0f001b 100%);
  overflow: hidden;
  padding: 32px 20px;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.65;
  animation: drift 16s ease-in-out infinite;
}

.orb-a {
  width: 280px;
  height: 280px;
  left: 8%;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 98, 198, 0.7), transparent 70%);
  animation-delay: -2s;
}

.orb-b {
  width: 380px;
  height: 380px;
  right: 12%;
  top: 10%;
  background: radial-gradient(circle, rgba(107, 43, 255, 0.65), transparent 70%);
  animation-delay: -6s;
}

.orb-c {
  width: 420px;
  height: 420px;
  left: 20%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(85, 240, 255, 0.55), transparent 70%);
  animation-delay: -10s;
}

.orb-d {
  width: 260px;
  height: 260px;
  right: 25%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(178, 75, 255, 0.7), transparent 70%);
  animation-delay: -4s;
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(transparent 92%, rgba(255, 255, 255, 0.04) 96%),
    linear-gradient(90deg, transparent 92%, rgba(255, 255, 255, 0.04) 96%);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
}

.panel {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: 48px clamp(28px, 6vw, 64px);
  border-radius: 32px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px var(--glow);
  backdrop-filter: blur(14px);
  animation: rise 0.9s ease-out both;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  animation: rise 0.9s ease-out both;
  animation-delay: 0.1s;
}

.headline {
  margin: 22px 0 10px;
  font-family: "Exo2Var", sans-serif;
  font-size: clamp(4.8rem, 14vw, 9rem);
  letter-spacing: 0.08em;
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  animation: rise 1s ease-out both;
  animation-delay: 0.2s;
}

.headline span {
  display: inline-block;
  background: linear-gradient(135deg, var(--violet), var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
  text-shadow:
    0 0 20px rgba(107, 43, 255, 0.35),
    0 0 40px rgba(255, 98, 198, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}

.headline span:nth-child(2) {
  animation-delay: 0.3s;
}

.headline span:nth-child(3) {
  animation-delay: 0.6s;
}

.lead {
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
  animation: rise 1s ease-out both;
  animation-delay: 0.3s;
}

.route {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
  font-size: 0.95rem;
  color: rgba(247, 239, 255, 0.7);
  animation: rise 1s ease-out both;
  animation-delay: 0.4s;
}

.route code {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: "Exo2Var", monospace;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: rise 1s ease-out both;
  animation-delay: 0.5s;
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  color: #0e0019;
  background: linear-gradient(130deg, var(--cyan), var(--magenta));
  box-shadow: 0 12px 24px rgba(85, 240, 255, 0.25);
}

.btn.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 30px rgba(178, 75, 255, 0.25);
}

.btn:active {
  transform: translateY(0);
}

.hint {
  margin-top: 24px;
  font-size: 0.9rem;
  color: rgba(247, 239, 255, 0.6);
  animation: rise 1s ease-out both;
  animation-delay: 0.6s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-18px) translateX(12px) scale(1.05);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(178, 75, 255, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(178, 75, 255, 0.45));
  }
}

@media (max-width: 700px) {
  .panel {
    padding: 36px 24px;
  }

  .headline {
    justify-content: center;
  }

  .route {
    flex-direction: column;
    align-items: flex-start;
  }
}

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