/* ============================================================
   #Tofaanklub — nowa strona programu lojalnościowego
   Wszystkie selektory są ograniczone do .tofaa-club.
   ============================================================ */

.tofaa-club {
    --club-purple: #7c4fa0;
    --club-purple-dark: #56306f;
    --club-purple-light: #b083bc;
    --club-lime: #d1d635;
    --club-lime-soft: #eff2ad;
    --club-green: #abb538;
    --club-cream: #fff8ef;
    --club-beige: #f8eae1;
    --club-white: #fffdfb;
    --club-pink: #e35a8d;
    --club-peach: #f2c6ae;
    --club-ink: #211827;
    --club-border: #211827;
    --club-shadow: 0 9px 0 var(--club-ink);
    --club-shadow-soft: 0 18px 44px rgba(54, 31, 65, .14);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: -38px;
    background:
        radial-gradient(circle at 8% 12%, rgba(176, 131, 188, .20), transparent 23rem),
        radial-gradient(circle at 92% 28%, rgba(209, 214, 53, .22), transparent 26rem),
        linear-gradient(180deg, #fffaf4 0%, #f8eae1 34%, #fffdfb 62%, #f8eae1 100%);
    color: var(--club-ink);
    font-family: "Rubik", sans-serif;
}

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

.tofaa-club a {
    color: inherit;
}

.tofaa-club svg {
    display: block;
}

.tofaa-club-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.tofaa-club__ambient {
    position: absolute;
    z-index: -1;
    width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .34;
    pointer-events: none;
}

.tofaa-club__ambient--one {
    top: 760px;
    left: -340px;
    background: radial-gradient(circle, rgba(124, 79, 160, .55), rgba(124, 79, 160, 0) 70%);
}

.tofaa-club__ambient--two {
    top: 1940px;
    right: -300px;
    background: radial-gradient(circle, rgba(209, 214, 53, .75), rgba(209, 214, 53, 0) 70%);
}

.tofaa-club-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

.tofaa-club-kicker {
    margin: 0 0 14px;
    color: var(--club-purple);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tofaa-club-heading {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.tofaa-club-heading--split {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
    align-items: end;
    gap: 60px;
    text-align: left;
}

.tofaa-club-heading h2,
.tofaa-club-calculator h2,
.tofaa-club-referral h2,
.tofaa-club-faq-layout h2,
.tofaa-club-final h2 {
    margin: 0;
    color: var(--club-purple);
    font-family: "Rubik", sans-serif;
    font-size: clamp(34px, 4.4vw, 62px);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: .98;
    text-transform: uppercase;
}

.tofaa-club-heading > p:last-child,
.tofaa-club-heading--split > p,
.tofaa-club-calculator__copy > p:last-child,
.tofaa-club-referral__content > p,
.tofaa-club-faq-layout__intro > p {
    margin: 22px 0 0;
    color: rgba(33, 24, 39, .72);
    font-size: 18px;
    line-height: 1.65;
}

.tofaa-club-section {
    position: relative;
    padding: 104px 0;
    scroll-margin-top: 130px;
}

/* Hero */
.tofaa-club-hero {
    position: relative;
    min-height: 720px;
    padding: 86px 0 82px;
    background: #f8eae1;
}

.tofaa-club-hero::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -170px;
    width: min(44vw, 650px);
    aspect-ratio: 1;
    border-radius: 45% 55% 62% 38% / 54% 40% 60% 46%;
    background: linear-gradient(145deg, rgba(176, 131, 188, .82), rgba(124, 79, 160, .25));
    filter: blur(.2px);
    opacity: .48;
    transform: rotate(18deg);
}

.tofaa-club-hero::after {
    content: "";
    position: absolute;
    bottom: 24px;
    left: -130px;
    width: 320px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(209, 214, 53, .85), rgba(209, 214, 53, .08));
    opacity: .32;
}

.tofaa-club-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, .88fr);
    align-items: center;
    gap: 64px;
}

.tofaa-club-hero__copy {
    position: relative;
    z-index: 2;
}

.tofaa-club-hero h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--club-purple);
    font-family: "Rubik", sans-serif;
    font-size: clamp(48px, 6.2vw, 84px);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .93;
    text-transform: uppercase;
}

.tofaa-club-hero h1 em {
    display: inline-block;
    position: relative;
    z-index: 0;
    color: var(--club-ink);
    font-style: normal;
    white-space: nowrap;
}

.tofaa-club-hero h1 em::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 56% -8px 0;
    border-radius: 7px;
    background: var(--club-lime);
    transform: rotate(-1.5deg);
}

.tofaa-club-hero__lead {
    max-width: 670px;
    margin: 0;
    color: #7c4fa0;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 500;
    line-height: 1.55;
}

.tofaa-club-hero__actions,
.tofaa-club-final__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.tofaa-club-btn {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    border: 1px solid var(--club-border);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition:
        transform .18s cubic-bezier(.2, .8, .2, 1),
        box-shadow .18s cubic-bezier(.2, .8, .2, 1),
        background-color .18s ease,
        color .18s ease;
}

.tofaa-club-btn .tofaa-club-icon {
    width: 24px;
    height: 24px;
    transition: transform .2s ease;
}

.tofaa-club-btn--primary {
    background: var(--club-lime);
    color: var(--club-purple) !important;
    box-shadow: var(--club-shadow);
}

.tofaa-club-btn--primary:hover,
.tofaa-club-btn--primary:focus-visible {
    color: var(--club-purple) !important;
    box-shadow: 0 3px 0 var(--club-ink);
    transform: translateY(6px);
    outline: none;
}

.tofaa-club-btn--primary:active {
    box-shadow: 0 1px 0 var(--club-ink);
    transform: translateY(8px);
}

.tofaa-club-btn--primary:hover .tofaa-club-icon,
.tofaa-club-btn--primary:focus-visible .tofaa-club-icon {
    transform: translateX(4px);
}

.tofaa-club-btn--ghost,
.tofaa-club-btn--light {
    background: var(--club-white);
    color: var(--club-purple) !important;
    box-shadow: 0 7px 0 rgba(124, 79, 160, .28);
}

.tofaa-club-btn--ghost:hover,
.tofaa-club-btn--ghost:focus-visible,
.tofaa-club-btn--light:hover,
.tofaa-club-btn--light:focus-visible {
    color: var(--club-purple) !important;
    box-shadow: 0 11px 0 rgba(124, 79, 160, .24);
    transform: translateY(-4px);
    outline: none;
}

.tofaa-club-btn--ghost:active,
.tofaa-club-btn--light:active {
    box-shadow: 0 5px 0 rgba(124, 79, 160, .24);
    transform: translateY(2px);
}

.tofaa-club-hero__promises {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 22px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.tofaa-club-hero__promises li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(33, 24, 39, .73);
    font-size: 13px;
    font-weight: 700;
}

.tofaa-club-hero__promises .tofaa-club-icon {
    width: 18px;
    height: 18px;
    padding: 3px;
    border-radius: 50%;
    background: var(--club-lime);
    color: var(--club-purple);
}

.tofaa-club-hero__visual {
    position: relative;
    min-height: 520px;
    perspective: 1200px;
}

.tofaa-club-orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 470px;
    aspect-ratio: 1;
    transform:
        translate3d(
            calc(-50% + var(--club-orbit-parallax-x, 0px)),
            calc(-50% + var(--club-orbit-parallax-y, 0px)),
            0
        )
        rotate(var(--club-orbit-parallax-rotate, 0deg));
    transform-origin: 50% 50%;
    will-change: transform;
}

.tofaa-club-orbit__ring {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(124, 79, 160, .32);
    border-radius: 50%;
    animation: tofaaClubSpin 34s linear infinite;
}

.tofaa-club-orbit__ring--inner {
    inset: 54px;
    border-style: solid;
    border-color: rgba(209, 214, 53, .55);
    animation-direction: reverse;
    animation-duration: 24s;
}

.tofaa-club-orbit__dot {
    position: absolute;
    width: 24px;
    aspect-ratio: 1;
    border: 1px solid var(--club-border);
    border-radius: 50%;
    box-shadow: 0 5px 0 rgba(33, 24, 39, .18);
}

.tofaa-club-orbit__dot--one {
    top: 22px;
    left: 88px;
    background: var(--club-pink);
}

.tofaa-club-orbit__dot--two {
    right: 6px;
    bottom: 126px;
    width: 34px;
    background: var(--club-lime);
}

.tofaa-club-orbit__dot--three {
    bottom: 25px;
    left: 84px;
    width: 18px;
    background: var(--club-purple-light);
}

.tofaa-club-balance-card {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: min(460px, 84vw);
    min-height: 252px;
    padding: 28px 34px;
    border: 1px solid var(--club-border);
    border-radius: 32px;
    background: linear-gradient(145deg, #b083bc 0%, #7c4fa0 62%, #5e367c 100%);
    color: var(--club-white);
    box-shadow: 18px 22px 0 rgba(33, 24, 39, .18), 0 28px 60px rgba(67, 34, 82, .25);
    transform:
        translate3d(
            calc(-50% + var(--club-card-parallax-x, 0px)),
            calc(-50% + var(--club-card-parallax-y, 0px)),
            0
        )
        rotateZ(-2deg);
    transform-origin: 50% 50%;
    transform-style: flat;
    backface-visibility: hidden;
    will-change: transform;
}

.tofaa-club-parallax-circle {
    position: absolute;
    z-index: 2;
    display: block;
    aspect-ratio: 1;
    border: 1px solid rgba(33, 24, 39, .72);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.tofaa-club-parallax-circle--one {
    top: 82px;
    right: 8px;
    width: 92px;
    background: rgba(209, 214, 53, .96);
    transform: translate3d(
        var(--club-circle-one-parallax-x, 0px),
        var(--club-circle-one-parallax-y, 0px),
        0
    );
}

.tofaa-club-parallax-circle--two {
    bottom: 70px;
    left: 42px;
    width: 66px;
    background: rgba(176, 131, 188, .72);
    transform: translate3d(
        var(--club-circle-two-parallax-x, 0px),
        var(--club-circle-two-parallax-y, 0px),
        0
    );
}

.tofaa-club-balance-card__top,
.tofaa-club-balance-card__footer {
    display: flex;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tofaa-club-balance-card__logo {
    display: inline-flex;
    width: auto;
    min-width: 0;
    height: 42px;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.tofaa-club-balance-card__wordmark {
    display: block;
    width: 121px;
    height: 42px;
    flex: 0 0 auto;
    background: var(--club-lime);
    -webkit-mask: url('../assets/home-hero/Logo.svg') center / contain no-repeat;
    mask: url('../assets/home-hero/Logo.svg') center / contain no-repeat;
}

.tofaa-club-balance-card__bear {
    display: block !important;
    width: auto !important;
    height: 42px !important;
    min-width: 0;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none;
}

.tofaa-club-balance-card__tag {
    display: inline-flex;
    min-width: 58px;
    min-height: 40px;
    padding: 9px 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 900;
    letter-spacing: .035em;
    line-height: 1;
    text-transform: uppercase;
}

.tofaa-club-balance-card__label {
    position: relative;
    z-index: 1;
    margin: 38px 0 2px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.tofaa-club-balance-card__value {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: "Rubik", sans-serif;
    font-size: clamp(58px, 7vw, 82px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: .9;
}

.tofaa-club-balance-card__balance { display: flex; position: relative; z-index: 1; align-items: center; }

.tofaa-club-balance-card__points-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: clamp(41px, 4.9vw, 57px);
    height: clamp(41px, 4.9vw, 57px);
    margin-left: 12px;
    overflow: hidden;
    border: 1px solid #171717;
    border-radius: 50%;
    background: var(--club-lime);
    box-sizing: border-box;
}

.tofaa-club-balance-card__points-icon img {
    position: absolute;
    top: -20%;
    left: 4%;
    width: 400%;
    max-width: none;
    height: auto;
    margin: 0;
}

.tofaa-club-balance-card__unit {
    display: grid;
    position: relative;
    z-index: 1;
    gap: 1px;
    margin: 0 0 0 9px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.05;
}

.tofaa-club-balance-card__footer {
    justify-content: flex-start;
    margin-top: 27px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 700;
}


.tofaa-club-float-note {
    display: flex;
    position: absolute;
    z-index: 4;
    align-items: center;
    gap: 10px;
    min-width: 152px;
    padding: 10px 13px;
    border: 1px solid var(--club-border);
    border-radius: 18px;
    background: rgba(255,253,251,.92);
    box-shadow: 0 8px 0 rgba(33,24,39,.18), 0 16px 34px rgba(58,35,70,.14);
    backdrop-filter: blur(14px);
    animation: tofaaClubFloat 5.2s ease-in-out infinite;
}

.tofaa-club-float-note--purchase {
    top: 44px;
    left: -10px;
    translate: var(--club-purchase-parallax-x, 0px) var(--club-purchase-parallax-y, 0px);
}

.tofaa-club-float-note--review {
    right: -22px;
    bottom: 82px;
    translate: var(--club-review-parallax-x, 0px) var(--club-review-parallax-y, 0px);
    animation-delay: -1.8s;
}

.tofaa-club-float-note--friend {
    bottom: 10px;
    left: 18px;
    translate: var(--club-friend-parallax-x, 0px) var(--club-friend-parallax-y, 0px);
    animation-delay: -3.2s;
}

.tofaa-club-float-note__icon {
    display: grid;
    width: 40px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 13px;
    background: var(--club-lime);
    color: var(--club-purple);
}

.tofaa-club-float-note__icon .tofaa-club-icon {
    width: 24px;
    height: 24px;
}

.tofaa-club-float-note > span:last-child {
    display: grid;
    gap: 2px;
}

.tofaa-club-float-note strong {
    color: var(--club-purple);
    font-size: 13px;
    line-height: 1.1;
}

.tofaa-club-float-note small {
    color: rgba(33,24,39,.64);
    font-size: 10px;
    font-weight: 700;
}

/* Nawigacja kotwicowa */
.tofaa-club-jump {
    position: sticky;
    z-index: 18;
    top: 92px;
    padding: 12px 0;
    pointer-events: none;
}

.tofaa-club-jump__inner {
    display: flex;
    width: fit-content;
    max-width: calc(100% - 40px);
    justify-content: center;
    gap: 6px;
    padding: 7px;
    overflow-x: auto;
    border: 1px solid rgba(33,24,39,.55);
    border-radius: 999px;
    background: rgba(255,248,239,.76);
    box-shadow: 0 8px 24px rgba(54,31,65,.13);
    backdrop-filter: blur(18px) saturate(135%);
    pointer-events: auto;
    scrollbar-width: none;
}

.tofaa-club-jump__inner::-webkit-scrollbar {
    display: none;
}

.tofaa-club-jump a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--club-purple);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.tofaa-club-jump a:hover,
.tofaa-club-jump a:focus-visible,
.tofaa-club-jump a.is-active {
    background: var(--club-purple);
    color: var(--club-white);
    outline: none;
    transform: translateY(-1px);
}

/* Kroki */
.tofaa-club-section--steps {
    padding-top: 116px;
}

.tofaa-club-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tofaa-club-step {
    position: relative;
    min-height: 310px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--club-border);
    border-radius: 30px;
    background: rgba(255,253,251,.76);
    box-shadow: 0 10px 0 rgba(124,79,160,.20), var(--club-shadow-soft);
    transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease;
}

.tofaa-club-step:hover {
    background: var(--club-white);
    box-shadow: 0 15px 0 rgba(124,79,160,.22), 0 24px 52px rgba(54,31,65,.16);
    transform: translateY(-6px);
}

.tofaa-club-step::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -64px;
    width: 160px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--club-lime-soft);
    opacity: .74;
    transition: transform .4s ease;
}

.tofaa-club-step:hover::after {
    transform: scale(1.18);
}

.tofaa-club-step__number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(124,79,160,.16);
    font-family: "Rubik", sans-serif;
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
}

