/*
 * Лендинг для клубов, blastr.ru/clubs. Значения — из хендоффа
 * («Лендинг для клубов.md», BLASTR for Clubs.dc.html).
 */

/* ───────────── Шапка ───────────── */

/* Плашка «для клубов» выровнена по нижнему краю букв логотипа. */
.hdr-brand {
  display: flex;
  align-items: flex-end;
  gap: 9px;
}

.hdr-brand .logo {
  width: clamp(88px, 26vw, 106px);
  height: clamp(20px, 5.9vw, 24px);
}

.for-clubs {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(9.5px, 2.8vw, 11px);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
  padding: 3px 7px 2px;
  margin-bottom: 1px;
  border-radius: 6px;
  background: rgba(255, 90, 31, 0.12);
  border: 1px solid rgba(255, 90, 31, 0.28);
}

.partner {
  padding: 0 clamp(16px, 3vw, 22px);
}

.partner-short {
  display: none;
}

@media (max-width: 979.98px) {
  .to-players {
    padding: 0 12px;
  }
}

@media (max-width: 479.98px) {
  .to-players {
    display: none;
  }

  .partner-long {
    display: none;
  }

  .partner-short {
    display: inline;
  }
}

@media (max-width: 369.98px) {
  .for-clubs {
    display: none;
  }
}

/* ───────────── Hero ───────────── */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -140px;
  left: 30%;
  width: min(820px, 110vw);
  height: 640px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 90, 31, 0.24), transparent 62%);
  pointer-events: none;
}

.hero-in {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 84px);
  display: flex;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.hero-copy {
  flex: 1;
  min-width: min(100%, 300px);
}

.hero-h1 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-p {
  margin: 22px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  color: rgba(246, 246, 248, 0.62);
  max-width: 540px;
}

.hero-btns {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hb {
  height: 56px;
  border-radius: 14px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background 0.2s;
}

.hb .ms {
  font-size: 22px;
}

.hb-acc {
  padding: 0 30px;
  background: var(--acc);
  color: var(--bg);
  font-weight: 700;
}

.hb-acc:hover {
  background: var(--acc-hover);
}

.hb-ghost {
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-weight: 600;
}

.hb-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
}

@media (max-width: 979.98px) {
  .hero-in {
    flex-direction: column;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-p {
    margin-inline: auto;
  }

  .hero-btns {
    justify-content: center;
  }
}

/* Доска «Панель партнёра» с маскотом-учителем слева. */
.board-wrap {
  --board-ml: 118px;
  flex: none;
  width: min(580px, 100%);
  position: relative;
  padding-left: var(--board-ml);
  padding-bottom: 18px;
}

.board-glow {
  position: absolute;
  inset: 0 0 0 var(--board-ml);
  background: radial-gradient(circle at 60% 40%, rgba(255, 90, 31, 0.2), transparent 60%);
  filter: blur(20px);
}

.board {
  position: relative;
  border-radius: 18px;
  background: #7a4a22;
  padding: 12px;
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.85),
    inset 0 0 0 2px var(--bg);
  border: 3px solid var(--bg);
}

.board-field {
  position: relative;
  border-radius: 8px;
  background-color: #1e4636;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(0, 0, 0, 0.18), transparent 50%);
  border: 2px solid var(--bg);
  padding: 16px 16px 14px;
  color: #f2efe4;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.board-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.board-online {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 11px;
  background: rgba(61, 220, 132, 0.16);
  border: 1px solid rgba(61, 220, 132, 0.35);
}

.board-online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  animation: gw 1.6s infinite;
}

.board-online .mono {
  font-size: 9.5px;
  font-weight: 700;
  color: #8ee6a8;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tile {
  padding: 12px 10px;
  border-radius: 10px;
  border: 2px dashed rgba(242, 239, 228, 0.32);
  min-width: 0;
}

.tile-l {
  font-size: 11px;
  line-height: 1.25;
  color: rgba(242, 239, 228, 0.62);
}

.tile-n {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  color: #f2efe4;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.tile-n.tile-hot {
  color: #ff8a4c;
}

.tile-up {
  font-size: 10.5px;
  color: #8ee6a8;
  margin-top: 2px;
}

.load {
  margin-top: 16px;
}

.load-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 700;
}

