/* ============================================================
   САМОЗВАНЦЫ — страница «Клуб самозванцев» (лояльность).
   Токены/компоненты — из styles.css (header, footer, ticker, .btn).
   Mobile-first; десктоп в @media(min-width:900px).
   ============================================================ */

.cbody {
  padding: 24px 16px;
}
.ahead {
  margin: 0;
}

/* ---- интро ---- */
.cintro {
  padding: 8px 0 6px;
  position: relative;
}
.cintro-badge {
  position: relative;
  margin-top: 24px;
  text-align: center;
}
.badgeimg {
  width: auto;
  max-width: 260px;
  max-height: 420px;
  height: auto;
  filter: drop-shadow(6px 8px 0 rgba(26, 24, 19, 0.18));
}

/* декоративные стикеры */
.csticker {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}
.cs09 {
  width: 74px;
  top: -6px;
  right: 6px;
  transform: rotate(9deg);
}
.cs06 {
  width: 92px;
  transform: rotate(-7deg);
}
.ckick {
  display: inline-block;
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: #1a1206;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  padding: 6px 12px;
  margin-bottom: 16px;
}
.ctitle {
  font-family: var(--head);
  font-size: 44px;
  line-height: 0.92;
  text-transform: uppercase;
}
.clead {
  font-size: 15px;
  line-height: 1.6;
  color: #3a352c;
  margin: 14px 0 20px;
  max-width: 640px;
}
.cjoin {
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  padding: 16px 30px;
}

/* ---- заголовки/текст секций ---- */
.chead {
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 30px;
  line-height: 0.95;
  margin: 0 0 12px;
}
.ctext {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
  max-width: 700px;
}
.cnote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-style: italic;
  margin-top: 14px;
  max-width: 700px;
}

/* курс бао */
.crate {
  display: inline-block;
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 14px;
  color: #1a1206;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 12px 16px;
}

/* ================= УРОВНИ ================= */
.levels {
  display: grid;
  gap: 16px;
}
.lvl {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 20px 18px 22px;
  position: relative;
}
.lvl.lv3 {
  background: var(--gold);
}
.lvltag {
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 12px;
}
.lvl.lv3 .lvltag {
  color: #7a5a05;
}

/* печати 詐 自 名 */
.seals {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.seal {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid var(--ink);
}
.seal.on {
  background: var(--red);
  color: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}
.seal.off {
  background: transparent;
  color: rgba(26, 24, 19, 0.25);
  border-style: dashed;
  border-color: rgba(26, 24, 19, 0.3);
}

.lvlname {
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1;
}
.lvlsub {
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 13px;
  color: var(--red);
  margin: 4px 0 14px;
}
.lvl.lv3 .lvlsub {
  color: #b23016;
}

/* достраивающееся слово */
.lvlword {
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.lvlword .won {
  color: var(--ink);
}
.lvlword .woff {
  color: rgba(26, 24, 19, 0.22);
}
.lvl.lv3 .lvlword .woff {
  color: rgba(26, 24, 19, 0.25);
}

.lvlpct {
  font-family: var(--head);
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 14px;
}
.lvlpct span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.lvl.lv3 .lvlpct {
  color: #b23016;
}
.lvl.lv3 .lvlpct span {
  color: #7a5a05;
}

.lvlthr {
  font-size: 14px;
  line-height: 1.5;
  color: #3a352c;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  margin-bottom: 10px;
}
.lvllegend {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}

/* ================= ЛАВКА (скоро) ================= */
.soon {
  position: relative;
  background: var(--paper);
  border: 3px dashed var(--ink);
  padding: 26px 20px 24px;
  text-align: center;
}
.soonbadge {
  display: inline-block;
  font-family: var(--head);
  text-transform: uppercase;
  font-size: 20px;
  color: #fff;
  background: var(--red);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px 18px;
  margin-bottom: 14px;
}
.soon p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 600;
  max-width: 560px;
  margin: 0 auto;
}
.soon .cs06 {
  top: -34px;
  right: 14px;
}

/* ================= ВАЖНО ЗНАТЬ ================= */
.rules {
  list-style: none;
  display: grid;
  gap: 8px;
}
.rules li {
  position: relative;
  padding: 12px 14px 12px 40px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.rules li::before {
  content: "包";
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 16px;
  color: var(--red);
}

.coutro {
  text-align: center;
  padding: 30px 16px 46px;
}

/* карту в футере на внутренних страницах в мобайле не показываем */
.inner .mapwrap {
  display: none;
}
.dnav a.on {
  background: var(--gold);
}

/* ================= DESKTOP ================= */
@media (min-width: 900px) {
  .cbody {
    padding: 40px clamp(32px, 5vw, 150px);
  }
  .ckick {
    font-size: 14px;
  }
  /* интро в две колонки: текст слева, бейдж справа */
  .cintro {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 70px);
  }
  .cintro-text {
    flex: 1;
    min-width: 0;
  }
  .cintro-badge {
    flex: 0 0 auto;
    margin-top: 0;
  }
  .badgeimg {
    max-width: 320px;
    max-height: 560px;
  }
  .cs09 {
    width: 110px;
  }
  .ctitle {
    font-size: 84px;
  }
  .clead {
    font-size: 20px;
    max-width: 640px;
  }
  .cjoin {
    font-size: 21px;
    padding: 18px 38px;
  }
  .chead {
    font-size: 46px;
  }
  .ctext {
    font-size: 18px;
    max-width: 860px;
  }
  .cnote {
    font-size: 16px;
    max-width: 860px;
  }
  .crate {
    font-size: 18px;
    padding: 14px 22px;
  }

  .levels {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
  }
  .seal {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .lvlname {
    font-size: 40px;
  }
  .lvlword {
    font-size: 22px;
  }
  .lvlpct {
    font-size: 58px;
  }

  /* «важно знать» в две колонки */
  .rules {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .rules li {
    font-size: 15px;
  }
  .soon {
    padding: 40px 28px 34px;
  }
  .soon p {
    font-size: 17px;
  }

  .inner .mapwrap {
    display: block;
  }
}
