/* ====== Root / Reset ====== */
:root {
  --bg: #0a0b0e;
  --bg2: #0c0d12;
  --ink: #e7e7ea;
  --muted: #9aa0a6;
  --blood: #642525;
  --blood2: #7a0b0b;
  --edge: rgba(255, 255, 255, 0.08);
  --glass: rgba(12, 13, 18, 0.72);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  --ring: 0 0 0 3px color-mix(in srgb, var(--blood) 35%, transparent);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background:
    radial-gradient(
        900px 500px at 80% -10%,
        rgba(196, 17, 17, 0.18),
        transparent 60%
      )
      no-repeat,
    radial-gradient(
        700px 400px at 10% 110%,
        rgba(196, 17, 17, 0.12),
        transparent 65%
      )
      no-repeat,
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== Header ====== */
.header {
  position: relative;
  z-index: 1001;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    to bottom,
    rgba(10, 11, 14, 0.88),
    rgba(10, 11, 14, 0.35)
  );
  border-bottom: 1px solid var(--edge);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.brand__name {
  line-height: 0.9;
  display: flex;
  flex-direction: column;
}
.brand__name strong {
  font-size: 26px;
  letter-spacing: 0.4px;
  text-shadow:
    0 1px 0 #000,
    0 0 18px rgba(196, 17, 17, 0.25);
}
.brand__name span {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #dfe1e5;
  transition: background 0.2s ease;
}
.menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.cta {
  background: linear-gradient(to right, var(--blood), var(--blood2));
  color: #fff !important;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(196, 17, 17, 0.25);
}

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}
.burger:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.burger__icon,
.burger__icon::before,
.burger__icon::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  z-index: 2000;
  margin: 0 auto;
}
.burger__icon::before {
  position: absolute;
  top: -7px;
}
.burger__icon::after {
  position: absolute;
  top: 7px;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--edge);
  z-index: 2;
  margin-bottom: 20px;
}

.heroBg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.1;
}
/* subtle vignette */