.load-head .mono {
  font-size: 10px;
  font-weight: 400;
  color: rgba(242, 239, 228, 0.62);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 74px;
  border-bottom: 2px solid rgba(242, 239, 228, 0.4);
  border-left: 2px solid rgba(242, 239, 228, 0.4);
  padding: 0 0 0 6px;
}

.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.bar i {
  border-radius: 4px 4px 0 0;
  border: 2px solid rgba(242, 239, 228, 0.75);
  border-bottom: none;
}

.bar.mid i {
  background: rgba(242, 239, 228, 0.18);
}

.bar.hot i {
  border-color: #ff8a4c;
  background: rgba(255, 138, 76, 0.35);
}

.b38 i {
  height: 38%;
}

.b46 i {
  height: 46%;
}

.b54 i {
  height: 54%;
}

.b64 i {
  height: 64%;
}

.b72 i {
  height: 72%;
}

.b78 i {
  height: 78%;
}

.b88 i {
  height: 88%;
}

.b96 i {
  height: 96%;
}

.board-shelf {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -9px;
  height: 10px;
  border-radius: 0 0 6px 6px;
  background: #6a3e1b;
  border: 3px solid var(--bg);
  border-top: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14%;
}

.board-shelf i {
  height: 6px;
  border-radius: 3px;
  margin-top: -10px;
}

.chalk1 {
  width: 26px;
  background: #f2efe4;
}

.chalk2 {
  width: 16px;
  background: #ff8a4c;
}

.board-mascot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 177px;
  height: 230px;
  z-index: 3;
}

.board-hl {
  position: absolute;
  top: -18px;
  right: -10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 15px;
  background: rgba(22, 22, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px -16px rgba(0, 0, 0, 0.7);
}

.board-hl-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 90, 31, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-hl-ico .ms {
  font-size: 20px;
  color: var(--acc);
}

.board-hl-t {
  font-size: 12.5px;
  font-weight: 700;
}

.board-hl-s {
  font-size: 11px;
  color: rgba(246, 246, 248, 0.5);
}

/* Узкий экран: доска во всю ширину, плитки строками, маскот под доской
   указывает вверх, плашка хайлайтов — справа от него. */
@media (max-width: 519.98px) {
  .board-wrap {
    --board-ml: 0px;
    padding-bottom: 136px;
  }

  .tiles {
    grid-template-columns: 1fr;
  }

  .tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .tile-v {
    text-align: right;
  }

  .board-mascot {
    width: 120px;
    height: 156px;
  }

  .board-hl {
    top: auto;
    right: 0;
    bottom: 44px;
  }
}

@keyframes gw {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ───────────── Зачем клубу BLASTR ───────────── */

.why-head {
  max-width: 700px;
}

.why-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.why-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 90, 31, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.why-ico .ms {
  font-size: 21px;
  color: var(--acc);
}

.step.is-on .why-ico {
  background: var(--acc);
}

.step.is-on .why-ico .ms {
  color: var(--bg);
}

.why-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.why-soon {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 10px;
}

.step-desc {
  margin: 0;
}

/* Сцена 1: новый трафик */
.sc-traffic {
  background: #2b2147;
}

.tr-floor {
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background: #1b1430;
  border-top: 3px solid var(--bg);
}

.tr-warm {
  left: -10%;
  top: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 170, 110, 0.2), transparent 62%);
}

.tr-friend-b {
  left: 58%;
  bottom: 4%;
  width: 43.8%;
  height: 76%;
}

.tr-friend-a {
  left: 38%;
  bottom: 4%;
  width: 41.5%;
  height: 72%;
}

.tr-hero {
  left: 1%;
  bottom: 4%;
  width: 45%;
  height: 78%;
}

.tr-bubble {
  left: 5%;
  top: 5%;
  padding: 1.8cqw 3cqw;
  border-radius: 3cqw;
  background: #fff;
  border: 2px solid var(--bg);
  font-size: max(10px, 3.4cqw);
  font-weight: 800;
  color: var(--bg);
  animation: cPop 3s ease-in-out infinite;
}

.tr-bubble i {
  position: absolute;
  left: 22%;
  bottom: -2cqw;
  width: 3cqw;
  height: 3cqw;
  background: #fff;
  border-right: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(45deg);
}

.tr-chip {
  right: 4%;
  top: 6%;
  animation: cPop 3s ease-in-out 0.6s infinite;
}