.tofaa-club-step__icon {
    display: grid;
    position: relative;
    z-index: 1;
    width: 76px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--club-border);
    border-radius: 24px;
    background: var(--club-lime);
    color: var(--club-purple);
    box-shadow: 0 8px 0 var(--club-ink);
    transform: rotate(-3deg);
}

.tofaa-club-step:nth-child(2) .tofaa-club-step__icon {
    background: var(--club-purple-light);
    color: var(--club-white);
    transform: rotate(3deg);
}

.tofaa-club-step:nth-child(3) .tofaa-club-step__icon {
    background: var(--club-peach);
    color: var(--club-purple);
}

.tofaa-club-step__icon .tofaa-club-icon {
    width: 42px;
    height: 42px;
}

.tofaa-club-step h3 {
    position: relative;
    z-index: 1;
    margin: 42px 0 12px;
    color: var(--club-purple);
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
}

.tofaa-club-step p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(33,24,39,.68);
    font-size: 15px;
    line-height: 1.65;
}

/* Kalkulator */
.tofaa-club-section--calculator {
    padding-top: 34px;
    padding-bottom: 78px;
}

.tofaa-club-calculator {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(380px, 1fr);
    align-items: center;
    gap: 64px;
    padding: 52px;
    border: 1px solid var(--club-border);
    border-radius: 38px;
    background:
        radial-gradient(circle at 100% 0, rgba(255,255,255,.58), transparent 18rem),
        linear-gradient(135deg, var(--club-purple-light), var(--club-purple));
    color: var(--club-white);
    box-shadow: 0 14px 0 var(--club-ink), 0 32px 64px rgba(67,34,82,.24);
}

.tofaa-club-calculator .tofaa-club-kicker,
.tofaa-club-calculator h2 {
    color: var(--club-white);
}

.tofaa-club-calculator__copy > p:last-child {
    color: rgba(255,255,255,.77);
}

.tofaa-club-calculator__tool {
    padding: 30px;
    border: 1px solid rgba(33,24,39,.8);
    border-radius: 27px;
    background: rgba(255,253,251,.93);
    color: var(--club-ink);
    box-shadow: 0 9px 0 rgba(33,24,39,.32);
}

.tofaa-club-calculator__numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 26px;
}

.tofaa-club-calculator__numbers > div {
    padding: 18px;
    border: 1px solid rgba(124,79,160,.24);
    border-radius: 20px;
    background: var(--club-white);
}

.tofaa-club-calculator__numbers span {
    display: block;
    margin-bottom: 6px;
    color: rgba(33,24,39,.58);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.tofaa-club-calculator__numbers strong {
    color: var(--club-purple);
    font-size: 28px;
    font-weight: 900;
}

.tofaa-club-calculator__result {
    background: var(--club-lime-soft) !important;
}

.tofaa-club-calculator input[type="range"] {
    width: 100%;
    height: 28px;
    margin: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.tofaa-club-calculator input[type="range"]::-webkit-slider-runnable-track {
    height: 9px;
    border: 1px solid var(--club-border);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--club-lime) var(--club-range-progress, 15.8%), #eaddec var(--club-range-progress, 15.8%));
}

.tofaa-club-calculator input[type="range"]::-moz-range-track {
    height: 9px;
    border: 1px solid var(--club-border);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--club-lime) var(--club-range-progress, 15.8%), #eaddec var(--club-range-progress, 15.8%));
}

.tofaa-club-calculator input[type="range"]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    margin-top: -10px;
    appearance: none;
    border: 1px solid var(--club-border);
    border-radius: 50%;
    background: var(--club-purple);
    box-shadow: 0 4px 0 var(--club-ink);
}

.tofaa-club-calculator input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border: 1px solid var(--club-border);
    border-radius: 50%;
    background: var(--club-purple);
    box-shadow: 0 4px 0 var(--club-ink);
}

.tofaa-club-calculator__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: rgba(33,24,39,.5);
    font-size: 11px;
    font-weight: 700;
}

.tofaa-club-calculator__note {
    margin: 18px 0 0;
    color: rgba(33,24,39,.58);
    font-size: 11px;
    line-height: 1.45;
}

/* Zbieranie punktów */
.tofaa-club-section--earn {
    padding-top: 86px;
}

.tofaa-club-earn-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}

.tofaa-club-earn-card {
    --club-card-bg: var(--club-white);
    --club-card-accent: var(--club-purple);
    display: flex;
    position: relative;
    grid-column: span 4;
    min-height: 270px;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--club-border);
    border-radius: 29px;
    background: var(--club-card-bg);
    box-shadow: 0 9px 0 rgba(33,24,39,.14), var(--club-shadow-soft);
    transition: transform .28s ease, box-shadow .28s ease;
}

.tofaa-club-earn-card:hover {
    box-shadow: 0 14px 0 rgba(33,24,39,.15), 0 28px 54px rgba(54,31,65,.17);
    transform: translateY(-6px) rotate(-.4deg);
}

.tofaa-club-earn-card:nth-child(even):hover {
    transform: translateY(-6px) rotate(.4deg);
}

.tofaa-club-tone--lime {
    --club-card-bg: #eff2ad;
    --club-card-accent: #6b7a14;
}

.tofaa-club-tone--purple {
    --club-card-bg: #eaddec;
    --club-card-accent: #7c4fa0;
}

.tofaa-club-tone--peach {
    --club-card-bg: #f9dfd0;
    --club-card-accent: #a8545f;
}

.tofaa-club-tone--pink {
    --club-card-bg: #f8d9e5;
    --club-card-accent: #c2396f;
}

.tofaa-club-tone--cream {
    --club-card-bg: #fff8ef;
    --club-card-accent: #7c4fa0;
}

.tofaa-club-earn-card__icon {
    display: grid;
    width: 66px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--club-border);
    border-radius: 22px;
    background: var(--club-white);
    color: var(--club-card-accent);
    box-shadow: 0 7px 0 rgba(33,24,39,.18);
    transition: transform .32s cubic-bezier(.2,.8,.2,1);
}

.tofaa-club-earn-card:hover .tofaa-club-earn-card__icon {
    transform: rotate(-8deg) scale(1.06);
}

.tofaa-club-earn-card__icon .tofaa-club-icon {
    width: 36px;
    height: 36px;
}

.tofaa-club-earn-card__body {
    position: relative;
    z-index: 1;
    margin-top: 34px;
}

.tofaa-club-earn-card h3 {
    margin: 0 0 9px;
    color: var(--club-purple);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.tofaa-club-earn-card strong {
    display: block;
    color: var(--club-card-accent);
    font-size: 20px;
    font-weight: 900;
}

.tofaa-club-earn-card p {
    margin: 10px 0 0;
    color: rgba(33,24,39,.64);
    font-size: 13px;
    line-height: 1.55;
}

.tofaa-club-earn-card__plus {
    position: absolute;
    right: 15px;
    bottom: -35px;
    color: rgba(255,255,255,.52);
    font-family: "Rubik", sans-serif;
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(8deg);
}

/* Nagrody */
.tofaa-club-section--rewards {
    background:
        linear-gradient(rgba(255,253,251,.82), rgba(255,253,251,.82)),
        radial-gradient(circle at 20% 30%, rgba(176,131,188,.35), transparent 25rem),
        radial-gradient(circle at 86% 64%, rgba(209,214,53,.42), transparent 24rem);
}

.tofaa-club-rewards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tofaa-club-reward {
    --club-card-bg: var(--club-white);
    --club-card-accent: var(--club-purple);
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--club-border);
    border-radius: 29px;
    background: var(--club-card-bg);
    box-shadow: 0 9px 0 rgba(33,24,39,.17), 0 18px 38px rgba(54,31,65,.12);
    transition: transform .28s ease, box-shadow .28s ease;
}

.tofaa-club-reward:hover {
    box-shadow: 0 14px 0 rgba(33,24,39,.16), 0 28px 50px rgba(54,31,65,.17);
    transform: translateY(-6px);
}

.tofaa-club-reward.is-available {
    box-shadow: 0 10px 0 var(--club-purple), 0 24px 48px rgba(54,31,65,.17);
}

.tofaa-club-reward__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tofaa-club-reward__icon {
    display: grid;
    width: 58px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--club-border);
    border-radius: 20px;
    background: var(--club-white);
    color: var(--club-card-accent);
}

.tofaa-club-reward__icon .tofaa-club-icon {
    width: 34px;
    height: 34px;
}

