/* ── Reset & base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #1a1410;
  --bg2:         #241c15;
  --bg3:         #2f261d;
  --accent:      #e8943a;
  --accent-h:    #c9762a;
  --accent2:     #d4543b;
  --gold:        #f0c674;
  --text:        #ede0d0;
  --text-muted:  #a3917c;
  --border:      #3a2e22;
  --radius:      4px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  line-height: 1.8; letter-spacing: .004em;
}
img  { max-width: 100%; display: block; }
a    { color: var(--accent); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ── Masthead: logo above, centered nav below ──────────────────────────── */
.masthead {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; padding: 2rem 1.5rem 1.5rem;
  background: var(--bg2); border-bottom: 2px solid var(--border);
  text-align: center;
}
.masthead-brand { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.masthead-logo {
  font-size: 1.85rem; font-weight: 800; color: var(--text);
  letter-spacing: .04em; font-family: Georgia, serif;
}
.masthead-logo:hover { color: var(--accent); }
.masthead-tag {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .26em;
  color: var(--text-muted);
}
.masthead-nav {
  display: flex; align-items: center; gap: 2.5rem;
}
.mnav-link {
  color: var(--text-muted); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
}
.mnav-link:hover { color: var(--text); }
.masthead-cta {
  background: var(--accent); color: #1a1410 !important;
  font-weight: 800; padding: .55rem 1.4rem;
  border-radius: 0; text-transform: uppercase; letter-spacing: .08em;
  font-size: .74rem;
}
.masthead-cta:hover { background: var(--accent-h); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--accent); width: 42px; height: 42px; border-radius: var(--radius);
  font-size: 1.3rem; cursor: pointer;
}
.mobile-menu { display: none; }