.hero__wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 42px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  /* padding: 68px 0 96px; */
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f2b8b8;
  background: rgba(196, 17, 17, 0.08);
  border: 1px solid rgba(196, 17, 17, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
}
.hero h1 {
  margin: 16px 0 12px;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: 0.2px;
  text-shadow: 0 1px 0 #000;
  line-height: 1.2;
  text-transform: uppercase;
}
.drip {
  background: linear-gradient(to bottom, #ff2c2c, #8b0000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.sub {
  color: #fff;
  max-width: 64ch;
  margin: 0 0 22px;
  font-size: clamp(15px, 1.8vw, 18px);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 12px 0 24px;
}
.btn {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: #14151a;
  color: #fff;
  font-weight: 700;
  transition:
    transform 0.05s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.btn:hover {
  background: #1a1c22;
  border-color: rgba(255, 255, 255, 0.2);
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: linear-gradient(to right, var(--blood), var(--blood2));
  border-color: color-mix(in srgb, var(--blood) 50%, #000 50%);
  box-shadow: 0 10px 30px rgba(196, 17, 17, 0.25);
}

.search {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #101115;
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 8px;
  max-width: 580px;
}
.search input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 8px;
  outline: none;
}
.search button {
  white-space: nowrap;
}

.meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111319;
  border: 1px solid var(--edge);
  padding: 8px 12px;
  border-radius: 999px;
}

/* Right card with background image */
.card {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.cardPlace {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
/* VHS scanlines + noise */

/* floating badge + score */
.badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: var(--glass);
  backdrop-filter: blur(6px);
}
.score {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
  background: #14151a;
  border: 1px solid var(--edge);
  padding: 8px 10px;
  border-radius: 10px;
}
.score__num {
  font-weight: 800;
}
.tag {
  font-size: 12px;
  color: #f4c1c1;
  background: rgba(196, 17, 17, 0.1);
  border: 1px solid rgba(196, 17, 17, 0.25);
  padding: 6px 8px;
  border-radius: 999px;
}

.platforms {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.platform {
  background: #111318;
  border: 1px solid var(--edge);
  padding: 8px 10px;
  border-radius: 10px;
  color: #d7dae0;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Glitchy brand hover */
.brand:hover strong {
  filter: drop-shadow(0 0 10px rgba(196, 17, 17, 0.4));
}
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  opacity: 0.5;
  pointer-events: none;
}
.glitch::before {
  transform: translate(1px, 0);
  color: #00eaff;
  mix-blend-mode: screen;
}
.glitch::after {
  transform: translate(-1px, 0);
  color: #ff003c;
  mix-blend-mode: screen;
}
.brand:hover .glitch::before {
  transform: translate(2px, 0);
}
.brand:hover .glitch::after {
  transform: translate(-2px, 0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__wrap {
    grid-template-columns: 1fr;
    padding: 44px 10px 76px;
  }
  .card {
    min-height: 360px;
  }
}
@media (max-width: 860px) {
  .menu {
    display: none;
  }
  .burger {
    display: inline-grid;
    place-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drawer {
    transition: none;
  }
  .btn {
    transition: none;
  }
  .flicker {
    animation: none;
  }
}

/*  */
/* ===== Latest Reviews ===== */
.latest {
  position: relative;
  background: linear-gradient(180deg, #0c0d13 0%, #0b0c10 100%);
  border-bottom: 1px solid var(--edge);
}
/* .latest::before{
  content:""; position:absolute; inset:-10% -10% -20% -10%;
  background: radial-gradient(1000px 500px at 80% -10%, rgba(196,17,17,.12), transparent 60%);
  pointer-events:none
} */
.latest__head {
  padding: 54px 0 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.latest__title {
  margin: 8px 0 6px;
  font-size: clamp(26px, 3.4vw, 36px);
}
.latest__sub {
  color: var(--muted);
  margin: 0;
}

.latest__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  background: #111319;
  border: 1px solid var(--edge);
  color: #dfe1e5;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.05s ease;
}
.chip:hover {
  background: #171a20;
  border-color: rgba(255, 255, 255, 0.18);
}
.chip:active {
  transform: translateY(1px);
}
.chip--active {
  background: linear-gradient(to right, var(--blood), var(--blood2));
  border-color: color-mix(in srgb, var(--blood) 50%, #000 50%);
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding: 18px 0 40px;
}

/* Card */
.review {
  grid-column: span 4; /* 3 в ряд на десктопе */
  background: #0f1116;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    border-color 0.2s ease;
}
.review:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.review__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: space-between;
}

.review__art {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0e0f14;
}
.review__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.9);
}
.review__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: normal;
  pointer-events: none;
}
.review__score {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #14151a;
  border: 1px solid var(--edge);
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 800;
}
.review__tag {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 12px;
  color: #f4c1c1;
  background: rgba(196, 17, 17, 0.1);
  border: 1px solid rgba(196, 17, 17, 0.25);
  padding: 6px 8px;
  border-radius: 999px;
}

.review__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.review__title {
  margin: 2px 0 6px;
  font-size: clamp(16px, 2vw, 18px);
}
.review__excerpt {
  margin: 0 0 12px;
  color: var(--muted);
}

.review__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111319;
  border: 1px solid var(--edge);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #d7dae0;
}
.pill--muted {
  color: #a7adb6;
}

.latest__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 56px;
}

/* Responsive grid */
@media (max-width: 1100px) {
  .review {
    grid-column: span 6;
  } /* 2 в ряд */
  .review__link {
    grid-template-rows: 200px 1fr;
  }
}
@media (max-width: 640px) {
  .latest__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .review {
    grid-column: 1 / -1;
  } /* 1 в ряд */
  .review__link {
    grid-template-rows: 190px 1fr;
  }
}

/* ===== Fear Lab ===== */
.fearlab {
  position: relative;
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, #0c0d13 0%, #0b0c10 100%);
}
.fearlab::before {
  content: "";
  position: absolute;
  inset: -10% -10% -20% -10%;
  background: radial-gradient(
    1000px 520px at 15% -10%,
    rgba(196, 17, 17, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.fearlab__head {
  padding: 58px 0 18px;
}
.fearlab__title {
  margin: 0.4rem 0 0.25rem;
  font-size: clamp(26px, 3.4vw, 36px);
}
.fearlab__sub {
  color: var(--muted);
  margin: 0;
}

.fearlab__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 10px 0 66px;
}

/* Visual */
.fearlab__visual {
  margin: 0;
  min-height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.fearlab__visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.circle-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 16px;
  background: #0f1116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.circle-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #e7e7ea;
}

.circle-head strong {
  font-weight: 700;
}

.circle-gauge {
  width: 120px;
  height: 120px;
}

.circle-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

.circle-fill {
  --p: 0; /* процент по умолчанию */
  fill: none;
  stroke: #642525; /* цвет дуги */
  stroke-width: 12;
  stroke-linecap: round;

  stroke-dasharray: 314; /* длина окружности (2πr при r=50) */
  stroke-dashoffset: calc(314 - 314 * var(--p) / 100);

  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.6s ease;
}

.circle-text {
  font:
    800 18px/1 Inter,
    sans-serif;
  text-anchor: middle;
  fill: #e7e7ea;
}

.fearlab__visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(
      1200px 600px at 50% 0%,
      transparent 35%,
      rgba(0, 0, 0, 0.45) 95%
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 3px
    );
  mix-blend-mode: overlay;
  pointer-events: none;
}
.fearlab__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--edge);
  backdrop-filter: blur(6px);
  padding: 10px 12px;
  border-radius: 12px;
}
.fearlab__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 14, 0),
    rgba(10, 11, 14, 0.8)
  );
  padding: 16px;
  border-radius: 14px;
}
.fearlab__game {
  margin: 0 0 6px;
  font-size: clamp(20px, 3vw, 28px);
}
.fearlab__desc {
  margin: 0 0 10px;
  color: var(--muted);
}