.tofaa-club-reward__ready {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border: 1px solid var(--club-border);
    border-radius: 999px;
    background: var(--club-lime);
    color: var(--club-purple);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.tofaa-club-reward__ready .tofaa-club-icon {
    width: 13px;
    height: 13px;
}

.tofaa-club-reward__points {
    margin: 32px 0 8px;
    color: var(--club-card-accent);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tofaa-club-reward h3 {
    margin: 0;
    color: var(--club-purple);
    font-family: "Rubik", sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.tofaa-club-reward__text {
    margin: 15px 0 30px;
    color: rgba(33,24,39,.62);
    font-size: 13px;
    line-height: 1.55;
}

.tofaa-club-reward__progress {
    height: 10px;
    margin-top: auto;
    overflow: hidden;
    border: 1px solid rgba(33,24,39,.34);
    border-radius: 999px;
    background: rgba(255,255,255,.68);
}

.tofaa-club-reward__progress span {
    display: block;
    width: var(--club-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--club-purple);
    transition: width .8s cubic-bezier(.2,.8,.2,1);
}

.tofaa-club-reward.is-available .tofaa-club-reward__progress span {
    background: var(--club-green);
}

.tofaa-club-reward__status {
    min-height: 36px;
    margin: 11px 0 0;
    color: rgba(33,24,39,.62);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
}

.tofaa-club-rewards__action {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Polecenia */
.tofaa-club-section--referral {
    padding-top: 122px;
}

.tofaa-club-referral {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 70px;
    padding: 58px;
    overflow: hidden;
    border: 1px solid var(--club-border);
    border-radius: 42px;
    background:
        radial-gradient(circle at 9% 94%, rgba(209,214,53,.58), transparent 17rem),
        linear-gradient(135deg, #eaddec, #fff8ef 68%);
    box-shadow: 0 14px 0 var(--club-ink), 0 30px 70px rgba(54,31,65,.18);
}

.tofaa-club-referral__visual {
    position: relative;
    min-height: 330px;
}

.tofaa-club-referral__bubble {
    display: grid;
    position: absolute;
    z-index: 2;
    width: 150px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--club-border);
    border-radius: 50%;
    font-family: "Rubik", sans-serif;
    font-size: 46px;
    font-weight: 900;
}

.tofaa-club-referral__bubble--one {
    top: 18px;
    left: 0;
    background: var(--club-purple);
    color: var(--club-white);
    box-shadow: 0 12px 0 rgba(33,24,39,.22);
}

.tofaa-club-referral__bubble--two {
    right: 0;
    bottom: 18px;
    background: var(--club-lime);
    color: var(--club-purple);
    box-shadow: 0 12px 0 rgba(33,24,39,.22);
}

.tofaa-club-referral__line {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 66%;
    height: 3px;
    background-image: linear-gradient(90deg, var(--club-purple) 55%, transparent 55%);
    background-size: 16px 3px;
    transform: rotate(31deg);
    transform-origin: center;
}

.tofaa-club-referral__bonus {
    position: absolute;
    z-index: 3;
    top: 45%;
    left: 48%;
    padding: 10px 14px;
    border: 1px solid var(--club-border);
    border-radius: 999px;
    background: var(--club-white);
    color: var(--club-purple);
    box-shadow: 0 6px 0 rgba(33,24,39,.17);
    font-size: 13px;
    font-weight: 900;
    transform: translate(-50%, -50%) rotate(-5deg);
}

.tofaa-club-referral__content > p {
    max-width: 670px;
}

.tofaa-club-copy {
    margin-top: 28px;
}

.tofaa-club-copy label {
    display: block;
    margin-bottom: 8px;
    color: var(--club-purple);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.tofaa-club-copy__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.tofaa-club-copy input {
    width: 100%;
    min-height: 56px;
    padding: 13px 16px;
    border: 1px solid var(--club-border);
    border-radius: 17px;
    background: var(--club-white);
    color: rgba(33,24,39,.72);
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.tofaa-club-copy input:focus {
    box-shadow: 0 0 0 3px rgba(124,79,160,.18);
}

.tofaa-club-copy__button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    border: 1px solid var(--club-border);
    border-radius: 17px;
    background: var(--club-lime);
    color: var(--club-purple);
    box-shadow: 0 7px 0 var(--club-ink);
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform .18s ease, box-shadow .18s ease;
}

.tofaa-club-copy__button:hover,
.tofaa-club-copy__button:focus-visible {
    box-shadow: 0 2px 0 var(--club-ink);
    transform: translateY(5px);
    outline: none;
}

.tofaa-club-copy__button .tofaa-club-icon {
    width: 20px;
    height: 20px;
}

.tofaa-club-copy__feedback {
    min-height: 20px;
    margin: 9px 0 0;
    color: var(--club-purple);
    font-size: 12px;
    font-weight: 800;
}

.tofaa-club-referral .tofaa-club-btn--light {
    margin-top: 28px;
}

/* FAQ */
.tofaa-club-section--faq {
    padding-top: 118px;
}

.tofaa-club-faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 82px;
}

.tofaa-club-faq-layout__intro {
    position: sticky;
    top: 180px;
}

.tofaa-club-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: var(--club-purple) !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: uppercase;
}

.tofaa-club-text-link .tofaa-club-icon {
    width: 20px;
    height: 20px;
    transition: transform .2s ease;
}

.tofaa-club-text-link:hover .tofaa-club-icon {
    transform: translateX(4px);
}

.tofaa-club-faq {
    display: grid;
    gap: 13px;
}

.tofaa-club-faq__item {
    overflow: hidden;
    border: 1px solid var(--club-border);
    border-radius: 24px;
    background: rgba(255,253,251,.82);
    box-shadow: 0 6px 0 rgba(124,79,160,.16);
    transition: background-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.tofaa-club-faq__item.is-open {
    background: var(--club-lime-soft);
    box-shadow: 0 9px 0 rgba(124,79,160,.22);
}

.tofaa-club-faq__item h3 {
    margin: 0;
}

.tofaa-club-faq__item button {
    display: flex;
    width: 100%;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    color: var(--club-purple);
    font-family: inherit;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.tofaa-club-faq__item button:focus-visible {
    outline: 3px solid rgba(124,79,160,.26);
    outline-offset: -3px;
}

.tofaa-club-faq__toggle {
    display: grid;
    position: relative;
    width: 42px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--club-border);
    border-radius: 50%;
    background: var(--club-lime);
    box-shadow: 0 5px 0 var(--club-ink);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}

.tofaa-club-faq__toggle i {
    position: absolute;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--club-purple);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}

.tofaa-club-faq__toggle i:last-child {
    transform: rotate(90deg);
}

.tofaa-club-faq__item.is-open .tofaa-club-faq__toggle {
    box-shadow: 0 2px 0 var(--club-ink);
    transform: translateY(3px) rotate(180deg);
}

.tofaa-club-faq__item.is-open .tofaa-club-faq__toggle i:last-child {
    opacity: 0;
    transform: rotate(90deg) scaleX(0);
}

.tofaa-club-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1);
}

.tofaa-club-faq__answer > div {
    overflow: hidden;
}

.tofaa-club-faq__item.is-open .tofaa-club-faq__answer {
    grid-template-rows: 1fr;
}

.tofaa-club-faq__answer p {
    margin: 0;
    padding: 0 80px 24px 22px;
    color: rgba(33,24,39,.68);
    font-size: 14px;
    line-height: 1.65;
}

/* Finał */
.tofaa-club-section--final {
    padding: 100px 0 132px;
}

.tofaa-club-final {
    position: relative;
    padding: 72px 50px;
    overflow: hidden;
    border: 1px solid var(--club-border);
    border-radius: 42px;
    background: #B083BC;
    color: #7C4FA0;
    box-shadow: 0 14px 0 var(--club-ink), 0 32px 72px rgba(54,31,65,.22);
    text-align: center;
}

.tofaa-club-final .tofaa-club-kicker,
.tofaa-club-final h2 {
    position: relative;
    z-index: 2;
    color: #7C4FA0;
}

.tofaa-club-final h2 {
    max-width: 880px;
    margin-inline: auto;
}

.tofaa-club-final__icon {
    display: grid;
    position: relative;
    z-index: 2;
    width: 78px;
    aspect-ratio: 1;
    margin: 0 auto 24px;
    place-items: center;
    border: 1px solid var(--club-border);
    border-radius: 27px;
    background: var(--club-lime);
    color: var(--club-purple);
    box-shadow: 0 8px 0 var(--club-ink);
    transform: rotate(-4deg);
}

.tofaa-club-final__icon .tofaa-club-icon {
    width: 44px;
    height: 44px;
}

.tofaa-club-final__actions {
    position: relative;
    z-index: 2;
    justify-content: center;
}

.tofaa-club-final .tofaa-club-btn--ghost {
    background: var(--club-white);
}

.tofaa-club-final__shape {
    position: absolute;
    border: 1px solid rgba(33,24,39,.65);
    border-radius: 50%;
}

.tofaa-club-final__shape--one {
    top: -80px;
    left: -65px;
    width: 230px;
    aspect-ratio: 1;
    background: var(--club-lime);
}

.tofaa-club-final__shape--two {
    right: -45px;
    bottom: -100px;
    width: 260px;
    aspect-ratio: 1;
    background: var(--club-peach);
}

/* Reveal */
.tofaa-club [data-club-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}

.tofaa-club [data-club-reveal][data-club-reveal-delay="1"] {
    transition-delay: .1s;
}

.tofaa-club [data-club-reveal][data-club-reveal-delay="2"] {
    transition-delay: .2s;
}

.tofaa-club [data-club-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes tofaaClubSpin {
    to { transform: rotate(360deg); }
}

@keyframes tofaaClubFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}


@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
    .tofaa-club-balance-card {
        transform: translate3d(-50%, -50%, 0) rotateZ(-2deg) !important;
    }

    .tofaa-club-orbit {
        transform: translate3d(-50%, -50%, 0) !important;
    }

    .tofaa-club-float-note {
        translate: 0 0 !important;
    }

    .tofaa-club-parallax-circle {
        transform: translate3d(0, 0, 0) !important;
    }
}

/* Tablet */
@media (max-width: 1080px) {
    .tofaa-club-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
        gap: 32px;
    }

    .tofaa-club-hero h1 {
        font-size: clamp(46px, 6vw, 70px);
    }

    .tofaa-club-float-note--purchase {
        left: 0;
    }

    .tofaa-club-float-note--review {
        right: 0;
    }

    .tofaa-club-rewards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tofaa-club-earn-card {
        grid-column: span 6;
    }

    .tofaa-club-referral {
        grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
        gap: 44px;
        padding: 46px;
    }
}

