/* Лендинг «Драконы» — mobile-first, системные шрифты, без внешних зависимостей */
:root{
  --bg:#0e1116; --panel:#151b25; --ink:#e9e4d8; --muted:#b9b2a4;
  --fire:#e08b3c; --sky:#7fb2d9; --line:#2a3444;
}
*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg); color:var(--ink);
  font:17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1,h2,h3{font-family:Georgia, "Times New Roman", serif; line-height:1.2}
h1{font-size:clamp(28px,7vw,44px)}
h2{font-size:clamp(22px,5.5vw,32px); margin-bottom:.6em}
section>h2{text-align:center}
.author-portrait{display:block; width:150px; height:150px; margin:0 auto 18px;
  border-radius:50%; object-fit:cover}
section{padding:48px 18px; max-width:860px; margin:0 auto}
a{color:var(--sky)}

/* Хиро */
.hero{position:relative; max-width:none; padding:0; overflow:hidden;
  border-bottom:1px solid rgba(218,166,85,.7);
  box-shadow:0 14px 28px -20px rgba(0,0,0,.95), 0 7px 20px -16px rgba(224,139,60,.9)}
.hero-art{position:absolute; inset:0}
.hero-art img{width:100%; height:100%; object-fit:cover; object-position:center 35%}
.hero-inner{position:relative; padding:64px 20px 40px; max-width:860px; margin:0 auto;
  background:linear-gradient(180deg, rgba(10,13,19,.5) 0%, rgba(10,13,19,.86) 78%)}
