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

html {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  padding: 2.5rem 1.5rem 3rem;
  overflow-x: hidden;
  color: #e0fefe;
  font-family: "Better VCR", monospace;
  line-height: 1.6;
  background:
    linear-gradient(
      135deg,
      #060b14 0%,
      #0e223e 28%,
      #183c5a 52%,
      #007a99 78%,
      #060b14 100%
    );
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.42), transparent 70%),
    radial-gradient(circle at 82% 18%, rgba(0, 255, 255, 0.1), transparent 58%),
    radial-gradient(circle at 16% 78%, rgba(0, 122, 153, 0.12), transparent 58%),
    radial-gradient(circle at 72% 88%, rgba(209, 76, 255, 0.06), transparent 45%),
    linear-gradient(rgba(0, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.035) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    48px 48px,
    48px 48px;
  animation: absGridDrift 24s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(
      0deg,
      rgba(0, 255, 255, 0.025) 0px,
      rgba(0, 255, 255, 0.025) 2px,
      transparent 2px,
      transparent 4px
    );
  background-size:
    200px 200px,
    100% 100%;
  animation: absScanPulse 6s ease-in-out infinite;
}

@keyframes absGridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

@keyframes absScanPulse {
  0%, 100% { opacity: 0.12; transform: translateX(0); }
  50% { opacity: 0.18; transform: translateX(-1px); }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

h1 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.25);
}

.tagline {
  margin-top: 0.75rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  letter-spacing: 0.05em;
  color: rgba(224, 254, 254, 0.7);
}

.apps {
  max-width: 22rem;
  margin: 0 auto;
  text-align: center;
}

.apps h2 {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(170, 220, 255, 0.55);
  margin-bottom: 1rem;
}

.apps ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.apps a {
  display: block;
  padding: 1rem 1.35rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  border: 1px solid rgba(170, 220, 255, 0.22);
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    rgba(14, 34, 62, 0.78),
    rgba(48, 92, 144, 0.52)
  );
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.apps a:hover,
.apps a:focus-visible {
  border-color: rgba(170, 220, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 36px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(0, 255, 255, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.apps a .app-name {
  display: block;
  font-size: 1.05rem;
  color: #e0fefe;
}

.apps a .app-desc {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(224, 254, 254, 0.55);
}

footer {
  margin-top: 2.75rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

footer a {
  color: rgba(170, 220, 255, 0.7);
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: #e0fefe;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.35);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }

  .apps a {
    transition: none;
  }

  .apps a:hover,
  .apps a:focus-visible {
    transform: none;
  }
}