/* ── Hero: full-width background image with overlay text ───────────────── */
.hero {
  background-size: cover; background-position: center top;
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 2px solid var(--border);
}
.hero-overlay {
  max-width: 760px; padding: 4rem 2rem; text-align: center;
}
.hero-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .26em; color: var(--gold);
  margin-bottom: 1.5rem; padding: .4rem 1rem;
  border: 1px solid var(--gold);
}
.hero-overlay h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; color: #fff;
  line-height: 1.04; margin-bottom: 1.25rem; letter-spacing: -.02em;
  font-family: Georgia, serif;
}
.hero-sub {
  font-size: 1.2rem; color: var(--text); margin-bottom: 2rem;
  max-width: 560px; margin-left: auto; margin-right: auto; opacity: .92;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ── Stats strip ───────────────────────────────────────────────────────── */
.stats-strip { background: var(--bg3); border-bottom: 1px solid var(--border); }
.stats-strip-inner {
  display: flex; justify-content: space-around; gap: 1rem;
  padding: 1.75rem 0; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block; font-size: 2rem; font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.stat-label {
  display: block; font-size: .66rem; text-transform: uppercase;
  letter-spacing: .18em; color: var(--text-muted); margin-top: .5rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #1a1410; font-weight: 800; padding: .8rem 1.8rem;
  border-radius: 0; transition: background .15s, transform .15s;
  text-transform: uppercase; letter-spacing: .07em; font-size: .8rem;
}
.btn-cta:hover { background: var(--accent-h); transform: translateY(-2px); text-decoration: none; color: #1a1410; }
.btn-cta--hero { font-size: .95rem; padding: 1rem 2.4rem; }
.btn-cta--full { display: block; text-align: center; }
.btn-cta--tg   { background: #00AFF0; color: #111; }
.btn-cta--tg:hover { background: #00a0d9; color: #111; }
.banner-cta-group { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.btn-secondary {
  display: inline-block; border: 2px solid var(--accent); color: var(--accent);
  padding: .8rem 1.8rem; border-radius: 0; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; font-size: .8rem;
}
.btn-secondary:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

/* ── Section titles ────────────────────────────────────────────────────── */
.section-title {
  font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 2rem;
  font-family: Georgia, serif; letter-spacing: -.01em;
  text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 2px solid var(--accent); padding-bottom: .75rem;
}

/* ── Home two-column layout: main feed + right aside ───────────────────── */
.home-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 3rem;
  padding-top: 4rem; padding-bottom: 4rem; align-items: start;
}
.home-aside { position: sticky; top: 1.5rem; }

/* ── Row list: horizontal left thumb + body ────────────────────────────── */
.row-list { display: flex; flex-direction: column; gap: 2rem; }
.row-item {
  display: flex; gap: 1.75rem; align-items: stretch;
  color: inherit; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.row-item:last-child { border-bottom: none; }
.row-item:hover { text-decoration: none; }
.row-thumb {
  flex: 0 0 200px; overflow: hidden; border-radius: var(--radius);
}
.row-thumb img {
  width: 100%; height: 100%; min-height: 150px; object-fit: cover;
  object-position: center; transition: transform .35s;
}
.row-item:hover .row-thumb img { transform: scale(1.05); }
.row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-date {
  font-size: .68rem; color: var(--accent); text-transform: uppercase;
  letter-spacing: .12em; font-weight: 700; margin-bottom: .5rem;
}
.row-title {
  font-size: 1.4rem; font-weight: 800; color: var(--text);
  line-height: 1.25; margin-bottom: .6rem; font-family: Georgia, serif;
}
.row-item:hover .row-title { color: var(--accent); }
.row-desc {
  font-size: .92rem; color: var(--text-muted); line-height: 1.6;
  margin-bottom: .75rem;
}
.row-readmore {
  font-size: .74rem; color: var(--gold); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-top: auto;
}
.view-all { margin-top: 3rem; text-align: center; }

/* ── Home aside model card ─────────────────────────────────────────────── */
.aside-model-card {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 1.5rem; text-align: center; margin-bottom: 1.5rem;
}
.aside-model-img {
  width: 100%; height: 240px; object-fit: cover; object-position: top;
  border-radius: var(--radius); margin-bottom: 1rem;
}
.aside-model-name {
  font-weight: 800; font-size: 1.25rem; color: #fff;
  margin-bottom: .6rem; font-family: Georgia, serif;
}
.aside-model-bio { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.55; }
.aside-gallery h4 {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: .85rem;
}
.aside-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.aside-gallery-grid a { display: block; overflow: hidden; border: 1px solid var(--border); }
.aside-gallery-grid a:hover { border-color: var(--accent); }
.aside-gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* ── Model carousel ───────────────────────────────────────────────────── */
.model-carousel { display: flex; gap: 1rem; margin: 2.5rem 0; overflow-x: auto; padding-bottom: .5rem; }
.model-carousel-card {
  flex: 0 0 190px; background: var(--bg2); border: 1px solid var(--border);
  overflow: hidden; text-align: center;
  color: inherit; transition: transform .15s; display: block;
}
.model-carousel-card:hover { transform: translateY(-3px); text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.model-carousel-img { overflow: hidden; }
.model-carousel-img img { width: 100%; height: 210px; object-fit: cover; object-position: top; transition: transform .3s; }
.model-carousel-card:hover .model-carousel-img img { transform: scale(1.05); }
.model-carousel-info { padding: .8rem .9rem 1rem; }
.model-carousel-name { display: block; font-weight: 800; font-size: .98rem; color: var(--text); margin-bottom: .25rem; }
.model-carousel-cta { display: block; font-size: .74rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* ── CTA banner ────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--bg3);
  border-top: 2px solid var(--accent); padding: 4rem 0;
}
.cta-banner-inner {
  display: flex; align-items: center; gap: 2.5rem;
  justify-content: center; flex-wrap: wrap; text-align: center;
}
.cta-avatar {
  width: 130px; height: 130px; object-fit: cover; object-position: top;
  border-radius: 0; border: 3px solid var(--gold); flex-shrink: 0;
}
.cta-banner-text h3 { font-size: 1.7rem; color: #fff; margin-bottom: .65rem; font-family: Georgia, serif; }
.cta-banner-text p  { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.cta-banner-text .banner-cta-group { justify-content: center; }

/* ── Inline CTAs ──────────────────────────────────────────────────────── */
.cta-inline {
  background: var(--bg3); border-left: 4px solid var(--accent2);
  padding: 1.1rem 1.5rem; margin: 2rem 0;
}
.cta-inline p { margin: 0; color: var(--text-muted); }
.cta-link { color: var(--accent); font-weight: 700; }

/* ── SEO section ───────────────────────────────────────────────────────── */
.seo-section { padding: 4rem 0; }
.seo-content { max-width: 760px; margin: 0 auto; }
.seo-content h1, .seo-content h2, .seo-content h3 { color: #fff; margin: 2rem 0 .85rem; font-family: Georgia, serif; }
.seo-content h1 { font-size: 2rem; }
.seo-content h2 { font-size: 1.45rem; }
.seo-content h3 { font-size: 1.2rem; }
.seo-content p  { margin-bottom: 1.25rem; color: var(--text-muted); }
.seo-content ul, .seo-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--text-muted); }
.seo-content li { margin-bottom: .5rem; }
.seo-content a  { color: var(--accent); }
.seo-content strong { color: var(--text); }

/* ── Post full page: main + right sidebar only ─────────────────────────── */
.post-full { padding: 3rem 0 4.5rem; }
.post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.post-header { margin-bottom: 2.5rem; }
.post-game-hero { margin: 0 0 2rem; padding: 0; }
.post-game-hero img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
.post-header .post-title { font-size: clamp(1.9rem, 4vw, 2.9rem); color: #fff; line-height: 1.12; margin-bottom: 1rem; font-family: Georgia, serif; }
.post-meta { display: flex; gap: 1.5rem; color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; padding-bottom: 1.25rem; border-bottom: 2px solid var(--border); }
.post-meta .post-author { color: var(--accent); font-weight: 700; }
.post-body { color: var(--text-muted); font-size: 1.08rem; max-width: 720px; }
.post-body h1, .post-body h2, .post-body h3 { color: #fff; margin: 2.25rem 0 .85rem; font-family: Georgia, serif; }
.post-body h2 { font-size: 1.55rem; }
.post-body h3 { font-size: 1.25rem; }
.post-body p  { margin-bottom: 1.3rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.3rem; }
.post-body li { margin-bottom: .5rem; }
.post-body a  { color: var(--accent); }
.post-body strong { color: var(--text); }
.post-end-cta {
  background: var(--bg2);
  border: 2px solid var(--gold); border-radius: var(--radius);
  padding: 2.5rem; margin-top: 3rem; text-align: center;
}
.post-end-cta p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.post-end-cta .btn-cta { margin: 0 .35rem; }

/* ── Sidebars (post page) ──────────────────────────────────────────────── */
.sidebar-left { display: none; }
.sidebar-right { position: sticky; top: 1.5rem; }
.model-card-mini {
  text-align: center; padding: 1.5rem; background: var(--bg2);
  border: 1px solid var(--border); margin-bottom: 1.5rem;
}
.model-mini-img {
  width: 100%; height: 180px; object-fit: cover; object-position: top;
  border-radius: var(--radius); margin-bottom: 1rem;
}
.model-mini-name { font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: .75rem; font-family: Georgia, serif; }
.model-mini-cta {
  display: block; background: var(--accent);
  color: #1a1410; padding: .6rem 1rem; border-radius: 0;
  font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em;
}
.model-mini-cta:hover { background: var(--accent-h); color: #1a1410; text-decoration: none; }

.sidebar-section--left, .sidebar-section--right {
  padding: 1.5rem; background: var(--bg2); border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.sidebar-title-left, .sidebar-title-right {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); font-weight: 800; margin-bottom: 1rem;
}
.sidebar-posts-list { list-style: none; padding: 0; margin: 0; }
.sidebar-posts-list li { padding: .6rem 0; border-bottom: 1px solid var(--border); }
.sidebar-posts-list li:last-child { border-bottom: none; }
.sidebar-posts-list a { color: var(--text-muted); font-size: .85rem; line-height: 1.45; display: block; }
.sidebar-posts-list a:hover { color: var(--accent); text-decoration: none; }
.mt-3 { margin-top: 1rem; }

.cta-sidebar {
  background: var(--bg3);
  border: 2px solid var(--gold);
  padding: 1.75rem; text-align: center; margin-bottom: 1.5rem;
}
.cta-sidebar-title { font-weight: 800; color: #fff; margin-bottom: .6rem; font-family: Georgia, serif; }
.cta-sidebar-text { font-size: .82rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.cta-sidebar-btn {
  display: block; background: var(--accent);
  color: #1a1410; padding: .65rem 1rem; border-radius: 0;
  font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em;
}
.cta-sidebar-btn:hover { background: var(--accent-h); color: #1a1410; text-decoration: none; }

/* ── Posts list page (archive grid 2-col) ─────────────────────────────── */
.posts-list-page { padding: 4rem 0; }
.page-title {
  font-size: 2.1rem; color: #fff; margin-bottom: 2.5rem;
  font-family: Georgia, serif; letter-spacing: -.01em; text-align: center;
}
.archive-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.archive-card {
  display: flex; flex-direction: column; color: inherit;
  background: var(--bg2); border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.archive-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,.5); text-decoration: none; }
.archive-thumb { overflow: hidden; aspect-ratio: 16/9; }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.archive-card:hover .archive-thumb img { transform: scale(1.06); }
.archive-body { padding: 1.5rem; }
.archive-date { font-size: .68rem; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.archive-title { font-size: 1.3rem; font-weight: 800; color: var(--text); margin: .6rem 0; line-height: 1.25; font-family: Georgia, serif; }
.archive-card:hover .archive-title { color: var(--accent); }
.archive-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg2); border-top: 2px solid var(--border); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-inner span { color: var(--text-muted); font-size: .82rem; }
.footer-nav { display: flex; gap: 1.75rem; }
.footer-nav a { color: var(--text-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-nav a:hover { color: var(--accent); text-decoration: none; }

/* ── Inline post photos ────────────────────────────────────────────────── */
.post-photo-link {
  float: right;
  width: 42%;
  margin: 0.25rem 0 1.25rem 1.5rem;
  text-decoration: none;
  clear: right;
}
@media (max-width: 600px) {
  .post-photo-link { float: none; width: 100%; max-width: 320px; margin: 1.25rem auto; display: block; }
}
.post-inline-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); transition: opacity .2s;
}
.post-photo-link:hover .post-inline-img { opacity: .92; }
.post-body::after { content: ""; display: table; clear: both; }

/* ── Game screenshots ──────────────────────────────────────────────────── */
.game-screenshot { margin: 2.5rem 0; padding: 0; clear: both; }
.game-screenshot img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
.game-screenshot figcaption { font-size: .78rem; text-align: center; margin-top: .4rem; color: var(--text-muted, #888); font-style: italic; }

/* ── Sidebar media grid ────────────────────────────────────────────────── */
.sidebar-media { margin-top: 1.5rem; }
.sidebar-media h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: .85rem; }
.sidebar-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sidebar-media-grid a { display: block; overflow: hidden; border: 1px solid var(--border); }
.sidebar-media-grid a:hover { border-color: var(--accent); }
.sidebar-media-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* ── Placeholder SVG ───────────────────────────────────────────────────── */
img[src="/img/placeholder.svg"] { background: var(--bg3); }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .home-layout { grid-template-columns: 1fr; }
  .home-aside { position: static; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar-right { position: static; }
  .archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .masthead-nav { gap: 1.5rem; }
  .masthead-nav .mnav-link, .masthead-nav .masthead-cta { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .mobile-menu.open {
    display: flex; flex-direction: column; gap: .25rem;
    padding: 1rem 1.75rem 1.5rem; background: var(--bg2);
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu.open a {
    color: var(--text-muted); font-weight: 700; padding: .7rem 0;
    text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
    border-bottom: 1px solid var(--border); text-align: center;
  }
  .mobile-menu.open a:last-child { border-bottom: none; }
  .hero { min-height: 380px; }
  .hero-overlay { padding: 3rem 1.5rem; }
  .row-item { flex-direction: column; gap: 1rem; }
  .row-thumb { flex: none; width: 100%; aspect-ratio: 16/9; }
  .cta-banner-inner { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: .85rem; text-align: center; }
}
/* ── No-posts layout (homepage before posts are published) ──────────────── */
.no-posts-layout {
  padding: 3rem 2rem;
}
.model-card-featured {
  display: flex; gap: 3rem; align-items: flex-start;
  max-width: 900px; margin: 0 auto;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.model-card-img {
  width: 340px; flex-shrink: 0;
  object-fit: cover; aspect-ratio: 3/4;
}
.model-card-body {
  padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: 1.2rem;
}
.model-card-name {
  font-size: 2rem; font-weight: 800; color: var(--text);
  font-family: Georgia, serif;
}
.model-card-bio {
  color: var(--text-muted); line-height: 1.8; font-size: 1.05rem;
}
.model-card-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: .5rem;
}
@media (max-width: 680px) {
  .model-card-featured { flex-direction: column; }
  .model-card-img { width: 100%; aspect-ratio: 16/9; }
  .model-card-body { padding: 1.5rem; }
}

/* CTA dual-button spacing */
.btn-cta + .btn-cta { margin-left: .75rem; }
.cta-sidebar-btn + .cta-sidebar-btn { margin-top: .5rem; }
.model-mini-cta + .model-mini-cta { margin-top: .5rem; }
.topbar-cta + .topbar-cta--tg,
.masthead-cta + .masthead-cta--tg,
.top-nav-cta + .top-nav-tg,
.sidenav-cta + .sidenav-cta--tg { margin-left: .5rem; }

/* Telegram button color — all button types */
.btn-cta--tg,
.topbar-cta--tg,
.masthead-cta--tg,
.sidenav-cta--tg,
.top-nav-tg,
.cta-sidebar-btn--tg,
.model-mini-cta--tg {
  background: #00AFF0 !important;
  background-image: none !important;
  color: #111 !important;
}
.btn-cta--tg:hover,
.topbar-cta--tg:hover,
.masthead-cta--tg:hover,
.sidenav-cta--tg:hover,
.cta-sidebar-btn--tg:hover,
.model-mini-cta--tg:hover {
  background: #00a0d9 !important;
  background-image: none !important;
  color: #111 !important;
}
