:root {
  --bg: #0f1118;
  --surface: #161925;
  --text: #f2f5ff;
  --muted: #aab3cf;
  --accent: #ff4f8b;
  --border: #2a3146;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92vw); margin-inline: auto; }
.section-space { padding: 2rem 0; }
.section-space-sm { margin-top: 2rem; }

.site-header, .site-footer {
  background: #0a0c12;
  border-bottom: 1px solid var(--border);
}
.site-footer { border-top: 1px solid var(--border); border-bottom: 0; }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.brand { font-weight: 700; letter-spacing: .02em; }
.menu { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.model-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.model-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.model-card-title {
  margin: 0;
  padding: .75rem;
  font-size: 1rem;
}
.single-model-thumb img { width: 100%; height: auto; border-radius: 12px; }
.affiliate-iframe-ratio {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0b0d14;
}
.affiliate-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.pagination-wrap { margin-top: 1.5rem; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-block;
  padding: .4rem .7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
