:root{
  --bg:#090403;
  --bg2:#150906;
  --panel:#1a0c07;
  --panel2:#241109;
  --gold:#d7a14a;
  --gold-soft:#f3d08a;
  --gold-dark:#8d5a1f;
  --text:#f5eadb;
  --muted:#cbb7a2;
  --line:rgba(215,161,74,.45);
  --shadow:0 20px 60px rgba(0,0,0,.55);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html,body{
  width:100%;
  min-height:100%;
  background:
    radial-gradient(circle at 15% 20%, rgba(168,96,28,.18), transparent 30%),
    radial-gradient(circle at 78% 24%, rgba(255,176,75,.10), transparent 20%),
    radial-gradient(circle at 50% 120%, rgba(120,55,18,.25), transparent 35%),
    linear-gradient(180deg, #170805 0%, #090403 60%, #050202 100%);
  color:var(--text);
  font-family:Georgia, "Times New Roman", serif;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

body{
  position:relative;
}

#dust,
#goldCanvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

#dust{ z-index:0; }
#goldCanvas{ z-index:0; }

.page-shell{
  position:relative;
  z-index:2;
  min-height:100vh;
  padding:0 40px 60px;
  max-width:1800px;
  margin:0 auto;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:26px 32px;
  margin-top:18px;
  margin-bottom:30px;
  background:linear-gradient(180deg, rgba(37,16,9,.88), rgba(16,7,4,.88));
  border:1px solid rgba(215,161,74,.18);
  border-radius:26px;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
  backdrop-filter:blur(8px);
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
  font-size:30px;
  font-weight:700;
  letter-spacing:.3px;
  color:var(--gold-soft);
}

.brand-icon{
  width:34px;
  height:26px;
  border:2px solid var(--gold-soft);
  border-radius:4px 10px 10px 4px;
  position:relative;
  transform:perspective(400px) rotateY(-18deg);
  box-shadow:0 0 18px rgba(215,161,74,.35);
}

.brand-icon::before{
  content:"";
  position:absolute;
  top:2px;
  bottom:2px;
  left:50%;
  width:2px;
  background:var(--gold-soft);
  transform:translateX(-50%);
}

.menu{
  display:flex;
  gap:28px;
}

.menu a{
  color:#ead6bc;
  text-decoration:none;
  font-size:20px;
  position:relative;
  opacity:.92;
}

.menu a.active::after,
.menu a:hover::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-10px;
  height:2px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:50px;
  align-items:center;
  min-height:calc(100vh - 180px);
  padding:30px 0 20px;
}

.hero-left{
  display:flex;
  flex-direction:column;
  gap:26px;
}

.eyebrow{
  color:#e0b56e;
  font-size:16px;
  letter-spacing:2.4px;
  opacity:.9;
}

.main-title{
  font-size:clamp(64px, 8vw, 120px);
  line-height:.95;
  color:#fff3df;
  text-shadow:
    0 2px 0 rgba(255,255,255,.06),
    0 0 30px rgba(215,161,74,.13);
  max-width:1100px;
}

.main-line{
  width:min(820px, 100%);
  height:1px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow:0 0 18px rgba(215,161,74,.55);
}

.split-block{
  display:grid;
  grid-template-columns:1fr 44px 1fr;
  gap:16px;
  align-items:stretch;
  width:min(1100px, 100%);
}

.about-col,
.book-col{
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    linear-gradient(180deg, rgba(44,18,10,.72), rgba(12,6,4,.85));
  border:1px solid rgba(215,161,74,.15);
  border-radius:30px;
  padding:38px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(5px);
}

.about-col h2,
.book-col h3{
  color:#fff2d6;
  margin-bottom:14px;
}

.about-col h2{
  font-size:44px;
}

.about-col p,
.book-col p{
  color:var(--muted);
  font-size:22px;
  line-height:1.75;
}

.best-work{
  color:var(--gold-soft);
  font-size:22px;
  margin-bottom:14px;
  letter-spacing:.8px;
}

.book-col h3{
  font-size:56px;
  line-height:1.02;
  margin-bottom:18px;
}

.book-col h3 span{
  color:var(--gold-soft);
  text-shadow:0 0 18px rgba(215,161,74,.35);
}

.split-divider{
  display:flex;
  justify-content:center;
  align-items:center;
}

.split-divider span{
  width:2px;
  height:100%;
  min-height:280px;
  background:linear-gradient(180deg, transparent, var(--gold), transparent);
  box-shadow:0 0 24px rgba(215,161,74,.55);
  position:relative;
}

.split-divider span::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:14px;
  border:1px solid var(--gold);
  transform:translate(-50%,-50%) rotate(45deg);
  background:rgba(215,161,74,.12);
  box-shadow:0 0 20px rgba(215,161,74,.5);
}

.plunge-btn{
  margin-top:28px;
  padding:22px 44px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  font-size:28px;
  font-weight:700;
  color:#1f1208;
  background:
    linear-gradient(135deg, #f6d897, #d09a43 50%, #fff2bf 100%);
  box-shadow:
    0 12px 28px rgba(0,0,0,.35),
    0 0 30px rgba(215,161,74,.32),
    inset 0 1px 0 rgba(255,255,255,.65);
  transition:transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  position:relative;
  overflow:hidden;
}

.plunge-btn::before{
  content:"";
  position:absolute;
  inset:-20% auto -20% -40%;
  width:40%;
  transform:skewX(-25deg);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  animation:btnSweep 3.4s linear infinite;
}

.plunge-btn:hover{
  transform:translateY(-4px) scale(1.02);
  box-shadow:
    0 18px 35px rgba(0,0,0,.45),
    0 0 36px rgba(215,161,74,.5),
    inset 0 1px 0 rgba(255,255,255,.8);
}

.plunge-btn.is-disabled,
.plunge-btn:disabled{
  opacity:.65;
  pointer-events:none;
  transform:none;
}

@keyframes btnSweep{
  0%{ left:-45%; }
  100%{ left:130%; }
}

.feature-row{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.feature{
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.005)),
    linear-gradient(180deg, rgba(38,15,8,.78), rgba(14,7,5,.92));
  border:1px solid rgba(215,161,74,.14);
  border-radius:26px;
  padding:30px 24px;
  box-shadow:var(--shadow);
  min-height:240px;
}

.feature h4{
  color:#f8e8cc;
  font-size:34px;
  margin:18px 0 12px;
}

.feature p{
  color:var(--muted);
  line-height:1.65;
  font-size:19px;
}

.feature-icon{
  width:74px;
  height:74px;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 30%, #ffe6a7 0%, #d9a34c 35%, #7a481d 70%, #221007 100%);
  box-shadow:
    inset 0 4px 12px rgba(255,255,255,.15),
    0 10px 24px rgba(0,0,0,.35),
    0 0 20px rgba(215,161,74,.22);
  position:relative;
}

.feature-icon::before,
.feature-icon::after{
  content:"";
  position:absolute;
  inset:50%;
  transform:translate(-50%,-50%);
  background:#2d1607;
}

.feature-icon.feather::before{
  width:24px;
  height:4px;
  border-radius:10px;
  transform:translate(-35%,-50%) rotate(-40deg);
}

.feature-icon.feather::after{
  width:6px;
  height:22px;
  border-radius:10px;
  transform:translate(18%,-10%) rotate(-40deg);
}

.feature-icon.page::before{
  width:24px;
  height:30px;
  border-radius:4px;
  box-shadow:0 0 0 2px #2d1607 inset;
  background:transparent;
}

.feature-icon.page::after{
  width:14px;
  height:2px;
  top:46%;
  left:50%;
  background:#2d1607;
  box-shadow:0 8px 0 #2d1607, 0 -8px 0 #2d1607;
}

.feature-icon.book::before{
  width:30px;
  height:22px;
  border:3px solid #2d1607;
  border-radius:4px 8px 8px 4px;
  background:transparent;
}

.feature-icon.book::after{
  width:3px;
  height:20px;
  background:#2d1607;
}

.feature-icon.gem::before{
  width:24px;
  height:24px;
  transform:translate(-50%,-50%) rotate(45deg);
  background:#2d1607;
}

.feature-icon.gem::after{
  width:10px;
  height:10px;
  transform:translate(-50%,-50%) rotate(45deg);
  background:#dca44c;
}

.hero-right{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:760px;
}

.scene3d{
  position:relative;
  width:min(900px, 100%);
  height:820px;
  display:flex;
  justify-content:center;
  align-items:center;
  perspective:1500px;
  transform-style:preserve-3d;
  touch-action:none;
}

.desk-glow{
  position:absolute;
  width:560px;
  height:560px;
  border-radius:50%;
  background:
    radial-gradient(circle, rgba(255,196,111,.18), rgba(0,0,0,0) 62%);
  filter:blur(18px);
  animation:pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow{
  0%,100%{ transform:scale(1); opacity:.7; }
  50%{ transform:scale(1.08); opacity:1; }
}

.book-wrap{
  width:420px;
  height:600px;
  position:relative;
  transform-style:preserve-3d;
  transition:transform .18s ease-out;
  will-change:transform;
}

.book3d{
  width:100%;
  height:100%;
  position:absolute;
  left:0;
  top:0;
  transform-style:preserve-3d;
  transform:rotateY(-26deg) rotateX(12deg);
  animation:bookFloat 7s ease-in-out infinite;
}

@keyframes bookFloat{
  0%,100%{ transform:rotateY(-26deg) rotateX(12deg) translateY(0); }
  50%{ transform:rotateY(-18deg) rotateX(7deg) translateY(-16px); }
}

.book-face{
  position:absolute;
  inset:0;
  border-radius:10px;
  backface-visibility:hidden;
}

.front{
  transform:translateZ(28px);
  background:
    radial-gradient(circle at 30% 22%, rgba(255,219,154,.20), transparent 30%),
    linear-gradient(145deg, #4c2412 0%, #31160b 42%, #1c0d08 100%);
  border:2px solid rgba(212,156,70,.6);
  box-shadow:
    inset 0 0 0 2px rgba(255,214,145,.1),
    inset 0 0 35px rgba(255,202,119,.08),
    0 28px 50px rgba(0,0,0,.5),
    0 0 45px rgba(215,161,74,.2);
}

.back{
  transform:rotateY(180deg) translateZ(28px);
  background:linear-gradient(145deg, #2a120a, #140907);
  border:2px solid rgba(212,156,70,.38);
}

.spine{
  width:56px;
  left:-28px;
  transform:rotateY(-90deg);
  transform-origin:left center;
  background:linear-gradient(180deg, #221008, #4a2613, #241108);
  border:2px solid rgba(212,156,70,.35);
  border-radius:8px;
}

.pages{
  width:56px;
  left:auto;
  right:-28px;
  transform:rotateY(90deg);
  transform-origin:right center;
  background:
    repeating-linear-gradient(
      180deg,
      #e6dccb 0px,
      #d6c9b3 3px,
      #f7eedc 4px,
      #cabba1 5px
    );
  border-radius:8px;
  box-shadow:inset 0 0 8px rgba(0,0,0,.15);
}

.book-shadow{
  position:absolute;
  width:320px;
  height:48px;
  left:52px;
  bottom:-60px;
  background:radial-gradient(circle, rgba(0,0,0,.55), transparent 70%);
  filter:blur(14px);
  transform:translateZ(-80px) rotateX(90deg);
}

.cover-frame{
  position:absolute;
  inset:16px;
  border:1px solid rgba(243,208,138,.75);
  border-radius:8px;
  box-shadow:inset 0 0 20px rgba(215,161,74,.12);
}

.cover-text-top,
.cover-text-main,
.cover-text-bottom{
  position:absolute;
  width:100%;
  left:0;
  text-align:center;
  color:#f2cf89;
  text-shadow:0 0 14px rgba(215,161,74,.22);
}

.cover-text-top{
  top:98px;
  font-size:44px;
  letter-spacing:2px;
}

.cover-text-main{
  top:164px;
  font-size:64px;
  letter-spacing:3px;
  font-weight:700;
}

.cover-ornament{
  position:absolute;
  left:50%;
  top:300px;
  width:66px;
  height:66px;
  transform:translateX(-50%);
}

.cover-ornament::before,
.cover-ornament::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) rotate(45deg);
  background:linear-gradient(135deg, #f7e3aa, #b07328);
}

.cover-ornament::before{
  width:18px;
  height:18px;
  border-radius:3px;
  box-shadow:
    22px 0 0 -4px #d7a14a,
    -22px 0 0 -4px #d7a14a,
    0 22px 0 -4px #d7a14a,
    0 -22px 0 -4px #d7a14a;
}

.cover-text-bottom{
  top:390px;
  font-size:34px;
  line-height:1.25;
}

.floating-ring{
  position:absolute;
  border:1px solid rgba(255,213,133,.26);
  border-radius:50%;
  box-shadow:0 0 18px rgba(215,161,74,.16), inset 0 0 20px rgba(215,161,74,.05);
  --tilt:rotateX(0deg) rotateY(0deg);
  animation:spinRing linear infinite;
}

.ring-1{
  width:470px;
  height:470px;
  animation-duration:18s;
}

.ring-2{
  width:580px;
  height:580px;
  animation-duration:25s;
  --tilt:rotateX(70deg);
}

.ring-3{
  width:390px;
  height:390px;
  animation-duration:12s;
  --tilt:rotateY(70deg);
}

@keyframes spinRing{
  from{ transform:var(--tilt) rotate(0deg); }
  to{ transform:var(--tilt) rotate(360deg); }
}

.dive-screen,
.chapters-screen{
  position:fixed;
  inset:0;
  z-index:20;
  opacity:0;
  pointer-events:none;
  transition:opacity .5s ease;
}

.dive-screen.active,
.chapters-screen.active{
  opacity:1;
  pointer-events:auto;
}

.dive-screen{
  background:
    radial-gradient(circle at center, rgba(25,25,25,.0) 0%, rgba(0,0,0,.55) 34%, rgba(0,0,0,.96) 100%);
  overflow:hidden;
}

.void-center{
  position:absolute;
  left:50%;
  top:50%;
  width:200px;
  height:200px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,217,129,.14), rgba(0,0,0,0) 60%);
  filter:blur(10px);
  z-index:2;
}

.sheet-tunnel{
  position:absolute;
  inset:0;
  perspective:1200px;
  transform-style:preserve-3d;
  overflow:hidden;
}

.sheet{
  position:absolute;
  left:50%;
  top:50%;
  width:min(40vw, 360px);
  height:min(54vw, 520px);
  transform-style:preserve-3d;
  border-radius:8px;
  background:
    linear-gradient(180deg, rgba(40,40,40,.85), rgba(2,2,2,.96)),
    linear-gradient(90deg, rgba(215,161,74,.06), transparent 60%);
  border:1px solid rgba(255,255,255,.03);
  box-shadow:
    0 0 18px rgba(255,204,111,.06),
    0 20px 40px rgba(0,0,0,.45);
  animation:sheetFly var(--dur) linear forwards;
}

.sheet::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, transparent, rgba(255,219,154,.06), transparent),
    radial-gradient(circle at 50% 30%, rgba(255,215,120,.05), transparent 40%);
  mix-blend-mode:screen;
}

