/* =========================================================
   Клуб Wishmaster — /club/style.css
   Все правила в скоупе .club-page, шрифт наследуется от сайта.
   ========================================================= */

.club-page {
    --club-deep: #0b3b93;
    --club-royal: #1352de;
    --club-signal: #175cff;
    --club-ink: #13254d;
    --club-text: #3c4a66;
    --club-muted: #6b7894;
    --club-line: #e3e9f4;
    --club-track: #e4ebf9;
    --club-tint: #eef3fe;
    --club-grad: linear-gradient(120deg, #0b3b93 0%, #1352de 100%);
    --club-ease: cubic-bezier(.2, .8, .2, 1);
    --club-anchor-offset: 110px; /* высота липкой шапки сайта при прокрутке к блоку доступа */
    max-width: 100%;
    color: var(--club-text);
    font-size: 16px;
    line-height: 1.5;
}
.club-page *,
.club-page *::before,
.club-page *::after { box-sizing: border-box; }
.club-page h2,
.club-page h3,
.club-page h4,
.club-page p,
.club-page dl,
.club-page dd { margin: 0; }
.club-page .club-nowrap { white-space: nowrap; }

.club-page .club-ico {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Ошибка вне формы ---------- */

.club-page .club-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 20px;
    padding: 16px 20px;
    border: 1px solid #f2c6c6;
    border-radius: 16px;
    background: #fff4f4;
    color: #8c2323;
}
.club-page .club-alert .club-ico { margin-top: 2px; }

/* ---------- Первый экран ---------- */

.club-page .club-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(90% 120% at 88% 0%, rgba(77, 140, 255, .55) 0%, rgba(77, 140, 255, 0) 55%),
        radial-gradient(70% 90% at 0% 100%, rgba(5, 28, 92, .55) 0%, rgba(5, 28, 92, 0) 60%),
        linear-gradient(125deg, #0b3b93 0%, #1352de 100%);
    box-shadow: 0 32px 64px -40px rgba(11, 59, 147, .6);
}
.club-page .club-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 55%;
    height: 80%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .3) 1.1px, transparent 1.7px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(closest-side at 60% 40%, #000 0%, transparent 100%);
    mask-image: radial-gradient(closest-side at 60% 40%, #000 0%, transparent 100%);
    opacity: .7;
}

.club-page .club-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
    gap: 48px;
    align-items: center;
    min-height: 420px;
    padding: 56px 64px 52px;
}

.club-page .club-hero__title {
    max-width: 12ch;
    color: #fff;
    font-family: inherit;
    font-size: clamp(32px, 3.9vw, 62px);
    font-style: italic;
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-wrap: balance;
}
.club-page .club-hero__lead {
    max-width: 52ch;
    margin-top: 22px;
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
    line-height: 1.5;
}
.club-page .club-hero__lead b { color: #fff; font-weight: 700; }

.club-page .club-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 32px;
}
.club-page .club-hero__meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.4;
}
.club-page .club-hero__meta .club-ico { margin-top: 1px; opacity: .8; }
.club-page .club-hero__form { margin-top: 32px; max-width: 600px; }
.club-page .club-refresh { margin: 0; }

/* ---------- Кнопки ----------
   Наведение: быстрая плавная смена цвета (слой ::before — градиент напрямую не анимируется).
   Нажатие: кнопка проседает на свою нижнюю грань и пружинит обратно
   (классы is-down / is-spring ставит скрипт страницы, без скрипта работает :active). */

.club-page .club-btn {
    --btn-edge: rgba(3, 18, 66, .35);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    margin: 0;
    padding: 0 28px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    font-family: inherit;
    text-transform: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    transition: color .18s ease, transform .14s ease, box-shadow .14s ease;
}
.club-page .club-btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
}
/* нижняя грань кнопки */
.club-page .club-btn::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 var(--btn-hl, transparent), inset 0 -3px 0 var(--btn-edge);
    transition: box-shadow .14s ease;
    pointer-events: none;
}
.club-page .club-btn:hover { text-decoration: none; }
.club-page .club-btn:focus-visible { outline: 3px solid rgba(23, 92, 255, .45); outline-offset: 3px; }

.club-page .club-btn:active,
.club-page .club-btn.is-down {
    transform: translateY(2px) scale(.985);
    transition-duration: .06s;
}
.club-page .club-btn:active::after,
.club-page .club-btn.is-down::after { box-shadow: inset 0 1px 0 var(--btn-hl, transparent), inset 0 -1px 0 var(--btn-edge); transition-duration: .06s; }
.club-page .club-btn.is-spring { animation: club-spring .5s ease-out; }
.club-page .club-btn:disabled { opacity: .65; cursor: wait; transform: none; animation: none; }

