:root {
  --gold: #eea20e;
  --gold-2: #f4bb38;
  --gold-tab: #bf9e4b;
  --gold-dark: #cd931d;
  --header-fg: #dee1e6;
  --header-fg-h: #fbfbfc;
  --text: #333;
  --muted: #90969c;
  --line: #e4e4e4;
  --bg: #ededed;
  --card: #fff;
  --dark: #1a1d28;
  --dark-2: #2d2f3e;
  --blue: #4773c8;
  --layout: 1200px;
  --header-h: 70px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 14px/1.55 "Microsoft Yahei", "PingFang SC", "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.l-wrap {
  width: min(var(--layout), calc(100% - 32px));
  margin: 0 auto;
}

/* Header — как у buff.163.com: 70px, градиент, светлый текст */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  color: var(--header-fg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #141824 linear-gradient(0deg, rgba(37, 60, 98, 0.14) 0, rgba(98, 127, 173, 0.55) 99%);
}

.header-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 8px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 36px;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.nav a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--header-fg);
  font-weight: 700;
}

.nav a:hover { color: var(--header-fg-h); }

.nav a.on {
  box-shadow: inset 0 -2px 0 var(--blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.lang {
  color: var(--header-fg);
  opacity: 0.85;
}

.header-cta {
  color: var(--gold-2);
  font-weight: 700;
}

.header-cta:hover { color: #fff; }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  margin: auto 0 auto auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  color: #fff;
  background:
    radial-gradient(1200px 420px at 70% 20%, rgba(71, 115, 200, 0.28), transparent 55%),
    linear-gradient(180deg, #12151f 0%, #1c2436 55%, #151922 100%);
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 64px 0 88px;
}

.hero-kicker {
  margin: 0 0 12px;
  color: #c6cad0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-kicker span { color: var(--gold-2); }

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 28px;
  color: #c6cad0;
  font-size: 16px;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  color: #dee1e6;
  font-size: 12px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: linear-gradient(#f4bb38, #eea20e);
  color: #2d2f3e;
  font-weight: 700;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
}

.btn-gold:hover { filter: brightness(1.06); }

.btn-dark {
  min-height: 40px;
  padding: 0 16px;
  background: var(--dark-2);
  color: #fff;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
}

.btn-dark:hover { background: #3a3d50; }

/* Panels like Buff market block */
.panel { padding: 8px 0 48px; }

.tabs {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.tab {
  margin: 0;
  padding: 8px 22px;
  background: var(--gold-tab);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.tab-muted {
  margin-bottom: 8px;
  color: var(--muted);
}

.offer-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.offer-visual {
  position: relative;
  min-height: 240px;
  background:
    radial-gradient(circle at 50% 40%, #3a4158, #232636 70%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wear {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 2px 8px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.offer-brand {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.offer-sku {
  margin: 8px 0 0;
  color: #c6cad0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-body { padding: 28px 32px; }

.offer-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.price {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 700;
}

.price span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 12px;
  background: #fafafa;
  border: 1px solid var(--line);
}

.facts strong {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.facts span {
  display: block;
  margin-top: 4px;
  font-weight: 700;
}

.offer-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.offer-lead {
  margin: 0 0 16px;
  color: #515151;
  font-size: 14px;
}

.browser {
  margin: 0;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  background: #2d2f3e;
  color: #c6cad0;
  font-size: 12px;
}

.browser-dots {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eea20e;
  box-shadow: 16px 0 0 #bf9e4b, 32px 0 0 #4773c8;
  margin-right: 28px;
  flex: 0 0 10px;
}

.browser-url {
  flex: 1;
  min-width: 0;
  padding: 4px 10px;
  background: #1a1d28;
  border-radius: 2px;
  color: #dee1e6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser img {
  width: 100%;
  height: auto;
  display: block;
}

.browser figcaption {
  padding: 12px 16px;
  color: #515151;
  font-size: 13px;
}

.how, .faq, .safe { padding: 8px 0 56px; }

.news-kicker {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.safe-lead {
  margin: -8px 0 20px;
  color: #515151;
  max-width: 640px;
}

.safe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safe-grid li {
  padding: 22px 20px 24px;
  background: var(--card);
}

.safe-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.safe-grid p {
  margin: 0;
  color: #515151;
}

.sec-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 22px 20px 24px;
  background: var(--card);
}

.steps .n {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 8px 0 8px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: #515151;
}

.faq-list details {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list p {
  margin: 0;
  padding: 0 20px 16px;
  color: #515151;
}

.faq-list a { color: var(--blue); text-decoration: underline; }

.footer {
  background: var(--dark);
  color: #90969c;
  padding: 28px 0 96px;
  font-size: 12px;
}

.footer-inner { display: grid; gap: 8px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dee1e6;
  margin: 0;
}

.footer a { color: var(--gold-2); }

.sticky-cta {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  padding: 12px 18px;
  background: linear-gradient(#f4bb38, #eea20e);
  color: #2d2f3e;
  font-weight: 700;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .nav, .header-right { display: none; }
  .header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #141824;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px 0 16px;
  }
  .header.is-open .nav a { height: 44px; }
  .menu-btn { display: block; }
  .offer-card,
  .facts,
  .steps,
  .safe-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: inline-flex; }
  .hero-inner { padding: 40px 0 72px; }
}

.reviews-main { padding: 0 0 40px; }
.reviews-card {
  background: var(--card);
  padding: 22px 24px 28px;
}
.page-reviews .footer { padding-bottom: 28px; }

.rev-hint { margin: 0 0 14px; color: #515151; }
.rev-compose { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rev-compose textarea {
  display: block;
  width: 100%;
  margin: 12px 0 10px;
  padding: 10px 12px;
  border: 1px solid #c6cad0;
  border-radius: 2px;
  resize: vertical;
}
.rev-compose textarea:focus {
  outline: 2px solid rgba(238, 162, 14, 0.35);
  border-color: var(--gold);
}
.rev-actions { display: flex; align-items: center; gap: 12px; }
.rev-status { color: #3a7a3a; font-size: 13px; }

.tg-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #3fbcf5, #229ed9);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(34, 158, 217, 0.35);
  transition: filter 0.15s, box-shadow 0.15s;
}
.tg-login-btn:hover { filter: brightness(1.05); box-shadow: 0 4px 10px rgba(34, 158, 217, 0.4); }
.tg-login-btn:disabled { cursor: default; filter: none; opacity: 0.75; }
.tg-login-btn svg { flex: 0 0 auto; }

.rev-signed {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #515151;
}
.rev-signed img, .rev-signed .rev-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.rev-signed a { color: var(--blue); text-decoration: underline; }
.rev-empty { margin: 0; color: var(--muted); padding: 12px 0; }
.rev-list { margin: 0; padding: 0; list-style: none; }
.rev-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.rev-ava img, .rev-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.rev-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0e4c4;
  color: #8a6a12;
  font-weight: 700;
}
.rev-meta { margin: 0 0 6px; }
.rev-meta strong { margin-right: 8px; }
.rev-meta span, .rev-meta time { color: var(--muted); font-size: 12px; margin-right: 8px; }
.rev-text { margin: 0; color: #333; white-space: pre-wrap; }