@keyframes sheetFly{
  0%{
    transform:
      translate3d(var(--x), var(--y), 1200px)
      rotateX(var(--rx))
      rotateY(var(--ry))
      rotateZ(var(--rz))
      scale(.15);
    opacity:0;
  }
  10%{ opacity:.95; }
  80%{ opacity:.9; }
  100%{
    transform:
      translate3d(0, 0, -900px)
      rotateX(calc(var(--rx) * 2))
      rotateY(calc(var(--ry) * 2))
      rotateZ(calc(var(--rz) * 2))
      scale(2.6);
    opacity:0;
  }
}

.dive-text{
  position:absolute;
  left:50%;
  bottom:12%;
  transform:translateX(-50%);
  color:var(--gold-soft);
  letter-spacing:5px;
  font-size:18px;
  text-shadow:0 0 22px rgba(215,161,74,.6);
  z-index:3;
  text-align:center;
  padding:0 16px;
}

.chapters-screen{
  background:
    radial-gradient(circle at center, rgba(255,184,77,.07), transparent 18%),
    radial-gradient(circle at 20% 18%, rgba(255,204,120,.08), transparent 20%),
    radial-gradient(circle at 80% 26%, rgba(255,180,80,.06), transparent 18%),
    linear-gradient(180deg, #030303 0%, #080402 42%, #030303 100%);
  overflow:auto;
}

.chapters-inner{
  position:relative;
  z-index:2;
  min-height:100vh;
  padding:40px 30px 60px;
}

.chapters-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:42px;
}

