:root {
  --mf-bg: #121212;
  --mf-panel: #1d1d1d;
  --mf-panel-soft: #252525;
  --mf-text: #f7f3eb;
  --mf-muted: #b8b0a3;
  --mf-gold: #c8a96a;
  --mf-gold-soft: rgba(200, 169, 106, 0.16);
  --mf-border: rgba(255,255,255,0.12);
  --mf-shadow: 0 24px 70px rgba(0,0,0,0.45);
}

html { scroll-behavior: smooth; }
body.mf-body {
  background: var(--mf-bg);
  color: var(--mf-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.mf-body h1,
body.mf-body h2,
body.mf-body h3,
body.mf-body h4 {
  color: var(--mf-text);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

body.mf-body p,
body.mf-body li,
body.mf-body label { color: var(--mf-muted); }
body.mf-body a { color: var(--mf-gold); }
body.mf-body input,
body.mf-body textarea,
body.mf-body select {
  background: #111;
  border: 1px solid var(--mf-border);
  color: var(--mf-text);
  box-shadow: none;
}
body.mf-body input:focus,
body.mf-body textarea:focus,
body.mf-body select:focus {
  border-color: var(--mf-gold);
  box-shadow: 0 0 0 3px var(--mf-gold-soft);
  background: #151515;
}

.mf-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18,18,18,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--mf-border);
}
.mf-header-row { min-height: 78px; }
.mf-brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--mf-text); }
.mf-brand:hover { color: var(--mf-text); }
.mf-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mf-gold);
  color: var(--mf-gold);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: bold;
}
.mf-brand-text strong { display: block; text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.16em; }
.mf-brand-text em { display: block; color: var(--mf-muted); font-size: 0.78rem; font-style: normal; }
.mf-main-menu a { color: var(--mf-text); font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mf-main-menu a:hover { color: var(--mf-gold); }
.mf-header-actions { font-size: 0.82rem; }
.mf-social { margin-left: 0.75rem; color: var(--mf-muted); }
.mf-social:hover { color: var(--mf-gold); }
.mf-login { margin-left: 0.75rem; }
.mf-mobile-menu { background: #181818; border: 1px solid var(--mf-border); }
.mf-mobile-menu a { color: var(--mf-text); }
.mf-mobile-login { padding: 1rem; border-top: 1px solid var(--mf-border); }

.mf-page { min-height: 55vh; }
.mf-hero {
  position: relative;
  padding: 8rem 0 6rem;
  background:
    linear-gradient(90deg, rgba(18,18,18,0.35), rgba(18,18,18,0.15)),
    var(--mf-hero-image, url('/images/hero-models.jpg')) top/cover no-repeat;
  overflow: hidden;
}
.mf-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--mf-bg));
}
.mf-hero > .grid-container { position: relative; z-index: 2; }
.mf-kicker {
  color: var(--mf-gold) !important;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
.mf-hero h1 { font-size: clamp(2.4rem, 8vw, 5.5rem); line-height: 0.95; margin-bottom: 1.3rem; }
.mf-hero .lead { max-width: 680px; color: #ded7cc; font-size: 1.2rem; }
.mf-hero-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.mf-button-primary,
.button.mf-button-primary {
  background: var(--mf-gold);
  color: #121212;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mf-button-primary:hover { background: #e0c27e; color: #121212; }
.mf-button-ghost,
.button.mf-button-ghost {
  background: transparent;
  color: var(--mf-text);
  border: 1px solid var(--mf-border);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mf-button-ghost:hover { border-color: var(--mf-gold); color: var(--mf-gold); background: transparent; }

.mf-section { padding: 4.5rem 0; }
.mf-section-tight { padding: 2.5rem 0; }
.mf-card {
  background: linear-gradient(180deg, var(--mf-panel-soft), var(--mf-panel));
  border: 1px solid var(--mf-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--mf-shadow);
  height: 100%;
}
.mf-card h2, .mf-card h3 { margin-bottom: 1rem; }
.mf-card ul, .mf-card ol { margin-left: 1.2rem; }
.mf-card-highlight { border-color: rgba(200,169,106,0.55); background: linear-gradient(180deg, rgba(200,169,106,0.13), var(--mf-panel)); }
.mf-stat { color: var(--mf-gold); font-size: 2.3rem; font-family: Georgia, serif; line-height: 1; }

.mf-model-form {
  background: #171717;
  border: 1px solid var(--mf-border);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--mf-shadow);
}
.mf-form-title { margin-bottom: 1rem; }

.mf-gallery-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--mf-border);
  background: radial-gradient(circle at top center, rgba(200,169,106,0.13), transparent 38%), #151515;
}
.mf-back-link { display: inline-flex; color: var(--mf-muted); margin-bottom: 1rem; }
.mf-back-link:hover { color: var(--mf-gold); }
.mf-gallery-grid-section { padding: 2rem 0 5rem; }
.mf-gallery-grid {
  columns: 1;
  column-gap: 1rem;
}
@media screen and (min-width: 40em) { .mf-gallery-grid { columns: 2; } }
@media screen and (min-width: 64em) { .mf-gallery-grid { columns: 4; } }
.mf-gallery-grid .cell,
.mf-gallery-grid > div,
.mf-gallery-grid a {
  break-inside: avoid;
}
.mf-gallery-grid img {
  width: 100%;
  height: auto;
  margin: 0 0 1rem;
  border-radius: 18px;
  border: 1px solid var(--mf-border);
  transition: transform .25s ease, opacity .25s ease;
}
.mf-gallery-grid img:hover { transform: translateY(-3px); opacity: 0.92; }

/* Make existing generated model cards look more modern without needing backend changes */
.mf-models-grid .cell,
.mf-models-grid > div {
  margin-bottom: 1.5rem;
}
.mf-models-grid img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  border: 1px solid var(--mf-border);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.mf-models-grid .button { border-radius: 999px; }

.mf-site-footer {
  padding: 3rem 0;
  background: #0d0d0d;
  border-top: 1px solid var(--mf-border);
}
.mf-site-footer h4 { color: var(--mf-gold); }
.mf-footer-links a { color: var(--mf-muted); padding-left: 0; }
.mf-footer-links a:hover { color: var(--mf-gold); }
.mf-modal { background: #181818; color: var(--mf-text); border: 1px solid var(--mf-border); border-radius: 20px; }
.mf-modal h2 { color: var(--mf-text); }
.mf-modal .close-button { color: var(--mf-text); }

@media screen and (max-width: 39.9375em) {
  .mf-hero { padding: 5rem 0 4rem; }
  .mf-hero-actions { display: block; }
  .mf-hero-actions .button { width: 100%; margin-bottom: 0.75rem; }
  .mf-section { padding: 3rem 0; }
}

.mf-content-page { padding: 4rem 0; }
.mf-content-card {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--mf-panel-soft), var(--mf-panel));
  border: 1px solid var(--mf-border);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--mf-shadow);
}
.mf-content-card ol,
.mf-content-card ul { margin-left: 1.2rem; }
.mf-content-card li { margin-bottom: 1rem; }
.mf-page-title { margin-bottom: 1.5rem; }
.mf-note {
  border-left: 3px solid var(--mf-gold);
  background: var(--mf-gold-soft);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 14px 14px 0;
}
.mf-profile-cover {
  padding: 4rem 0;
  background: radial-gradient(circle at top center, rgba(200,169,106,0.15), transparent 40%), #151515;
  border-bottom: 1px solid var(--mf-border);
}
.mf-profile-image {
  border-radius: 28px;
  border: 1px solid var(--mf-border);
  box-shadow: var(--mf-shadow);
  width: 100%;
}
.mf-profile-meta {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
}
.mf-profile-meta div {
  border-bottom: 1px solid var(--mf-border);
  padding-bottom: .75rem;
}
.mf-private-access-panel {
  background: linear-gradient(180deg, rgba(200,169,106,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(200,169,106,.35);
  border-radius: 24px;
  padding: 1.5rem;
}
.mf-message-page { padding: 5rem 0; text-align: center; }
.mf-message-page .mf-content-card { max-width: 760px; }

.mf-home-models-grid { margin-top: 2.5rem; }
.mf-home-page .mf-private-access-panel h2 { margin-bottom: 1rem; }

.mf-hero-home {
  min-height: 92vh;
  background-image:
    linear-gradient(90deg, rgba(10,10,10,.82), rgba(10,10,10,.35), rgba(10,10,10,.15)),
    url("https://myfantasy.space/galleries/Models/Melissa/profile.jpg");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}

.mf-hero__overlay {
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.mf-hero__content {
  max-width: 640px;
  color: #fff;
}

.mf-kicker {
  color: #c8a96a;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .85rem;
}

.mf-hero__content h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: .9;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mf-hero__content p {
  font-size: 1.25rem;
}

.mf-hero__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mf-signin {
	border-radius:25%;
	background-colour:black;
	text-color:gold;
	