@media (max-width: 860px) {
    .tofaa-club-shell {
        width: min(100% - 28px, 720px);
    }

    .tofaa-club-section {
        padding: 82px 0;
    }

    .tofaa-club-hero {
        padding-top: 62px;
    }

    .tofaa-club-hero__grid,
    .tofaa-club-calculator,
    .tofaa-club-referral,
    .tofaa-club-faq-layout {
        grid-template-columns: 1fr;
    }

    .tofaa-club-hero__copy {
        text-align: center;
    }

    .tofaa-club-hero__lead {
        margin-inline: auto;
    }

    .tofaa-club-hero__actions,
    .tofaa-club-hero__promises {
        justify-content: center;
    }

    .tofaa-club-hero__visual {
        width: min(100%, 620px);
        min-height: 530px;
        margin-inline: auto;
    }

    .tofaa-club-jump {
        top: 80px;
    }

    .tofaa-club-jump__inner {
        justify-content: flex-start;
    }

    .tofaa-club-heading--split {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }

    .tofaa-club-steps {
        grid-template-columns: 1fr;
    }

    .tofaa-club-step {
        min-height: 250px;
    }

    .tofaa-club-calculator {
        gap: 38px;
        padding: 40px;
    }

    .tofaa-club-faq-layout {
        gap: 44px;
    }

    .tofaa-club-faq-layout__intro {
        position: static;
        text-align: center;
    }

    .tofaa-club-referral__visual {
        width: min(100%, 390px);
        margin-inline: auto;
    }

    .tofaa-club-referral__content {
        text-align: center;
    }

    .tofaa-club-referral__content > p {
        margin-inline: auto;
    }

    .tofaa-club-referral .tofaa-club-btn--light {
        margin-inline: auto;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .tofaa-club {
        margin-bottom: -20px;
    }

    .tofaa-club-shell {
        width: calc(100% - 22px);
    }

    .tofaa-club-section {
        padding: 68px 0;
        scroll-margin-top: 108px;
    }

    .tofaa-club-hero {
        min-height: auto;
        padding: 44px 0 50px;
    }

    .tofaa-club-hero::before {
        width: 380px;
        opacity: .30;
    }

    .tofaa-club-hero h1 {
        margin-top: 18px;
        font-size: clamp(42px, 13vw, 62px);
    }

    .tofaa-club-hero h1 em {
        white-space: normal;
    }

    .tofaa-club-hero__lead {
        font-size: 17px;
    }

    .tofaa-club-hero__actions,
    .tofaa-club-final__actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .tofaa-club-btn {
        width: 100%;
        min-height: 56px;
        padding-inline: 18px;
        font-size: 13px;
    }

    .tofaa-club-hero__promises {
        display: grid;
        justify-content: start;
        max-width: 320px;
        margin-inline: auto;
        text-align: left;
    }

    .tofaa-club-hero__visual {
        min-height: 455px;
        margin-top: 10px;
    }

    .tofaa-club-orbit {
        width: 390px;
        max-width: 106vw;
    }

    .tofaa-club-parallax-circle--one {
        top: 64px;
        right: 12px;
        width: 72px;
    }

    .tofaa-club-parallax-circle--two {
        bottom: 68px;
        left: 24px;
        width: 52px;
    }

    .tofaa-club-balance-card {
        width: min(340px, 86vw);
        min-height: 220px;
        padding: 22px 24px;
    }

    .tofaa-club-balance-card__value {
        font-size: 58px;
    }

    .tofaa-club-balance-card__tag {
        min-width: 52px;
        min-height: 36px;
        padding: 8px 13px;
        font-size: 14px;
    }

    .tofaa-club-float-note {
        min-width: 132px;
        padding: 8px 10px;
    }

    .tofaa-club-float-note__icon {
        width: 34px;
    }

    .tofaa-club-float-note--purchase {
        top: 20px;
        left: 0;
    }

    .tofaa-club-float-note--review {
        right: 0;
        bottom: 65px;
    }

    .tofaa-club-float-note--friend {
        bottom: 0;
        left: 4px;
    }

    .tofaa-club-jump {
        top: 70px;
        padding-block: 8px;
    }

    .tofaa-club-jump__inner {
        width: calc(100% - 22px);
        max-width: none;
    }

    .tofaa-club-heading {
        margin-bottom: 38px;
    }

    .tofaa-club-heading h2,
    .tofaa-club-calculator h2,
    .tofaa-club-referral h2,
    .tofaa-club-faq-layout h2,
    .tofaa-club-final h2 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .tofaa-club-heading > p:last-child,
    .tofaa-club-heading--split > p,
    .tofaa-club-calculator__copy > p:last-child,
    .tofaa-club-referral__content > p,
    .tofaa-club-faq-layout__intro > p {
        font-size: 15px;
    }

    .tofaa-club-step {
        padding: 24px;
    }

    .tofaa-club-calculator {
        padding: 30px 20px;
        border-radius: 30px;
    }

    .tofaa-club-calculator__tool {
        padding: 20px;
    }

    .tofaa-club-calculator__numbers {
        grid-template-columns: 1fr;
    }

    .tofaa-club-earn-grid,
    .tofaa-club-rewards-grid {
        grid-template-columns: 1fr;
    }

    .tofaa-club-earn-card {
        grid-column: auto;
        min-height: 235px;
    }

    .tofaa-club-reward {
        min-height: 340px;
    }

    .tofaa-club-referral {
        gap: 34px;
        padding: 34px 20px;
        border-radius: 31px;
    }

    .tofaa-club-referral__visual {
        min-height: 280px;
    }

    .tofaa-club-referral__bubble {
        width: 125px;
        font-size: 38px;
    }

    .tofaa-club-copy__row {
        grid-template-columns: 1fr;
    }

    .tofaa-club-copy__button {
        justify-content: center;
    }

    .tofaa-club-faq__item button {
        min-height: 74px;
        padding: 17px;
        font-size: 15px;
    }

    .tofaa-club-faq__toggle {
        width: 38px;
    }

    .tofaa-club-faq__answer p {
        padding: 0 58px 20px 17px;
        font-size: 13px;
    }

    .tofaa-club-final {
        padding: 54px 20px;
        border-radius: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-club *,
    .tofaa-club *::before,
    .tofaa-club *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .tofaa-club [data-club-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   145 — sekcje bębna przesunięte o 50 px do góry
   Zachowujemy całkowitą wysokość paneli, przenosząc 50 px
   z paddingu górnego do dolnego.
   ========================================================= */
/* =========================================================
   141 — obrotowa, wielosekcyjna część #Tofaanklubu
   ========================================================= */
.tofaa-club-rotator {
    --club-panel-scale: 1;
    position: relative;
    overflow: clip;
    background: #f8eae1;
    isolation: isolate;
}

.tofaa-club-rotator::before,
.tofaa-club-rotator::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.tofaa-club-rotator::before {
    top: 140px;
    left: -180px;
    width: 390px;
    aspect-ratio: 1;
    background: rgba(124, 79, 160, .07);
}

.tofaa-club-rotator::after {
    right: -210px;
    bottom: 90px;
    width: 460px;
    aspect-ratio: 1;
    background: rgba(209, 214, 53, .12);
}

.tofaa-club-rotator .tofaa-club-jump {
    top: 92px;
    margin: 0;
    padding-top: 14px;
    padding-bottom: 8px;
}

.tofaa-club-jump button {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--club-purple);
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
    -webkit-tap-highlight-color: transparent;
}

.tofaa-club-jump button:hover,
.tofaa-club-jump button:focus-visible,
.tofaa-club-jump button.is-active {
    background: var(--club-purple);
    color: var(--club-white);
    outline: none;
    transform: translateY(-1px);
}

.tofaa-club-jump button:focus-visible {
    box-shadow: 0 0 0 3px rgba(209, 214, 53, .72);
}

.tofaa-club-jump button:active {
    transform: translateY(1px);
}

.tofaa-club-drum {
    position: relative;
    perspective: 1900px;
    perspective-origin: 50% 46%;
}

/* Delikatne smugi po bokach podkreślają poziomy ruch bębna. */
.tofaa-club-drum::before,
.tofaa-club-drum::after {
    content: "";
    position: absolute;
    z-index: 8;
    top: 50%;
    width: 120px;
    height: min(620px, 76%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    filter: blur(2px);
    transition: opacity .26s ease, transform .72s cubic-bezier(.18, .78, .18, 1);
}

.tofaa-club-drum::before {
    left: -22px;
    background: radial-gradient(ellipse at left center, rgba(124, 79, 160, .20), rgba(124, 79, 160, 0) 72%);
    transform: translate3d(-32px, -50%, 0) scaleY(.82);
}

.tofaa-club-drum::after {
    right: -22px;
    background: radial-gradient(ellipse at right center, rgba(33, 24, 39, .15), rgba(33, 24, 39, 0) 72%);
    transform: translate3d(32px, -50%, 0) scaleY(.82);
}

.tofaa-club-drum.is-spinning::before,
.tofaa-club-drum.is-spinning::after {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scaleY(1);
}

.tofaa-club-drum__viewport {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: height .76s cubic-bezier(.2, .78, .16, 1);
    will-change: height;
}

.tofaa-club-drum__panel {
    display: none;
}

.tofaa-club-drum__panel.is-active {
    display: block;
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel {
    display: block;
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    filter: blur(6px);
    pointer-events: none;
    transform: translate3d(74%, 0, -300px) rotateY(-58deg) scale(.92);
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition:
        transform .76s cubic-bezier(.18, .78, .18, 1),
        opacity .42s ease,
        filter .48s ease;
    will-change: transform, opacity, filter;
}

/* Faza ustawienia panelu po właściwej stronie nie może być animowana. */
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-preparing-transition {
    transition: none !important;
}

/* Bezpieczne przerwanie animacji przy szybkim przełączaniu — ten sam mechanizm co FAQ. */
.tofaa-club.is-club-drum-ready .tofaa-club-drum.is-resetting .tofaa-club-drum__panel {
    transition: none !important;
    animation: none !important;
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-in-forward,
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-in-backward,
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-out-forward,
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-out-backward {
    visibility: visible;
    transition: none !important;
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-in-forward,
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-in-backward {
    z-index: 4;
    pointer-events: auto;
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-out-forward,
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-out-backward {
    z-index: 3;
    pointer-events: none;
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-in-forward {
    animation: tofaa-club-panel-in-forward .76s cubic-bezier(.18, .78, .18, 1) both;
}
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-in-backward {
    animation: tofaa-club-panel-in-backward .76s cubic-bezier(.18, .78, .18, 1) both;
}
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-out-forward {
    animation: tofaa-club-panel-out-forward .76s cubic-bezier(.18, .78, .18, 1) both;
}
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-animating-out-backward {
    animation: tofaa-club-panel-out-backward .76s cubic-bezier(.18, .78, .18, 1) both;
}

@keyframes tofaa-club-panel-in-forward {
    from { opacity: 0; filter: blur(6px); transform: translate3d(76%, 0, -320px) rotateY(-62deg) scale(.9); }
    to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); }
}
@keyframes tofaa-club-panel-out-forward {
    from { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); }
    to { opacity: 0; filter: blur(6px); transform: translate3d(-76%, 0, -320px) rotateY(62deg) scale(.9); }
}
@keyframes tofaa-club-panel-in-backward {
    from { opacity: 0; filter: blur(6px); transform: translate3d(-76%, 0, -320px) rotateY(62deg) scale(.9); }
    to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); }
}
@keyframes tofaa-club-panel-out-backward {
    from { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); }
    to { opacity: 0; filter: blur(6px); transform: translate3d(76%, 0, -320px) rotateY(-62deg) scale(.9); }
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    filter: blur(0);
    pointer-events: auto;
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
}

/* Kolejna sekcja wjeżdża z prawej, a obecna odjeżdża w lewo. */
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-entering-forward {
    z-index: 1;
    opacity: 0;
    visibility: visible;
    transform: translate3d(76%, 0, -320px) rotateY(-62deg) scale(.9);
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-leaving-forward {
    z-index: 3;
    opacity: 0;
    visibility: visible;
    filter: blur(6px);
    pointer-events: none;
    transform: translate3d(-76%, 0, -320px) rotateY(62deg) scale(.9);
}

/* Przy cofaniu kierunek jest lustrzany. */
.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-entering-backward {
    z-index: 1;
    opacity: 0;
    visibility: visible;
    transform: translate3d(-76%, 0, -320px) rotateY(62deg) scale(.9);
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel.is-leaving-backward {
    z-index: 3;
    opacity: 0;
    visibility: visible;
    filter: blur(6px);
    pointer-events: none;
    transform: translate3d(76%, 0, -320px) rotateY(-62deg) scale(.9);
}

.tofaa-club-rotator .tofaa-club-section {
    background: transparent;
}

.tofaa-club-rotator .tofaa-club-section--steps {
    padding-top: 62px;
    padding-bottom: 168px;
}

.tofaa-club-rotator .tofaa-club-section--earn {
    padding-top: 62px;
    padding-bottom: 162px;
}

.tofaa-club-rotator .tofaa-club-section--rewards,
.tofaa-club-rotator .tofaa-club-section--referral,
.tofaa-club-rotator .tofaa-club-section--faq {
    padding-top: 62px;
    padding-bottom: 172px;
}

.tofaa-club-rotator .tofaa-club-faq-layout__intro {
    position: static;
}

@media (max-width: 860px) {
    .tofaa-club-rotator .tofaa-club-jump {
        top: 80px;
    }

    .tofaa-club-drum__viewport {
        min-height: 640px;
    }

    .tofaa-club-rotator .tofaa-club-section--steps,
    .tofaa-club-rotator .tofaa-club-section--rewards,
    .tofaa-club-rotator .tofaa-club-section--referral,
    .tofaa-club-rotator .tofaa-club-section--faq {
        padding-top: 40px;
        padding-bottom: 146px;
    }

    .tofaa-club-rotator .tofaa-club-section--earn {
        padding-top: 40px;
        padding-bottom: 144px;
    }
}

@media (max-width: 620px) {
    .tofaa-club-rotator .tofaa-club-jump {
        top: 70px;
    }

    .tofaa-club-jump button {
        min-height: 32px;
        padding: 9px 12px;
        font-size: 11px;
    }

    .tofaa-club-drum__viewport {
        min-height: 590px;
    }

    .tofaa-club-drum::before,
    .tofaa-club-drum::after {
        width: 96vw;
    }

    .tofaa-club-rotator .tofaa-club-section--steps,
    .tofaa-club-rotator .tofaa-club-section--rewards,
    .tofaa-club-rotator .tofaa-club-section--referral,
    .tofaa-club-rotator .tofaa-club-section--faq {
        padding-top: 22px;
        padding-bottom: 128px;
    }

    .tofaa-club-rotator .tofaa-club-section--earn {
        padding-top: 22px;
        padding-bottom: 126px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tofaa-club-drum__viewport,
    .tofaa-club.is-club-drum-ready .tofaa-club-drum__panel,
    .tofaa-club-jump button {
        transition-duration: .01ms !important;
    }

    .tofaa-club-drum::before,
    .tofaa-club-drum::after {
        display: none;
    }
}

/* 146 — Hero #Tofaanklubu: cała część tekstowa i karta 80 px wyżej. */
@media (min-width: 861px) {
    .tofaa-club-hero__grid {
        transform: translateY(-80px);
    }
}


/* =========================================================
   147 — dopracowanie informacyjnej strony #Tofaanklubu
   ========================================================= */

/* Dekoracja hero zaczyna się dopiero pod navbarem. */
.tofaa-club-hero::before {
    top: 28px;
}

/* Informacja, że operacje wykonuje się wyłącznie w profilu. */
.tofaa-club-profile-note {
    position: relative;
    z-index: 12;
    display: flex;
    width: min(920px, calc(100% - 40px));
    min-height: 58px;
    margin: 18px auto 0;
    padding: 12px 14px 12px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid #171717;
    border-radius: 22px;
    background: rgba(255, 253, 251, .82);
    box-shadow: 0 7px 0 rgba(33, 24, 39, .10);
    backdrop-filter: blur(12px);
    color: rgba(33, 24, 39, .72);
    font-size: 13px;
    line-height: 1.45;
}

.tofaa-club-profile-note strong {
    color: var(--club-purple);
}

.tofaa-club-profile-note a {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 14px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--club-border);
    border-radius: 999px;
    background: var(--club-lime);
    box-shadow: 0 4px 0 var(--club-ink);
    color: var(--club-purple);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease;
}

.tofaa-club-profile-note a:hover,
.tofaa-club-profile-note a:focus-visible {
    outline: none;
    box-shadow: 0 7px 0 var(--club-ink);
    transform: translateY(-3px);
}

.tofaa-club-profile-note a:active {
    box-shadow: 0 2px 0 var(--club-ink);
    transform: translateY(3px);
}

.tofaa-club-profile-note .tofaa-club-icon {
    width: 17px;
    height: 17px;
}

/* Panel poleceń na stronie jest wyłącznie informacyjny. */
.tofaa-club-referral__profile-info {
    display: grid;
    gap: 6px;
    max-width: 650px;
    margin: 24px 0 22px;
    padding: 16px 18px;
    border: 1px solid rgba(33, 24, 39, .22);
    border-radius: 18px;
    background: rgba(255, 253, 251, .72);
    color: rgba(33, 24, 39, .68);
    font-size: 14px;
    line-height: 1.5;
}

.tofaa-club-referral__profile-info strong {
    color: var(--club-purple);
    font-size: 15px;
}

.tofaa-club-referral__steps {
    display: grid;
    gap: 12px;
    max-width: 670px;
    margin: 24px 0 26px;
    padding: 0;
    list-style: none;
}

.tofaa-club-referral__steps li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 253, 251, .78);
    box-shadow: inset 0 0 0 1px var(--club-border);
}

@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-referral__steps li {
        /* Sekcja jest skalowana do 80%; ring 1.25 px daje pełny kontur 1 px po renderowaniu. */
        box-shadow: inset 0 0 0 1.25px var(--club-border);
    }
}

.tofaa-club-referral__step-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--club-border);
    border-radius: 14px;
    background: var(--club-lime);
    color: var(--club-purple);
    box-shadow: 0 4px 0 var(--club-ink);
}