.chapters-badge{
  color:var(--gold-soft);
  border:1px solid rgba(215,161,74,.26);
  border-radius:999px;
  padding:16px 24px;
  background:rgba(255,194,99,.04);
  box-shadow:0 0 18px rgba(215,161,74,.12);
  font-size:18px;
}

.back-btn{
  border:1px solid rgba(215,161,74,.32);
  background:rgba(255,194,99,.05);
  color:#ffe7ba;
  border-radius:999px;
  padding:14px 24px;
  cursor:pointer;
  font-size:18px;
  transition:.25s ease;
}

.back-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 18px rgba(215,161,74,.22);
}

.chapters-head{
  text-align:center;
  margin-bottom:36px;
}

.chapters-head h2{
  font-size:clamp(58px, 8vw, 100px);
  color:#fce0a8;
  text-shadow:
    0 0 12px rgba(215,161,74,.4),
    0 0 34px rgba(215,161,74,.2);
  margin-bottom:10px;
}

.chapters-head p{
  color:#d0b48b;
  font-size:24px;
}

.chapters-grid{
  width:min(1400px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:22px;
  align-items:stretch;
}

.chapter-card{
  position:relative;
  overflow:hidden;
  min-height:360px;
  border-radius:28px;
  padding:28px 22px;
  background:
    linear-gradient(180deg, rgba(255,220,150,.03), rgba(255,220,150,.01)),
    linear-gradient(180deg, rgba(16,16,16,.92), rgba(4,4,4,.96));
  border:1px solid rgba(215,161,74,.24);
  box-shadow:
    0 0 18px rgba(215,161,74,.15),
    0 18px 45px rgba(0,0,0,.5),
    inset 0 0 24px rgba(255,208,112,.03);
  transform:translateY(40px) scale(.96);
  opacity:0;
  animation:chapterRise .9s ease forwards;
}

.chapter-card:nth-child(1){ animation-delay:.15s; }
.chapter-card:nth-child(2){ animation-delay:.3s; }
.chapter-card:nth-child(3){ animation-delay:.45s; }
.chapter-card:nth-child(4){ animation-delay:.6s; }
.chapter-card:nth-child(5){ animation-delay:.75s; }

@keyframes chapterRise{
  to{
    transform:translateY(0) scale(1);
    opacity:1;
  }
}

.chapter-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:28px;
  padding:1px;
  background:linear-gradient(145deg, rgba(255,225,160,.55), rgba(160,92,20,.08), rgba(255,225,160,.45));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}

