:root {
  --bg: #05070b;
  --card: #10141d;
  --card-soft: #141a26;
  --text: #f4f7ff;
  --muted: #a6b0c2;
  --accent: #ff4d8b;
  --accent-soft: rgba(255,77,139,0.12);
  --border: #222838;
  --gap: 1.25rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --shadow-soft: 0 14px 40px rgba(0,0,0,0.6);
  --font-main: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.page {
  background: radial-gradient(circle at top left, #181b29 0, #05070b 45%);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: #7dd3fc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(to bottom, rgba(5,7,11,0.95), rgba(5,7,11,0.85));
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.logo span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
}
.main-nav a {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}
.main-nav a:hover {
  border-color: rgba(125,211,252,0.5);
  background: rgba(15,23,42,0.9);
  text-decoration: none;
}

.main-content {
  padding: 26px 0 56px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75em;
}
h1 {
  font-size: 1.8rem;
}
h2 {
  font-size: 1.35rem;
}
h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.section {
  margin-top: 2.4rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb span {
  color: #e5e7eb;
}

/* Room grid */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--gap);
  margin-top: 1.25rem;
}

.room-card {
  background: radial-gradient(circle at top, #1b2233 0, #111522 60%, #090b12 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.24);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.room-card.small {
  box-shadow: none;
  border-color: rgba(148,163,184,0.18);
}
.room-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.room-meta {
  padding: 10px 12px 12px;
}
.room-meta h3 {
  margin: 0 0 0.3em;
  font-size: 0.98rem;
}
.room-meta p {
  margin: 0 0 0.7em;
  font-size: 0.8rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), #f97373);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  cursor: pointer;
}
.btn-primary:hover {
  opacity: 0.95;
  text-decoration: none;
}

/* Categories */
.category-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.category-grid li a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.35);
  background: rgba(15,23,42,0.85);
  font-size: 0.9rem;
}
.category-grid li a:hover {
  border-color: var(--accent);
}

/* Model page */
.model-page h1 {
  margin-top: 0.2rem;
}
.model-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.model-embed {
  margin-top: 1.4rem;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--card-soft);
  border: 1px solid rgba(148,163,184,0.32);
}
.embed-wrapper iframe {
  width: 100%;
  min-height: 420px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}
.tiny-note {
  font-size: 0.75rem;
  margin-top: 0.6rem;
  color: var(--muted);
}

.model-bio,
.model-tags,
.related-rooms {
  margin-top: 1.8rem;
}

.model-tags ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.model-tags li {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--text);
}

/* FAQ */
.faq {
  margin: 0;
}
.faq dt {
  font-weight: 600;
  margin-top: 0.9rem;
  color: #e5e7eb;
}
.faq dd {
  margin: 0.2rem 0 0.6rem 0;
  color: var(--muted);
}

/* Forms */
.search-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 1rem 0 1.5rem;
}
.search-form input[type="search"] {
  flex: 1;
  padding: 9px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  color: var(--text);
}
.search-form button {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(148,163,184,0.9);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
}
.search-form button:hover {
  background: #e5e7eb;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148,163,184,0.2);
  background: #020617;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 14px;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .embed-wrapper iframe {
    min-height: 360px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