.tofaa-club-referral__step-icon .tofaa-club-icon {
    width: 25px;
    height: 25px;
}

.tofaa-club-referral__step-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.tofaa-club-referral__step-copy strong {
    color: var(--club-purple);
    font-size: 15px;
    line-height: 1.25;
}

.tofaa-club-referral__step-copy > span {
    color: rgba(33, 24, 39, .72);
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 560px) {
    .tofaa-club-referral__steps li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
        padding: 11px 12px 11px 10px;
    }

    .tofaa-club-referral__step-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .tofaa-club-referral__step-icon .tofaa-club-icon {
        width: 22px;
        height: 22px;
    }
}

/* FAQ w stylistyce modułu produktowego, ale o szerszych proporcjach. */
.tofaa-club-rotator .tofaa-club-faq-layout {
    display: grid;
    grid-template-columns: minmax(230px, .42fr) minmax(0, 1.58fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
    padding: clamp(32px, 4vw, 54px);
    border: 1px solid var(--club-border);
    border-radius: 34px;
    background:
        radial-gradient(circle at 8% 90%, rgba(176, 131, 188, .16), transparent 28%),
        #f8eae1;
}

.tofaa-club-rotator .tofaa-club-faq-layout__intro {
    align-self: start;
}

.tofaa-club-rotator .tofaa-club-faq-layout__intro > p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.55;
}

.tofaa-club-rotator .tofaa-club-faq {
    border-top: 1px solid var(--club-border);
}

.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--club-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tofaa-club-rotator .tofaa-club-faq__item button {
    min-height: 72px;
    padding: 14px 2px;
    font-size: clamp(15px, 1.2vw, 19px);
}

.tofaa-club-rotator .tofaa-club-faq__item button:hover,
.tofaa-club-rotator .tofaa-club-faq__item button:focus-visible {
    background: transparent;
}

.tofaa-club-rotator .tofaa-club-faq__item.is-open button {
    padding-bottom: 10px;
}

.tofaa-club-rotator .tofaa-club-faq__answer p {
    padding: 0 62px 20px 2px;
    font-size: 15px;
    line-height: 1.6;
}

/* Cała zawartość pięciu paneli jest wizualnie mniejsza o 20%.
   Szerokość 125% kompensuje skalowanie, więc układ pozostaje wyśrodkowany. */
@media (min-width: 861px) {
    .tofaa-club-rotator {
        --club-panel-scale: .8;
    }

    .tofaa-club-rotator .tofaa-club-drum__panel > .tofaa-club-section {
        width: 100%;
        margin-left: 0;
        transform: none;
        zoom: .8;
    }

    .tofaa-club-drum__viewport {
        min-height: 0;
    }
}

.tofaa-club-final__actions {
    justify-content: center;
}

@media (max-width: 860px) {
    .tofaa-club-hero::before {
        top: 54px;
    }

    .tofaa-club-profile-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .tofaa-club-rotator .tofaa-club-faq-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 620px) {
    .tofaa-club-profile-note {
        width: min(100% - 24px, 920px);
        margin-top: 12px;
        padding: 15px;
        border-radius: 18px;
    }

    .tofaa-club-profile-note a {
        width: 100%;
    }

    .tofaa-club-rotator .tofaa-club-faq-layout {
        padding: 22px 18px;
        border-radius: 26px;
    }

    .tofaa-club-rotator .tofaa-club-faq__item button {
        min-height: 66px;
        font-size: 15px;
    }
}


/* =========================================================
   148 — korekty układu informacyjnego, CTA oraz FAQ
   ========================================================= */

/* Fioletowy akcent w hero; limonkowe podkreślenie pozostaje bez zmian. */
.tofaa-club-hero h1 em {
    color: #7c4fa0;
}

/* Informacja o charakterze strony znajduje się bezpośrednio pod hero. */
.tofaa-club > .tofaa-club-profile-note {
    margin-top: 22px;
    margin-bottom: 26px;
}

/* Przycisk wykorzystuje tę samą animację wciskania co pozostałe limonkowe CTA. */
.tofaa-club-profile-note a.tofaa-club-profile-note__button {
    min-height: 38px;
    padding: 9px 14px;
    box-shadow: var(--club-shadow);
    transform: translateY(0);
}

.tofaa-club-profile-note a.tofaa-club-profile-note__button:hover,
.tofaa-club-profile-note a.tofaa-club-profile-note__button:focus-visible {
    box-shadow: 0 3px 0 var(--club-ink);
    transform: translateY(6px);
}

.tofaa-club-profile-note a.tofaa-club-profile-note__button:active {
    box-shadow: 0 1px 0 var(--club-ink);
    transform: translateY(8px);
}

/* Końcowa sekcja ma jednolite tło strony. */
.tofaa-club-section--final {
    background: #f8eae1;
}

/* Sekcja zdobywania punktów nie zostawia pustej kolumny po usuniętym opisie. */
.tofaa-club-section--earn .tofaa-club-heading {
    max-width: 760px;
    text-align: center;
}

/* FAQ: nagłówek i opis w jednym poziomym rzędzie, pytania pełną szerokością poniżej. */
.tofaa-club-rotator .tofaa-club-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
    overflow: visible;
}

.tofaa-club-rotator .tofaa-club-faq-layout__intro {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(360px, 1.18fr);
    gap: clamp(32px, 6vw, 86px);
    align-items: end;
    width: 100%;
}

.tofaa-club-rotator .tofaa-club-faq-layout__intro h2 {
    max-width: 520px;
}

.tofaa-club-rotator .tofaa-club-faq-layout__copy {
    display: grid;
    align-content: end;
    justify-items: start;
    gap: 18px;
    padding-bottom: 4px;
}

.tofaa-club-rotator .tofaa-club-faq-layout__copy > p {
    margin: 0;
    color: rgba(33, 24, 39, .72);
    font-size: 17px;
    line-height: 1.6;
}

.tofaa-club-rotator .tofaa-club-faq {
    width: 100%;
    border-top: 1px solid var(--club-border);
}

.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open {
    overflow: visible;
    border-bottom: 1px solid var(--club-border);
}

.tofaa-club-rotator .tofaa-club-faq__item h3 {
    margin: 0;
}

.tofaa-club-rotator .tofaa-club-faq__item button {
    min-height: 84px;
    padding: 19px 4px;
    gap: 24px;
    color: var(--club-purple);
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 900;
}

.tofaa-club-rotator .tofaa-club-faq__item.is-open button {
    padding-bottom: 19px;
}

/* Plus jest konstrukcyjnie i animacyjnie taki sam jak w FAQ kart produktów. */
.tofaa-club-rotator .tofaa-club-faq__toggle {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--club-border);
    border-radius: 50%;
    background: var(--club-lime);
    box-shadow: none;
    transform: rotate(0deg);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), background-color .28s ease;
}

.tofaa-club-rotator .tofaa-club-faq__toggle::before,
.tofaa-club-rotator .tofaa-club-faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--club-purple);
    transform: translate(-50%, -50%);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}

.tofaa-club-rotator .tofaa-club-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tofaa-club-rotator .tofaa-club-faq__item.is-open .tofaa-club-faq__toggle {
    box-shadow: none;
    transform: rotate(180deg);
}

.tofaa-club-rotator .tofaa-club-faq__item.is-open .tofaa-club-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.tofaa-club-rotator .tofaa-club-faq__answer p {
    padding: 0 68px 24px 4px;
    color: var(--club-purple);
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 860px) {
    .tofaa-club-rotator .tofaa-club-faq-layout__intro {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
    }

    .tofaa-club-rotator .tofaa-club-faq-layout__copy {
        padding-bottom: 0;
    }
}

@media (max-width: 620px) {
    .tofaa-club > .tofaa-club-profile-note {
        margin-top: 14px;
        margin-bottom: 18px;
    }

    .tofaa-club-rotator .tofaa-club-faq-layout {
        gap: 24px;
    }

    .tofaa-club-rotator .tofaa-club-faq__item button {
        min-height: 72px;
        padding: 15px 2px;
        font-size: 16px;
    }

    .tofaa-club-rotator .tofaa-club-faq__toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .tofaa-club-rotator .tofaa-club-faq__answer p {
        padding: 0 48px 20px 2px;
        font-size: 15px;
    }
}

/* =========================================================
   149 — widoczność informacji klubowej i korekta położenia FAQ
   ========================================================= */

/*
 * Hero został wcześniej podciągnięty o 80 px. Podciągamy również cały
 * następujący po nim obszar programu, aby zachować spójny rytm strony.
 * Gdy informacja profilowa nie jest renderowana, korekta trafia
 * bezpośrednio w obrotową część sekcji.
 */
@media (min-width: 861px) {
    .tofaa-club > .tofaa-club-profile-note {
        margin-top: -143px;
    }

    .tofaa-club > .tofaa-club-hero + .tofaa-club-rotator {
        margin-top: -80px;
    }
}

/* Cała karta FAQ znajduje się 10 px niżej względem nagłówka zakładki. */
.tofaa-club-rotator .tofaa-club-faq-layout {
    position: relative;
    top: 10px;
}

/* Usunięcie przeglądarkowej, kropkowanej ramki po kliknięciu pytania. */
.tofaa-club-rotator .tofaa-club-faq__item button:focus,
.tofaa-club-rotator .tofaa-club-faq__item button:focus-visible {
    outline: none !important;
    outline-offset: 0;
    box-shadow: none;
}