/* Сцена 2: автоматизация */
.sc-auto {
  background: #2e63d6;
}

.au-cone {
  left: 44%;
  top: 16%;
  width: 52%;
  height: 84%;
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  animation: cCone 2.4s ease-in-out infinite;
}

.au-cam {
  left: 60%;
  top: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1cqw;
}

.au-mount {
  width: 3cqw;
  height: 4cqw;
  background: var(--bg);
}

.au-body {
  position: relative;
  width: 20cqw;
  height: 11cqw;
  border-radius: 3cqw;
  background: #15151b;
  border: 3px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
}

.au-lens {
  width: 6.4cqw;
  height: 6.4cqw;
  border-radius: 50%;
  background: #2a2a32;
  border: 1.6cqw solid #3a3a44;
}

.au-body .mono {
  font-size: max(9px, 2.8cqw);
  font-weight: 700;
  color: var(--acc);
}

.au-rec {
  position: absolute;
  top: 1.4cqw;
  right: 1.6cqw;
  width: 1.8cqw;
  height: 1.8cqw;
  border-radius: 50%;
  background: #ff3b30;
  animation: blk 1.2s infinite;
}

.au-mascot {
  left: 6%;
  bottom: 3%;
  width: 50%;
  height: 86%;
}

.au-ball {
  width: 5.6cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d6ef2e;
  border: 2px solid var(--bg);
  animation: hBall 1.6s linear infinite;
}

.au-chip {
  right: 4%;
  bottom: 6%;
}

/* Сцена 3: органическая реклама */
.sc-promo {
  background: var(--acc);
}

.pr-floor {
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background: #d9420c;
  border-top: 3px solid var(--bg);
}

.pr-mascot {
  left: 14%;
  bottom: 4%;
  width: 46%;
  height: 80%;
}

.pr-flash {
  left: 50%;
  top: 31%;
  width: 30cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fff 0 20%,
    rgba(255, 255, 255, 0.6) 35%,
    rgba(255, 255, 255, 0) 65%
  );
  animation: cFlash 2.4s ease-out infinite;
}

.pr-c1 {
  right: 5%;
  top: 12%;
  animation: cPop 2.4s ease-in-out 0.3s infinite;
}

.pr-c2 {
  right: 9%;
  top: 36%;
  animation: cPop 2.4s ease-in-out 0.6s infinite;
}

.pr-c3 {
  right: 4%;
  top: 60%;
  animation: cPop 2.4s ease-in-out 0.9s infinite;
}

/* Сцена 4: трансляции турниров */
.sc-final {
  background: #22285a;
}

.fn-light {
  left: 50%;
  top: -30%;
  width: 90%;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, 0.14), transparent 60%);
}

.fn-floor {
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  background: #171c40;
  border-top: 3px solid var(--bg);
}

.fn-podium {
  left: 14%;
  width: 30%;
  bottom: 8%;
  height: 10%;
  background: var(--acc);
  border: 3px solid var(--bg);
  border-radius: 1.4cqw 1.4cqw 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: max(11px, 4cqw);
  font-weight: 900;
  color: var(--bg);
}

.fn-mascot {
  left: 5%;
  bottom: 18%;
  width: 42%;
  height: 73%;
}

