:root {
  --heat: 0;
  --orange: #ff5a00;
  --orange-hot: #ff7a2e;
  --purple: #6b2d91;
  --ink: #0c0a0d;
  --paper: #f7efe4;
  --cream: #fff6ea;
  --gold: #e8c17a;
  --leather: #1a1210;
  --wood: #3a2418;
  --muted: rgba(255, 246, 234, 0.62);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  font-family: Outfit, "Segoe UI", sans-serif;
  cursor: pointer;
  user-select: none;
}

body.reading {
  cursor: default;
}

.dust,
.vignette,
.rays {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.vignette {
  background:
    radial-gradient(ellipse at 50% 42%, transparent 12%, rgba(0, 0, 0, 0.5) 68%, #000 100%),
    linear-gradient(180deg, rgba(107, 45, 145, 0.22), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.rays {
  background: repeating-conic-gradient(from 0deg, rgba(255, 90, 0, 0.07) 0 6deg, transparent 6deg 18deg);
  mask-image: radial-gradient(circle at 50% 48%, #000 8%, transparent 58%);
  animation: raysSpin 28s linear infinite;
  z-index: 1;
  opacity: calc(0.35 + var(--heat, 0) * 0.65);
}

@keyframes raysSpin {
  to { transform: rotate(360deg); }
}

.mute-btn {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 246, 234, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.brand-logo {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo.sm {
  height: 58px;
}

.brand-logo.lg {
  height: 110px;
}

.cover-logo {
  width: 78%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.reader-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reader-brand small {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-stage {
  position: absolute;
  top: 14%;
  bottom: 12%;
  width: 280px;
  pointer-events: none;
  z-index: 2;
}

.side-stage.left { left: 1.2%; }
.side-stage.right { right: 1.2%; }

.side-aurora {
  position: absolute;
  inset: 4% 18%;
  background: linear-gradient(180deg, transparent, rgba(255, 90, 0, 0.16), rgba(107, 45, 145, 0.18), transparent);
  filter: blur(22px);
  animation: auroraBreath 4.6s ease-in-out infinite;
}

.side-stage.right .side-aurora {
  animation-delay: -2s;
}

@keyframes auroraBreath {
  0%, 100% { opacity: 0.45; transform: scaleY(0.94); }
  50% { opacity: 1; transform: scaleY(1.08); }
}

.side-stage.right {
  text-align: right;
}

.side-rail {
  position: absolute;
  top: 12%;
  bottom: 8%;
  width: 2px;
}

.side-stage.left .side-rail { left: 21px; }
.side-stage.right .side-rail { right: 21px; }

.rail-line {
  position: absolute;
  inset: 0 -3px;
  background: linear-gradient(180deg, transparent, var(--orange), var(--gold), var(--orange), transparent);
  box-shadow: 0 0 18px rgba(255, 90, 0, 0.7);
  opacity: 0.95;
  border-radius: 8px;
}

.rail-comet {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 28%, var(--orange) 55%, transparent 72%);
  box-shadow: 0 0 18px 6px rgba(255, 90, 0, 0.55);
  animation: cometRun 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.side-stage.right .rail-comet {
  animation-direction: reverse;
  animation-duration: 4.4s;
}

@keyframes cometRun {
  0% { top: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.side-nodes {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  list-style: none;
}

.node {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.88);
}

.side-stage.right .node {
  flex-direction: row-reverse;
}

.node-core {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.node-core b {
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--orange) 55%, #8a2200);
  box-shadow: 0 0 16px rgba(255, 90, 0, 0.7);
  animation: corePulse 2.4s ease-in-out infinite;
}

.node-core .ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 122, 46, 0.7);
  animation: rippleOut 2.8s ease-out infinite;
}

.node-core .ripple.delay {
  animation-delay: 1.4s;
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@keyframes rippleOut {
  0% { transform: scale(0.55); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

.node-card {
  flex-shrink: 0;
  width: max-content;
  max-width: 200px;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: rgba(20, 14, 18, 0.72);
  border: 1px solid rgba(255, 246, 234, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.node-card small {
  display: none;
}

.node-card strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 246, 234, 0.78);
}

.node.hot {
  visibility: visible;
  animation: nodeReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes nodeReveal {
  0% { opacity: 0; transform: translateY(18px) scale(0.88); }
  60% { opacity: 1; transform: translateY(-5px) scale(1.06); }
  100% { opacity: 1; transform: none; }
}

.node.hot .node-core b {
  box-shadow: 0 0 28px 10px rgba(255, 90, 0, 0.95);
}

.node.hot .node-card {
  border-color: rgba(255, 90, 0, 0.85);
  background: linear-gradient(90deg, rgba(255, 90, 0, 0.28), rgba(20, 14, 18, 0.82));
  box-shadow: 0 0 32px rgba(255, 90, 0, 0.35);
}

.node.hot .node-card strong {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 90, 0, 0.55);
}

.side-stage.right .node.hot .node-card {
  background: linear-gradient(270deg, rgba(255, 90, 0, 0.28), rgba(20, 14, 18, 0.82));
}

.node.fire .node-core {
  animation: nodeFire 0.55s ease;
}

@keyframes nodeFire {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

.side-motes {
  position: absolute;
  inset: 0;
}

.side-motes i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffd4a8;
  box-shadow: 0 0 8px rgba(255, 90, 0, 0.8);
  animation: moteDrift 7s ease-in-out infinite;
}

.side-motes i:nth-child(1) { left: 18%; top: 16%; animation-duration: 6.2s; }
.side-motes i:nth-child(2) { left: 72%; top: 28%; animation-duration: 8s; animation-delay: -1s; }
.side-motes i:nth-child(3) { left: 34%; top: 52%; animation-duration: 7.4s; animation-delay: -2.2s; }
.side-motes i:nth-child(4) { left: 80%; top: 66%; animation-duration: 6.8s; animation-delay: -3.1s; }
.side-motes i:nth-child(5) { left: 22%; top: 82%; animation-duration: 8.6s; animation-delay: -0.6s; }
.side-motes i:nth-child(6) { left: 64%; top: 8%; animation-duration: 5.8s; animation-delay: -4s; }

@keyframes moteDrift {
  0%, 100% { transform: translate(0, 0) scale(0.7); opacity: 0.25; }
  50% { transform: translate(10px, -22px) scale(1.3); opacity: 0.95; }
}

.ritual {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem 1.1rem;
}

.ritual[hidden] {
  display: none !important;
}

.top-brand {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.issue-chip {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.45rem;
}

.ritual-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
  gap: 0.35rem;
}

.eyebrow {
  color: var(--orange);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.ritual-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.book-wrap {
  position: relative;
  perspective: 1400px;
  margin: 0.35rem 0 0.2rem;
}

.book-halo {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(255, 90, 0, calc(0.12 + var(--heat, 0) * 0.45)), transparent 62%);
  filter: blur(8px);
  animation: haloBreath 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes haloBreath {
  50% { transform: scale(1.08); opacity: 0.85; }
}

.shockwave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 90, 0, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  pointer-events: none;
}

.shockwave.go {
  animation: shock 0.7s ease-out;
}

@keyframes shock {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.35); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(3.2); }
}

.hard-book {
  position: relative;
  width: min(360px, 68vw);
  height: min(500px, 56vh);
  transform-style: preserve-3d;
  transform: rotateY(-12deg) rotateX(5deg);
  transition: transform 0.6s ease, filter 0.4s ease;
  filter:
    drop-shadow(0 0 calc(12px + var(--heat, 0) * 28px) rgba(255, 90, 0, calc(0.15 + var(--heat, 0) * 0.55)))
    drop-shadow(18px 28px 28px rgba(0, 0, 0, 0.6));
}

.ritual.charging .hard-book {
  animation: bookPulse 0.42s ease;
}

@keyframes bookPulse {
  0% { transform: rotateY(-12deg) rotateX(5deg) scale(1); }
  35% { transform: rotateY(-8deg) rotateX(3deg) scale(1.055); }
  100% { transform: rotateY(-12deg) rotateX(5deg) scale(1); }
}

.book-cover {
  position: absolute;
  inset: 0;
  border-radius: 2px 4px 4px 2px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 50% 62%, rgba(255, 90, 0, 0.2), transparent 46%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #241818, #120c0c 55%, #0b0808);
  border: 1px solid rgba(232, 193, 122, 0.34);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.15rem 1rem 1rem;
  transform: translateZ(14px);
  backface-visibility: hidden;
}

.cover-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--purple);
}

.cover-logo {
  width: 70%;
  max-width: 220px;
  margin-top: 0.45rem;
}

.cover-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 0.95;
  margin: 0.35rem 0 0.15rem;
}

.cover-name span {
  color: var(--orange);
}

.cover-count {
  position: relative;
  width: min(268px, 78%);
  aspect-ratio: 1;
  margin: auto 0 0.35rem;
  display: grid;
  place-items: center;
}

.count-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track,
.ring-fill {
  fill: none;
  stroke-width: 5;
}

.ring-track {
  stroke: rgba(255, 246, 234, 0.14);
}

.ring-fill {
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  filter: drop-shadow(0 0 8px rgba(255, 90, 0, 0.85));
  transition: stroke-dashoffset 0.45s ease;
}

.count-face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 90, 0, 0.65);
}

.count-face span {
  font-size: clamp(5.4rem, 13vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.count-face small {
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: rgba(255, 246, 234, 0.62);
  transform: translateY(-0.15em);
}

.cover-count.pop .count-face span {
  animation: countSlam 0.45s cubic-bezier(0.2, 1.4, 0.3, 1);
}

@keyframes countSlam {
  0% { transform: scale(0.55); opacity: 0.4; }
  55% { transform: scale(1.18); }
  100% { transform: scale(1); opacity: 1; }
}

.book-back {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #1a1210, #0b0808);
  transform: translateZ(0);
}

.book-pages-block {
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 0;
  width: 14px;
  background: repeating-linear-gradient(90deg, #f4e6d0 0 1px, #e2cfb0 1px 2px);
  transform: rotateY(90deg);
  transform-origin: right center;
}

.book-fore-edge {
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 0;
  width: 14px;
  background: linear-gradient(90deg, #2a1c14, #7a5428 45%, #e0c27a 78%, #8a6230);
  transform: rotateY(90deg) translateZ(14px);
  transform-origin: right center;
}

.pulse-word {
  min-height: 2.6rem;
  margin: 0.15rem 0 0.1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 18px rgba(255, 90, 0, 0.9),
    0 0 42px rgba(255, 90, 0, 0.45);
  opacity: 0;
}

.pulse-word.on {
  opacity: 1;
  animation: wordPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes wordPop {
  0% { opacity: 0; transform: translateY(16px) scale(0.86); filter: blur(8px); }
  55% { opacity: 1; transform: translateY(-3px) scale(1.06); filter: blur(0); }
  100% { opacity: 1; transform: none; }
}

.pulse-meter {
  width: min(980px, 94vw);
  margin-top: 0.15rem;
}

.ecg-line {
  width: 100%;
  height: 118px;
  overflow: visible;
}

.ecg-line path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  filter: drop-shadow(0 0 12px rgba(255, 90, 0, 0.8));
  transition: stroke-dashoffset 0.45s ease;
}

.flash {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: radial-gradient(circle at 50% 45%, #fff, #ffb07a 28%, #ff5a00 58%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}

.flash.go {
  animation: blow 1.1s ease-out forwards;
}

@keyframes blow {
  0% { opacity: 0; }
  18% { opacity: 1; }
  100% { opacity: 0; }
}

.title-card {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.7rem;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.title-card.show {
  animation: titleIn 5s ease forwards;
}

.title-card .brand-logo {
  margin: 0 auto 0.4rem;
}

.title-card p {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

.title-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.9;
}

.title-card h2 span {
  color: var(--orange);
}

.title-card small {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes titleIn {
  0% { opacity: 0; transform: scale(0.72) rotateX(12deg); filter: blur(8px); }
  8% { opacity: 1; transform: scale(1.04) rotateX(0); filter: blur(0); }
  88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.12); }
}

.reader {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.2rem 0.7rem;
}

.reader[hidden] {
  display: none;
}

.reader-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-cover .brand-logo {
  width: auto;
  height: 52px;
  max-width: 56%;
  margin-bottom: 0;
  background: transparent;
  object-fit: contain;
}

.page-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.reader-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ghost-btn,
.nav-btn {
  font-family: inherit;
  border: 1px solid rgba(255, 246, 234, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  cursor: pointer;
}

.ghost-btn {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.ghost-btn:hover {
  border-color: var(--orange);
  color: #fff;
}

.desk {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(107, 45, 145, 0.18), transparent 48%),
    radial-gradient(ellipse at 50% 70%, rgba(58, 36, 24, 0.35), transparent 55%);
  border-radius: 28px;
}

.book-frame {
  position: relative;
  width: min(1100px, calc(100vw - 160px));
  height: calc(100vh - 118px);
}

.book-shift {
  width: 100%;
  height: 100%;
  transform: translateX(var(--book-shift, 0px));
}

.book-glow {
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 90, 0, 0.18), transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}

.flip-book {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.55));
}

.stf__parent {
  margin: 0 auto;
}

.stf__item {
  background: #0d0b0e;
  box-shadow: none;
  overflow: hidden;
}

.sheet {
  background: #0d0b0e;
}

.sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0d0b0e;
  display: block;
}

.cover-sheet,
.back-sheet,
.stf__item:has(.cover-sheet),
.stf__item:has(.back-sheet) {
  background: #0d0b0e;
}

.back-cover {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 90, 0, 0.16), transparent 42%),
    #0d0b0e;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  text-align: center;
  padding: 0.85rem 0.6rem 1rem;
}


.back-ecg {
  width: 46%;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
}

.back-cover h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
}

.back-cover h3 span {
  color: var(--orange);
}

.back-cover p {
  color: rgba(255, 246, 234, 0.7);
}

.back-meta {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.back-tag {
  margin-top: 0.45rem;
  max-width: 16rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: #fff;
}

.qr-card {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.15rem 0;
  text-decoration: none;
}

.back-cover .qr-card img {
  width: min(94%, 420px);
  height: auto;
  max-width: none;
  max-height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 0.4rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.nav-btn {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  font-size: 3.1rem;
  line-height: 1;
  flex-shrink: 0;
  color: #fff;
  border: 1.5px solid rgba(255, 122, 46, 0.7);
  background: radial-gradient(circle at 50% 40%, rgba(255, 90, 0, 0.28), rgba(12, 10, 13, 0.72));
  box-shadow:
    0 0 18px rgba(255, 90, 0, 0.55),
    0 0 42px rgba(255, 90, 0, 0.28);
  animation: navGlow 2.2s ease-in-out infinite;
}

.nav-btn:hover {
  border-color: var(--orange);
  color: #fff;
  box-shadow:
    0 0 26px rgba(255, 90, 0, 0.85),
    0 0 58px rgba(255, 90, 0, 0.4);
}

.nav-btn:disabled {
  opacity: 0.22;
  cursor: default;
  animation: none;
  box-shadow: none;
}

@keyframes navGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 90, 0, 0.45), 0 0 34px rgba(255, 90, 0, 0.2); }
  50% { box-shadow: 0 0 28px rgba(255, 90, 0, 0.85), 0 0 62px rgba(255, 90, 0, 0.38); }
}

.ritual.leaving {
  animation: ritualOut 0.8s ease forwards;
}

@keyframes ritualOut {
  to {
    opacity: 0;
    transform: scale(1.06);
  }
}

@media (max-width: 1100px) {
  .side-stage {
    display: none;
  }
}

@media (max-width: 820px) {
  .top-brand {
    flex-direction: column;
  }

  .hard-book {
    transform: rotateX(10deg) rotateY(-12deg);
  }

  .nav-btn {
    display: none;
  }

  .book-frame {
    width: calc(100vw - 24px);
  }
}

