:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --card-bg: #f9f8fb;
  --accent: #aa3bff;
  --accent-hover: #9220e6;

  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;

  font: 16px/145% var(--sans);
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --card-bg: #1c1d24;
    --accent: #c084fc;
    --accent-hover: #d2a4fd;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
}

h1 {
  font-size: 48px;
  color: var(--text-h);
  margin: 0 0 40px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 220px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.link-card:hover {
  border-color: var(--accent);
}

.link-card.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.link-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-h);
}

.link-desc {
  font-size: 14px;
}

footer {
  text-align: center;
  padding: 16px;
  font-size: 14px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.socials a {
  color: var(--text);
  transition: color 0.15s ease;
}

.socials a:hover {
  color: var(--accent);
}

.socials svg {
  display: block;
  fill: currentColor;
}