.fn-live {
  right: 4%;
  top: 5%;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.2cqw 2.4cqw 1.2cqw 1.2cqw;
  border-radius: 2.4cqw;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fn-live-pill {
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding: 0.6cqw 1.8cqw;
  border-radius: 1.6cqw;
  background: #ff3b30;
  color: #fff;
  font-size: max(9px, 2.6cqw);
  font-weight: 700;
}

.fn-live-pill i {
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  background: #fff;
  animation: blk 1.1s infinite;
}

.fn-live-t {
  font-size: max(10px, 3.2cqw);
  font-weight: 800;
  color: #fff;
}

.fn-chat {
  right: 4%;
  top: 20%;
  width: 44%;
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
}

.fn-chat div {
  padding: 1.6cqw 2.4cqw;
  border-radius: 2.4cqw;
  background: #fff;
  border: 2px solid var(--bg);
  font-size: max(9px, 2.9cqw);
  color: var(--bg);
  animation: cChat 4.5s ease-out infinite;
}

.fn-chat div:nth-child(2) {
  animation-delay: 0.5s;
}

.fn-chat div:nth-child(3) {
  animation-delay: 1s;
}

.fn-chip {
  right: 4%;
  bottom: 5%;
}

.conf {
  top: 0;
  width: 1.6cqw;
  height: 2.6cqw;
}

.cf1 {
  left: 12%;
  background: #f5c542;
  animation: cConf 2.6s linear infinite;
}

.cf2 {
  left: 30%;
  background: #3ddc84;
  animation: cConf 3.1s linear 0.7s infinite;
}

.cf3 {
  left: 44%;
  background: var(--acc);
  animation: cConf 2.8s linear 1.3s infinite;
}

.cf4 {
  left: 22%;
  background: #fff;
  animation: cConf 3.4s linear 1.9s infinite;
}

/* Сцена 5: турниры и комьюнити */
.sc-community {
  background: #16806a;
}

.cm-floor {
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background: #0f5e4e;
  border-top: 3px solid var(--bg);
}

.cm-flags {
  left: 0;
  right: 0;
  top: 13%;
  height: 10%;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  border-top: 2px solid rgba(11, 11, 14, 0.6);
}

.cm-flags i {
  width: 7%;
  aspect-ratio: 1 / 1.2;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.fl-o {
  background: var(--acc);
}

.fl-w {
  background: #fff;
}

.fl-y {
  background: #f5c542;
}

.cm-left {
  left: 4%;
  bottom: 4%;
  width: 42%;
  height: 72%;
}

.cm-right {
  left: 54%;
  bottom: 4%;
  width: 42%;
  height: 72%;
}

.cm-center {
  left: 27.5%;
  bottom: 4%;
  width: 45%;
  height: 78%;
}

.cm-chip {
  left: 50%;
  top: 3%;
  transform: translateX(-50%);
}

@keyframes cPop {
  0%,
  15% {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
  28%,
  85% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

@keyframes cCone {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes cFlash {
  0%,
  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  74% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

@keyframes cChat {
  0% {
    opacity: 0;
    transform: translateX(12px);
  }
  12%,
  80% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

@keyframes cConf {
  0% {
    transform: translateY(-10%) rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(80cqw) rotate(540deg);
    opacity: 0;
  }
}

/* ───────────── Как подключить: таймлайн ─────────────
 * Линия заполняется по прокрутке, по «голове» едет маскот; этап
 * появляется, когда его верх выше 0.82 высоты окна (clubs.js). */

.how {
  position: relative;
  overflow: hidden;
}

.how-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.1), transparent 65%);
  pointer-events: none;
}

.how-in {
  position: relative;
}

.tl {
  --spine: 22px;
  --card-w: calc(100% - 54px);
  --card-ml: 54px;
  --gap: 18px;
  --p: 0;
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .tl {
    --spine: 50%;
    --card-w: calc(50% - 52px);
    --card-ml: 0px;
    --gap: 28px;
  }
}

.tl-spine,
.tl-fill {
  position: absolute;
  top: 10px;
  left: var(--spine);
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
}

.tl-spine {
  bottom: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.tl-fill {
  height: calc(var(--p) * 100% - var(--p) * 20px);
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.2), var(--acc));
  box-shadow: 0 0 18px rgba(255, 90, 31, 0.6);
}

.tl-runner {
  position: absolute;
  left: var(--spine);
  top: calc(var(--p) * 100% - var(--p) * 20px);
  z-index: 3;
  width: 64px;
  height: 84px;
  transform: translate(-50%, -62%);
  pointer-events: none;
}

.tl-runner .mascot {
  width: 100%;
  height: 100%;
}

.tl-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.tl-step {
  position: relative;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 860px) {
  .tl-step:nth-child(even) {
    justify-content: flex-end;
  }
}

.tl-dot {
  position: absolute;
  left: var(--spine);
  top: 30px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s;
  z-index: 2;
}

.tl-step.is-in .tl-dot {
  background: var(--acc);
  border-color: var(--bg);
  box-shadow:
    0 0 0 6px rgba(255, 90, 31, 0.18),
    0 0 20px rgba(255, 90, 31, 0.6);
}

.tl-card {
  --dx: 24px;
  position: relative;
  width: var(--card-w);
  margin-left: var(--card-ml);
  border-radius: 24px;
  background: var(--soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(20px, 2.6vw, 28px);
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

@media (min-width: 860px) {
  .tl-step:nth-child(odd) .tl-card {
    --dx: -40px;
  }

  .tl-step:nth-child(even) .tl-card {
    --dx: 40px;
  }
}

/* Скрыты только при работающих скриптах: без них этапы видны сразу. */
.js .tl-step:not(.is-in) .tl-card {
  opacity: 0;
  transform: translate(var(--dx), 30px) scale(0.97);
}

.tl-card::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.16), transparent 65%);
  pointer-events: none;
}

.tl-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tl-num {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--acc);
}

.tl-ico {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 90, 31, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-ico .ms {
  font-size: 28px;
  color: var(--acc);
}

.tl-card h3 {
  position: relative;
  margin: 18px 0 0;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.tl-card p {
  position: relative;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(246, 246, 248, 0.6);
  text-wrap: pretty;
}

.tl-final .tl-card {
  background: linear-gradient(150deg, var(--acc), var(--acc-dark));
  border-color: rgba(255, 90, 31, 0.6);
}

.tl-final .tl-card::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 65%);
}

.tl-final .tl-num {
  -webkit-text-stroke-color: var(--bg);
}

.tl-final .tl-ico {
  background: var(--bg);
}

.tl-final h3 {
  color: var(--bg);
}

.tl-final p {
  color: rgba(11, 11, 14, 0.75);
}

.invite {
  position: relative;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 90, 31, 0.08);
  border: 1.5px dashed rgba(255, 90, 31, 0.45);
}

