
:root {
  --ink: #0a0618;
  --ink-2: #140c28;
  --panel: rgba(22, 14, 40, 0.72);
  --gold: #ffe27a;
  --gold-2: #ffbf3b;
  --gold-dim: #c9a24a;
  --cream: #f7f0de;
  --muted: #c9bdd6;
  --line: rgba(255, 226, 122, 0.18);
  --live: #5cffc0;
  --soon: #d7b6ff;
  --max: 1160px;
  --sans: "Outfit", system-ui, sans-serif;
  --display: "Cinzel", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 180, 40, 0.16), transparent 60%),
    radial-gradient(800px 500px at 100% 20%, rgba(140, 40, 255, 0.12), transparent 55%),
    radial-gradient(700px 500px at 0% 80%, rgba(20, 160, 180, 0.10), transparent 50%),
    var(--ink);
  line-height: 1.6;
  min-height: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: #1a1000;
  padding: .5rem 1rem; z-index: 20; border-radius: 4px;
}
.skip:focus { top: 1rem; }
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: .85rem 6vw;
  background: rgba(10, 6, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-size: .92rem;
  text-shadow: 0 0 10px rgba(255, 200, 80, .55);
}
.nav nav { display: flex; gap: 1.25rem; }
.nav nav a {
  color: var(--cream); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.nav nav a:hover { color: var(--gold); }
.hero, .books, .about, .also, .contact { padding: 4.5rem 6vw; }
.hero { position: relative; padding-top: 5.5rem; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -10% 10% auto; height: 420px;
  background: radial-gradient(circle, rgba(255, 200, 80, 0.28), transparent 68%);
  filter: blur(8px); pointer-events: none;
}
.eyebrow {
  position: relative;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dim);
  font-size: .78rem; margin: 0 0 1rem;
}
.glow-name {
  position: relative;
  margin: 0 auto .45rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 5.4rem);
  letter-spacing: .14em;
  line-height: 1.05;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff8dc 0%, #ffe27a 38%, #ffbf3b 72%, #ffe9a6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter:
    drop-shadow(0 0 8px rgba(255, 210, 90, 0.95))
    drop-shadow(0 0 24px rgba(255, 170, 40, 0.65))
    drop-shadow(0 0 56px rgba(255, 120, 20, 0.35));
}
.brand-line {
  position: relative;
  max-width: 44rem;
  margin: .35rem auto 1rem;
  color: var(--gold-dim);
  font-size: clamp(.78rem, 2.1vw, .95rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.55;
}
.author-email {
  position: relative;
  margin: 0 auto 1.15rem;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--gold-dim);
}
.author-email a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.author-email a:hover,
.author-email a:focus-visible {
  text-decoration: underline;
}
.tagline {
  position: relative;
  max-width: 34rem; margin: 0 auto 2.6rem;
  color: var(--muted); font-size: 1.15rem; font-weight: 300;
}
.hero-grid {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem;
  text-align: left; align-items: center;
}
.hero-copy p { font-size: 1.08rem; color: #efe6d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.portrait img {
  width: 100%; max-width: 420px; margin: 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 226, 122, 0.7);
  box-shadow: 0 0 0 8px rgba(255, 200, 80, 0.08), 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(255, 180, 40, 0.2);
}
.portrait { margin: 0; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: .8rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
}
.btn.buy {
  background: linear-gradient(180deg, #ffe27a, #ffbf3b);
  color: #1a1000;
  box-shadow: 0 0 22px rgba(255, 190, 50, 0.35);
}
.btn.buy:hover { filter: brightness(1.06); }
.btn.ghost {
  border-color: var(--line); color: var(--cream);
  background: transparent;
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.section-head { max-width: var(--max); margin: 0 auto 1.5rem; }
.section-head h2, .about h2, .also h2, .contact h2, .series-title {
  font-family: var(--display); letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 .6rem;
}
.series-title { font-size: 1.25rem; color: var(--gold); margin: 2.4rem auto .9rem; max-width: var(--max); }
.filters {
  max-width: var(--max); margin: 0 auto 1.5rem;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.chip {
  font: inherit; color: var(--cream); background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem; cursor: pointer;
}
.chip.is-on, .chip:hover { border-color: var(--gold); color: #1a1000; background: var(--gold); }
.grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cover { background: #000; }
.cover img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; object-position: top; }
.genre-children .cover img { aspect-ratio: 1 / 1; }
.info { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.info h3 { font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; margin: .15rem 0; }
.subtitle, .series { margin: 0; color: var(--muted); font-size: .9rem; }
.blurb { margin: .4rem 0 .7rem; color: #efe6d4; font-size: .95rem; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge {
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  padding: .2rem .5rem; border-radius: 999px;
}
.badge.live { background: rgba(92, 255, 192, .15); color: var(--live); }
.badge.coming { background: rgba(215, 182, 255, .12); color: var(--soon); }
.badge.mature { background: rgba(255, 90, 90, .12); color: #ff9a9a; }
.badge.kids { background: rgba(120, 200, 255, .12); color: #9ad8ff; }
.soon { margin: 0; font-weight: 600; color: var(--soon); }
.ku { margin: 0; font-size: .85rem; color: var(--muted); }
.about, .contact { max-width: calc(var(--max) + 12vw); margin: 0 auto; }
.about-grid {
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: center;
  max-width: var(--max); margin: 0 auto;
}
.about p, .also p, .contact p { font-size: 1.05rem; color: #efe6d4; }
.mail { font-weight: 600; font-size: 1.15rem; }
.contact { text-align: center; }
.also { max-width: calc(var(--max) + 12vw); margin: 0 auto; text-align: center; }
.also .section-head { margin-left: auto; margin-right: auto; }
.ad-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.ad-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.2rem;
  text-align: left;
  display: flex; flex-direction: column; gap: .4rem;
}
.ad-card h3 {
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .04em;
  text-transform: uppercase; margin: 0 0 .15rem; color: var(--gold);
}
.ad-card p { margin: 0; font-size: .92rem; color: #efe6d4; flex: 1; }
.ad-link {
  margin-top: .45rem; font-size: .88rem; font-weight: 600;
  text-decoration: none; word-break: break-all;
}
.ad-link:hover, .ad-link:focus-visible { text-decoration: underline; }
.foot {
  border-top: 1px solid var(--line);
  padding: 2rem 6vw 3rem; text-align: center; color: var(--muted); font-size: .9rem;
}
.series-block.is-hidden, .card.is-hidden, .featured.is-hidden { display: none; }
.empty-msg { text-align: center; color: var(--muted); }
.featured-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(4, 1fr); }
}
section { scroll-margin-top: 5.5rem; }
@media (max-width: 800px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; }
  .hero { padding-top: 3.2rem; }
  .nav { padding: .75rem 5vw; }
  .wordmark { font-size: .78rem; letter-spacing: .1em; white-space: nowrap; }
  .nav nav { gap: .75rem; font-size: .88rem; }
  .hero, .books, .about, .also, .contact { padding: 3rem 5vw; }
  .glow-name { letter-spacing: .08em; }
  .featured-grid, .ad-grid { grid-template-columns: 1fr; }
  section { scroll-margin-top: 6.5rem; }
}
