@import url('fonts.css');

:root {
  --bg: #111;
  --card-bg: #1e1e1e;
  --text: #eee;
  --subtext: #aaa;
  --accent: #8c00ff;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0 1rem;
  line-height: 1.6;
}

header, footer {
  text-align: center;
  padding: 2rem 0;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}

.button:hover {
  background: #7200d0;
}

.favicon-inline {
  padding: 1px 1px 0 1px;
}

.favicon-large {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}
