/* ── 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;
  --sidenav-w:   250px;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }

/* ── Layout shell: fixed left nav + scrollable main ───────────────────── */
.layout-shell { min-height: 100vh; }
.layout-main {
  margin-left: var(--sidenav-w);
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding: 0;
}
.layout-main > section { width: 100%; }

/* ── Vertical side nav panel ──────────────────────────────────────────── */
.sidenav {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidenav-w);
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 2.5rem 1.75rem;
  z-index: 200;
}
.sidenav-top { margin-bottom: 2.5rem; }
.sidenav-brand { display: flex; align-items: center; gap: .7rem; }
.sidenav-mark {
  width: 14px; height: 14px; border-radius: 3px;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
  transform: rotate(45deg); flex-shrink: 0;
}
.sidenav-brand-text {
  font-size: 1.15rem; font-weight: 800; color: var(--text);
  font-family: Georgia, serif; letter-spacing: .01em; line-height: 1.2;
}
.sidenav-brand:hover .sidenav-brand-text { color: var(--accent); }
.sidenav-tagline {
  margin-top: .9rem; font-size: .66rem; text-transform: uppercase;
  letter-spacing: .22em; color: var(--gold); font-weight: 700;
}
.sidenav-links { display: flex; flex-direction: column; gap: .2rem; }
.sidenav-links a {
  color: var(--text-muted); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  padding: .8rem 0; border-bottom: 1px solid var(--border);
  transition: color .15s, padding-left .15s;
}
.sidenav-links a:hover { color: var(--text); padding-left: .4rem; }
.sidenav-cta-wrap { margin-top: 2rem; }
.sidenav-cta {
  display: block; text-align: center;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410 !important; font-weight: 800; padding: .85rem 1rem;
  border-radius: 3px; text-transform: uppercase; letter-spacing: .1em;
  font-size: .78rem;
}
.sidenav-cta:hover { opacity: .9; }
.sidenav-foot {
  margin-top: auto; padding-top: 2rem;
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .68rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.sidenav-foot a { color: var(--text-muted); }
.sidenav-foot a:hover { color: var(--accent); }

/* ── Mobile bar (hidden on desktop) ───────────────────────────────────── */
.mobile-bar { display: none; }
.mobile-menu { display: none; }
.nav-toggle {
  background: none; border: 1px solid var(--border);
  color: var(--accent); width: 42px; height: 42px; border-radius: var(--radius);
  font-size: 1.3rem; cursor: pointer;
}

/* ── Full-width background hero with overlay text ─────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 520px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.layout-main { padding-top: 0; }
.hero-split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 2.5rem;
}
.hero-split-photo {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 2rem 2rem 0;
}
.hero-split-photo img {
  width: 100%; height: 100%;
  max-height: 460px;
  object-fit: cover; object-position: top center;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.hero-eyebrow {
  display: inline-block; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .25em; color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-split-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; color: #fff;
  line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -.025em;
  font-family: Georgia, serif;
}

/* ── Stats strip (horizontal bar) ─────────────────────────────────────── */
.stats-strip {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.stats-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  text-align: center; padding: 1.75rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.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: .16em; color: var(--text-muted); margin-top: .5rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-cta {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410; font-weight: 800; padding: .85rem 1.8rem;
  border-radius: 3px; transition: opacity .15s, transform .15s;
  text-transform: uppercase; letter-spacing: .08em; font-size: .82rem;
}
.btn-cta:hover { opacity: .9; 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; }
.hero-cta-group, .banner-cta-group { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; }
.btn-secondary {
  display: inline-block; border: 1px solid var(--accent); color: var(--accent);
  padding: .8rem 1.8rem; border-radius: 3px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
}
.btn-secondary:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

/* ── Section titles ────────────────────────────────────────────────────── */
.section-title {
  font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 2.5rem;
  font-family: Georgia, serif; letter-spacing: -.015em;
  padding-bottom: 1rem; border-bottom: 2px solid var(--border);
}

/* ── Magazine layout ──────────────────────────────────────────────────── */
.mag-section { padding: 4.5rem 0; }
.mag-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.mag-feature {
  display: block; color: inherit;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg2);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  transition: transform .25s, box-shadow .25s;
}
.mag-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
  text-decoration: none;
}
.mag-feature-img { aspect-ratio: 16/9; overflow: hidden; }
.mag-feature-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .5s;
}
.mag-feature:hover .mag-feature-img img { transform: scale(1.05); }
.mag-feature-body { padding: 2rem; }
.mag-badge {
  display: inline-block; font-size: .64rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em; color: var(--gold);
  border: 1px solid var(--gold); padding: .3rem .8rem; border-radius: 2px;
  margin-bottom: 1.1rem;
}
.mag-feature-title {
  font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1.15;
  margin-bottom: 1rem; font-family: Georgia, serif;
}
.mag-feature-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.4rem; }
.mag-feature-meta {
  display: flex; align-items: center; gap: .6rem;
  font-size: .76rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.mag-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  object-position: top; border: 1.5px solid var(--accent); flex-shrink: 0;
}
.mag-dot { opacity: .5; }