/* =========================================================
   150 — usunięcie bocznych dekoracji tła przy panelu programu
   ========================================================= */
.tofaa-club-rotator::before,
.tofaa-club-rotator::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   151 — całkowite usunięcie bocznych plam i poświat tła
   ========================================================= */
.tofaa-club {
    background: #f8eae1 !important;
}

.tofaa-club__ambient,
.tofaa-club__ambient--one,
.tofaa-club__ambient--two {
    display: none !important;
}

/* =========================================================
   152 — FAQ: pełna górna krawędź karty bez przycinania
   ========================================================= */
/*
 * Karta FAQ była odsuwana wizualnie przez `top`, którego wysokość bębna
 * nie uwzględniała. Przenosimy odstęp do normalnego układu i dokładamy
 * bezpieczny zapas nad kartą, zachowując łączną wysokość sekcji.
 */
.tofaa-club-rotator .tofaa-club-faq-layout {
    position: static;
    top: auto;
    margin-top: 10px;
}

@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-section--faq {
        padding-top: 82px;
        padding-bottom: 152px;
    }
}

@media (min-width: 621px) and (max-width: 860px) {
    .tofaa-club-rotator .tofaa-club-section--faq {
        padding-top: 56px;
        padding-bottom: 130px;
    }
}

@media (max-width: 620px) {
    .tofaa-club-rotator .tofaa-club-section--faq {
        padding-top: 34px;
        padding-bottom: 116px;
    }
}

/* =========================================================
   153 — trwała naprawa przycinania paneli FAQ i Polecenia
   ========================================================= */
/*
 * Źródłem problemu nie był margines samej karty, lecz połączenie
 * skalowania panelu do 80% z pionowym clippingiem viewportu bębna.
 * Jednopikselowa górna krawędź trafiała dokładnie na granicę wycięcia.
 * Dajemy panelom niewielki bezpieczny zapas wewnątrz viewportu i
 * rozszerzamy pionowy obszar klipu bez odsłaniania paneli po bokach.
 */
.tofaa-club-drum__viewport {
    overflow: hidden;
    clip-path: inset(-8px 0 -18px 0);
}

.tofaa-club.is-club-drum-ready .tofaa-club-drum__panel {
    top: 0;
}

/* Górna linia obu dużych kart jest rysowana 2 px wewnątrz elementu,
   więc pozostaje czytelna również po skalowaniu i podczas animacji 3D. */
.tofaa-club-rotator .tofaa-club-faq-layout,
.tofaa-club-rotator .tofaa-club-referral {
    position: relative;
}

.tofaa-club-rotator .tofaa-club-faq-layout::before,
.tofaa-club-rotator .tofaa-club-referral::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: 2px;
    right: 34px;
    left: 34px;
    height: 1px;
    background: var(--club-border);
    pointer-events: none;
}

/* Separatory FAQ są elementami wewnętrznymi, a nie skalowanym borderem.
   Dzięki temu żadna linia pomiędzy pytaniami nie znika na subpikselu. */
.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open {
    position: relative;
    border-bottom: 0;
}

.tofaa-club-rotator .tofaa-club-faq__item:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--club-border);
    pointer-events: none;
}

.tofaa-club-rotator .tofaa-club-faq__item:last-child {
    border-bottom: 1px solid var(--club-border);
}

@media (max-width: 620px) {
    .tofaa-club-rotator .tofaa-club-faq-layout::before,
    .tofaa-club-rotator .tofaa-club-referral::before {
        right: 24px;
        left: 24px;
    }
}

/* =========================================================
   154 — równe kontury po skalowaniu paneli i wyśrodkowanie CTA
   ========================================================= */
/*
 * Panele bębna są na desktopie skalowane do 80%. Zwykły border 1 px
 * po takim przeskalowaniu trafiał na ułamkowe piksele, przez co górne
 * i dolne krawędzie były miejscami cieńsze albo znikały. Kontury
 * rysujemy teraz jako wewnętrzny ring o większej grubości, który po
 * skalowaniu pozostaje równy na całym obwodzie.
 */
@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-faq-layout,
    .tofaa-club-rotator .tofaa-club-referral {
        border: 0;
    }

    .tofaa-club-rotator .tofaa-club-faq-layout {
        box-shadow: inset 0 0 0 1.5px var(--club-border);
    }

    .tofaa-club-rotator .tofaa-club-referral {
        box-shadow:
            inset 0 0 0 1.5px var(--club-border),
            0 14px 0 var(--club-ink),
            0 30px 70px rgba(54, 31, 65, .18);
    }

    /* Dolny kontur kart pozostaje pełny również w górnym rzędzie. */
    .tofaa-club-rotator .tofaa-club-earn-card {
        border: 0;
        box-shadow:
            inset 0 0 0 1.5px var(--club-border),
            0 9px 0 rgba(33, 24, 39, .14),
            var(--club-shadow-soft);
    }

    .tofaa-club-rotator .tofaa-club-earn-card:hover {
        box-shadow:
            inset 0 0 0 1.5px var(--club-border),
            0 14px 0 rgba(33, 24, 39, .15),
            0 28px 54px rgba(54, 31, 65, .17);
    }
}

/* Usunięcie pomocniczych linii, które nakładały się na właściwe kontury. */
.tofaa-club-rotator .tofaa-club-faq-layout::before,
.tofaa-club-rotator .tofaa-club-referral::before {
    content: none !important;
    display: none !important;
}

/* Jednolite separatory wszystkich pytań — także przed ostatnią pozycją. */
.tofaa-club-rotator .tofaa-club-faq {
    border-top: 0;
    box-shadow: inset 0 1.5px 0 var(--club-border);
}

.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open,
.tofaa-club-rotator .tofaa-club-faq__item:last-child {
    border-bottom: 0;
    box-shadow: inset 0 -1.5px 0 var(--club-border);
}

.tofaa-club-rotator .tofaa-club-faq__item::after {
    content: none !important;
    display: none !important;
}

/* Cień przycisku jest uwzględniony w jego optycznym wyśrodkowaniu. */
.tofaa-club-profile-note a.tofaa-club-profile-note__button {
    margin-block: 0;
    align-self: center;
    transform: translateY(-4px);
}

.tofaa-club-profile-note a.tofaa-club-profile-note__button:hover,
.tofaa-club-profile-note a.tofaa-club-profile-note__button:focus-visible {
    transform: translateY(2px);
}

.tofaa-club-profile-note a.tofaa-club-profile-note__button:active {
    transform: translateY(4px);
}

/* =========================================================
   155 — FAQ #Tofaanklubu identyczne konstrukcyjnie z FAQ produktów
   ========================================================= */
/*
 * Cały panel bębna jest na desktopie skalowany do 80%. Dlatego linie
 * FAQ mają przed skalowaniem 1.25 px, co po przeskalowaniu daje równy
 * wizualny 1 px. Usuwamy wszystkie wcześniejsze ringi, pseudo-linie,
 * cienie i pionowe krawędzie listy, aby pozostał dokładnie ten sam
 * układ co na karcie produktu: jedna linia nad listą i jedna pod każdym
 * pytaniem.
 */
.tofaa-club-rotator .tofaa-club-faq-layout {
    border: 1px solid var(--club-border) !important;
    box-shadow: none !important;
}

.tofaa-club-rotator .tofaa-club-faq-layout::before,
.tofaa-club-rotator .tofaa-club-faq-layout::after {
    content: none !important;
    display: none !important;
}

.tofaa-club-rotator .tofaa-club-faq {
    display: block !important;
    gap: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--club-border) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open,
.tofaa-club-rotator .tofaa-club-faq__item:last-child {
    position: relative;
    margin: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-bottom: 1px solid var(--club-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.tofaa-club-rotator .tofaa-club-faq__item::before,
.tofaa-club-rotator .tofaa-club-faq__item::after {
    content: none !important;
    display: none !important;
}

.tofaa-club-rotator .tofaa-club-faq__item button,
.tofaa-club-rotator .tofaa-club-faq__item.is-open button {
    min-height: 84px;
    padding: 19px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--club-purple);
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 900;
    transform: none !important;
}

.tofaa-club-rotator .tofaa-club-faq__item button:hover,
.tofaa-club-rotator .tofaa-club-faq__item button:focus,
.tofaa-club-rotator .tofaa-club-faq__item button:focus-visible,
.tofaa-club-rotator .tofaa-club-faq__item button:active {
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.tofaa-club-rotator .tofaa-club-faq__toggle,
.tofaa-club-rotator .tofaa-club-faq__item.is-open .tofaa-club-faq__toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--club-border) !important;
    border-radius: 50%;
    background: var(--club-lime) !important;
    box-shadow: none !important;
}

.tofaa-club-rotator .tofaa-club-faq__answer p {
    margin: 0 0 12px !important;
    padding: 0 68px 24px 4px;
    color: var(--club-purple);
    font-size: 17px;
    line-height: 1.65;
}

@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-faq-layout {
        border-width: 1.25px !important;
    }

    .tofaa-club-rotator .tofaa-club-faq {
        border-top-width: 1.25px !important;
    }

    .tofaa-club-rotator .tofaa-club-faq__item,
    .tofaa-club-rotator .tofaa-club-faq__item.is-open,
    .tofaa-club-rotator .tofaa-club-faq__item:last-child {
        border-bottom-width: 1.25px !important;
    }

    .tofaa-club-rotator .tofaa-club-faq__toggle,
    .tofaa-club-rotator .tofaa-club-faq__item.is-open .tofaa-club-faq__toggle {
        border-width: 1.25px !important;
    }
}

@media (max-width: 620px) {
    .tofaa-club-rotator .tofaa-club-faq__item button,
    .tofaa-club-rotator .tofaa-club-faq__item.is-open button {
        min-height: 70px;
        padding: 15px 2px !important;
        font-size: 16px;
    }

    .tofaa-club-rotator .tofaa-club-faq__toggle,
    .tofaa-club-rotator .tofaa-club-faq__item.is-open .tofaa-club-faq__toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .tofaa-club-rotator .tofaa-club-faq__answer p {
        padding: 0 48px 20px 2px;
        font-size: 15px;
    }
}

/* =========================================================
   156 — pełny kontur FAQ i jednolite karty zdobywania punktów
   ========================================================= */
/*
 * Górna krawędź dużej karty FAQ była obcinana przez skalowany viewport
 * bębna. Zewnętrzny border zastępujemy pojedynczym ringiem rysowanym
 * całkowicie wewnątrz elementu, więc wszystkie cztery krawędzie mają
 * równą grubość i nie trafiają na granicę clippingu.
 */
.tofaa-club-rotator .tofaa-club-faq-layout {
    border: 0 !important;
    box-shadow: inset 0 0 0 1px var(--club-border) !important;
}

@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-faq-layout {
        box-shadow: inset 0 0 0 1.25px var(--club-border) !important;
    }
}

/* Wszystkie sposoby zdobywania punktów korzystają z jednego,
   jasnofioletowego wariantu karty. */
.tofaa-club-rotator .tofaa-club-earn-card,
.tofaa-club-rotator .tofaa-club-earn-card[class*="tofaa-club-tone--"] {
    --club-card-bg: #eaddec;
    --club-card-accent: #7c4fa0;
    background: #eaddec !important;
}

/* Dekoracyjny plus jest ustawiony równo i w całości mieści się w karcie. */
.tofaa-club-rotator .tofaa-club-earn-card__plus {
    right: 20px;
    bottom: 8px;
    font-size: 128px;
    line-height: .8;
    transform: rotate(90deg);
    transform-origin: 50% 50%;
}

@media (max-width: 620px) {
    .tofaa-club-rotator .tofaa-club-earn-card__plus {
        right: 16px;
        bottom: 8px;
        font-size: 108px;
    }
}

/* =========================================================
   157 — pełne kontury ikon w kartach zdobywania punktów
   ========================================================= */
/*
 * Sekcje bębna są na desktopie skalowane do 80%, przez co zwykły
 * border 1 px na pionowych bokach ikon trafiał czasem między piksele
 * i był częściowo wygładzany przez przeglądarkę. Kontur rysujemy teraz
 * jako wewnętrzny ring, dzięki czemu wszystkie cztery boki są pełne.
 */
.tofaa-club-rotator .tofaa-club-earn-card__icon {
    position: relative;
    border: 0 !important;
    box-shadow:
        inset 0 0 0 1.5px var(--club-border),
        0 7px 0 rgba(33, 24, 39, .18) !important;
    isolation: isolate;
}

