body.models-page {
  background: radial-gradient(circle at 20% 15%, rgba(54, 78, 140, 0.55), rgba(3, 5, 12, 0.95));
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  color: #f7f7fb;
}

.models-main {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 40px 5vw 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.models-hero {
  text-align: center;
  padding: 20px 0 10px;
}

.models-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  color: rgba(247, 247, 251, 0.7);
  margin-bottom: 12px;
}

.models-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 10px;
}

.models-hero .lead {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(247, 247, 251, 0.8);
  line-height: 1.6;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(385px, 1fr));
  gap: 32px;
  width: 100%;
}

.model-card {
  background: rgba(7, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  position: relative;
}

.model-card__media {
  position: relative;
  padding-top: 140%;
  overflow: hidden;
}

.model-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.model-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(7, 10, 20, 0.85));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.model-card:hover .model-card__media img,
.model-card:focus-within .model-card__media img {
  transform: scale(1.05);
}

.model-card:hover .model-card__media::after,
.model-card:focus-within .model-card__media::after {
  opacity: 1;
}

.model-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.model-card__name {
  margin: 0;
  padding: 20px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  text-align: center;
  letter-spacing: 0.03em;
}

.models-empty {
  text-align: center;
  grid-column: 1 / -1;
  color: rgba(247, 247, 251, 0.75);
  font-size: 1.1rem;
  padding: 40px 0;
}

@media (max-width: 640px) {
  .models-main {
    padding: 30px 18px 60px;
  }

  .model-card__name {
    padding: 16px;
  }
}
