:root {
  --navy-950: #050910;
  --navy-900: #0a1628;
  --navy-800: #10203a;
  --navy-700: #173056;
  --gold: #c6a46a;
  --gold-2: #e4cc9a;
  --gold-3: #f6ead0;
  --gold-deep: #8d6b38;
  --ivory: #f7f1e6;
  --cream: #e9dcc6;
  --ink: #070b12;
  --muted: #a9b4c6;
  --line: rgba(212, 184, 140, 0.28);
  --glass: rgba(12, 24, 44, 0.62);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
  --font: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --serif: "Amiri", "Times New Roman", serif;
  --en: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ivory);
  min-height: 100vh;
  line-height: 1.85;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(198, 164, 106, .16), transparent 58%),
    radial-gradient(700px 500px at 110% 12%, rgba(28, 62, 110, .28), transparent 55%),
    radial-gradient(640px 480px at -10% 88%, rgba(92, 58, 18, .18), transparent 50%),
    linear-gradient(180deg, #07101c 0%, var(--navy-950) 38%, #08111d 100%);
}
::selection { background: var(--gold); color: var(--navy-950); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-2), var(--gold-deep)); border-radius: 99px; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--gold-3); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 96px; }

.ambience, .page-grain, .gold-frame { pointer-events: none; position: fixed; inset: 0; }
.ambience {
  z-index: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(228, 204, 154, .08), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(198, 164, 106, .07), transparent 24%);
}
.page-grain {
  z-index: 0;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gold-frame {
  z-index: 30;
  inset: 12px;
  border: 1px solid rgba(228, 204, 154, .22);
  box-shadow: inset 0 0 90px rgba(198,164,106,.04), 0 0 0 1px rgba(0,0,0,.35);
}
.gold-frame .corner {
  position: absolute; width: 28px; height: 28px;
  border-color: var(--gold-2); border-style: solid; border-width: 0;
}
.gold-frame .tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.gold-frame .tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.gold-frame .bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.gold-frame .br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

header, main, footer, .flashes { position: relative; z-index: 2; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 8px 0 14px;
  background: linear-gradient(180deg, rgba(5, 9, 16, .88) 0%, rgba(5, 9, 16, .55) 72%, transparent);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-stuck {
  padding-top: 6px;
  background: linear-gradient(180deg, rgba(5, 9, 16, .96), rgba(8, 16, 30, .9));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.site-header.is-stuck .top-diamond {
  margin: 2px auto 8px;
  transform: rotate(45deg) scale(.85);
}
.top-diamond {
  width: 9px; height: 9px; margin: 8px auto 10px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-3), var(--gold-deep));
  box-shadow: 0 0 14px rgba(228,204,154,.55);
}
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 14px;
}
.ornament .line {
  width: 92px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.ornament .diamond {
  width: 9px; height: 9px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-3), var(--gold-deep));
  box-shadow: 0 0 12px rgba(228,204,154,.55);
}
.live {
  color: var(--navy-950); background: var(--gold); padding: 1px 8px; border-radius: 99px; font-weight: 700; letter-spacing: 0;
}

.main-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 10px 8px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,34,58,.86), rgba(10,22,40,.78));
  backdrop-filter: blur(22px);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
}
.main-nav ul { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; }
.main-nav a {
  color: var(--ivory);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
}
.main-nav a.on {
  background: rgba(228,204,154,.16);
  color: var(--gold-2);
}
.main-nav a:hover { background: rgba(228,204,154,.12); color: var(--gold-2); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.nav-tools .btn.ghost,
.nav-tools .btn.text {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ivory);
  padding: 7px 14px;
  font-weight: 500;
}
.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); font-size: 22px; }