.tofaa-club-rotator .tofaa-club-earn-card__icon .tofaa-club-icon {
    position: relative;
    z-index: 1;
}

@media (max-width: 860px) {
    .tofaa-club-rotator .tofaa-club-earn-card__icon {
        box-shadow:
            inset 0 0 0 1px var(--club-border),
            0 7px 0 rgba(33, 24, 39, .18) !important;
    }
}

/* =========================================================
   158 — karta Polecenia bez dolnego cienia
   ========================================================= */
/*
 * Usuwamy wyłącznie zewnętrzny cień dużej karty Polecenia.
 * Wewnętrzny ring zachowuje równy kontur mimo skalowania panelu bębna.
 */
.tofaa-club-rotator .tofaa-club-referral {
    box-shadow: inset 0 0 0 1px var(--club-border) !important;
}

@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-referral {
        box-shadow: inset 0 0 0 1.25px var(--club-border) !important;
    }
}

/* =========================================================
   159 — stałe separatory FAQ również po otwarciu odpowiedzi
   ========================================================= */
/*
 * Przy animowanym rozwijaniu odpowiedzi zwykłe border-bottom potrafiły
 * znikać podczas ponownego rasteryzowania skalowanego panelu bębna.
 * Separatory są teraz rysowane jako wewnętrzne cienie każdego wiersza,
 * więc pozostają widoczne w stanie zamkniętym, otwartym i podczas animacji.
 */
.tofaa-club-rotator .tofaa-club-faq {
    border-top: 0 !important;
    box-shadow: inset 0 1.25px 0 var(--club-border) !important;
}

.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open,
.tofaa-club-rotator .tofaa-club-faq__item:last-child {
    border-bottom: 0 !important;
    box-shadow: inset 0 -1.25px 0 var(--club-border) !important;
}

.tofaa-club-rotator .tofaa-club-faq__item button,
.tofaa-club-rotator .tofaa-club-faq__item.is-open button,
.tofaa-club-rotator .tofaa-club-faq__answer,
.tofaa-club-rotator .tofaa-club-faq__answer > div {
    position: relative;
    z-index: 1;
}

@media (max-width: 860px) {
    .tofaa-club-rotator .tofaa-club-faq {
        box-shadow: inset 0 1px 0 var(--club-border) !important;
    }

    .tofaa-club-rotator .tofaa-club-faq__item,
    .tofaa-club-rotator .tofaa-club-faq__item.is-open,
    .tofaa-club-rotator .tofaa-club-faq__item:last-child {
        box-shadow: inset 0 -1px 0 var(--club-border) !important;
    }
}

/* =========================================================
   160 — FAQ bez pionowych kresek po bokach
   ========================================================= */
/*
 * Wewnętrzne box-shadow użyte jako separatory rysowały również cienkie
 * pionowe fragmenty przy lewej i prawej krawędzi listy. Zastępujemy je
 * pojedynczymi, absolutnie pozycjonowanymi liniami poziomymi.
 */
.tofaa-club-rotator .tofaa-club-faq {
    position: relative;
    border: 0 !important;
    box-shadow: none !important;
}

.tofaa-club-rotator .tofaa-club-faq::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    height: 1.25px;
    background: var(--club-border);
    pointer-events: none;
}

.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open,
.tofaa-club-rotator .tofaa-club-faq__item:last-child {
    position: relative;
    border: 0 !important;
    box-shadow: none !important;
}

.tofaa-club-rotator .tofaa-club-faq__item::before {
    content: none !important;
    display: none !important;
}

.tofaa-club-rotator .tofaa-club-faq__item::after,
.tofaa-club-rotator .tofaa-club-faq__item:not(:last-child)::after,
.tofaa-club-rotator .tofaa-club-faq__item:last-child::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1.25px;
    background: var(--club-border);
    pointer-events: none;
}

@media (max-width: 860px) {
    .tofaa-club-rotator .tofaa-club-faq::before,
    .tofaa-club-rotator .tofaa-club-faq__item::after,
    .tofaa-club-rotator .tofaa-club-faq__item:not(:last-child)::after,
    .tofaa-club-rotator .tofaa-club-faq__item:last-child::after {
        height: 1px;
    }
}

/* =========================================================
   161 — cień CTA „Przejdź do profilu” jak przy nagrodach
   ========================================================= */
/*
 * Przycisk „Przejdź do swoich nagród” znajduje się w panelu
 * skalowanym do 80%, dlatego jego cień 9 px ma wizualnie ok. 7,2 px.
 * Poniższe wartości wyrównują rzeczywistą grubość cienia przycisku
 * profilowego bez zmiany jego położenia i animacji wciskania.
 */
.tofaa-club-profile-note a.tofaa-club-profile-note__button {
    box-shadow: 0 7px 0 var(--club-ink);
}

.tofaa-club-profile-note a.tofaa-club-profile-note__button:hover,
.tofaa-club-profile-note a.tofaa-club-profile-note__button:focus-visible {
    box-shadow: 0 2.5px 0 var(--club-ink);
}

.tofaa-club-profile-note a.tofaa-club-profile-note__button:active {
    box-shadow: 0 1px 0 var(--club-ink);
}

/* 162 — pełne logo Tofaa i kontur misia na karcie klubowej. */
@media (max-width: 620px) {
    .tofaa-club-balance-card__logo {
        height: 34px;
        gap: 8px;
    }

    .tofaa-club-balance-card__wordmark {
        width: 98px;
        height: 34px;
    }

    .tofaa-club-balance-card__bear {
        width: auto !important;
        height: 34px !important;
        min-width: 0;
        flex-basis: auto;
    }
}


/* 164 — logo Tofaa i kontur misia jako dwa zawsze widoczne elementy. */
.tofaa-club-balance-card__top .tofaa-club-balance-card__logo {
    display: inline-flex !important;
    width: max-content !important;
    max-width: none !important;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    overflow: visible !important;
}

.tofaa-club-balance-card__top .tofaa-club-balance-card__bear {
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
}


/* 165 — nieucięty kontur misia przed pełnym logo Tofaa. */
.tofaa-club-balance-card__top .tofaa-club-balance-card__logo {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    overflow: visible !important;
}

.tofaa-club-balance-card__top .tofaa-club-balance-card__bear {
    display: block !important;
    order: 1;
    width: auto !important;
    height: 42px !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
    overflow: visible !important;
}

.tofaa-club-balance-card__top .tofaa-club-balance-card__wordmark {
    order: 2;
}

@media (max-width: 620px) {
    .tofaa-club-balance-card__top .tofaa-club-balance-card__bear {
        height: 34px !important;
    }
}


/* 166 — miś w zielonym kółku z czarną ramką 1px, przed logo Tofaa. */
.tofaa-club-balance-card__top .tofaa-club-balance-card__logo {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    width: max-content !important;
    max-width: none !important;
    overflow: visible !important;
}

.tofaa-club-balance-card__top .tofaa-club-balance-card__bear-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 1;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex: 0 0 36px;
    border: 1px solid var(--club-ink);
    border-radius: 999px;
    background: var(--club-lime);
    overflow: hidden;
}

.tofaa-club-balance-card__top .tofaa-club-balance-card__bear {
    display: block !important;
    width: 18px !important;
    height: 24px !important;
    min-width: 18px !important;
    min-height: 24px !important;
    flex: 0 0 auto !important;
    background: #7C4FA0;
    -webkit-mask: url("../assets/tofaa-club/bear-outline.png") center / contain no-repeat;
    mask: url("../assets/tofaa-club/bear-outline.png") center / contain no-repeat;
    object-fit: unset !important;
    object-position: unset !important;
    overflow: visible !important;
}

.tofaa-club-balance-card__top .tofaa-club-balance-card__wordmark {
    order: 2;
}

@media (max-width: 620px) {
    .tofaa-club-balance-card__top .tofaa-club-balance-card__logo {
        gap: 8px;
    }

    .tofaa-club-balance-card__top .tofaa-club-balance-card__bear-badge {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        flex-basis: 32px;
    }

    .tofaa-club-balance-card__top .tofaa-club-balance-card__bear {
        width: 16px !important;
        height: 21px !important;
        min-width: 16px !important;
        min-height: 21px !important;
    }
}

/* 167 — większe kółko z misiem na karcie klubowej. */
.tofaa-club-balance-card__top .tofaa-club-balance-card__bear-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-basis: 48px;
}

.tofaa-club-balance-card__top .tofaa-club-balance-card__bear {
    width: 24px !important;
    height: 32px !important;
    min-width: 24px !important;
    min-height: 32px !important;
}

@media (max-width: 620px) {
    .tofaa-club-balance-card__top .tofaa-club-balance-card__bear-badge {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        flex-basis: 42px;
    }

    .tofaa-club-balance-card__top .tofaa-club-balance-card__bear {
        width: 21px !important;
        height: 28px !important;
        min-width: 21px !important;
        min-height: 28px !important;
    }
}

/* 168 — przycisk wszystkich pytań wyśrodkowany na dole karty FAQ. */
.tofaa-club-rotator .tofaa-club-faq__all {
    display: flex;
    width: 100%;
    margin-top: 4px;
    padding-top: 4px;
    justify-content: center;
}

.tofaa-club-rotator .tofaa-club-faq__all .tofaa-club-btn {
    min-width: 290px;
    justify-content: center;
}

@media (max-width: 620px) {
    .tofaa-club-rotator .tofaa-club-faq__all .tofaa-club-btn {
        width: 100%;
        min-width: 0;
    }
}

/* 170 — końcowa sekcja CTA przesunięta łącznie 110 px w górę. */
.tofaa-club-section--final {
    margin-top: -110px;
}

/* =========================================================
   179 — dwa misie w sekcji poleceń zamiast kółek TY / +1
   ========================================================= */
.tofaa-club-referral__visual {
    display: flex;
    position: relative;
    min-height: 330px;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(0px, 1.4vw, 14px);
    overflow: visible;
}

.tofaa-club-referral__bear {
    display: block;
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 10px rgba(33, 24, 39, .18));
    pointer-events: none;
    user-select: none;
}

.tofaa-club-referral__bear--heart {
    width: min(54%, 225px);
    transform: translateY(8px);
}

.tofaa-club-referral__bear--catch {
    width: min(46%, 196px);
    transform: translate(-6px, 2px);
}

.tofaa-club-referral__bonus {
    top: 12px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
}

@media (max-width: 860px) {
    .tofaa-club-referral__visual {
        min-height: 290px;
    }

    .tofaa-club-referral__bear--heart {
        width: min(51%, 205px);
    }

    .tofaa-club-referral__bear--catch {
        width: min(43%, 178px);
    }
}

@media (max-width: 560px) {
    .tofaa-club-referral__visual {
        min-height: 245px;
        gap: 0;
    }

    .tofaa-club-referral__bear--heart {
        width: min(54%, 174px);
    }

    .tofaa-club-referral__bear--catch {
        width: min(44%, 150px);
        transform: translate(-8px, 2px);
    }
}

/* =========================================================
   324 — pełny, wycentrowany znak „T” na karcie #Tofaanklubu
   ========================================================= */
