:root {
  --bg: #0f1115;
  --card: #1a1d24;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #e63946;
  --border: #2a2f3a;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.intro {
  margin-bottom: 2rem;
}

.intro h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.intro p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.product-card .price {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.product-card a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

.product-card a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.loading {
  color: var(--muted);
  grid-column: 1 / -1;
}

.product-detail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.product-detail h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.product-detail .meta {
  color: var(--muted);
  margin-bottom: 1rem;
}

.product-detail .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.product-detail .desc {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.btn-affiliate {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn-affiliate:hover {
  opacity: 0.9;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

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