.mag-list { display: flex; flex-direction: column; gap: 1.5rem; }
.mag-item {
  display: flex; gap: 1.1rem; align-items: center;
  color: inherit; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: transform .15s;
}
.mag-list .mag-item:last-child { border-bottom: none; padding-bottom: 0; }
.mag-item:hover { transform: translateX(4px); text-decoration: none; }
.mag-item-thumb {
  flex-shrink: 0; width: 100px; height: 100px; border-radius: var(--radius);
  overflow: hidden;
}
.mag-item-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mag-item-body { flex: 1; min-width: 0; }
.mag-item-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  line-height: 1.3; margin-bottom: .5rem; font-family: Georgia, serif;
}
.mag-item:hover .mag-item-title { color: var(--accent); }
.mag-item-date { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

.view-all { margin-top: 3.5rem; text-align: center; }

/* ── Model carousel (top-list posts) ──────────────────────────────────── */
.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-radius: var(--radius); overflow: hidden; text-align: center;
  color: inherit; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .15s; display: block;
}
.model-carousel-card:hover { transform: translateY(-3px); text-decoration: none; }
.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: .06em; }

/* ── CTA banner ────────────────────────────────────────────────────────── */
.cta-banner {
  background:
    radial-gradient(circle at 20% 50%, rgba(232,148,58,.16), transparent 50%),
    linear-gradient(120deg, var(--bg3), var(--bg2));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 0;
}
.cta-banner-inner { display: flex; align-items: center; gap: 2.5rem; }
.cta-avatar {
  width: 120px; height: 120px; object-fit: cover; object-position: top;
  border-radius: var(--radius); border: 2px solid var(--gold); flex-shrink: 0;
}
.cta-banner-text h3 { font-size: 1.7rem; color: #fff; margin-bottom: .6rem; font-family: Georgia, serif; }
.cta-banner-text p  { color: var(--text-muted); margin-bottom: 1.4rem; font-size: 1.05rem; }

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

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

/* ── Post full page ────────────────────────────────────────────────────── */
.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; display: flex; gap: 1.75rem; align-items: flex-start;
  flex-wrap: wrap;
}
.post-header-text { flex: 1; min-width: 0; }
.post-header .post-title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; line-height: 1.1; margin-bottom: 1rem; font-family: Georgia, serif; }
.post-meta { display: flex; gap: 1.25rem; color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.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.2rem 0 .8rem; font-family: Georgia, serif; }
.post-body h2 { font-size: 1.55rem; }
.post-body h3 { font-size: 1.2rem; }
.post-body p  { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body li { margin-bottom: .5rem; }
.post-body a  { color: var(--accent); }
.post-body strong { color: var(--text); }
.post-end-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(232,148,58,.14), transparent 55%),
    var(--bg2);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: 2.25rem; margin-top: 3rem; text-align: center;
}
.post-end-cta p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1.05rem; }