.search-form { position: relative; display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(5,9,16,.55); }
.search-form input {
  width: 210px;
  background: transparent;
  border: 0;
  color: var(--ivory);
  padding: 8px 14px;
  outline: none;
}
.search-form button {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--gold-2);
  padding: 8px 14px;
  cursor: pointer;
}
.search-form.lg {
  margin-top: 18px;
  border: 0;
  background: transparent;
  overflow: visible;
  max-width: 640px;
}
.search-form.lg input {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px 0 0 12px;
  padding: 12px 16px;
  background: rgba(5,9,16,.7);
}
.search-form.lg button {
  border: 1px solid var(--gold);
  border-radius: 999px 0 0 999px;
}
.suggest {
  position: absolute; top: 118%; right: 0; left: 0;
  background: #13233d; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; z-index: 9;
  box-shadow: var(--shadow);
}
.suggest a { display: block; padding: 9px 12px; color: var(--ivory); }
.suggest a:hover { background: rgba(196,165,116,.12); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px;
  padding: 9px 18px; cursor: pointer; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn.gold {
  background: linear-gradient(180deg, #f0ddb6 0%, #c6a46a 48%, #9a753d 100%);
  color: #1a140c;
  box-shadow: 0 10px 24px rgba(154,117,61,.28), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn.ghost {
  border-color: var(--line); color: var(--ivory);
  background: rgba(255,255,255,.03);
}
.btn.text { background: none; color: var(--muted); }
.btn.lg { padding: 13px 24px; }
.btn.block { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn.gold:hover { box-shadow: 0 16px 32px rgba(198,164,106,.35); }

.flashes { width: min(1180px, calc(100% - 40px)); margin: 16px auto 0; }
.flash {
  padding: 10px 16px; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid var(--line); background: rgba(16,36,69,.8);
}
.flash.success { border-color: #7dcea0; }
.flash.error { border-color: #e07a6a; }
.flash.info { border-color: var(--gold); }

.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center;
  padding: 28px 0 10px;
}
.home-hero {
  min-height: calc(100vh - 130px);
  padding: 48px 0 36px;
}
.kicker {
  color: var(--gold-2);
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.38; }
.hero h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.42;
  background: linear-gradient(180deg, #fff6e4 0%, #f0d7a6 52%, #d4b06a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.28));
}
.lead { font-size: 17px; color: #cfd8e6; margin: 22px 0 28px; max-width: 46ch; line-height: 1.95; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  list-style: none; margin-top: 32px;
}
.hero-stats li {
  border-top: 1px solid var(--line); padding-top: 12px;
}
.hero-stats b {
  display: block; font-family: var(--serif); font-size: 30px;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { color: var(--muted); font-size: 13px; }

.hero-stage {
  position: relative;
  min-height: 520px;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 12% 6% 8% 4%;
  border: 1px solid rgba(228,204,154,.14);
  border-radius: 36px;
  background: radial-gradient(circle at 50% 42%, rgba(198,164,106,.08), transparent 72%);
}
.fan { position: relative; height: 520px; }
.fan-book {
  position: absolute;
  top: 58px;
  left: 50%;
  width: 210px;
  aspect-ratio: 3/4;
  margin-left: -105px;
  transform-origin: 50% 90%;
  transform: rotate(calc((var(--i) - 1.5) * 14deg)) translateX(calc((var(--i) - 1.5) * 78px));
  transition: .5s cubic-bezier(.2,.7,.2,1);
  border-radius: 6px 14px 14px 6px;
  overflow: hidden;
  box-shadow: 0 28px 54px rgba(0,0,0,.52), 0 0 0 1px rgba(228,204,154,.2);
}
.fan-book:nth-child(1) { z-index: 1; }
.fan-book:nth-child(2) { z-index: 2; }
.fan-book:nth-child(3) { z-index: 3; }
.fan-book:nth-child(4) { z-index: 4; }
.fan-book img { width: 100%; height: 100%; object-fit: cover; }
.fan-book:hover { transform: rotate(0) translateY(-18px) scale(1.05); z-index: 8; }

.band {
  margin: 28px 0 8px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(198,164,106,.08), transparent);
}
.loop {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center;
  padding: 16px 0; color: var(--gold-2); font-family: var(--serif); font-size: 19px;
}
.loop i { color: var(--gold); opacity: .7; font-style: normal; font-size: 11px; }

.section { margin-top: 64px; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px;
}
.section-head h2, .page-intro h1 { font-size: clamp(28px, 3.1vw, 42px); }
.section-head h2::after {
  content: "";
  display: block;
  width: 54px; height: 2px; margin-top: 10px;
  background: linear-gradient(to left, var(--gold-2), transparent);
}
.link-arrow { color: var(--gold); font-size: 14px; letter-spacing: .04em; }
.quiet { color: var(--muted); margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.reveal {
  animation: rise .9s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.book-grid.sm { grid-template-columns: repeat(2, 1fr); }
.book-card {
  padding: 12px 12px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.16));
  border: 1px solid rgba(228,204,154,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.book-card:hover {
  transform: translateY(-8px);
  border-color: rgba(228,204,154,.38);
  box-shadow: 0 28px 50px rgba(0,0,0,.32);
}
.book-card .meta { padding: 12px 4px 0; }
.book-card .title {
  display: block; color: var(--ivory); font-family: var(--serif); font-size: 21px; line-height: 1.4;
}
.book-card .author { color: var(--muted); font-size: 13px; }
.book-card .row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; }
.price { color: var(--gold-2); font-weight: 600; }
.muted { color: var(--muted); }

.cover-link { position: relative; display: block; }
.book-3d {
  display: block; position: relative;
  aspect-ratio: 3/4;
  transform: perspective(900px) rotateY(12deg);
  transform-style: preserve-3d;
  transition: .4s cubic-bezier(.2,.7,.2,1);
  border-radius: 3px 14px 14px 3px;
  overflow: hidden;
  box-shadow: 14px 22px 40px rgba(0,0,0,.42), 0 0 0 1px rgba(228,204,154,.16);
}
.book-3d img { width: 100%; height: 100%; object-fit: cover; }
.book-3d .spine {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 15px;
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(255,255,255,.12) 42%, rgba(0,0,0,.28));
}
.book-3d::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.18) 48%, transparent 58%);
  transform: translateX(-70%);
  transition: transform .7s ease;
}
.book-card:hover .book-3d::after, .book-hero-cover:hover .book-3d::after {
  transform: translateX(70%);
}
.book-3d.xl { width: min(330px, 100%); margin-inline: auto; }
.book-card:hover .book-3d, .book-hero-cover:hover .book-3d {
  transform: perspective(900px) rotateY(0) translateY(-10px);
}
.badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy-950);
  font-size: 11px; font-style: normal; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.badge.om { background: rgba(10,22,40,.86); color: var(--gold-2); border: 1px solid var(--gold); }

.stars { color: var(--gold); letter-spacing: 2px; }
.stars .off { opacity: .28; }
.stars b { color: var(--ivory); font-weight: 600; margin-right: 6px; letter-spacing: 0; font-size: 13px; }

.panel, .glass {
  background: linear-gradient(180deg, rgba(28,48,78,.72), rgba(10,22,40,.82));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px rgba(0,0,0,.18);
}
.panel.narrow { max-width: 520px; }
.suggest-list { list-style: none; margin: 16px 0; }
.suggest-list a { display: flex; gap: 12px; align-items: center; color: var(--ivory); padding: 9px 0; border-bottom: 1px solid rgba(228,204,154,.08); }
.suggest-list img { width: 42px; height: 62px; object-fit: cover; border-radius: 3px; box-shadow: 0 8px 16px rgba(0,0,0,.3); }

.author-row { display: flex; flex-wrap: wrap; gap: 12px; }
.author-chip {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(11,27,51,.62); color: var(--ivory); min-width: 230px;
  transition: border-color .2s ease, transform .2s ease;
}
.author-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.author-chip.lg { border-radius: 18px; padding: 14px; }
.author-chip small { display: block; color: var(--muted); }
.ava {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, var(--gold-3), var(--acc, var(--gold)) 42%, var(--navy-800));
  color: var(--navy-950); font-weight: 700;
  border: 1px solid var(--gold-2);
  box-shadow: 0 0 0 4px rgba(198,164,106,.08);
}
.ava.sm { width: 32px; height: 32px; font-size: 13px; }
.ava.xl { width: 128px; height: 128px; font-size: 38px; font-family: var(--serif); }
.verified { color: var(--gold); font-style: normal; font-size: 12px; }