/* Panel */
.fearlab__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Meters grid */
/* размер SVG 120x120, радиус 50 => длина окружности 2πr ≈ 314 */
.gauge {
  width: 120px;
  height: 120px;
}
.gauge__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

.gauge {
  width: 120px;
  height: 120px;
}

.gauge__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

/* 120×120, r=50 → длина окружности = 314 */
.gauge {
  width: 120px;
  height: 120px;
}
.gauge__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

.gauge__fill {
  /* процент задаём через --pct (0–100) */
  --pct: 72;

  fill: none;
  stroke: #642525; /* Поставь любой цвет, чтобы исключить проблему с градиентом */
  stroke-width: 12;
  stroke-linecap: round;

  stroke-dasharray: 314; /* 2πr */
  stroke-dashoffset: calc(314 - 314 * var(--pct) / 100);

  transform: rotate(-90deg); /* старт сверху */
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.6s ease;
}

.gauge__pct {
  font:
    800 18px/1 Inter,
    system-ui;
  text-anchor: middle;
  fill: #e7e7ea;
}

.gauge__pct {
  font:
    800 18px/1 Inter,
    sans-serif;
  text-anchor: middle;
  fill: #e7e7ea;
}

/* (необязательно) подпись в центре */
.gauge__pct {
  font:
    800 18px/1 Inter,
    system-ui;
  text-anchor: middle;
  fill: #e7e7ea;
}

.meters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.meter {
  background: #0f1116;
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 12px;
}
.meter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.meter__head span {
  color: #dfe1e5;
}
.meter__head strong {
  font-weight: 800;
}

.gauge {
  width: 120px;
  height: 120px;
}
.gauge__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}
.gauge__fill {
  fill: none;
  stroke: url(#bloodGrad);
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke-dasharray: 314; /* 2πr with r=50 */
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 0.6s ease;
  filter: drop-shadow(0 4px 14px rgba(196, 17, 17, 0.35));
}
.gauge__pct {
  font-size: 18px;
  text-anchor: middle;
  fill: #e7e7ea;
  font-weight: 800;
}

.lab__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
}
.lab__mini {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: #0f1116;
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 10px;
  transition:
    transform 0.1s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.lab__mini:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}
.lab__mini.active {
  background: linear-gradient(
    to right,
    rgba(196, 17, 17, 0.12),
    rgba(122, 11, 11, 0.12)
  );
}
.lab__mini img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.lab__mini span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.lab__mini span em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .fearlab__grid {
    grid-template-columns: 1fr;
  }
  .fearlab__visual {
    min-height: 380px;
  }
  .lab__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 680px) {
  .meters {
    grid-template-columns: 1fr;
  }
  .meter {
    grid-template-columns: 120px 1fr;
  }
  .lab__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
/*  */

/* ===== Top Lists ===== */
.toplists {
  position: relative;
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, #0b0c10 0%, #0c0d13 100%);
}
.toplists::before {
  content: "";
  position: absolute;
  inset: -10% -10% -20% -10%;
  background:
    radial-gradient(
      1000px 520px at 85% -10%,
      rgba(196, 17, 17, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 440px at 10% 110%,
      rgba(196, 17, 17, 0.08),
      transparent 65%
    );
  pointer-events: none;
}
.top__head {
  padding: 56px 0 18px;
}
.top__title {
  margin: 0.4rem 0 0.25rem;
  font-size: clamp(26px, 3.4vw, 36px);
}
.top__sub {
  color: var(--muted);
  margin: 0;
}

.top__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding: 10px 0 48px;
}
.topcard {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  background: #0f1116;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s ease,
    border-color 0.2s ease;
}
.topcard:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.topcard__art {
  height: 200px;
  margin: 0;
  background: #0e0f14 center/cover no-repeat;
  position: relative;
}
.topcard__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 3px
    );
}