.chapter-shine{
  position:absolute;
  top:-20%;
  left:-50%;
  width:60%;
  height:140%;
  background:linear-gradient(90deg, transparent, rgba(255,226,160,.18), transparent);
  transform:rotate(12deg);
  animation:shine 4s linear infinite;
}

@keyframes shine{
  0%{ left:-55%; }
  100%{ left:135%; }
}

.chapter-num{
  display:inline-block;
  color:#ffde9a;
  font-size:22px;
  margin-bottom:22px;
  letter-spacing:1px;
  text-shadow:0 0 12px rgba(215,161,74,.45);
}

.chapter-card h3{
  font-size:38px;
  color:#fff1cb;
  margin-bottom:18px;
  line-height:1.08;
}

.chapter-card p{
  color:#d6c3a5;
  line-height:1.75;
  font-size:19px;
}

.site-footer{
  position:relative;
  z-index:2;
  max-width:1800px;
  margin:40px auto 30px;
  padding:0 40px;
}

.footer-inner{
  border-top:1px solid rgba(215,161,74,.24);
  background:linear-gradient(180deg, rgba(28,12,7,.78), rgba(10,5,3,.92));
  border-radius:28px;
  padding:34px 32px;
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:30px;
  box-shadow:0 20px 50px rgba(0,0,0,.28);
}