.review, .review-mini, .topic-mini, .topic-row {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(18,34,58,.55), rgba(11,27,51,.5));
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.review-mini:hover, .topic-mini:hover, .topic-row:hover {
  border-color: rgba(228,204,154,.45);
  transform: translateY(-2px);
}
.review header, .review-mini header { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.topic-mini strong, .topic-row strong { display: block; color: var(--ivory); }
.book-tag { color: var(--gold); font-size: 12px; }
.topic-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.spoiler-tag {
  font-style: normal; font-size: 11px; color: var(--navy-950);
  background: var(--gold-2); padding: 2px 8px; border-radius: 99px;
}

.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.list-card {
  display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  border: 1px solid var(--line); border-radius: 20px; padding: 16px;
  background: linear-gradient(180deg, rgba(18,34,58,.6), rgba(11,27,51,.55)); color: inherit;
  transition: transform .25s ease, border-color .25s ease;
}
.list-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.stack { position: relative; height: 120px; }
.stack img {
  position: absolute; width: 70px; height: 100px; object-fit: cover; border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
}
.stack img:nth-child(1) { right: 0; z-index: 3; }
.stack img:nth-child(2) { right: 18px; top: 8px; z-index: 2; }
.stack img:nth-child(3) { right: 36px; top: 16px; z-index: 1; }

.page-intro { padding: 48px 0 12px; max-width: 740px; }
.page-intro h1 {
  background: linear-gradient(180deg, #fff8ea 0%, #e4cc9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; color: var(--ivory); font-size: 14px;
  background: rgba(255,255,255,.03);
}
.chip.on { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy-950); border-color: transparent; }

.book-hero {
  display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding-top: 42px;
}
.book-hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  background: linear-gradient(180deg, #fff8ea 0%, #e4cc9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumbs span::before { content: " · "; color: var(--gold); }
.by { color: var(--muted); margin: 8px 0; }
.excerpt {
  margin: 20px 0;
  padding: 18px 20px;
  border-right: 2px solid var(--gold);
  background: linear-gradient(to left, rgba(198,164,106,.12), transparent);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.75;
  border-radius: 0 16px 16px 0;
}
.buy-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0;
}
.price.lg { font-size: 30px; font-family: var(--serif); color: var(--gold-2); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; }
.facts dt { color: var(--muted); font-size: 12px; }
.voice-block { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; }
.voice-card {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(198,164,106,.2), transparent),
    linear-gradient(180deg, rgba(18,34,58,.8), rgba(11,27,51,.75));
}
.voice-text { font-family: var(--serif); font-size: 25px; margin: 12px 0 22px; }
.player { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.play {
  min-width: 128px; height: 50px; padding: 0 22px; border-radius: 999px;
  border: 0; background: linear-gradient(180deg, #f0ddb6, #c6a46a); color: #1a140c; font-weight: 700; cursor: pointer;
}
.wave { display: flex; gap: 4px; align-items: end; height: 36px; }
.wave span {
  width: 4px; height: 10px; background: var(--gold); border-radius: 99px; animation: none;
}
.wave.on span { animation: eq 1s ease-in-out infinite; }
.wave span:nth-child(2) { animation-delay: .1s; }
.wave span:nth-child(3) { animation-delay: .2s; }
.wave span:nth-child(4) { animation-delay: .05s; }
.wave span:nth-child(5) { animation-delay: .25s; }
.wave span:nth-child(6) { animation-delay: .15s; }
@keyframes eq {
  0%,100% { height: 8px; }
  50% { height: 32px; }
}

.author-hero, .oman-hero { display: flex; gap: 28px; align-items: center; padding-top: 44px; }
.oman-hero {
  display: block;
  padding: 56px 0 12px;
  background: radial-gradient(600px 180px at 80% 0%, rgba(198,164,106,.12), transparent);
}
.handle { color: var(--muted); }
.author-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.author-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  background: linear-gradient(180deg, rgba(18,34,58,.55), rgba(11,27,51,.5));
}
.author-card p { color: #c9d3e0; margin: 10px 0; font-size: 14px; }

.map-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.oman-map {
  position: relative; min-height: 440px; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(circle at 68% 42%, #21487a, #0b1b33 64%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 80px rgba(0,0,0,.25);
}
.oman-map::after {
  content: "";
  position: absolute; inset: 18% 22% 12% 28%;
  background: linear-gradient(180deg, rgba(228,204,154,.22), rgba(198,164,106,.06));
  clip-path: polygon(60% 8%, 78% 18%, 88% 38%, 80% 62%, 62% 88%, 40% 92%, 28% 70%, 32% 42%, 48% 18%);
  border: 1px solid rgba(196,165,116,.35);
}
.pin {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy-950); border: 0;
  border-radius: 99px; padding: 7px 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,.3);
}
.map-panel { display: none; }
.map-panel.on { display: block; }

.auth { min-height: 60vh; display: grid; place-items: center; padding: 48px 0; }
.auth-card {
  width: min(440px, 100%);
  text-align: center;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18,34,58,.86), rgba(10,22,40,.9));
  box-shadow: var(--shadow);
}
.auth-logo { width: 150px; margin: 0 auto 12px; }
.stack-form { display: grid; gap: 12px; text-align: right; margin-top: 18px; }
.stack-form input, .stack-form textarea, .stack-form select {
  width: 100%; margin-top: 4px; padding: 11px 13px;
  background: rgba(5,9,16,.72); border: 1px solid var(--line); color: var(--ivory); border-radius: 12px;
}
.stack-form input:focus, .stack-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,164,106,.15);
}
.hint { color: var(--muted); font-size: 13px; margin: 14px 0; }
.check { display: flex; gap: 8px; align-items: center; }
.mt { margin-top: 22px; }
.sub { margin: 18px 0 10px; color: var(--gold-2); }