.tofaa-club-balance-card__points-icon img {
    top: 50%;
    left: 50%;
    width: 72%;
    height: 72%;
    max-width: none;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

/* =========================================================
   182 — formularz dołączenia dla zalogowanego właściciela konta
   ========================================================= */
.tofaa-club .rbs-club-join {
    display: grid;
    gap: 18px;
    margin: 24px 0 10px;
    padding: clamp(20px, 2.4vw, 28px);
    border: 1px solid #211827;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 9px 0 rgba(33, 24, 39, .14);
    color: #211827;
}

.tofaa-club .rbs-club-join__kicker {
    margin: 0 0 5px;
    color: #7c4fa0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tofaa-club .rbs-club-join h2 {
    margin: 0 0 8px;
    color: #7c4fa0;
    font-size: clamp(27px, 3.1vw, 42px);
    line-height: 1;
}

.tofaa-club .rbs-club-join__copy > p:not(.rbs-club-join__kicker) {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.tofaa-club .rbs-club-join__copy ul {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.tofaa-club .rbs-club-join__copy li {
    position: relative;
    padding-left: 20px;
    font-size: 12px;
    font-weight: 800;
}

.tofaa-club .rbs-club-join__copy li::before {
    position: absolute;
    top: .42em;
    left: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d1d635;
    content: "";
}

.tofaa-club .rbs-club-join__form {
    display: grid;
    gap: 14px;
}

.tofaa-club .rbs-club-join__consent {
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 11px;
    margin: 0;
    padding: 14px;
    align-items: start;
    border: 1px solid rgba(33, 24, 39, .22);
    border-radius: 15px;
    background: #f3e8f4;
    color: #211827;
    cursor: pointer;
    font-size: 12px;
    font-weight: 780;
    line-height: 1.4;
}

.tofaa-club .rbs-club-join__consent input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #7c4fa0;
}

.tofaa-club .rbs-club-join__consent a {
    color: #7c4fa0;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tofaa-club .rbs-club-join__button {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid #171717;
    border-radius: 999px;
    background: #d1d635;
    box-shadow: 0 8px 0 #171717;
    color: #7c4fa0;
    font: inherit;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(0);
    transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s cubic-bezier(.2,.8,.2,1);
}

.tofaa-club .rbs-club-join__button:hover,
.tofaa-club .rbs-club-join__button:focus-visible {
    outline: none;
    box-shadow: 0 2px 0 #171717;
    transform: translateY(6px);
}

.tofaa-club .rbs-club-join__button:active {
    box-shadow: 0 0 0 #171717;
    transform: translateY(8px);
}

.tofaa-club .rbs-club-join__error {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #171717;
    border-radius: 12px;
    background: #ffe2e2;
    color: #8f2020;
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 560px) {
    .tofaa-club .rbs-club-join {
        padding: 19px 16px 24px;
        border-radius: 20px;
    }

    .tofaa-club .rbs-club-join__button {
        width: 100%;
    }
}

/* =========================================================
   Spójne ramki komponentów strony #Tofaanklubu
   ========================================================= */
/*
 * Panele karuzeli na desktopie korzystają z `zoom`, a nie z transformacji
 * całej sekcji. Dzięki temu przeglądarka rysuje zaokrąglone kontury jako
 * osobne elementy i nie pogrubia ich narożników podczas animacji bębna.
 */
.tofaa-club-rotator .tofaa-club-step,
.tofaa-club-rotator .tofaa-club-earn-card,
.tofaa-club-rotator .tofaa-club-reward,
.tofaa-club-rotator .tofaa-club-referral,
.tofaa-club-rotator .tofaa-club-faq-layout {
    border: 1px solid #171717 !important;
}

.tofaa-club-rotator .tofaa-club-step__icon,
.tofaa-club-rotator .tofaa-club-earn-card__icon,
.tofaa-club-rotator .tofaa-club-reward__icon,
.tofaa-club-rotator .tofaa-club-referral__step-icon,
.tofaa-club-rotator .tofaa-club-faq__toggle,
.tofaa-club-rotator .tofaa-club-btn {
    border: 1px solid #171717 !important;
}

/* Wiersze poleceń dostają prawdziwy border zamiast grubszego inset-ringu. */
.tofaa-club-rotator .tofaa-club-referral__steps li {
    border: 1px solid #171717 !important;
    box-shadow: none !important;
}

/* Usuwamy wyłącznie sztuczne ringi kompensujące dawne skalowanie. */
.tofaa-club-rotator .tofaa-club-faq-layout,
.tofaa-club-rotator .tofaa-club-referral {
    box-shadow: none !important;
}

.tofaa-club-rotator .tofaa-club-earn-card,
.tofaa-club-rotator .tofaa-club-earn-card:hover {
    box-shadow: var(--club-shadow-soft) !important;
}

.tofaa-club-rotator .tofaa-club-earn-card__icon {
    box-shadow: 0 7px 0 rgba(33, 24, 39, .18) !important;
}

/* Linie FAQ mają zawsze dokładnie 1 px. */
.tofaa-club-rotator .tofaa-club-faq::before,
.tofaa-club-rotator .tofaa-club-faq__item::after,
.tofaa-club-rotator .tofaa-club-faq__item:not(:last-child)::after,
.tofaa-club-rotator .tofaa-club-faq__item:last-child::after {
    height: 1px !important;
}

.tofaa-club-rotator .tofaa-club-faq__toggle,
.tofaa-club-rotator .tofaa-club-faq__item.is-open .tofaa-club-faq__toggle {
    box-shadow: none !important;
}

/* CTA w sekcji poleceń zaczyna się dokładnie 10 px pod informacją o zgodzie. */
.tofaa-club-referral__content > .tofaa-club-btn {
    margin-top: 10px;
}

@media (min-width: 861px) {
    /* Zawartość panelu ma zoom .8, więc 12.5 px daje widoczny odstęp 10 px. */
    .tofaa-club-rotator .tofaa-club-referral__content > .tofaa-club-btn {
        margin-top: 12.5px;
    }
}

/*
 * Kontury sekcji są rysowane wyłącznie do wewnątrz elementów. Dzięki temu
 * żadna część linii nie wypada na ułamkowej, zewnętrznej krawędzi panelu
 * pomniejszonego do 80%. Nie łączymy borderu, gradientu ani pseudoelementu.
 */
.tofaa-club-rotator .tofaa-club-referral {
    border: 0 !important;
    background:
        radial-gradient(circle at 9% 94%, rgba(209, 214, 53, .58), transparent 17rem),
        linear-gradient(135deg, #eaddec, #fff8ef 68%) !important;
    box-shadow: inset 0 0 0 1px #171717 !important;
}

.tofaa-club-rotator .tofaa-club-faq-layout {
    border: 0 !important;
    background:
        radial-gradient(circle at 8% 90%, rgba(176, 131, 188, .16), transparent 28%),
        #f8eae1 !important;
    box-shadow: inset 0 0 0 1px #171717 !important;
}

.tofaa-club-rotator .tofaa-club-referral__steps li {
    border: 0 !important;
    background: #fffdfb !important;
    box-shadow: inset 0 0 0 1px #171717 !important;
}

.tofaa-club-rotator .tofaa-club-referral::before,
.tofaa-club-rotator .tofaa-club-referral::after,
.tofaa-club-rotator .tofaa-club-faq-layout::before,
.tofaa-club-rotator .tofaa-club-faq-layout::after,
.tofaa-club-rotator .tofaa-club-referral__steps li::before,
.tofaa-club-rotator .tofaa-club-referral__steps li::after {
    content: none !important;
    display: none !important;
}

@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-referral,
    .tofaa-club-rotator .tofaa-club-faq-layout,
    .tofaa-club-rotator .tofaa-club-referral__steps li {
        /* 1.5 px przed zoomem .8 daje stabilny wizualnie kontur ok. 1 px. */
        box-shadow: inset 0 0 0 1.5px #171717 !important;
    }
}

/*
 * Separatory FAQ są częścią tła listy i każdego wiersza. Osobne
 * pseudoelementy potrafiły po zwinięciu odpowiedzi trafić między piksele
 * skalowanego panelu i znikać. Warstwa tła porusza się razem z wierszem.
 */
.tofaa-club-rotator .tofaa-club-faq {
    background-image: linear-gradient(#171717, #171717) !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    background-size: 100% 1px !important;
}

.tofaa-club-rotator .tofaa-club-faq__item,
.tofaa-club-rotator .tofaa-club-faq__item.is-open,
.tofaa-club-rotator .tofaa-club-faq__item:last-child {
    background-image: linear-gradient(#171717, #171717) !important;
    background-position: left bottom !important;
    background-repeat: no-repeat !important;
    background-size: 100% 1px !important;
}

.tofaa-club-rotator .tofaa-club-faq::before,
.tofaa-club-rotator .tofaa-club-faq::after,
.tofaa-club-rotator .tofaa-club-faq__item::before,
.tofaa-club-rotator .tofaa-club-faq__item::after,
.tofaa-club-rotator .tofaa-club-faq__item:not(:last-child)::after,
.tofaa-club-rotator .tofaa-club-faq__item:last-child::after {
    content: none !important;
    display: none !important;
}

@media (min-width: 861px) {
    .tofaa-club-rotator .tofaa-club-faq,
    .tofaa-club-rotator .tofaa-club-faq__item,
    .tofaa-club-rotator .tofaa-club-faq__item.is-open,
    .tofaa-club-rotator .tofaa-club-faq__item:last-child {
        /* Panel ma zoom 80%: 1.25 px skaluje się do równego wizualnego 1 px. */
        background-size: 100% 1.25px !important;
    }
}

/* ==========================================================================
   #Tofaanklub 2.39 — karta +30 px i ważność salda w prawym dolnym rogu
   ========================================================================== */
.tofaa-club-balance-card__tag--expiry {
    position: absolute;
    right: 34px;
    bottom: 28px;
    z-index: 2;
    display: inline-grid;
    width: max-content;
    min-width: 112px;
    min-height: 0;
    padding: 7px 13px;
    gap: 2px;
    justify-items: center;
    text-transform: none;
}

.tofaa-club-balance-card__tag--expiry small {
    color: rgba(255,255,255,.76);
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tofaa-club-balance-card__tag--expiry strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .025em;
}

@media (max-width: 620px) {
    .tofaa-club-balance-card__tag--expiry {
        right: 24px;
        bottom: 22px;
        min-width: 100px;
        padding: 6px 10px;
    }

    .tofaa-club-balance-card__tag--expiry small {
        font-size: 7px;
    }

    .tofaa-club-balance-card__tag--expiry strong {
        font-size: 11px;
    }
}

/* ==========================================================================
   #Tofaanklub 2.40 — stabilny układ karty i ważność salda
   ========================================================================== */
/* Data ważności jest elementem nakładanym na kartę, więc nie może wpływać
   na położenie numeru karty, salda ani logo. */
.tofaa-club-balance-card.is-logged-in > .tofaa-club-balance-card__tag--expiry {
    position: absolute !important;
    top: auto !important;
    right: 34px !important;
    bottom: 28px !important;
    left: auto !important;
    z-index: 3 !important;
    width: max-content !important;
    min-width: 112px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    transform: none !important;
    translate: none !important;
}

@media (max-width: 620px) {
    .tofaa-club-balance-card.is-logged-in > .tofaa-club-balance-card__tag--expiry {
        top: auto !important;
        right: 24px !important;
        bottom: 22px !important;
        left: auto !important;
        min-width: 100px !important;
        padding: 6px 10px !important;
    }
}


/* ========================================================================== 
   Tofaa 2.41 — przywrócenie oryginalnej szerokości karty
   ========================================================================== */
/* Nie wymuszamy globalnej szerokości karty. Na stronie #Tofaanklubu działa
   bazowe 460 px, a w profilu własny, bardziej kompaktowy rozmiar modułu. */

/* ========================================================================== 
   Tofaa 2.48 — dedykowane grafiki kuponów na kartach nagród
   ========================================================================== */
.tofaa-club-reward__icon--asset {
    width: 94px !important;
    height: 68px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.tofaa-club-reward__icon--asset img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================================================== 
   Tofaa 2.49 — dedykowane grafiki nagród na publicznej stronie #Tofaanklubu
   ========================================================================== */
.tofaa-club-reward__top {
    position: relative;
}
.tofaa-club-reward__icon--asset {
    display: block !important;
    width: clamp(132px, 10vw, 164px) !important;
    height: auto !important;
    aspect-ratio: 3186 / 2458 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}
.tofaa-club-reward__icon--asset img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 6px 0 rgba(124,79,160,.12));
}
.tofaa-club-reward__top:has(.tofaa-club-reward__icon--asset) {
    min-height: 126px;
    align-items: center;
    justify-content: center;
}
.tofaa-club-reward__top:has(.tofaa-club-reward__icon--asset) .tofaa-club-reward__ready {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}
.tofaa-club-reward:has(.tofaa-club-reward__icon--asset) .tofaa-club-reward__points {
    margin-top: 16px;
}
@media (max-width: 620px) {
    .tofaa-club-reward__icon--asset {
        width: min(154px, 52vw) !important;
    }
    .tofaa-club-reward__top:has(.tofaa-club-reward__icon--asset) {
        min-height: 116px;
    }
}


/* ========================================================================== 
   Tofaa 2.50 — większe SVG nagród na publicznej stronie #Tofaanklubu
   ========================================================================== */
.tofaa-club-reward__icon--asset {
    width: clamp(178px, 13vw, 214px) !important;
}
.tofaa-club-reward__top:has(.tofaa-club-reward__icon--asset) {
    min-height: 156px;
}
.tofaa-club-reward:has(.tofaa-club-reward__icon--asset) .tofaa-club-reward__points {
    margin-top: 18px;
}
@media (max-width: 620px) {
    .tofaa-club-reward__icon--asset {
        width: min(184px, 64vw) !important;
    }
    .tofaa-club-reward__top:has(.tofaa-club-reward__icon--asset) {
        min-height: 138px;
    }
}
