:root {
  --bg: #000000;
  --bg-deep: #02040a;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --accent: #00c6ff;
  --accent-soft: rgba(0, 198, 255, 0.35);
  --accent-glow: rgba(0, 180, 255, 0.45);
  --glass: rgba(8, 16, 28, 0.55);
  --glass-border: rgba(140, 210, 255, 0.35);
  --card-max: 420px;
  --font-body: "Manrope", sans-serif;
}

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

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

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(0, 60, 140, 0.14), transparent 55%),
    linear-gradient(180deg, #000 0%, var(--bg-deep) 45%, #000 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.glow--left {
  top: 42%;
  left: -12%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 100, 220, 0.22), transparent 70%);
  animation: drift 12s ease-in-out infinite;
}

.glow--right {
  bottom: 8%;
  right: -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 160, 255, 0.18), transparent 70%);
  animation: drift 14s ease-in-out infinite reverse;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(180, 230, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 72% 28%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 84% 74%, rgba(160, 220, 255, 0.5), transparent),
    radial-gradient(1px 1px at 46% 86%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 58% 12%, rgba(200, 240, 255, 0.55), transparent);
  opacity: 0.55;
  animation: twinkle 6s ease-in-out infinite;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--card-max);
  margin: 0 auto;
  padding:
    max(28px, env(safe-area-inset-top))
    20px
    max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.brand {
  text-align: center;
  margin-bottom: 40px;
}

.logo-wrap {
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
}

.logo {
  width: min(58vw, 200px);
  height: auto;
  display: block;
}

.tagline {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-align: left;
}

.tagline li {
  position: relative;
  padding-left: 1em;
  text-align: left;
}

.tagline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-soft);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 0 24px rgba(0, 140, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.link__label {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.link:hover,
.link:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(120, 220, 255, 0.7);
  background: rgba(10, 28, 48, 0.72);
  box-shadow:
    0 0 0 1px rgba(0, 190, 255, 0.15) inset,
    0 0 28px rgba(0, 170, 255, 0.22);
}

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

.footer {
  margin-top: 28px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.38);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -10px, 0);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow--left,
  .glow--right,
  .stars {
    animation: none;
  }
}