.topcard__ribbon {
  position: absolute;
  left: -48px;
  top: 14px;
  transform: rotate(-35deg);
  background: linear-gradient(to right, var(--blood), var(--blood2));
  color: #fff;
  padding: 8px 56px;
  box-shadow: 0 10px 30px rgba(196, 17, 17, 0.25);
  border: 1px solid color-mix(in srgb, var(--blood) 50%, #000 50%);
}
.topcard__ribbon span {
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
}

.topcard__badge {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 13, 18, 0.75);
  border: 1px solid var(--edge);
  padding: 8px 10px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.skull {
  font-size: 14px;
  line-height: 1;
}
.tag {
  font-size: 12px;
  color: #f4c1c1;
  background: rgba(196, 17, 17, 0.1);
  border: 1px solid rgba(196, 17, 17, 0.25);
  padding: 6px 8px;
  border-radius: 999px;
}

.topcard__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.topcard__title {
  margin: 2px 0 0;
  font-size: clamp(16px, 2vw, 18px);
}
.topcard__desc {
  margin: 0;
  color: var(--muted);
}

.topmini {
  list-style: none;
  margin: 6px 0 8px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.topmini li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #111319;
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 8px 10px;
}
.topmini .n {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(to bottom, #1a1c22, #121318);
  border: 1px solid var(--edge);
  color: #dfe1e5;
  font-weight: 700;
  font-size: 12px;
}
.scorepill {
  background: linear-gradient(to right, var(--blood), var(--blood2));
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--blood) 50%, #000 50%);
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 16px rgba(196, 17, 17, 0.25);
}

.topcard__cta {
  align-self: flex-start;
}

.top__cta {
  padding: 0 0 60px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .topcard {
    grid-column: span 6;
  }
  .topcard__art {
    height: 220px;
  }
}
@media (max-width: 640px) {
  .topcard {
    grid-column: 1 / -1;
  }
  .topcard__art {
    height: 200px;
  }
  .topcard__ribbon {
    transform: rotate(-28deg);
    left: -38px;
  }
}

/*  */
/* ===== Review Quotes ===== */
.quotes {
  position: relative;
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, #0c0d13 0%, #0b0c10 100%);
}
.quotes::before {
  content: "";
  position: absolute;
  inset: -10% -10% -20% -10%;
  background:
    radial-gradient(
      900px 480px at 20% -10%,
      rgba(196, 17, 17, 0.1),
      transparent 60%
    ),
    radial-gradient(
      700px 380px at 90% 110%,
      rgba(196, 17, 17, 0.06),
      transparent 65%
    );
  pointer-events: none;
}
.quotes__head {
  padding: 56px 0 18px;
}
.quotes__title {
  margin: 0.4rem 0 0.25rem;
  font-size: clamp(26px, 3.4vw, 36px);
}
.quotes__sub {
  color: var(--muted);
  margin: 0;
}

.quotes__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding: 8px 0 46px;
}

/* Torn quote card */
.qcard {
  grid-column: span 4;
  background: #101217;
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 18px 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.15s ease,
    border-color 0.2s ease;
  overflow: hidden;
  margin: 0;
}
.qcard:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.qcard__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 13, 18, 0.75);
  border: 1px solid var(--edge);
  padding: 6px 8px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  align-self: flex-start;
}
.q {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: #e7e7ea;
  position: relative;
}
.q::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -8px;
  font-size: 48px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}
.qcite {
  color: var(--muted);
}