/* ── Post header model mini ────────────────────────────────────────────── */
.sidebar-left { flex: 0 0 180px; }
.model-card-mini {
  text-align: center; padding: 1.25rem; background: var(--bg2);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.model-mini-img {
  width: 100%; height: 150px; object-fit: cover; object-position: top;
  border-radius: var(--radius); margin-bottom: .8rem;
}
.model-mini-name { font-weight: 800; font-size: 1rem; color: var(--text); margin-bottom: .6rem; font-family: Georgia, serif; }
.model-mini-cta {
  display: block;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410; padding: .55rem 1rem; border-radius: 3px;
  font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em;
}
.model-mini-cta:hover { opacity: .9; color: #1a1410; text-decoration: none; }

/* ── Right sidebar (post page) ─────────────────────────────────────────── */
.sidebar-right { position: sticky; top: 2rem; }
.sidebar-section--right {
  padding: 1.5rem; background: var(--bg2);
  border-radius: var(--radius); margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.sidebar-title-right {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  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:
    radial-gradient(circle at 50% 0%, rgba(232,148,58,.18), transparent 60%),
    linear-gradient(135deg, var(--bg3), var(--bg2));
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: 1.75rem; text-align: center; margin-bottom: 1.5rem;
}
.cta-sidebar-title { font-weight: 800; color: #fff; margin-bottom: .5rem; font-family: Georgia, serif; }
.cta-sidebar-text { font-size: .82rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.cta-sidebar-btn {
  display: block; background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1a1410; padding: .65rem 1rem; border-radius: 3px;
  font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em;
}
.cta-sidebar-btn:hover { opacity: .9; color: #1a1410; text-decoration: none; }
.personal-teaser-card {
  display: block; color: inherit; padding: 1.5rem; background: var(--bg2);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.personal-teaser-card:hover { text-decoration: none; }
.personal-teaser-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent2); font-weight: 800; }
.personal-teaser-title { font-weight: 700; color: var(--text); margin: .4rem 0; font-size: .95rem; font-family: Georgia, serif; }
.personal-teaser-arrow { font-size: .78rem; color: var(--accent); font-weight: 700; }

/* ── Posts list page (card grid) ───────────────────────────────────────── */
.posts-list-page { padding: 4rem 0; }
.page-title {
  font-size: 2.2rem; color: #fff; margin-bottom: 3rem;
  font-family: Georgia, serif; letter-spacing: -.015em;
  padding-bottom: 1rem; border-bottom: 2px solid var(--border);
}
.archive-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.archive-card {
  display: block; color: inherit; background: var(--bg2);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
  text-decoration: none;
}
.archive-thumb { aspect-ratio: 4/3; overflow: hidden; }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s; }
.archive-card:hover .archive-thumb img { transform: scale(1.06); }
.archive-body { padding: 1.5rem; }
.archive-date { font-size: .66rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.archive-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin: .6rem 0 .7rem; line-height: 1.25; font-family: Georgia, serif; }
.archive-card:hover .archive-title { color: var(--accent); }
.archive-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 2.5rem 0; margin-top: auto; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; 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.5rem; }
.footer-nav a { color: var(--text-muted); font-size: .72rem; 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.25rem 0; padding: 0; clear: both; }
.game-screenshot img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.game-screenshot figcaption { font-size: .78rem; text-align: center; margin-top: .5rem; color: var(--text-muted, #888); font-style: italic; }

/* ── Game hero banner ──────────────────────────────────────────────────── */
.post-game-hero { margin: 0 0 2rem; padding: 0; }
.post-game-hero img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
/* Sidebar model card */
.sidebar-model-card {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-model-photo {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top center;
  border-radius: 8px;
  margin-bottom: .75rem;
}
.sidebar-model-name {
  font-weight: 700; font-size: 1rem;
  color: var(--text); margin-bottom: .35rem;
}
.sidebar-model-bio {
  font-size: .82rem; color: var(--text-muted);
  line-height: 1.5; margin-bottom: 1rem;
}

/* 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;
}
