body.model-profile-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;
}

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

.model-profile-hero {
  background: rgba(7, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 36px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.model-profile-hero__media {
  position: relative;
  padding-top: 140%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

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

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

.model-profile-hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.model-profile-hero__content h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.model-profile-hero__attributes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.model-profile-gender {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 247, 251, 0.85);
}

.model-profile-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(131, 249, 216, 0.6);
  background: rgba(131, 249, 216, 0.12);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7f7fb;
}

.model-profile-bio {
  margin: 0;
  color: rgba(247, 247, 251, 0.85);
  line-height: 1.6;
}

.model-profile-bio p {
  margin-bottom: 1.2em;
}

.model-profile-hero__actions {
  margin-top: auto;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.model-profile-hero__actions .btn-primary,
.model-profile-hero__actions .btn-secondary {
  border-radius: 999px;
  border: 0;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.model-profile-hero__actions .btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--purple));
  color: #0b0d13;
  box-shadow: 0 14px 28px rgba(39, 240, 201, 0.25);
}

.model-profile-hero__actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #f7f7fb;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.model-profile-hero__actions .btn-primary:hover,
.model-profile-hero__actions .btn-secondary:hover,
.model-profile-hero__actions .btn-primary:focus-visible,
.model-profile-hero__actions .btn-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(39, 240, 201, 0.3);
}

.model-profile-hero__link {
  background: transparent;
}

.model-profile-missing {
  background: rgba(7, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.model-profile-missing h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.model-profile-missing__link {
  display: inline-block;
  margin-top: 18px;
  color: #83f9d8;
  font-weight: 600;
  text-decoration: none;
}

.model-profile-missing__link:hover,
.model-profile-missing__link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .model-profile-hero {
    grid-template-columns: 1fr;
  }

  .model-profile-hero__media {
    padding-top: 140%;
  }
}

@media (max-width: 640px) {
  .model-profile-main {
    padding: 30px 16px 60px;
  }

  .model-profile-hero {
    padding: 24px;
    gap: 24px;
  }

}
