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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: rgb(10, 10, 10);
  color: rgb(218, 218, 218);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 60px 20px 48px;
}

.container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ─── Logo Area ─── */
.logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.logo-symbol {
  width: 48px;
  height: 48px;
  opacity: 0.88;
}

.wordmark {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: rgb(218, 218, 218);
}

.tagline {
  font-size: 12px;
  font-weight: 400;
  color: rgba(218, 218, 218, 0.30);
}

/* ─── Stats Bar ─── */
.stats-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 8px 18px;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.08s forwards;
}

.stat {
  font-size: 10px;
  font-weight: 500;
  color: rgba(218, 218, 218, 0.35);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0 14px;
  flex-shrink: 0;
}

/* ─── Links ─── */
.links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  background: rgb(14, 14, 14);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  text-decoration: none;
  color: rgba(218, 218, 218, 0.60);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease,
              transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  cursor: pointer;
  opacity: 0;
  animation: fadeUp 0.55s ease forwards;
  position: relative;
  overflow: hidden;
}

/* Spotlight radial — idêntico ao SpotlightCard do dashboard */
.link-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  background: radial-gradient(
    500px circle at var(--mx, 50%) var(--my, 50%),
    rgba(218, 218, 218, 0.045),
    transparent 40%
  );
}

.link-card:hover::after { opacity: 1; }

.link-card:nth-child(1) { animation-delay: 0.16s; }
.link-card:nth-child(2) { animation-delay: 0.22s; }
.link-card:nth-child(3) { animation-delay: 0.28s; }
.link-card:nth-child(4) { animation-delay: 0.34s; }
.link-card:nth-child(5) { animation-delay: 0.40s; }
.link-card:nth-child(6) { animation-delay: 0.46s; }

.link-card:hover {
  background: rgb(16, 16, 16);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgb(218, 218, 218);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45),
              0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.link-card:active {
  transform: translateY(0) scale(0.99);
  box-shadow: none;
}

/* ── Pill badge — igual às CardLabel do dashboard ── */
.link-pill {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(218, 218, 218, 0.35);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 2px;
}

/* Primary card */
.link-card.primary {
  background: rgb(236, 236, 236);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgb(10, 10, 10);
  padding: 15px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 16px;
}

.link-card.primary::after { display: none; }

.link-card.primary:hover {
  background: rgb(255, 255, 255);
  border-color: rgba(255, 255, 255, 0.20);
  color: rgb(10, 10, 10);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.40);
}

.link-card.primary .link-icon {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.07);
}

.link-card.primary .link-icon svg {
  stroke: rgba(10, 10, 10, 0.50);
}

.link-card.primary .link-arrow svg {
  stroke: rgba(10, 10, 10, 0.25);
}

.link-card.primary .link-pill {
  color: rgba(10, 10, 10, 0.35);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.07);
}

/* ── Icon box — igual aos ícones dos nav items do dashboard ── */
.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.link-card:hover .link-icon {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.10);
}

.link-icon svg {
  width: 14px;
  height: 14px;
  stroke: rgba(218, 218, 218, 0.45);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s ease;
}

.link-card:hover .link-icon svg {
  stroke: rgba(218, 218, 218, 0.80);
}

/* ── Label ── */
.link-label { flex: 1; }

/* ── Arrow ── */
.link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-arrow svg {
  width: 13px;
  height: 13px;
  stroke: rgba(218, 218, 218, 0.16);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s ease, transform 0.15s ease;
}

.link-card:hover .link-arrow svg {
  stroke: rgba(218, 218, 218, 0.38);
  transform: translateX(2px);
}

/* ─── Divider ─── */
.links-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 3px 0;
}

/* ─── Footer ─── */
.footer {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(218, 218, 218, 0.18);
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.62s forwards;
}

.footer a {
  color: rgba(218, 218, 218, 0.18);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer a:hover { color: rgba(218, 218, 218, 0.40); }

/* ─── Keyframes ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
  body { padding: 44px 14px 36px; }
  .container { gap: 20px; }
  .stat-divider { margin: 0 10px; }
}
