* {
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f0f14;
  --bg-purple: #1b1b2f;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --border: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.12);
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at top, var(--bg-purple), var(--bg-dark));
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.container {
  width: min(100%, 720px);
}

.hero {
  text-align: center;
}

h1 {
  font-size: clamp(2.6rem, 12vw, 4.5rem);
  line-height: 1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.05em;
}

.subtitle {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 4vw, 1.25rem);
}

.card {
  margin: 0 auto 1.5rem;
  padding: 1.25rem;
  max-width: 520px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
}

.card p {
  margin: 0;
}

.links,
.webring {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

a {
  color: var(--text);
}

.links a,
.webring a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--glass);
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.links a:hover,
.webring a:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
}

#webring-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.webring {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.28);
  font-family: monospace;
}

@media (max-width: 520px) {
  body {
    align-items: start;
    padding-top: 4rem;
  }

  .links,
  .webring {
    flex-direction: column;
    align-items: stretch;
  }

  .links a,
  .webring a {
    width: 100%;
  }

  .card {
    padding: 1rem;
  }
}