.footer-title{
  font-size:28px;
  color:var(--gold-soft);
  margin-bottom:10px;
}

.footer-text{
  font-size:18px;
  line-height:1.7;
  color:var(--muted);
}

.footer-nav{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-nav a{
  color:#ead6bc;
  text-decoration:none;
  font-size:18px;
}

.footer-nav a:hover{
  color:var(--gold-soft);
}

.footer-copy{
  margin-top:18px;
  font-size:15px;
  color:#9f8668;
}

@media (max-width: 1300px){
  .hero{
    grid-template-columns:1fr;
  }

  .hero-right{
    min-height:620px;
  }

  .chapters-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 920px){
  .topbar{
    flex-direction:column;
    align-items:flex-start;
    padding:20px 18px;
  }

  .brand{
    font-size:24px;
  }

  .menu{
    flex-wrap:wrap;
    gap:16px;
  }

  .menu a{
    font-size:18px;
  }

  .hero{
    grid-template-columns:1fr;
  }

  .split-block{
    grid-template-columns:1fr;
  }

  .split-divider{
    min-height:60px;
  }

  .split-divider span{
    width:100%;
    height:2px;
    min-height:2px;
  }

  .main-title{
    font-size:clamp(46px, 11vw, 72px);
  }

  .about-col h2{
    font-size:34px;
  }

  .book-col h3{
    font-size:42px;
  }

  .about-col p,
  .book-col p{
    font-size:18px;
  }

  .feature-row{
    grid-template-columns:repeat(2,1fr);
  }

  .chapters-grid{
    grid-template-columns:1fr;
  }

  .footer-inner{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .page-shell{
    padding:0 16px 30px;
  }

  .site-footer{
    padding:0 16px;
  }

  .about-col,
  .book-col{
    padding:22px 18px;
  }

  .feature-row{
    grid-template-columns:1fr;
  }

  .feature h4{
    font-size:28px;
  }

  .feature p{
    font-size:17px;
  }

  .scene3d{
    height:560px;
  }

  .book-wrap{
    width:250px;
    height:380px;
  }

  .cover-text-top{
    top:52px;
    font-size:26px;
  }

  .cover-text-main{
    top:92px;
    font-size:38px;
  }

  .cover-ornament{
    top:180px;
  }

  .cover-text-bottom{
    top:248px;
    font-size:22px;
  }

  .chapter-card{
    min-height:280px;
  }

  .chapters-head p{
    font-size:18px;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* Курсор-указатель для интерактивной книги */
.book-wrap {
  cursor: pointer;
}

/* Черный экран на весь дисплей */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1); /* Плавное проявление и затухание */
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Видео без управления и лишних реакций на клики мыши */
.video-modal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* Запрещает вызов контекстного меню браузера при клике на видео */
}

/* Полное скрытие встроенных контролов (для WebKit / Chrome / Safari / Edge) */
.video-modal video::-webkit-media-controls {
  display: none !important;
}
.video-modal video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Отключаем перехват кликов у колец и свечения вокруг книги */
.floating-ring,
.desk-glow {
  pointer-events: none !important;
}

/* Делаем саму книгу точно кликабельной */
.book-wrap {
  cursor: pointer;
  z-index: 10;
}

/* 1. Отключаем перехват кликов у колец и фонового свечения */
.floating-ring,
.desk-glow {
  pointer-events: none !important;
}

/* 2. Поднимаем книгу на передний план и даем курсор */
.book-wrap,
.book3d,
.book-face {
  cursor: pointer;
}
.book-wrap {
  position: relative;
  z-index: 10;
}

/* 3. Полноэкранный кинематографичный плеер */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
}