.quotes__cta {
  padding: 0 0 58px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .qcard {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .qcard {
    grid-column: 1 / -1;
  }
}
/*  */

/* ===== Newsletter Graveyard ===== */
.graveyard {
  position: relative;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, #0b0c10 0%, #0c0d13 100%);
}
.graveyard::before {
  content: "";
  position: absolute;
  inset: -10% -10% -20% -10%;
  background:
    radial-gradient(
      1000px 520px at 15% -10%,
      rgba(196, 17, 17, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 90% 120%,
      rgba(196, 17, 17, 0.06),
      transparent 65%
    );
  pointer-events: none;
}
.grave__head {
  padding: 56px 0 18px;
}
.grave__title {
  margin: 0.4rem 0 0.25rem;
  font-size: clamp(26px, 3.4vw, 36px);
}
.grave__sub {
  color: var(--muted);
  margin: 0;
}

/* Form */
.grave__form {
  padding: 12px 0 60px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.stones {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin: 10px 0 16px;
}

/* Tombstone block */
.stone {
  grid-column: span 4;
  position: relative;
  background:
    radial-gradient(140% 80% at 50% 0%, #171a21 0%, #0f1116 60%) padding-box,
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
      )
      border-box;
  border: 1px solid var(--edge);
  border-radius: 18px 18px 10px 10px; /* tombstone crown */
  padding: 14px 14px 18px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    inset 0 6px 26px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.stone::after {
  /* hairline crack */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0) 30%
    ),
    repeating-linear-gradient(
      35deg,
      rgba(255, 255, 255, 0.018) 0 2px,
      transparent 2px 6px
    );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.stone__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #cfcfd6;
  margin: 2px 0 8px;
}
.stone__input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f1116;
  color: #fff;
  padding: 10px 12px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.stone__input::placeholder {
  color: #9aa0a6;
}
.stone__input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 3px rgba(196, 17, 17, 0.25);
  background: #11141a;
}
.stone__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #e7e7ea 50%),
    linear-gradient(135deg, #e7e7ea 50%, transparent 50%),
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.15)
    );
  background-position:
    calc(100% - 18px) calc(50% - 4px),
    calc(100% - 12px) calc(50% - 4px),
    calc(100% - 36px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 60%;
  background-repeat: no-repeat;
}

/* Etched mark inside tombstone */
.stone__etch {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  letter-spacing: 0.1em;
}

/* Consent + copy */
.grave__agree {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 16px;
}
.chk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #dfe1e5;
}
.chk input {
  inline-size: 18px;
  block-size: 18px;
  accent-color: #8b0c0c;
  margin-top: 2px;
}
.fineprint {
  color: var(--muted);
}
.fineprint a {
  color: #e7e7ea;
  text-decoration: underline dotted;
}

/* CTA */
.grave__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn.btn--blood {
  background: linear-gradient(to right, var(--blood), var(--blood2));
  border: 1px solid color-mix(in srgb, var(--blood) 50%, #000 50%);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(196, 17, 17, 0.25);
}
.grave__hint {
  margin: 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .stone {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .stone {
    grid-column: 1 / -1;
  }
}

/*   НАСТРОЙКА SCROLL-BAR   */
::-webkit-scrollbar {
  width: 0.5em;
}

::-webkit-scrollbar-track {
  background-color: #111;
}

::-webkit-scrollbar-thumb {
  border-radius: 100vw;
  background-color: #642525;
}

::-webkit-scrollbar-thumb:active {
  background-color: #642525;
}

.footer {
  padding: 40px 0;
  box-shadow: 0 -2px 4px rgba(255, 0, 0, 0.2);
}
.footerContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  p {
    text-align: center;
    max-width: 600px;
    line-height: 1.2;
    opacity: 0.5;
  }
}

.socialIcons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.mobNav {
  display: none;
}
.stopScroll {
  overflow: hidden !important;
}
@media screen and (max-width: 750px) {
  .mobNav {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    transform: translateX(100%);
    transition: 0.3s all cubic-bezier(0.39, 0.575, 0.565, 1);
    -webkit-transition: 0.3s all cubic-bezier(0.39, 0.575, 0.565, 1);
    -moz-transition: 0.3s all cubic-bezier(0.39, 0.575, 0.565, 1);
    -ms-transition: 0.3s all cubic-bezier(0.39, 0.575, 0.565, 1);
    -o-transition: 0.3s all cubic-bezier(0.39, 0.575, 0.565, 1);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
  .mobNav.active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
  }
}
