/* «Неоновый глитч» — дизайн ecombook.sales2china.ru (29.09.2026) */

:root {
  --bg: #0b0b0f;
  --bg-2: #101017;
  --panel: #14141d;
  --ink: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.6);
  --faint: rgba(245, 245, 247, 0.36);
  --lime: #b8f14e;
  --pink: #ff2e63;
  --blue: #4d6bff;
  --line: rgba(245, 245, 247, 0.1);
  --radius: 16px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-label: "Playfair Display", Georgia, serif;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1000px 500px at 90% -5%, rgba(77, 107, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at -5% 25%, rgba(255, 46, 99, 0.07), transparent 55%),
    radial-gradient(1100px 700px at 50% 115%, rgba(184, 241, 78, 0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- scanline divider ---------- */

.scanline {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--pink) 0 18px,
    var(--lime) 18px 36px,
    var(--blue) 36px 54px,
    transparent 54px 72px
  );
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}

.brand b { color: var(--lime); font-weight: 500; }

.site-nav { display: flex; gap: 26px; flex: none; }

.site-nav a {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav a:hover { color: var(--lime); }

a.nav-cta { display: none; padding: 10px 22px; font-size: 12px; }

/* ---------- shared ---------- */

section { padding: 108px 0; position: relative; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}

.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.18;
  margin-bottom: 18px;
}

.section-lead { max-width: 640px; color: var(--muted); margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 4px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn--lime {
  background: var(--lime);
  color: #0b0b0f;
  box-shadow: 0 10px 30px rgba(184, 241, 78, 0.28);
}

.btn--lime:hover {
  color: #0b0b0f;
  transform: translateY(-2px);
  box-shadow: 4px 14px 36px rgba(255, 46, 99, 0.35), -4px -2px 30px rgba(77, 107, 255, 0.3);
}

.btn--ghost { border-color: rgba(245, 245, 247, 0.28); color: var(--ink); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- glitch text ---------- */

.glitch {
  position: relative;
  text-shadow: 2px 0 rgba(255, 46, 99, 0.55), -2px 0 rgba(77, 107, 255, 0.55);
}

/* ---------- hero ---------- */

.hero { padding: 164px 0 104px; overflow: hidden; }

.hero::before {
  content: "體";
  position: absolute;
  top: 40px;
  right: -60px;
  font-family: var(--font-display);
  font-size: 420px;
  line-height: 1;
  color: rgba(245, 245, 247, 0.04);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 72px;
  align-items: center;
}

.hero__cover { position: relative; }

.hero__cover img {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}

.hero__cover::before,
.hero__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__cover::before {
  background: var(--pink);
  opacity: 0.5;
  transform: translate(9px, -5px);
  z-index: 0;
}

.hero__cover::after {
  background: var(--blue);
  opacity: 0.5;
  transform: translate(-9px, 5px);
  z-index: 0;
}

.hero__author {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 em { font-style: normal; color: var(--lime); text-shadow: 2px 0 rgba(255, 46, 99, 0.5), -2px 0 rgba(77, 107, 255, 0.5); }

.hero__sub {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero__desc { color: var(--muted); max-width: 540px; margin-bottom: 38px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- facts ---------- */

.facts { padding-top: 0; }

.facts__title {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}

.facts__title b { color: var(--pink); font-weight: 500; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden;
}

.fact { padding: 36px 30px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }

.fact b {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.1;
  color: var(--lime);
  text-shadow: 2px 0 rgba(255, 46, 99, 0.4), -2px 0 rgba(77, 107, 255, 0.4);
  margin-bottom: 6px;
}

.fact span { font-size: 14px; color: var(--muted); }

.fact i {
  font-style: normal;
  font-family: var(--font-label);
  font-size: 12px;
  color: var(--faint);
}

/* ---------- chapters ---------- */

.chapters { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.chapter {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.chapter:hover { transform: translateY(-5px); border-color: rgba(184, 241, 78, 0.5); }

.chapter__num {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 15px;
  color: var(--pink);
  margin-bottom: 18px;
}



.chapter h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.chapter p { font-size: 15px; color: var(--muted); }

.chapter--wide { grid-column: span 1; }

/* ---------- author ---------- */

.author .container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 68px;
  align-items: center;
}

.author__photo img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 8px 8px 0 rgba(255, 46, 99, 0.35), -8px -8px 0 rgba(77, 107, 255, 0.35);
}

.author p { color: var(--muted); margin-bottom: 18px; }

.author__creds {
  list-style: none;
  margin: 24px 0 32px;
  display: grid;
  gap: 10px;
}

.author__creds li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
}

.author__creds li::before {
  content: ">";
  font-family: var(--font-label);
  color: var(--lime);
  flex: none;
}

/* ---------- reviews ---------- */

.reviews { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 24px;
}

.review::before {
  content: "[";
  font-family: var(--font-label);
  color: var(--pink);
  font-size: 20px;
}

.review p { font-size: 15px; color: var(--muted); margin: 6px 0 18px; }

.review h5 { font-size: 15px; font-weight: 700; }

.review span { font-family: var(--font-label); font-size: 12px; color: var(--faint); }

.review-video {
  margin-top: 40px;
  text-align: center;
}

.review-video video {
  display: inline-block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  max-height: 560px;
}

.review-video figcaption {
  margin-top: 14px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- buy ---------- */

.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.buy-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.buy-card:hover { border-color: rgba(184, 241, 78, 0.55); transform: translateY(-4px); }

.buy-card__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.buy-card__fmt { font-family: var(--font-label); font-size: 12px; color: var(--faint); margin-top: -10px; }

/* ---------- presentation ---------- */

.presentation { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.presentation .section-lead { margin-bottom: 40px; }

.prez-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.prez-grid img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  height: auto;
}

/* ---------- other books ---------- */

.other-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.other-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
}

.other-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

.other-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

.other-card a {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-label);
  font-size: 12.5px;
  color: var(--faint);
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--lime); }

.footer-social { display: flex; align-items: center; gap: 12px; }

/* ---------- responsive ---------- */

@media (max-width: 1280px) {
  .brand b { display: none; }
  .brand-sub { display: none; }
}

@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero__cover { max-width: 340px; }
  .author .container { grid-template-columns: 1fr; gap: 48px; }
  .author__photo { max-width: 420px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { border-bottom: 1px solid var(--line); }
  .fact:nth-child(2n) { border-right: none; }
  .chapter-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .hero { padding-top: 124px; }
  .site-nav { display: none; }
  a.nav-cta { display: inline-flex; }
  .review-grid, .buy-grid, .other-grid, .chapter-grid, .prez-grid, .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: none; }
  .hero::before { font-size: 260px; right: -80px; }
}