.invite-k {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
}

.invite-chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.invite-chips > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  font-weight: 600;
}

.invite-chips .ms {
  font-size: 19px;
  color: var(--acc);
}

/* ───────────── Заявка ───────────── */

.apply {
  padding: 0 var(--gutter);
}

.apply-band {
  padding: clamp(40px, 5vw, 72px) clamp(16px, 4vw, 60px);
}

.apply-dark {
  position: absolute;
  bottom: -120px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(11, 11, 14, 0.18), transparent 65%);
}

.apply-head {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.apply-head h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--bg);
}

.apply-head p {
  margin: 14px auto 0;
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.45;
  color: rgba(11, 11, 14, 0.78);
  font-weight: 500;
}

.apply-info {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(11, 11, 14, 0.12);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
}

.apply-info .ms {
  font-size: 18px;
}

.apply-box {
  position: relative;
  max-width: 560px;
  margin: clamp(24px, 3vw, 34px) auto 0;
  background: var(--bg);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 40px 80px -40px rgba(11, 11, 14, 0.8);
}

.af-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
}

.af {
  min-width: 0;
  display: block;
}

.af-l {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.5);
  margin-bottom: 7px;
}

.af-box {
  display: flex;
  align-items: center;
  height: 50px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 15px;
  transition: border-color 0.2s;
}

.af-box:focus-within {
  border-color: rgba(255, 90, 31, 0.7);
}

.af-box input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.af.is-bad .af-box {
  border-color: rgba(255, 120, 90, 0.8);
}

.af-err {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #ff8a6b;
}

.af-err[hidden] {
  display: none;
}

.af-fail {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #ff8a6b;
  text-align: center;
}

.af-submit {
  margin-top: 20px;
  width: 100%;
  height: 54px;
  border-radius: 27px;
  border: none;
  background: var(--acc);
  color: var(--bg);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.af-submit:hover {
  background: var(--acc-hover);
}

.af-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.af-submit .ms {
  font-size: 20px;
}

.af-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(246, 246, 248, 0.45);
  text-wrap: pretty;
}

.af-note a {
  color: rgba(246, 246, 248, 0.75);
  text-decoration: underline;
}

.af-note a:hover {
  color: var(--text);
}

.apply-sent {
  padding: 24px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.apply-sent[hidden] {
  display: none;
}

.apply-sent .sent-ico {
  width: 64px;
  height: 64px;
  margin-bottom: 0;
}

.apply-sent .sent-ico .ms {
  font-size: 36px;
}

.apply-sent h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
}

.apply-sent p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(246, 246, 248, 0.6);
  max-width: 360px;
}

.apply-again {
  margin-top: 6px;
  height: 46px;
  padding: 0 22px;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* ───────────── Подвал ───────────── */

.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.foot-brand .logo {
  width: 106px;
  height: 24px;
}

.foot-for {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(255, 90, 31, 0.12);
}
