@import "tailwindcss";

:root {
  /* Light mode tokens */
  --background: #fbfbfb; /* off-white to reduce glare */
  --surface: #ffffff33;     /* card/background surface */
  --foreground: #0f1720;  /* readable body text */
  --muted: rgba(15, 23, 32, 0.55);
  --accent: #0f1720;      /* link/accent (monochrome) */
  --dot-color: rgba(120, 120, 120, 0.576);
  --card-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
  --radius: 10px;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: "Cabin", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: var(--font-geist-mono);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
    --accent: #ededed; /* keep links readable in dark mode */
    --surface: #69696900; /* dark surfaces for cards */
  }

  a {
    border-bottom-color: rgba(237, 237, 237, 0.25);
  }
}

body {
  background: linear-gradient(180deg, var(--background), color-mix(in srgb, var(--background) 85%, rgb(6, 6, 6) 15%) 60%);
  color: var(--foreground);
  font-family: "Cabin", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* Link styling */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 32, 0.18);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
a:hover {
  color: color-mix(in srgb, var(--accent) 80%, black 20%);
  border-bottom-color: transparent;
  text-decoration: underline;
}

/* Visited links keep same color (no blue/purple) */
a:visited {
  color: var(--accent);
}

/* Spotify card wrapper */
.spotify-card {
  display: inline-block;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 14px;
}

/* Small, muted text */
.footer-small {
  color: var(--muted);
  font-size: 12px;
}
