:root {
  --bg-main: radial-gradient(circle at 10% 10%, #0f204a 0%, #091431 38%, #060d22 100%);
  --card-bg: rgba(244, 252, 255, 0.9);
  --text-main: #17264a;
  --text-sub: #42557c;
  --mint: #17d8ad;
  --orange: #ff7a45;
  --neon-pink: #ff4fb3;
  --neon-cyan: #26d0ff;
  --neon-lime: #8fff45;
  --shadow: 0 24px 70px rgba(9, 22, 62, 0.42);
  --mx: 50vw;
  --my: 50vh;
}

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

body {
  min-height: 100vh;
  font-family: "Noto Sans SC", sans-serif;
  background: var(--bg-main);
  background-size: 140% 140%;
  color: var(--text-main);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 20px;
  padding-bottom: 62px;
  position: relative;
  isolation: isolate;
  animation: bgShift 14s ease-in-out infinite alternate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(62, 214, 255, 0.28), transparent 22%),
    radial-gradient(circle at 18% 22%, rgba(255, 79, 179, 0.16), transparent 33%),
    radial-gradient(circle at 84% 80%, rgba(143, 255, 69, 0.14), transparent 36%),
    conic-gradient(from 200deg at 50% 50%, rgba(255, 255, 255, 0) 0deg, rgba(112, 226, 255, 0.08) 90deg, rgba(255, 255, 255, 0) 180deg);
  mix-blend-mode: screen;
  animation: haloDrift 12s ease-in-out infinite;
}

body::after {
  background:
    linear-gradient(120deg, rgba(38, 208, 255, 0.08), rgba(255, 79, 179, 0.05), rgba(143, 255, 69, 0.06)),
    repeating-linear-gradient(
      -40deg,
      rgba(146, 224, 255, 0.1) 0,
      rgba(146, 224, 255, 0.1) 1px,
      transparent 1px,
      transparent 16px
    );
  opacity: 0.5;
  animation: textureMove 10s linear infinite;
}

.tech-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(116, 210, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 210, 255, 0.13) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  opacity: 0.35;
  animation: gridDrift 18s linear infinite;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  left: 0;
  top: 0;
  transform: translate(calc(var(--mx) - 50%), calc(var(--my) - 50%));
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 208, 255, 0.18) 0%, rgba(38, 208, 255, 0.1) 30%, rgba(38, 208, 255, 0) 70%);
  filter: blur(2px);
  z-index: 0;
  opacity: 0;
  transition: transform 0.15s linear, opacity 0.3s ease;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.48;
  animation: float 8.2s ease-in-out infinite;
  z-index: 0;
}

.blob.a {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, #4ad3ff, #1976ff);
  top: -80px;
  left: -70px;
}

.blob.b {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 35% 35%, #6affda, #22d3d8);
  bottom: -70px;
  right: -40px;
  animation-delay: 0.8s;
}

.blob.c {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 40% 40%, #88a2ff, #884bff);
  top: 10%;
  right: 14%;
  animation-delay: 0.4s;
}

.card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  background: linear-gradient(140deg, rgba(248, 253, 255, 0.9), rgba(233, 248, 255, 0.82));
  backdrop-filter: blur(14px);
  border-radius: 28px;
  border: 1px solid rgba(130, 222, 255, 0.42);
  box-shadow: var(--shadow);
  padding: 34px 30px 28px;
  animation: rise 0.85s ease;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(38, 208, 255, 0.2), rgba(120, 141, 255, 0.22));
  color: #20529d;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(38, 208, 255, 0.58);
  animation: pulse 1.1s infinite;
}

h1 {
  font-family: "Baloo 2", cursive;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.06;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

p {
  font-size: clamp(16px, 2.6vw, 19px);
  line-height: 1.75;
  color: var(--text-sub);
  max-width: 48ch;
}

.actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn.secondary {
  background: linear-gradient(135deg, rgba(51, 237, 255, 0.22), rgba(125, 149, 255, 0.2));
  color: #184b92;
  border: 1px solid rgba(53, 197, 255, 0.52);
  box-shadow: 0 10px 24px rgba(35, 143, 255, 0.24);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.note {
  margin-top: 16px;
  font-size: 13px;
  color: #6e86a0;
}

.site-legal {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: min(96vw, 1100px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(216, 236, 255, 0.82);
  opacity: 0.92;
  text-align: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 18, 46, 0.36);
  backdrop-filter: blur(8px);
}

.sep {
  opacity: 0.55;
}

.legal-link {
  color: rgba(151, 215, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.legal-link:hover {
  color: #d8f3ff;
  opacity: 1;
}

.legal-link-gov {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-link-gov img {
  border-radius: 4px;
  opacity: 0.86;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(38, 208, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(38, 208, 255, 0);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) translateX(10px) rotate(3deg);
  }
}

@keyframes bgShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes haloDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(-3%, 2%, 0) scale(1.08) rotate(6deg);
  }
}

@keyframes textureMove {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(65px, -48px, 0) rotate(1deg);
  }
}

@keyframes gridDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(48px, 48px, 0);
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
    padding: 16px;
    padding-bottom: 52px;
  }

  .card {
    border-radius: 20px;
    padding: 24px 18px 20px;
  }

  .site-legal {
    bottom: 8px;
    gap: 6px;
    font-size: 10px;
    line-height: 1.35;
    padding: 6px 10px;
    opacity: 0.9;
  }

  .cursor-glow {
    width: 300px;
    height: 300px;
  }
}