.hero-kicker{color:var(--fire); letter-spacing:.12em; text-transform:uppercase; font-size:13px; margin-bottom:10px}
.hero-sub{font-family:Georgia,serif; font-size:clamp(18px,4.5vw,24px); color:var(--sky); margin:4px 0 14px}
.hero-hook{max-width:560px; margin:0 0 22px; font-size:clamp(16px,4.2vw,19px)}
.hero-note{color:var(--muted); font-size:14px; margin-top:12px}
/* ПК: сначала крупная иллюстрация без текста; блок книги остаётся под ней. */
@media(min-width:900px){
  .hero-inner{width:100%; max-width:none; height:clamp(520px,68vh,760px);
    margin:0; padding:0; background:#0e1116}
  .hero-inner>:not(.hero-art){display:none}
  .hero-art{z-index:1}
}
.hero-divider{position:absolute; z-index:3; left:50%; bottom:0;
  width:min(680px,88%); height:18px; transform:translateX(-50%);
  display:flex; align-items:center; gap:11px; color:#d9aa61}
.hero-divider::before,.hero-divider::after{content:""; flex:1; height:1px;
  background:#d9aa61; box-shadow:0 0 7px rgba(224,167,83,.7)}
.hero-divider span{display:block; width:9px; height:9px; transform:rotate(45deg);
  border:1px solid #f0c77f; background:#17130f;
  box-shadow:0 0 8px rgba(224,167,83,.75)}

/* Ясное представление книги сразу после шапки */
.book-identity{padding:34px 18px 18px; text-align:center}
.book-type{color:var(--fire); font-size:13px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; margin-bottom:8px}
.book-identity h2{max-width:720px; margin:0 auto; text-wrap:balance}
.book-publishing{display:inline-block; margin-top:14px; padding:9px 16px;
  border:1px solid var(--line); border-radius:999px; background:var(--panel);
  color:var(--muted); font-size:15px; line-height:1.45}
.book-publishing strong{color:var(--sky)}

/* CTA */
.cta{
  display:inline-block; padding:14px 26px; border-radius:10px;
  background:var(--fire); color:#14100a; font-weight:700; font-size:17px;
  text-decoration:none; border:none; cursor:pointer;
  box-shadow:0 4px 18px rgba(224,139,60,.35);
}
.cta:active{transform:translateY(1px)}
.cta.ghost{background:transparent; color:var(--fire); border:2px solid var(--fire); box-shadow:none}

/* Крючки */
.hook-grid{display:grid; gap:14px}
.hook{background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:18px}
.hook h3{color:var(--fire); margin-bottom:8px; font-size:19px}
@media(min-width:720px){.hook-grid{grid-template-columns:1fr 1fr 1fr}}

/* Атмосферный натюрморт-разделитель */
.story-still-life{max-width:860px; margin:0 auto; padding:0 18px}
.story-still-life img{display:block; width:100%; height:auto; border-radius:12px;
  border:1px solid rgba(185,134,71,.72);
  box-shadow:0 12px 30px rgba(0,0,0,.38), 0 0 18px rgba(176,112,48,.09)}

/* Книга */
.book1-inner{display:flex; flex-direction:column; gap:22px}
.book1-text{flex:1; min-width:0}
.book1-text>p+p{margin-top:12px}
.cover{max-width:240px; margin:0 auto}
.cover img{width:100%; max-width:210px; height:auto; display:block; margin:0 auto;
  box-shadow:0 10px 30px rgba(0,0,0,.5); border-radius:10px}
.reader-entry{position:relative; width:100%; max-width:none; margin:30px auto 0;
  padding:30px 24px 28px; overflow:hidden; text-align:center;
  color:#2d2115; background:#e5d1aa; border:1px solid #b98647; border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.5)}
.reader-entry::before{content:""; position:absolute; inset:7px; pointer-events:none;
  border:1px solid rgba(111,72,32,.28); border-radius:9px}
.reader-entry>*{position:relative; z-index:1}
.reader-entry .start-here{color:#4d2d14; font:700 20px/1.5 Georgia,serif;
  margin:0 0 10px}
.reader-prompt{color:#533d28; margin-bottom:15px}
.reader-entry .cta.ghost{background:#964817; color:#fff9ec; border-color:#6f3012;
  box-shadow:0 7px 18px rgba(80,38,12,.34)}
.reader-entry .cta.ghost:focus-visible{outline:3px solid #613114; outline-offset:3px}
.reader-entry .cta-sub{max-width:560px; margin:13px auto 0; color:#5a432c}
.reader-entry .cta-sub a{color:#713716}
@media(max-width:420px){.reader-entry{padding:26px 16px 24px}
  .reader-entry .start-here{font-size:18px}}
@media(min-width:720px){.book1-inner{flex-direction:row; align-items:flex-start}
  .cover{flex:0 0 240px}}

/* Цикл */
.cycle{background:var(--panel); border-radius:14px; border:1px solid var(--line); max-width:820px}
.cycle-lead{color:var(--muted); margin-bottom:14px}
.shelf{margin:18px 0 10px}
.shelf-ph{min-height:200px; border:1px dashed var(--line); border-radius:12px;
  display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:14px}
.shelf img{width:100%; max-width:720px; height:auto; display:block; margin:0 auto;
  border-radius:12px; border:1px solid var(--line)}
.shelf figcaption{font-size:13px; color:var(--muted); margin-top:6px; text-align:center}
.cycle-line{font-size:14px; color:var(--muted); text-align:center; line-height:1.7}
.cycle-line strong{color:var(--ink)}
.mini-cover{width:110px; margin:0}
.mini-cover img{width:100%; display:block; border-radius:6px; border:1px solid var(--line)}
.mini-cover .shadow-art{aspect-ratio:2/3; border-radius:6px; border:1px dashed var(--line);
  background:linear-gradient(160deg,#10161f,#1a2432); display:flex; align-items:center;
  justify-content:center; font:700 34px Georgia,serif; color:#3d4b5e}
.mini-cover.veiled img{opacity:.38; filter:saturate(.45) brightness(.95)}
.mini-cover figcaption{font-size:12px; color:var(--muted); margin-top:6px; text-align:center}
.mini-cover.real figcaption{color:var(--fire)}
.cycle-note{font-size:14px; color:var(--muted); margin-top:10px}

/* Мир */
.map img{width:100%; max-width:560px; height:auto; display:block; margin:0 auto;
  border-radius:12px; border:1px solid var(--line); cursor:zoom-in}
.map figcaption{font-size:13px; color:var(--muted); margin-top:6px; text-align:center}
.lightbox{position:fixed; inset:0; background:rgba(5,7,10,.94); z-index:50;
  overflow:auto; padding:16px; cursor:zoom-out}
.lightbox[hidden]{display:none}
.lightbox img{display:block; width:100%; max-width:900px; height:auto;
  margin:0 auto; border-radius:8px}
.lightbox-hint{color:var(--muted); font-size:13px; margin:10px auto 24px; text-align:center}
.art-row{display:grid; gap:12px; margin-top:48px}
.art{border-radius:10px}
.art img{width:100%; height:auto; display:block; border-radius:10px; border:1px solid var(--line)}
.art figcaption{font-size:13px; color:var(--muted); margin-top:6px}
.art.ph{border:1px dashed var(--line); min-height:140px;
  display:flex; align-items:center; justify-content:center; color:var(--muted)}
@media(min-width:720px){.art-row{grid-template-columns:1fr 1fr 1fr}}

/* Читалка фрагмента */
.cta-sub{color:var(--muted); font-size:14px; margin-top:10px}
.cta-sub a{color:inherit; text-decoration:underline}
.after-video{text-align:center; margin-top:18px}
.reader-teaser{text-align:center}
.reader-teaser p{color:var(--muted); margin-bottom:16px}
.reader{position:fixed; inset:0; z-index:60; display:flex; flex-direction:column}
.reader[hidden]{display:none}
.reader-bar{display:flex; gap:8px; justify-content:center; align-items:center;
  padding:10px; background:#0a0d13; flex-wrap:wrap}
.reader-bar button{border:1px solid var(--line); background:var(--panel); color:var(--ink);
  border-radius:8px; padding:8px 12px; cursor:pointer; font-size:15px}
.reader-body{flex:1; overflow:auto; padding:28px 16px 60px;
  font-size:var(--rfs,18px); line-height:1.75}
.reader-body h3{max-width:680px; margin:0 auto 1em; text-align:center}
.reader-body p{max-width:680px; margin:0 auto 1em}
.reader[data-theme="sepia"] .reader-body{background:#f3e9d2; color:#241d12}
.reader[data-theme="white"] .reader-body{background:#ffffff; color:#141414}
.reader[data-theme="dark"] .reader-body{background:#0f1216; color:#e8e8e8}
.cliff{max-width:680px; margin:2em auto 0; text-align:center;
  border-top:1px dashed currentColor; padding-top:1.4em}
.cliff-note{opacity:.7; font-size:.85em; margin-top:10px}

/* Видео припева: локальный фасад, VK iframe только после клика */
.video-box{position:relative; border-radius:12px; overflow:hidden;
  border:1px solid var(--line); background:#000; aspect-ratio:16/9; margin-top:10px}
.video-facade{position:absolute; inset:0}
.video-facade>img{width:100%; height:100%; object-fit:cover; display:block}
.video-facade iframe{width:100%; height:100%; border:0; display:block}
.video-overlay{position:absolute; inset:0; display:flex; align-items:center;
  justify-content:center; padding:18px;
  background:linear-gradient(180deg,rgba(10,13,19,.12),rgba(10,13,19,.7))}
.video-play{display:inline-flex; align-items:center; justify-content:center; gap:10px;
  max-width:100%; text-align:center}
.video-play span{font-size:.82em; font-weight:600; opacity:.75}
@media(max-width:420px){.video-play{padding:12px 18px; font-size:15px}}
.video-status,.video-fallback{font-size:14px; color:var(--muted); text-align:center;
  line-height:1.5; margin-top:10px}
.video-status:empty{display:none}
.video-fallback a{color:var(--sky); font-weight:600; text-underline-offset:3px}
.video-note{font-size:13px; color:var(--muted); margin-top:8px}

/* Цитаты */
blockquote{border-left:3px solid var(--fire); padding:6px 0 6px 16px; margin:0 0 18px;
  font-family:Georgia,serif; font-style:italic; font-size:18px; color:var(--ink)}

/* Автор */
.author{background:var(--panel); border:1px solid var(--line); border-radius:14px; max-width:820px; text-align:center}
.author p{max-width:620px; margin-left:auto; margin-right:auto}
.sign{font-family:Georgia,serif; font-style:italic; color:var(--fire); margin:10px 0 18px}

/* Финал */
.final{text-align:center}
.final p{color:var(--muted); margin-bottom:18px}

footer{padding:28px 18px 40px; text-align:center; color:var(--muted); font-size:13px;
  border-top:1px solid var(--line); margin-top:20px}
