:root {
  color-scheme: dark;
  --bg: #05070f;
  --fg: #f4f6fb;
  --muted: #7b8093;
  --accent: #4b7bec;
  --accent-hover: #6b8fff;
  --card: #0f1322;
  --border: rgba(255, 255, 255, 0.08);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(75, 123, 236, 0.22), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(141, 78, 206, 0.18), transparent 50%),
    var(--bg);
  color: var(--fg);
  padding: 3rem 1.5rem;
}

body.audio-gate-active {
  overflow: hidden;
}

main {
  width: min(680px, 100%);
  text-align: center;
  display: grid;
  gap: 2rem;
}

header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

header p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 1rem;
}

.links {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 2rem);
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 24px 40px rgba(8, 13, 31, 0.38);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--accent);
  box-shadow: 0 26px 44px rgba(75, 123, 236, 0.32);
  outline: none;
}

.link-card span {
  background: linear-gradient(120deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

.link-card small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  line-height: 1.35;
}

footer {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 1.2rem;
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

footer nav a:hover {
  color: var(--accent-hover);
}

.audio-gate {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9999;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

.audio-gate.audio-gate--hidden {
  opacity: 0;
  pointer-events: none;
}

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