.club-page .club-btn--light,
.club-page .club-btn--light:visited {
    --btn-edge: #cdd8f4;
    background: #fff;
    color: var(--club-deep);
    box-shadow: 0 12px 28px -14px rgba(0, 14, 60, .7);
}
.club-page .club-btn--light::before { background: #e6eeff; }
.club-page .club-hero .club-btn:focus-visible { outline-color: #fff; }

.club-page .club-btn--primary,
.club-page .club-btn--primary:visited {
    --btn-edge: rgba(6, 30, 104, .42);
    --btn-hl: rgba(255, 255, 255, .42);
    background: linear-gradient(180deg, #3171ff 0%, #175cff 46%, #1352de 100%);
    color: #fff;
    box-shadow: 0 16px 30px -14px rgba(19, 82, 222, .85);
}
.club-page .club-btn--primary::before { background: linear-gradient(180deg, #4d88ff 0%, #2a6bff 46%, #175cff 100%); }

.club-page .club-btn--light:active,
.club-page .club-btn--light.is-down { box-shadow: 0 6px 14px -10px rgba(0, 14, 60, .7); }
.club-page .club-btn--primary:active,
.club-page .club-btn--primary.is-down { box-shadow: 0 8px 16px -10px rgba(19, 82, 222, .9); }

@media (hover: hover) {
    .club-page .club-btn:hover::before { opacity: 1; }
    .club-page .club-btn--light:hover { color: var(--club-royal); }
    .club-page .club-btn--primary:hover { color: #fff; }
}

@keyframes club-spring {
    0% { transform: translateY(2px) scale(.985); }
    35% { transform: translateY(-2px) scale(1.015); }
    60% { transform: translateY(.5px) scale(.996); }
    82% { transform: translateY(-.5px) scale(1.003); }
    100% { transform: none; }
}

/* ---------- Пропуск ---------- */

.club-page .club-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
}
.club-page .club-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 560px;
    max-width: none;
    height: 560px;
    transform: translate(-50%, -50%);
    fill: none;
    stroke: rgba(255, 255, 255, .14);
    stroke-width: 1;
    pointer-events: none;
}

.club-page .club-pass-wrap {
    position: relative;
    width: min(100%, 420px);
}
.club-page .club-hero.is-unlocked .club-pass-wrap {
    filter: drop-shadow(0 26px 30px rgba(1, 14, 54, .38));
}
.club-page .club-pass-ghost {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    background: rgba(255, 255, 255, .06);
    transform: rotate(6deg) translate(14px, 4px);
}

.club-page .club-pass {
    --stub: 74px;
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1.58;
    padding: 22px 26px 0;
    border-radius: 20px;
    color: #fff;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .05) 100%),
        linear-gradient(150deg, #3369e2 0%, #1f52d3 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
    -webkit-mask:
        radial-gradient(circle 12px at 0 calc(100% - var(--stub)), transparent 11px, #000 12px),
        radial-gradient(circle 12px at 100% calc(100% - var(--stub)), transparent 11px, #000 12px);
    -webkit-mask-composite: source-in;
    mask:
        radial-gradient(circle 12px at 0 calc(100% - var(--stub)), transparent 11px, #000 12px),
        radial-gradient(circle 12px at 100% calc(100% - var(--stub)), transparent 11px, #000 12px);
    mask-composite: intersect;
    transform: rotate(-4deg);
    animation: club-pass-in .9s var(--club-ease) backwards;
}

/* орбиты, как на баннерах магазина */
.club-page .club-pass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-radial-gradient(circle at 112% 118%, transparent 0 26px, rgba(255, 255, 255, .09) 26px 27px);
    pointer-events: none;
}
/* голографический отблеск у открытого пропуска */
.club-page .club-pass::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
}

.club-page .club-hero.is-unlocked .club-pass {
    color: var(--club-ink);
    background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 48%, #d8e2ff 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.club-page .club-hero.is-unlocked .club-pass::before {
    background: repeating-radial-gradient(circle at 112% 118%, transparent 0 26px, rgba(19, 82, 222, .08) 26px 27px);
}
.club-page .club-hero.is-unlocked .club-pass::after {
    opacity: 1;
    background: linear-gradient(112deg,
        transparent 22%,
        rgba(255, 128, 214, .22) 36%,
        rgba(118, 196, 255, .3) 45%,
        rgba(150, 255, 214, .22) 53%,
        rgba(255, 228, 140, .22) 61%,
        transparent 76%);
    background-size: 280% 100%;
    background-position: 14% 0;
    animation: club-holo 2.4s .5s var(--club-ease) backwards;
}

.club-page .club-pass > * { flex-shrink: 0; }
.club-page .club-pass__top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.club-page .club-pass__brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.club-page .club-pass__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px 0 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .16);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.club-page .club-pass__badge .club-ico { width: 15px; height: 15px; stroke-width: 2; }
.club-page .club-hero.is-unlocked .club-pass__badge { background: var(--club-grad); color: #fff; }

.club-page .club-pass__name {
    position: relative;
    margin-top: 14px;
    font-size: clamp(22px, 2.1vw, 30px);
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.club-page .club-pass__fields {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin: auto 0 16px;
    padding: 0;
}
.club-page .club-pass__fields dt {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 400;
    opacity: .66;
}
.club-page .club-pass__fields dd {
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.club-page .club-pass__stub {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--stub);
    margin: 0 -26px;
    padding: 0 26px;
    border-top: 1.5px dashed rgba(255, 255, 255, .32);
}
.club-page .club-hero.is-unlocked .club-pass__stub { border-top-color: rgba(19, 82, 222, .22); }
.club-page .club-pass__stamps { display: flex; gap: 10px; }
.club-page .club-pass__count { font-size: 14px; font-weight: 600; opacity: .8; white-space: nowrap; }

.club-page .club-stamp {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1.5px dashed rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: rgba(255, 255, 255, .62);
}
.club-page .club-stamp .club-ico { width: 19px; height: 19px; }
.club-page .club-stamp.is-on {
    border: 0;
    background: #fff;
    color: var(--club-royal);
    animation: club-stamp .55s calc(.6s + var(--i, 0) * .14s) var(--club-ease) backwards;
}
.club-page .club-hero.is-unlocked .club-stamp { border-color: rgba(19, 82, 222, .35); color: var(--club-royal); }
.club-page .club-hero.is-unlocked .club-stamp.is-on { background: var(--club-grad); color: #fff; }

/* ---------- Этапы вступления ---------- */

.club-page .club-route {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 24px 64px 28px;
    list-style: none;
    background: rgba(3, 18, 66, .26);
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.club-page .club-route__step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* сегмент прогресса на верхней кромке полосы */
.club-page .club-route__step::before {
    content: "" !important;
    counter-increment: none;
    padding: 0 !important;
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
    margin: 0;
    border: 0;
    border-radius: 0 0 3px 3px;
    background: transparent;
    transform: none;
}
.club-page .club-route__step.is-done::before { background: #fff; }
.club-page .club-route__step.is-current::before { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%); }

.club-page .club-route__dot {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.club-page .club-route__dot .club-ico { width: 17px; height: 17px; stroke-width: 2.4; }
.club-page .is-done .club-route__dot { border-color: #fff; background: #fff; color: var(--club-royal); }
.club-page .is-current .club-route__dot {
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
}
.club-page .is-pending .club-route__dot::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    animation: club-pulse 1.8s ease-out infinite;
}
.club-page .club-route__text { min-width: 0; padding-top: 1px; }
.club-page .club-route__name { display: block; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; }
.club-page .club-route__note { display: block; margin-top: 2px; color: rgba(255, 255, 255, .68); font-size: 13px; line-height: 1.35; }
.club-page .is-next .club-route__name { color: rgba(255, 255, 255, .78); }

/* ---------- Форма ---------- */

.club-page .club-form { max-width: none; margin: 0; }
.club-page .club-form__label {
    display: block;
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
}
.club-page .club-form__row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.club-page .club-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.club-page .club-field__icon {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    pointer-events: none;
}
.club-page .club-field__input {
    display: block;
    width: 100%;
    max-width: none;
    height: 54px;
    margin: 0;
    padding: 0 16px 0 48px;
    border: 1.5px solid;
    border-radius: 14px;
    outline: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 17px;
    line-height: normal;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.club-page .club-form__help { margin-top: 12px; font-size: 14px; line-height: 1.45; }
.club-page .club-form__status { min-height: 0; margin: 0; font-size: 14px; }
.club-page .club-form__status:not(:empty) { margin-top: 10px; }
.club-page .club-form__error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}
.club-page .club-form__error .club-ico { width: 18px; height: 18px; margin-top: 1px; }

/* в синем первом экране */
.club-page .club-form--dark .club-form__label { color: rgba(255, 255, 255, .86); }
.club-page .club-form--dark .club-field__icon { color: rgba(255, 255, 255, .6); }
.club-page .club-form--dark .club-field__input {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.club-page .club-form--dark .club-field__input::placeholder { color: rgba(255, 255, 255, .5); }
.club-page .club-form--dark .club-field__input:hover { border-color: rgba(255, 255, 255, .5); }
.club-page .club-form--dark .club-field__input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}
.club-page .club-form--dark .club-field__input[aria-invalid="true"] { border-color: #ffb3b3; }
.club-page .club-form--dark .club-field__input:user-invalid { border-color: #ffb3b3; }
.club-page .club-form--dark .club-form__help,
.club-page .club-form--dark .club-form__status { color: rgba(255, 255, 255, .7); }
.club-page .club-form--dark .club-form__error { background: rgba(255, 92, 92, .18); color: #ffe3e3; }

/* на светлом фоне */
.club-page .club-form--light .club-form__label { color: var(--club-ink); }
.club-page .club-form--light .club-field__icon { color: var(--club-muted); }
.club-page .club-form--light .club-field__input {
    border-color: #d3dcee;
    background: #fff;
    color: var(--club-ink);
}
.club-page .club-form--light .club-field__input::placeholder { color: #9aa6bf; }
.club-page .club-form--light .club-field__input:hover { border-color: #b4c3e2; }
.club-page .club-form--light .club-field__input:focus {
    border-color: var(--club-signal);
    box-shadow: 0 0 0 4px rgba(23, 92, 255, .14);
}
.club-page .club-form--light .club-field__input[aria-invalid="true"] { border-color: #d64545; }
.club-page .club-form--light .club-field__input:user-invalid { border-color: #d64545; }
.club-page .club-form--light .club-form__help,
.club-page .club-form--light .club-form__status { color: var(--club-muted); }
.club-page .club-form--light .club-form__error { background: #fff1f1; color: #9b2525; }

/* ---------- Перевыпуск ссылки ---------- */

.club-page .club-reissue {
    margin-top: 20px;
    border: 1px solid var(--club-line);
    border-radius: 20px;
    background: #fff;
}
.club-page .club-reissue__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    color: var(--club-ink);
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    border-radius: 20px;
}
.club-page .club-reissue__summary::-webkit-details-marker { display: none; }
.club-page .club-reissue__summary::marker { content: ""; }
.club-page .club-reissue__summary:focus-visible { outline: 3px solid rgba(23, 92, 255, .4); outline-offset: 2px; }
.club-page .club-reissue__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--club-tint);
    color: var(--club-royal);
}
.club-page .club-reissue__chevron {
    margin-left: auto;
    color: var(--club-muted);
    transition: transform .25s var(--club-ease);
}
.club-page .club-reissue[open] .club-reissue__chevron { transform: rotate(180deg); }
.club-page .club-reissue__body { max-width: 720px; padding: 4px 24px 24px 78px; }

.club-page .club-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 18px 24px;
    border: 1px solid var(--club-line);
    border-radius: 20px;
    background: #fff;
    color: var(--club-text);
}
.club-page .club-note .club-ico { color: var(--club-royal); }
.club-page .club-guest {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
}

/* ---------- Условия участия ---------- */

.club-page .club-terms { margin-top: 56px; }
.club-page .club-terms__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 48px;
    margin-bottom: 20px;
}
.club-page .club-terms__title {
    margin: 0;
    color: var(--club-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.club-page .club-terms__note {
    max-width: 64ch;
    color: var(--club-muted);
    font-size: 14px;
    line-height: 1.5;
}

.club-page .club-ledger {
    margin: 0;
    padding: 4px 0;
    list-style: none;
    border: 1px solid var(--club-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 56px -44px rgba(19, 37, 77, .35);
}
.club-page .club-cond {
    display: grid;
    grid-template-columns: 56px minmax(180px, 1fr) minmax(240px, 1.6fr) minmax(190px, .75fr);
    grid-template-areas: "mark about meter figures";
    align-items: center;
    gap: 14px 36px;
    margin: 0;
    padding: 26px 36px;
    list-style: none;
}
.club-page .club-cond::before { content: none; display: none; }
.club-page .club-cond + .club-cond { border-top: 1px solid var(--club-line); }

.club-page .club-cond__mark {
    position: relative;
    display: grid;
    grid-area: mark;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--club-tint);
    color: var(--club-royal);
}
.club-page .club-cond__mark > .club-ico { width: 24px; height: 24px; }
.club-page .club-cond.is-done .club-cond__mark { background: var(--club-grad); color: #fff; }
.club-page .club-cond__check {
    position: absolute;
    right: -3px;
    bottom: -3px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: var(--club-royal);
    box-shadow: 0 2px 6px rgba(19, 37, 77, .22);
}
.club-page .club-cond__check .club-ico { width: 13px; height: 13px; stroke-width: 3; }

.club-page .club-cond__about { grid-area: about; min-width: 0; }
.club-page .club-cond__title {
    margin: 0;
    color: var(--club-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.club-page .club-cond__hint { margin-top: 3px; color: var(--club-muted); font-size: 14px; line-height: 1.4; }

.club-page .club-cond__meter { grid-area: meter; min-width: 0; }

.club-page .club-ruler,
.club-page .club-pips { position: relative; display: block; padding-bottom: 24px; }
.club-page .club-ruler__track {
    position: relative;
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--club-track);
}
.club-page .club-ruler__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--p);
    min-width: 8px;
    border-radius: 5px;
    background: var(--club-signal);
    transform-origin: left center;
    animation: club-grow 1s calc(.35s + var(--row, 0) * .12s) var(--club-ease) backwards;
}
/* деления по 100 тыс. — та же сегментация, что и у счётчиков заказов */
.club-page .club-ruler__track::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent calc(33.333% - 1.5px), #fff calc(33.333% - 1.5px),
        #fff calc(33.333% + 1.5px), transparent calc(33.333% + 1.5px),
        transparent calc(66.666% - 1.5px), #fff calc(66.666% - 1.5px),
        #fff calc(66.666% + 1.5px), transparent calc(66.666% + 1.5px));
}
.club-page .club-ruler__scale {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 16px;
    color: var(--club-muted);
    font-size: 12px;
    line-height: 16px;
}
.club-page .club-ruler__scale span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.club-page .club-ruler__scale span:nth-child(1) { left: 0; transform: none; }
.club-page .club-ruler__scale span:nth-child(2) { left: 33.333%; }
.club-page .club-ruler__scale span:nth-child(3) { left: 66.666%; }
.club-page .club-ruler__scale span:nth-child(4) { left: 100%; transform: translateX(-100%); }

.club-page .club-pips__bar { display: flex; gap: 3px; height: 10px; }
.club-page .club-pips__bar i {
    position: relative;
    flex: 1 1 0;
    overflow: hidden;
    border-radius: 2px;
    background: var(--club-track);
}
.club-page .club-pips__bar i:first-child { border-radius: 5px 2px 2px 5px; }
.club-page .club-pips__bar i:last-child { border-radius: 2px 5px 5px 2px; }
.club-page .club-pips__bar i.is-on::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--club-signal);
    transform-origin: left center;
    animation: club-grow .45s calc(.35s + var(--row, 0) * .12s + var(--k, 0) * .08s) var(--club-ease) backwards;
}
.club-page .club-pips__scale {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 3px;
    height: 16px;
    color: var(--club-muted);
    font-size: 12px;
    line-height: 16px;
}
.club-page .club-pips__scale span { flex: 1 1 0; text-align: center; }

.club-page .club-cond__figures { grid-area: figures; min-width: 0; text-align: right; }
.club-page .club-cond__value {
    color: var(--club-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.club-page .club-cond__value small { color: var(--club-muted); font-size: 16px; font-weight: 500; }
.club-page .club-cond__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--club-muted);
    font-size: 14px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}
.club-page .club-cond__status .club-ico { width: 16px; height: 16px; stroke-width: 2.6; }
.club-page .club-cond.is-done .club-cond__status { color: var(--club-royal); font-weight: 600; }

/* ---------- Альтернативный допуск: Чёрная пятница ---------- */

.club-page .club-terms__variant {
    margin: 0 0 14px;
    color: var(--club-ink);
    font-size: 18px;
    font-weight: 700;
}
.club-page .club-or {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 28px 0;
    color: var(--club-royal);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .08em;
}
.club-page .club-or::before,
.club-page .club-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--club-line);
}
.club-page .club-ruler--two .club-ruler__track::after {
    background: linear-gradient(90deg, transparent calc(50% - 1.5px), #fff calc(50% - 1.5px),
        #fff calc(50% + 1.5px), transparent calc(50% + 1.5px));
}
.club-page .club-ruler--two .club-ruler__scale span:nth-child(2) { left: 50%; }
.club-page .club-ruler--two .club-ruler__scale span:nth-child(3) { left: 100%; transform: translateX(-100%); }
.club-page .club-bf-check {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 36px;
    margin: 0;
    padding: 26px 36px;
    border-top: 1px solid var(--club-line);
    list-style: none;
}
.club-page .club-bf-check::before { content: none; display: none; }
.club-page .club-bf-check__box {
    display: grid;
    place-items: center;
    justify-self: center;
    width: 30px;
    height: 30px;
    border: 2px solid #c6d3eb;
    border-radius: 9px;
    background: var(--club-tint);
    color: #fff;
}
.club-page .club-bf-check.is-done .club-bf-check__box { border-color: var(--club-royal); background: var(--club-royal); }
.club-page .club-bf-check__copy { min-width: 0; }
.club-page .club-bf-check__status { color: var(--club-muted); font-size: 14px; }
.club-page .club-bf-check.is-done .club-bf-check__status { color: var(--club-royal); font-weight: 600; }

@media (max-width: 1279px) {
    .club-page .club-bf-check { gap: 14px 24px; padding: 24px 28px; }
}
@media (max-width: 600px) {
    .club-page .club-bf-check { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 14px; padding: 20px 18px; }
    .club-page .club-bf-check__status { grid-column: 2; }
    .club-page .club-or { margin: 24px 0; }
    .club-page .club-terms__variant { font-size: 16px; }
}

/* ---------- Плавная прокрутка к проверке доступа ---------- */

html:has(.club-page) { scroll-behavior: smooth; }
.club-page .club-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Заголовки блоков ---------- */

.club-page .club-heading {
    max-width: 18ch;
    margin: -.16em 0 32px;
    padding: .16em .12em .04em 0;
    color: var(--club-royal);
    background: linear-gradient(100deg, #0b3b93 0%, #1352de 55%, #175cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: inherit;
    font-size: clamp(32px, 3.6vw, 56px);
    font-style: italic;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-wrap: balance;
}

/* ---------- 1. Баннер ---------- */

.club-page .club-banner {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 44%);
    min-height: 440px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(55% 85% at 78% 30%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 62%),
        radial-gradient(60% 90% at 0% 100%, rgba(137, 151, 246, .5) 0%, rgba(137, 151, 246, 0) 70%),
        linear-gradient(115deg, #c2c9f9 0%, #d7dcfd 46%, #eceeff 100%);
}
/* точечная сетка, как на промо-баннерах магазина */
.club-page .club-banner::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 42%;
    height: 70%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .95) 1.4px, transparent 2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(closest-side at 30% 70%, #000 0%, transparent 100%);
    mask-image: radial-gradient(closest-side at 30% 70%, #000 0%, transparent 100%);
    opacity: .7;
}

.club-page .club-banner__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    padding: 56px 0 60px 64px;
}
.club-page .club-banner__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-family: inherit;
    font-size: clamp(46px, 6.4vw, 108px);
    font-style: italic;
    font-weight: 800;
    line-height: .86;
    letter-spacing: -.015em;
    text-transform: uppercase;
}
.club-page .club-banner__line {
    display: block;
    /* запас сверху и снизу, иначе градиент не закрашивает «Й» над плотной строкой */
    margin: -.16em 0 -.06em;
    padding: .16em .12em .06em 0;
    color: var(--club-royal);
    background: linear-gradient(100deg, #0b3b93 0%, #1352de 60%, #175cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.club-page .club-banner__line--shift { margin-left: 1.3em; }
.club-page .club-banner__chip {
    order: -1;
    display: inline-flex;
    align-items: center;
    height: 42px;
    margin: 0 0 24px;
    padding: 0 20px;
    border-radius: 12px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: linear-gradient(180deg, #4683ff 0%, #1352de 100%);
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, .6),
        inset 0 10px 14px -8px rgba(255, 255, 255, .55),
        0 12px 24px -12px rgba(19, 82, 222, .9);
    font-size: 17px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}
/* Кнопка баннера: простая — сплошной синий, при наведении темнее, при нажатии проседает и пружинит */
.club-page .club-btn--cta,
.club-page .club-btn--cta:visited {
    gap: 12px;
    min-height: 56px;
    padding: 0 30px;
    border-radius: 14px;
    background: #175cff;
    color: #fff;
    font-size: 17px;
    box-shadow: 0 10px 22px -12px rgba(23, 92, 255, .85);
    transition: background-color .15s ease, box-shadow .15s ease, transform .14s ease;
}
.club-page .club-btn--cta::before,
.club-page .club-btn--cta::after { content: none; }
.club-page .club-btn--cta .club-ico { width: 18px; height: 18px; stroke-width: 2.2; }
@media (hover: hover) {
    .club-page .club-btn--cta:hover { background: #1352de; color: #fff; }
}
.club-page .club-btn--cta:active,
.club-page .club-btn--cta.is-down {
    background: #0f47cc;
    box-shadow: 0 4px 10px -6px rgba(23, 92, 255, .85);
}

.club-page .club-banner__art { position: relative; min-height: 100%; }
.club-page .club-banner__orbits {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 760px;
    max-width: none;
    height: 760px;
    transform: translate(-50%, -50%);
    fill: none;
    stroke: rgba(255, 255, 255, .85);
    stroke-width: 1.2;
    pointer-events: none;
}

.club-page .club-fan {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    aspect-ratio: 1.58;
    transform: translate(-50%, -46%);
}
.club-page .club-fan__card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 0;
    overflow: hidden;
    border-radius: 20px;
    transform-origin: 50% 150%;
}
.club-page .club-fan__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(circle at 112% 118%, transparent 0 24px, rgba(255, 255, 255, .12) 24px 25px);
    pointer-events: none;
}
.club-page .club-fan__card--deep {
    background: linear-gradient(140deg, #0b3b93 0%, #1352de 100%);
    color: rgba(255, 255, 255, .7);
    box-shadow: 0 24px 40px -24px rgba(11, 59, 147, .7);
    transform: rotate(-17deg) translateX(-26px);
}
.club-page .club-fan__card--glass {
    background: linear-gradient(150deg, rgba(255, 255, 255, .86) 0%, rgba(236, 240, 255, .7) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 24px 40px -26px rgba(11, 59, 147, .5);
    transform: rotate(-5deg);
}
.club-page .club-fan__card--front {
    color: var(--club-ink);
    background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 50%, #dbe4ff 100%);
    box-shadow: inset 0 0 0 1px #fff, 0 30px 50px -24px rgba(11, 40, 120, .55);
    transform: rotate(8deg) translateX(28px);
}
.club-page .club-fan__card--front::before {
    background: repeating-radial-gradient(circle at 112% 118%, transparent 0 24px, rgba(19, 82, 222, .08) 24px 25px);
}
.club-page .club-fan__card--front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 24%, rgba(255, 128, 214, .2) 38%, rgba(118, 196, 255, .28) 47%, rgba(150, 255, 214, .2) 55%, rgba(255, 228, 140, .2) 63%, transparent 78%);
    background-size: 280% 100%;
    background-position: 20% 0;
    pointer-events: none;
}
.club-page .club-fan__brand {
    position: relative;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.club-page .club-fan__name {
    position: relative;
    margin-top: 12px;
    font-size: 26px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}
.club-page .club-fan__stub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 64px;
    margin: auto -24px 0;
    padding: 0 24px;
    border-top: 1.5px dashed rgba(19, 82, 222, .25);
}
.club-page .club-fan__stub i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--club-grad);
}
.club-page .club-fan__stub b {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    opacity: .75;
}

/* ---------- Текст под баннером ---------- */

.club-page .club-manifest {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 28px 80px;
    align-items: start;
    margin-top: 48px;
}
.club-page .club-manifest__lead {
    max-width: 60ch;
    color: var(--club-text);
    font-size: 20px;
    line-height: 1.6;
}
.club-page .club-manifest__side {
    padding-left: 32px;
    border-left: 2px solid #c6cefa;
}
.club-page .club-manifest__accent {
    max-width: 26ch;
    color: var(--club-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.28;
}
.club-page .club-manifest__text {
    max-width: 44ch;
    margin-top: 14px;
    color: var(--club-text);
    font-size: 18px;
    line-height: 1.55;
}

/* ---------- 2. Привилегии ---------- */

.club-page .club-perks-block { margin-top: 96px; }
.club-page .club-perks {
    position: relative; /* общий узор позиционируется от всей сетки, а не от плитки */
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}
/* Плитка — «окно» в общий узор: она не позиционирована, а clip-path обрезает узор по её форме */
.club-page .club-perk {
    display: grid;
    grid-template-rows: minmax(200px, 1fr) auto;
    grid-template-areas: "art" "text";
    gap: 24px;
    min-height: 340px;
    padding: 36px;
    -webkit-clip-path: inset(0 round 24px);
    clip-path: inset(0 round 24px);
}
.club-page .club-perk::before { content: none; display: none; }
.club-page .club-perk__art { position: relative; z-index: 1; grid-area: art; min-width: 0; }
.club-page .club-perk__text { position: relative; z-index: 1; grid-area: text; align-self: end; min-width: 0; }

/* ---------- Общий узор плиток (по мотивам промо-баннеров магазина) ---------- */

.club-page .club-perk__bg {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #c9caf6 0%, #bbbff5 45%, #adb4f4 100%);
    pointer-events: none;
}
/* зерно, как на баннерах */
.club-page .club-perk__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    opacity: .28;
    mix-blend-mode: soft-light;
}
.club-page .club-deco {
    position: absolute;
    display: block;
    overflow: visible;
    transform: translate(-50%, -50%);
}
.club-page .club-deco--blob-a,
.club-page .club-deco--blob-b,
.club-page .club-deco--blob-c {
    background: radial-gradient(closest-side, #3347f5 0%, #3347f5 28%, rgba(51, 71, 245, .62) 58%, rgba(51, 71, 245, 0) 100%);
}
.club-page .club-deco--cyan-a,
.club-page .club-deco--cyan-b {
    background: radial-gradient(closest-side, rgba(190, 227, 252, .95) 0%, rgba(190, 227, 252, 0) 100%);
}
.club-page .club-deco--cream {
    background: radial-gradient(closest-side, rgba(242, 232, 240, .9) 0%, rgba(242, 232, 240, 0) 100%);
}
.club-page svg.club-deco {
    fill: none;
    stroke: #f2e9de;
    stroke-width: 2.2;
}
.club-page svg.club-deco--dots { fill: #f2e9de; stroke: none; opacity: .9; }

/* раскладка узора: десктоп (ряды: промокоды + розыгрыши, распродажи + контакт) */
.club-page .club-deco--blob-a { left: 44%; top: 24%; width: 520px; height: 400px; }
.club-page .club-deco--blob-b { left: 98%; top: 100%; width: 640px; height: 460px; }
.club-page .club-deco--blob-c { left: 2%; top: 0; width: 440px; height: 320px; }
.club-page .club-deco--cyan-a { left: 4%; top: 72%; width: 560px; height: 440px; }
.club-page .club-deco--cyan-b { left: 84%; top: 62%; width: 600px; height: 360px; }
.club-page .club-deco--cream { left: 66%; top: 6%; width: 640px; height: 380px; }
.club-page .club-deco--globe { left: 99%; top: 55%; width: 340px; height: 340px; }
.club-page .club-deco--orbits { left: 44%; top: 50%; width: 560px; height: 280px; }
.club-page .club-deco--star { left: 6%; top: 6%; width: 220px; height: 220px; }
.club-page .club-deco--dots { left: 58.6%; top: 5%; width: 170px; height: 102px; }
.club-page .club-perk__title {
    margin: 0;
    color: var(--club-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
}
.club-page .club-perk__desc {
    max-width: 38ch;
    margin-top: 10px;
    color: var(--club-text);
    font-size: 17px;
    line-height: 1.5;
}

/* широкие плитки: текст слева, иллюстрация справа */
.club-page .club-perk--codes,
.club-page .club-perk--chat {
    grid-column: span 7;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto;
    grid-template-areas: "text art";
    gap: 32px;
}
.club-page .club-perk--draw,
.club-page .club-perk--sale { grid-column: span 5; }

.club-page .club-blur {
    display: inline-block;
    filter: blur(6px);
    user-select: none;
}

/* Промокоды: купон с перфорацией */
.club-page .club-perk--codes .club-perk__art { filter: drop-shadow(0 24px 28px rgba(1, 14, 54, .4)); }
.club-page .club-coupon {
    --stub-w: 78px;
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    width: min(100%, 380px);
    height: 132px;
    border-radius: 18px;
    color: var(--club-ink);
    background: linear-gradient(145deg, #ffffff 0%, #eef3ff 60%, #dde6ff 100%);
    transform: translateY(-50%) rotate(-5deg);
    -webkit-mask:
        radial-gradient(circle 11px at calc(100% - var(--stub-w)) 0, transparent 10px, #000 11px),
        radial-gradient(circle 11px at calc(100% - var(--stub-w)) 100%, transparent 10px, #000 11px);
    -webkit-mask-composite: source-in;
    mask:
        radial-gradient(circle 11px at calc(100% - var(--stub-w)) 0, transparent 10px, #000 11px),
        radial-gradient(circle 11px at calc(100% - var(--stub-w)) 100%, transparent 10px, #000 11px);
    mask-composite: intersect;
}
.club-page .club-coupon--back {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-50%) translate(-34px, -30px) rotate(-14deg);
}
.club-page .club-coupon__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 0 26px;
}
.club-page .club-coupon__label { color: var(--club-muted); font-size: 14px; font-weight: 600; }
.club-page .club-coupon__code {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
    color: var(--club-royal);
}
.club-page .club-coupon__stub {
    flex: none;
    width: var(--stub-w);
    border-left: 1.5px dashed rgba(19, 82, 222, .28);
    background:
        repeating-linear-gradient(0deg, var(--club-ink) 0 2px, transparent 2px 5px, var(--club-ink) 5px 6px, transparent 6px 10px, var(--club-ink) 10px 13px, transparent 13px 16px)
        center / 30px 72% no-repeat;
    opacity: .85;
}

/* Розыгрыши: подарок с бантиком */
.club-page .club-perk--draw .club-perk__art { filter: drop-shadow(0 20px 24px rgba(11, 40, 120, .28)); }
.club-page .club-gift {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 190px;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
}

/* Закрытые распродажи: ценник */
.club-page .club-perk--sale .club-perk__art { filter: drop-shadow(0 20px 24px rgba(11, 40, 120, .28)); }
.club-page .club-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 300px;
    padding: 24px 28px 24px 56px;
    border-radius: 0 18px 18px 0;
    color: #fff;
    background: linear-gradient(125deg, #0b3b93 0%, #1352de 100%);
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 30px 100%, 0 50%);
    transform: translate(-50%, -50%) rotate(-6deg);
}
.club-page .club-tag::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
}
.club-page .club-tag__old { color: rgba(255, 255, 255, .72); font-size: 14px; }
.club-page .club-tag__old s { margin-left: 4px; text-decoration-thickness: 2px; }
.club-page .club-tag__label { margin-top: 6px; font-size: 14px; font-weight: 600; }
.club-page .club-tag__price { font-size: 38px; font-weight: 800; line-height: 1; white-space: nowrap; }

/* Прямой контакт: переписка */
.club-page .club-chat {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 380px);
    transform: translateY(-50%);
}
.club-page .club-chat__msg {
    max-width: 86%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 10px 24px -14px rgba(19, 37, 77, .45);
}
.club-page .club-chat__msg--out {
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    color: #fff;
    background: var(--club-signal);
}
.club-page .club-chat__msg--in {
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    color: var(--club-ink);
    background: #fff;
}
.club-page .club-chat__msg b {
    display: block;
    margin-bottom: 2px;
    color: var(--club-royal);
    font-size: 13px;
    font-weight: 700;
}
.club-page .club-chat__typing {
    display: flex;
    align-self: flex-start;
    gap: 5px;
    padding: 12px 16px;
    border-radius: 18px 18px 18px 6px;
    background: rgba(255, 255, 255, .7);
}
.club-page .club-chat__typing i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8f9bc0;
}
.club-page .club-chat__typing i:nth-child(2) { opacity: .7; }
.club-page .club-chat__typing i:nth-child(3) { opacity: .45; }

/* ---------- 3. Проверка доступа ---------- */

.club-page .club-access {
    margin-top: 96px;
    scroll-margin-top: var(--club-anchor-offset);
}

/* анимации пропуска и шкал ждут, пока блок появится на экране */
.club-page.club-js [data-club-reveal]:not(.is-inview),
.club-page.club-js [data-club-reveal]:not(.is-inview) *:not(.club-btn),
.club-page.club-js [data-club-reveal]:not(.is-inview) *::before,
.club-page.club-js [data-club-reveal]:not(.is-inview) *::after {
    animation-play-state: paused !important;
}

/* ---------- Адаптив новых блоков ---------- */

@media (min-width: 1600px) {
    .club-page .club-fan { width: 380px; }
    .club-page .club-banner__orbits { width: 860px; height: 860px; }
}

@media (max-width: 1279px) {
    .club-page .club-banner { min-height: 380px; }
    .club-page .club-banner__copy { padding: 44px 0 48px 44px; }
    .club-page .club-fan { width: 300px; }
    .club-page .club-manifest { gap: 28px 48px; }
    .club-page .club-perk { padding: 30px; }
    .club-page .club-perk--codes,
    .club-page .club-perk--chat {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(200px, 1fr) auto;
        grid-template-areas: "art" "text";
        gap: 24px;
    }
    .club-page .club-perk--codes,
    .club-page .club-perk--draw,
    .club-page .club-perk--sale,
    .club-page .club-perk--chat { grid-column: span 6; }
    .club-page .club-coupon,
    .club-page .club-chat { right: 50%; transform: translate(50%, -50%) rotate(-5deg); }
    .club-page .club-coupon--back { transform: translate(50%, -50%) translate(-34px, -30px) rotate(-14deg); }
    .club-page .club-chat { transform: translate(50%, -50%); }
}

@media (max-width: 900px) {
    .club-page .club-banner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        border-radius: 20px;
    }
    .club-page .club-banner__copy { gap: 28px; padding: 36px 24px 8px; }
    .club-page .club-banner__art { height: 260px; min-height: 0; }
    .club-page .club-banner__orbits { width: 560px; height: 560px; }
    .club-page .club-fan { width: 260px; }
    .club-page .club-banner::before { width: 100%; height: 50%; }

    .club-page .club-manifest { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
    .club-page .club-manifest__lead { font-size: 18px; }

    .club-page .club-perks-block,
    .club-page .club-access { margin-top: 64px; }
    .club-page .club-heading { margin-bottom: 24px; }
}

@media (max-width: 700px) {
    .club-page .club-perk--codes,
    .club-page .club-perk--draw,
    .club-page .club-perk--sale,
    .club-page .club-perk--chat { grid-column: 1 / -1; }
    .club-page .club-perks { gap: 14px; }
    .club-page .club-perk {
        grid-template-rows: 180px auto;
        min-height: 0;
        padding: 24px 22px;
        -webkit-clip-path: inset(0 round 20px);
        clip-path: inset(0 round 20px);
    }
    .club-page .club-perk--codes,
    .club-page .club-perk--chat { grid-template-rows: 180px auto; }
    .club-page .club-perk__title { font-size: 22px; }
    .club-page .club-perk__desc { font-size: 16px; }
    .club-page .club-coupon { width: min(100%, 300px); height: 112px; }
    .club-page .club-coupon__code { font-size: 28px; }
    .club-page .club-coupon__main { padding: 0 20px; }
    .club-page .club-gift { width: 150px; }
    .club-page .club-tag { width: 260px; }
    .club-page .club-tag__price { font-size: 32px; }
    .club-page .club-chat__typing { display: none; }
}

@media (max-width: 600px) {
    .club-page .club-banner__copy { gap: 24px; }
    .club-page .club-banner__chip { height: 36px; margin-bottom: 18px; padding: 0 16px; font-size: 14px; }
    .club-page .club-banner__cta { width: 100%; }
    .club-page .club-banner__art { height: 230px; }
    .club-page .club-fan { width: 220px; }
    .club-page .club-fan__card { padding: 16px 18px 0; border-radius: 16px; }
    .club-page .club-fan__name { font-size: 19px; }
    .club-page .club-fan__stub { height: 50px; margin: auto -18px 0; padding: 0 18px; }
    .club-page .club-fan__stub i { width: 24px; height: 24px; }
    .club-page .club-fan__stub b { font-size: 11px; }
    .club-page .club-manifest__side { padding-left: 20px; }
    .club-page .club-manifest__accent { font-size: 22px; }
    .club-page .club-manifest__text { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.club-page) { scroll-behavior: auto; }
}

/* ---------- Анимации ---------- */

@keyframes club-pass-in {
    from { opacity: 0; transform: translateY(32px) rotate(-12deg); }
}
@keyframes club-stamp {
    0% { opacity: 0; transform: scale(.3); }
    65% { opacity: 1; transform: scale(1.14); }
    100% { transform: scale(1); }
}
@keyframes club-holo {
    from { background-position: 100% 0; }
}
@keyframes club-grow {
    from { transform: scaleX(0); }
}
@keyframes club-pulse {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(1.7); }
}

@media (prefers-reduced-motion: reduce) {
    .club-page *,
    .club-page *::before,
    .club-page *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Адаптив ---------- */

@media (min-width: 1600px) {
    .club-page .club-hero__main { grid-template-columns: minmax(0, 1fr) minmax(340px, 560px); }
    .club-page .club-pass-wrap { width: min(100%, 460px); }
    .club-page .club-globe { width: 620px; height: 620px; }
}

@media (max-width: 1279px) {
    .club-page .club-hero__main {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
        gap: 32px;
        min-height: 0;
        padding: 44px 44px 44px;
    }
    .club-page .club-route { padding-right: 44px; padding-left: 44px; }
    .club-page .club-globe { width: 460px; height: 460px; }
    .club-page .club-cond {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas:
            "mark about figures"
            "mark meter meter";
        align-items: start;
        gap: 18px 24px;
        padding: 24px 28px;
    }
    .club-page .club-cond__mark { align-self: start; }
}

@media (max-width: 900px) {
    .club-page .club-hero { border-radius: 20px; }
    .club-page .club-hero__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 32px 24px 28px;
    }
    .club-page .club-hero__visual { min-height: 0; padding: 8px 0; }
    .club-page .club-pass-wrap { width: min(100%, 380px); }
    .club-page .club-globe { width: 400px; height: 400px; }
    .club-page .club-hero::before { width: 100%; height: 60%; top: auto; bottom: 20%; }

    .club-page .club-route {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px 24px 24px;
    }
    .club-page .club-route__step::before {
        top: 36px;
        bottom: -16px;
        left: 16px;
        right: auto;
        width: 2px;
        height: auto;
        border-radius: 1px;
        background: rgba(255, 255, 255, .16);
    }
    .club-page .club-route__step:last-child::before { display: none; }
    .club-page .club-route__step.is-done::before { background: rgba(255, 255, 255, .7); }
    .club-page .club-route__step.is-current::before { background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .16)); }

    .club-page .club-terms { margin-top: 40px; }
    .club-page .club-terms__title { font-size: 24px; }
}

@media (max-width: 600px) {
    .club-page .club-hero__lead { margin-top: 16px; font-size: 16px; }
    .club-page .club-hero__actions,
    .club-page .club-hero__form { margin-top: 24px; }
    .club-page .club-refresh,
    .club-page .club-hero__actions .club-btn { width: 100%; }
    .club-page .club-form__row { flex-direction: column; }
    .club-page .club-form .club-btn { width: 100%; }
    .club-page .club-btn { white-space: normal; text-align: center; }

    .club-page .club-pass { --stub: 64px; padding: 18px 20px 0; transform: rotate(-2.5deg); }
    .club-page .club-pass__name { margin-top: 12px; font-size: 22px; }
    .club-page .club-pass__fields { gap: 12px; margin-top: 18px; }
    .club-page .club-pass-ghost { transform: rotate(4deg) translate(8px, 2px); }
    .club-page .club-pass__stub { margin: 0 -20px; padding: 0 20px; }
    .club-page .club-stamp { width: 34px; height: 34px; }
    .club-page .club-stamp .club-ico { width: 16px; height: 16px; }
    .club-page .club-pass__fields dd { font-size: 14px; }

    .club-page .club-reissue__summary { padding: 16px 18px; }
    .club-page .club-reissue__body { padding: 0 18px 20px; }
    .club-page .club-note { padding: 16px 18px; }

    .club-page .club-ledger { border-radius: 20px; }
    .club-page .club-cond {
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas:
            "mark about"
            "meter meter"
            "figures figures";
        gap: 16px 14px;
        padding: 20px 18px;
    }
    .club-page .club-cond__mark { width: 44px; height: 44px; }
    .club-page .club-cond__mark > .club-ico { width: 20px; height: 20px; }
    .club-page .club-cond__title { font-size: 16px; }
    .club-page .club-cond__figures {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        gap: 4px 12px;
        text-align: left;
    }
    .club-page .club-cond__value { font-size: 22px; }
    .club-page .club-cond__status { margin-top: 0; }
}

/* раскладка общего узора: планшет (две колонки, иллюстрация сверху) */
@media (max-width: 1279px) {
    .club-page .club-deco--blob-a { left: 25%; top: 17%; width: 460px; height: 360px; }
    .club-page .club-deco--blob-b { left: 104%; top: 108%; width: 520px; height: 400px; }
    .club-page .club-deco--blob-c { left: 1%; top: 0; width: 360px; height: 280px; }
    .club-page .club-deco--cyan-a { left: 2%; top: 74%; width: 480px; height: 380px; }
    .club-page .club-deco--cyan-b { left: 82%; top: 62%; width: 520px; height: 340px; }
    .club-page .club-deco--cream { left: 64%; top: 6%; width: 560px; height: 340px; }
    .club-page .club-deco--globe { left: 104%; top: 50%; width: 300px; height: 300px; }
    .club-page .club-deco--orbits { left: 52%; top: 52%; width: 500px; height: 250px; }
    .club-page .club-deco--star { left: 5%; top: 5%; width: 180px; height: 180px; }
    .club-page .club-deco--dots { left: 50%; top: 4%; }
}

/* телефон: плитки друг под другом, узор переходит через промежутки по правому краю */
@media (max-width: 700px) {
    .club-page .club-deco--blob-a { left: 50%; top: 7%; width: 380px; height: 300px; }
    .club-page .club-deco--blob-b { left: 100%; top: 100%; width: 420px; height: 320px; }
    .club-page .club-deco--blob-c { left: 0; top: 34%; width: 300px; height: 240px; }
    .club-page .club-deco--cyan-a { left: 0; top: 60%; width: 360px; height: 300px; }
    .club-page .club-deco--cyan-b { left: 100%; top: 86%; width: 380px; height: 260px; }
    .club-page .club-deco--cream { left: 90%; top: 32%; width: 380px; height: 260px; }
    .club-page .club-deco--globe { left: 104%; top: 24.6%; width: 200px; height: 200px; }
    .club-page .club-deco--orbits { left: 92%; top: 50%; width: 300px; height: 150px; }
    .club-page .club-deco--star { left: 100%; top: 75%; width: 150px; height: 150px; }
    .club-page .club-deco--dots { left: 14%; top: 3%; width: 136px; height: 82px; }
}