.council { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
.topic-mini.on { border-color: var(--gold); background: rgba(198,164,106,.08); }

.admin-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 20px;
}
.admin-stats div {
  border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: center;
  background: rgba(11,27,51,.5);
}
.admin-stats b { display: block; font-size: 28px; font-family: var(--serif); color: var(--gold-2); }
.table { width: 100%; border-collapse: collapse; }
.table td, .table th { border-bottom: 1px solid var(--line); padding: 8px; text-align: right; }

.site-footer {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7,13,22,.4), rgba(5,9,16,.94));
  padding: 28px 20px 22px;
}
.footer-grid {
  width: min(1180px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px;
}
.footer-logo { width: 128px; margin-bottom: 10px; }
.site-footer a, .site-footer p { display: block; color: var(--muted); }
.site-footer h4 { font-family: var(--serif); margin-bottom: 8px; color: var(--ivory); }
.footer-bottom {
  width: min(1180px, 100%); margin: 24px auto 0;
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 13px;
}
.tiny { font-size: 13px; margin-top: 8px; }

@media (max-width: 980px) {
  .gold-frame { display: none; }
  .hero, .split, .two, .book-hero, .voice-block, .map-wrap, .council, .footer-grid, .author-directory, .list-grid {
    grid-template-columns: 1fr;
  }
  .book-grid, .book-grid.sm { grid-template-columns: repeat(2, 1fr); }
  .hero-stats, .facts, .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .home-hero { min-height: 0; padding: 28px 0 10px; }
  .fan { height: 340px; }
  .hero-stage { min-height: 340px; }
  .main-nav { flex-wrap: wrap; border-radius: 22px; }
  .nav-toggle { display: block; }
  .main-nav ul { display: none; width: 100%; }
  .main-nav.open ul { display: flex; }
  .search-form input { width: 140px; }
  .author-hero { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .book-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav-tools { width: 100%; justify-content: space-between; }
  .tagline { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-link img, .reveal, .book-3d, .fan-book { animation: none; transition: none; }
}
