/* ============================================================
   MODELS GRID — PREMIUM LAYOUT
   ============================================================ */

:root {
  --bg: #020617;
  --surface: #0a0f1c;
  --surface-soft: rgba(255, 255, 255, 0.06);

  --text: #f9fafb;
  --muted: #9ca3af;

  --accent: #e11d48;
  --gold: #facc15;

  --radius: 16px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
}

/* PAGE HEADER */
.page-header {
  text-align: center;
  margin: 40px 0 20px;
}

.page-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 8px;
}

.page-sub {
  color: var(--muted);
  font-size: 16px;
}

/* FILTER BAR */
.filter-bar {
  background: var(--surface);
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 25px;
}

.filter-inner {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--muted);
}

.filter-group select, 
.filter-group input {
  padding: 8px 12px;
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 14px;
}

/* GRID */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
  padding: 20px;
}

/* MODEL CARD */
.model-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .25s ease, opacity .2s ease;
  position: relative;
}

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

/* PHOTO */
.model-photo {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.model-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BADGE */
.badge-tier {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 30px;
  color: #000;
}

.badge-tier.gold {
  background: var(--gold);
}

.badge-tier.diamond {
  background: #a0eaff;
  color: #002b36;
}

/* NAME & META */
.model-name {
  font-size: 20px;
  margin: 15px 14px 8px;
  font-weight: 600;
}

.model-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 14px 18px;
}

/* NO RESULTS */
.no-results {
  text-align: center;
  margin: 40px 0;
  font-size: 18px;
  color: var(--muted);
}

/* PAGINATION */
.pagination {
  margin: 35px 0;
  text-align: center;
}

.pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.pagination li a {
  padding: 8px 14px;
  background: var(--surface-soft);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.pagination li .current {
  background: var(--accent);
}
select {
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}

select option {
  background: #0d1220;
  color: #fff;
  padding: 10px;
}
