@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


:root {
    --green: #A6FF3D;
    --green-dark: #8DF928;
    --green-dim: rgba(166, 255, 61, 0.15);
    --green-dim2: rgba(166, 255, 61, 0.08);
    --bg: #0A0E07;
    --bg-card: #11160C;
    --card: #FFFFFF0B;
    --card2: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.035) 100%);
    --border: rgba(166, 255, 61, 0.18);
    --border-soft: #FFFFFF1F;
    --text: #F4F7F5;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.4);
    --btn-gradient: linear-gradient(105.3deg, #A6FF3D 0%, #8DF928 100%);
    --radius-lg: 24px;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: 69px;
}

html,
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer
}

/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background: #0A0E07;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.preloader-inner {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center
}

.preloader-logo {
    width: 32px;
    height: 32px;
    background: var(--btn-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(166, 255, 61, 0.15);
    border-top-color: #A6FF3D;
    animation: spin .9s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* ANIMATIONS */
@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(166, 255, 61, .5)
    }

    50% {
        box-shadow: 0 0 0 10px rgba(166, 255, 61, 0)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateX(20%) translateY(0)
    }

    50% {
        transform: translateX(20%) translateY(-12px)
    }
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(166, 255, 61, .2))
    }

    50% {
        filter: drop-shadow(0 0 50px rgba(166, 255, 61, .4))
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1)
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1)
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0)
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1)
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0)
}

.reveal-scale {
    opacity: 0;
    transform: scale(.96);
    transition: opacity .7s cubic-bezier(.25, .8, .25, 1), transform .7s cubic-bezier(.25, .8, .25, 1)
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1)
}

.delay-1 {
    transition-delay: .08s
}

.delay-2 {
    transition-delay: .16s
}

.delay-3 {
    transition-delay: .24s
}

.delay-4 {
    transition-delay: .32s
}

.delay-5 {
    transition-delay: .4s
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    cursor: pointer
}

.btn:hover {
    transform: translateY(-1px)
}

.btn:active {
    transform: translateY(0)
}

.btn-primary {
    background: var(--btn-gradient);
    color: #0B1A00;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(141, 249, 40, .25)
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(141, 249, 40, .45)
}

.btn-secondary {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .1)
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .1)
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15)
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .3)
}

.btn-lg {
    padding: 15px 24px;
    font-size: 14px;
    border-radius: var(--radius-sm)
}

/* HEADER */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 7, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--btn-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.logo-icon svg {
    width: 14px;
    height: 14px
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.3px
}

.logo-text span {
    color: var(--green)
}

nav {
    display: flex;
    align-items: center;
    gap: 4px
}

nav a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    transition: color .2s, background .2s
}

nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .04)
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px
}

.lang-toggle {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted)
}

.lang-toggle button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    padding: 4px 6px;
    transition: color .2s
}

.lang-toggle button.active {
    color: #fff
}

.lang-toggle .sep {
    color: rgba(255, 255, 255, .2);
    padding: 0 2px
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.burger.open span:nth-child(2) {
    opacity: 0
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 7, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    padding: 20px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 4px
}

.mobile-menu.open {
    display: flex
}

.mobile-menu a {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 30px;
    border-bottom: 1px solid var(--border-soft)
}

.mobile-menu a:last-of-type {
    border-bottom: none
}

.mobile-menu .btn {
    margin-top: 12px;
    width: 100%
}

.mobile-menu .btn-primary {
    color: black;
    background-color: var(--green);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 40px;
    background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(141, 249, 40, .10) 0%, transparent 65%), radial-gradient(ellipse 40% 50% at 100% 30%, rgba(166, 255, 61, .08) 0%, transparent 60%)
}

.hero-inner {
    display: flex;
    gap: 42px;
    align-items: start;
    min-height: 540px
}

.hero-content {
    min-width: 40%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(166, 255, 61, .08);
    border: 1px solid rgba(166, 255, 61, .25);
    border-radius: 999px;
    padding: 6px 14px 6px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 28px
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-green 2s infinite
}

.hero h1 {
    font-size: clamp(40px, 5.2vw, 88px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2.5px;
    margin-bottom: 28px
}

.hero h1 .green {
    background: var(--btn-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 660px
}

.hero-desc strong {
    color: #fff;
    font-weight: 600
}

.hero-desc .green {
    color: var(--green);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    max-width: 60%;
}

.hero-buttons .btn-lg{
    width: 100%;
}
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(124.22deg, #172414 0%, #050805 62%),
        radial-gradient(73.94% 155.28% at 34% 70%, rgba(140, 255, 46, 0.18) 0%, rgba(140, 255, 46, 0) 28%),
        radial-gradient(56.44% 118.53% at 50% 45%, rgba(140, 255, 46, 0.26) 0%, rgba(140, 255, 46, 0) 34%);
    height: 586px;
    min-height: 450;
    opacity: 1;
    border-radius: 38px;
    width: 100%;


}

.hero-athlete {
    position: absolute;
    width: 110%;
    max-width: 620px;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    animation: glow 4s ease-in-out infinite
}

.hero-phone {
    position: relative;
    z-index: 2;
    width: 310px;
    max-width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
    animation: float 5s ease-in-out infinite;
    transform: translateX(20%);
    left: 125px;
}



/* PROMO */
#partners {
    margin-top: 16px;
}

.promo-grid {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.promo-row {
    display: flex;
    gap: 20px;
}

.promo-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.promo-card--image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.mission-ref-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-ref-bg {
    max-height: 692px;
    border-radius: 32px;
    overflow: hidden;
}

.promo-card .btn {
    margin-top: auto;
}

.promo-ref {
    background: linear-gradient(135deg, #131A0C 0%, #1A2410 100%);
    border: 1px solid var(--border-soft)
}

.promo-ref-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    background: url('/images/friends.png') center right/cover no-repeat;
    mask-image: linear-gradient(to right, transparent 0%, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
    pointer-events: none;
    opacity: .8;
}


.promo-ref>* {
    z-index: 1
}

.promo-partner {
    background: var(--card);
    border: 1px solid var(--border-soft)
}

.promo-card h2 {
    font-size: clamp(32px, 2.8vw, 56px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1
}

.promo-card h2 .green {
    color: var(--green)
}

.promo-card p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.promo-card.promo-ref p {
    max-width: 61%;
}

.promo-card.promo-card--image {
    .partner-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .partner-card {
        background: var(--card);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius);
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 16px;
        transition: border-color .2s;
        min-height: 180px;
    }

    .partner-card:hover {
        border-color: var(--border);
    }

    .partner-card-icon {
        width: 44px;
        height: 44px;
        background: var(--green-dim2);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        line-height: 1;
    }

    .partner-card__body {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .partner-card__body h4 {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text);
    }

    .partner-card__body p {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.5;
    }

    @media (max-width: 640px) {
        .partner-cards {
            grid-template-columns: 1fr;
        }
    }
}

.partner-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px
}

.partner-card {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--card2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 14px;
    transition: border-color .3s
}

.partner-card:hover {
    border-color: var(--border)
}

.partner-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--green-dim);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0
}

.partner-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3
}

.partner-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 4px;
    margin-bottom: 0;
}

.promo-partner .btn {
    width: fit-content
}

.promo-ref .btn {
    margin-top: auto;
    align-self: flex-start
}

.faq {
    margin-top: 18px;
}

/* FAQ */
.faq h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1.8px
}

.faq-inner {
    display: flex;
    gap: 20px;
    align-items: stretch
}

.faq-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: #0F1408;
    min-height: 320px;
    width: 100%;
    max-height: 522px;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xs);
    overflow: hidden;
    transition: border-color .2s
}

.faq-item.open {
    border-color: var(--border)
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    gap: 16px;
    user-select: none;
    background: none;
    border: none;
    color: #F4F7F5;
    width: 100%;
    text-align: left;
    transition: color .4s ease
}

.faq-question:hover {
    color: var(--green)
}

.faq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 300;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s
}

.faq-item.open .faq-icon {
    transform: rotate(45deg)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.25, .8, .25, 1)
}

.faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7
}

/* CTA */
#join {
    margin-top: 30px;
}

.cta-card {
    position: relative;
    background: url('/images/cta-bg.png') center/cover no-repeat, #0A0E07;
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 7, .2) 0%, rgba(10, 14, 7, .5) 100%);
    pointer-events: none
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center
}

.cta-content h2 {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 28px;
    line-height: 1.1
}

.cta-content h2 .green {
    background: var(--btn-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

/* FOOTER */
footer {
    background: var(--bg);
    padding: 56px 0 32px
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 16px;
    max-width: 240px
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 16px
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
    transition: color .2s
}

.footer-col a:hover {
    color: var(--green)
}

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-dim)
}

/* SCROLL PROGRESS */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--btn-gradient);
    z-index: 200;
    transition: width .1s linear;
    width: 0
}

/* RESPONSIVE */




@media (max-width: 1100px) {
    .promo-grid {
        grid-template-columns: 1fr
    }


    .promo-card>.btn, .promo-ref .btn {
        width: 100%;
    }

}

@media(max-width:1024px) {

    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1fr
    }
        .faq-image {
        display: none
    }
}

@media(max-width:768px) {

    nav,
    .lang-toggle,
    .header-right .btn {
        display: none
    }

    .burger {
        display: flex
    }

    .hero {
        padding: 32px 0
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: auto
    }

    .hero-visual {
        order: -1;
        height: 320px;
        display: block;
        position: absolute;
        z-index: -1;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        top: 45px;
        height: none;
        background: transparent;
    }

    .hero-athlete {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
        animation: glow 4s ease-in-out infinite;
        left: auto;
    }

    .hero-phone {
        max-width: 100%;
        margin-left: auto;
        transform: translateX(20%);
        left: 0;
    }



    .hero h1 {
        letter-spacing: -1.5px
    }

    .partner-cards {
        flex-direction: column;
    }

    .promo-card {
        padding: 28px 24px;
        min-height: auto
    }

    .promo-ref-bg {
        width: 100%;
        opacity: .3
    }

    .partner-cards {
        grid-template-columns: 1fr
    }

    .partner-card-icon {
        margin-bottom: 0
    }

    .partner-card {
        display: flex;
        align-items: center;
        gap: 12px
    }

    .faq-inner {
        flex-direction: column;
        gap: 16px
    }



    .cta-card {
        padding: 56px 24px
    }

    .footer-main {
        grid-template-columns: 1fr 1fr
    }

    .footer-brand {
        grid-column: 1/-1
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center
    }
}

@media(max-width:480px) {


    .hero-buttons {
        width: 59%;

        .btn {
            width: 100%;
        }
    }

    .hero-visual {
        bottom: 216px;
        right: -57px;
        top: 15px;
    }

    .hero-athlete {
        position: relative;
        width: 267px;
        max-width: 620px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
        animation: glow 4s ease-in-out infinite;
    }

    .hero-phone {
        display: none;
    }

    .promo-card.promo-card--image {
        .partner-card {
            padding: 14px;
        }
    }

    .promo-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .faq h2 {
        margin-bottom: 12px;
    }

    .container {
        padding: 0 12px
    }

    .stats-grid {
        grid-template-columns: 1fr
    }

    .steps-grid {
        grid-template-columns: 1fr
    }

    .promo-card {
        padding: 20px 16px;
        min-height: auto
    }

    .cta-card {
        padding: 26px 16px;
    }

    .rules-table th,
    .rules-table td,
    .rescue,
    .step-card,
    .feature-card {
        padding: 16px
    }

    .faq-question {
        padding: 16px
    }

    .money-cards {
        grid-template-columns: 1fr 1fr
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 14px
    }
}

@media(max-width:420px) {
    .hero-buttons {
        width: 70%;

        .btn {
            width: 100%;
        }
    }
}

/* ===== CHALLENGE BUILDER ===== */


.cb-container {
    background: #FFFFFF0B;
    padding: 36px 36px 24px 36px;
    border-radius: 28px;
    position: relative;

    /* Свечение от правого бока с угасанием к центру */
    box-shadow: inset -100px 0 100px rgba(141, 249, 40, 0.08);
}


.cb-header {
    margin-bottom: 48px;
}

.cb-header h2 {
    font-size: clamp(22px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.cb-header .section-subtitle {
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    max-width: 1000px;
    color: #FFFFFF9E;
}

.cb-steps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cb-step {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .2s;
}

.cb-step:hover {
    border-color: var(--border);
}

.cb-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: var(--color-chartreuse-green-59112, #8CFF2E1C);
    box-shadow: 0px 0px 24px 0px #8CFF2E24;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-step h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.cb-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== PENALTY DISTRIBUTION ===== */

.penalty-block {
    margin-top: 32px;
    overflow: hidden;
}

.pen-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: var(--card);
    gap: 24px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 36px;
    box-shadow: inset -100px 0 100px rgba(141, 249, 40, 0.08);

}



.pen-right {
    background: linear-gradient(180deg, rgba(12, 20, 10, 0.88) 0%, rgba(5, 9, 5, 0.92) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px;
    border-radius: 20px;
    border-top: 1px solid #FFFFFF12;
}

.pen-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: radial-gradient(ellipse at bottom center, rgb(0 255 100 / 15%) 0%, transparent 70%);
    pointer-events: none;
}

.pen-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dim);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px 6px 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 20px;
}

.pen-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
}

.pen-left h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.pen-left h2 .green {
    color: var(--green);
}

.pen-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 540px;
}

.pen-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.pen-feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pen-feature-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--green-dim2);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pen-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.pen-feature p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.pen-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--green-dim2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.pen-note-ico {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

.pen-note p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.pen-note strong {
    color: var(--green);
}

/* RIGHT VISUAL */
.pen-example-label {
    width: 100%;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pen-example-label strong {
    color: var(--text);
}

.pen-player-fail {
    width: 100%;
    max-width: 320px;
    background: rgba(255, 80, 80, 0.06);
    border: 1px solid rgba(255, 80, 80, 0.3);
    border-radius: var(--radius-sm);
    padding: 18px;
    position: relative;
}

.pen-fail-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 80, 80, 0.15);
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.pen-fail-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.pen-fail-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.pen-fail-amount {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b6b;
}

.pen-arrow-down {
    color: var(--green);
    margin: 10px 0;
    display: flex;
}

.pen-pool {
    width: 100%;
    max-width: 320px;
    background: var(--green-dim2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(140, 255, 46, 0.12);
}

.pen-pool-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
}

.pen-pool-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.pen-recipients {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.pen-recipient {
    background: rgba(140, 255, 46, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.pen-ok-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-dim);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.pen-recipient-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.pen-recipient-sub {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 8px;
    line-height: 1.4;
}

.pen-recipient-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
}

.pen-steps {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pen-step {
    padding: 15px;
    border: 1px solid #FFFFFF12;
    border-radius: 12px;
}

.pen-step-num {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.pen-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .pen-card {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {


    .pen-features {
        grid-template-columns: 1fr;
    }

    .pen-recipients,
    .pen-steps {
        grid-template-columns: 1fr;
    }
}

/* MODES */
.cb-modes {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 18px;
    margin-top: 18px;
}

.cb-mode-card,
.cb-how-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    position: relative;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: inset -60px 0 100px rgba(141, 249, 40, 0.08);
    overflow: hidden;
}

.cb-mode-card img {
    position: absolute;
    bottom: -112px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    width: 325px;
    opacity: 65%;
}

.cb-mode-card h3,
.cb-how-card h3 {
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 35px;
}

.cb-mode-card>p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cb-timelapse {
    margin-top: 18px;
    padding-top: 28px;
    background: var(--card);
    position: relative;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: inset -60px 0 100px rgba(141, 249, 40, 0.08);
    overflow: hidden;
}

.cb-timelapse h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: var(--green);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cb-timelapse p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.cb-timelapse-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cb-timelapse-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.cb-timelapse-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-dim2);
    box-shadow: 0 0 24px rgba(140, 255, 46, 0.25);
    border: 1px solid var(--border);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-timelapse-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.cb-timelapse-arrow {
    color: var(--green);
    flex-shrink: 0;
    height: 64px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-timelapse-arrow svg {
    width: 100%;
    height: auto;
}

.cb-timelapse-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--green-dim2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.cb-timelapse-note-ico {
    color: var(--green);
    flex-shrink: 0;
    display: flex;
}

.cb-timelapse-note p {
    font-size: 13px;
    color: var(--green);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 550px) {
    .cb-timelapse-flow {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .cb-timelapse-step {
        width: 100%;
    }

    .cb-timelapse-arrow {
        width: 64px;
        height: 36px;
        transform: rotate(90deg);
    }

    .cb-timelapse-arrow svg {
        width: auto;
    }
}

.cb-modes-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cb-mode-col {
    padding: 22px;
    border: 1px solid #FFFFFF1A;
    background: #FFFFFF0A;
    border-radius: 26px;
}

.cb-mode-col--green {
    background: #8CFF2E0F;
    border: 1px solid #8CFF2E4D;

    .cb-mode-label {
        color: #8CFF2E;
    }
}


.cb-mode-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cb-mode-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cb-mode-list li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.cb-ok {
    color: var(--green);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* HOW CARD */
.cb-how-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 60px;
    line-height: 1.6;
}

.cb-how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 16px;
    align-items: stretch;
    flex: 1;
    /* занимает всё оставшееся место в .cb-how-card */
}

.cb-how-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .2s;
}

.cb-how-step:hover {
    border-color: var(--border);
}


.cb-how-step-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cb-how-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cb-how-num {
    color: var(--green);
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-how-ico {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: var(--color-chartreuse-green-59112, #8CFF2E1C);
    box-shadow: 0px 0px 24px 0px #8CFF2E24;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-how-step h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cb-how-step p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== TRUST FEATURES ===== */
.trust-features {
    padding: 60px 0 0;
}

.tf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.tf-card {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .2s;
}

.tf-card:hover {
    border-color: var(--border);
}

.tf-icon {
    color: var(--green);
    width: 40px;
    height: 40px;
    background: var(--green-dim2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tf-card h4 {
    font-size: 16px;
    font-weight: 600;
}

.tf-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* MONEY + CABINET BOTTOM */
.tc-bottom {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
    align-items: flex-start;
}

.tc-money {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
}

.tc-money h2 {
    font-size: clamp(22px, 2.5vw, 26px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.tc-money-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.tc-money-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tc-money-card.tc-money-danger {
    border-color: rgba(255, 80, 80, 0.25);
    background: rgba(255, 80, 80, 0.05);
}

.tc-money-icon {
    color: var(--green);
    width: 36px;
    height: 36px;
    background: var(--green-dim2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tc-money-card.tc-money-danger .tc-money-icon {
    color: #ff6b6b;
    background: rgba(255, 80, 80, 0.1);
}

.tc-money-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}

.tc-money-title {
    font-size: 14px;
    font-weight: 600;
}

.tc-red {
    color: #ff6b6b;
}

.tc-money-note {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* CABINET RIGHT */
.tc-cabinet {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: inset -6px 0 95px rgba(141, 249, 40, 0.08);
}

.tc-cabinet h2 {
    font-size: clamp(22px, 2.5vw, 26px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.tc-cabinet .section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.tc-cabinet-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-start;
}

.tc-cab-col {
    padding: 20px;
    border-radius: 26px;
    border: 1px solid #FFFFFF1A;
    background: #FFFFFF0A;

}

.tc-cab-col-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.tc-cab-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tc-cab-list li {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 15;
    gap: 7px;
    line-height: 1.4;
}

.tc-cmd-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tc-cmd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.tc-cmd-row code {
    background: rgba(166, 255, 61, 0.1);
    color: var(--green);
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Inter', monospace;
}

.tc-cmd-hl {
    background: var(--green-dim2);
    border-radius: 6px;
}

/* PROFILE CARD */
.tc-cab-profile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 18px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tc-cab-profile-name {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tc-level {
    font-size: 11px;
    color: var(--green);
    font-weight: 500;
}

.tc-cab-balance {
    font-size: 26px;
    font-weight: 700;
    color: var(--green);
}

.tc-cab-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tc-stat-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 2px;
}

.tc-stat-val {
    font-size: 14px;
    font-weight: 600;
}

.tc-cab-challenge {
    background: var(--green-dim2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tc-chall-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tc-chall-val {
    font-size: 12px;
    font-weight: 600;
}

.tc-chall-status {
    font-size: 11px;
    color: var(--green);
    font-weight: 600;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .cb-how-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .cb-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .promo-card.promo-ref p {
        max-width: 100%;
    }

    .tc-cabinet-cols {
        grid-template-columns: 1fr 1fr;
    }

    .tc-cab-profile {
        grid-column: span 2;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
    }

    .cb-modes-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .cb-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cb-modes {
        grid-template-columns: 1fr;
    }

    .cb-mode-card img {
        opacity: 30%;
    }

    .cb-how-desc {
        margin-bottom: 32px;
    }


}

@media (max-width: 900px) {


    .tc-bottom {
        grid-template-columns: 1fr;
    }

    .tf-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cb-how-steps {
        grid-template-columns: repeat(2, 1fr);
    }


    .promo-card--image {
        grid-template-columns: 1fr;
    }

    .mission-ref-bg {
        max-height: 390px;
    }

    .promo-row {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .cb-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tf-grid {
        grid-template-columns: 1fr;
    }

    .tf-card, .cb-step {
        flex-direction: row;
    }

    .tc-cabinet-cols {
        grid-template-columns: 1fr;
    }

    .tc-cab-profile {
        grid-column: span 1;
    }
}

@media (max-width: 550px) {
    .cb-steps-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .cb-container, .cb-mode-card, .cb-how-card, .tf-card, .tc-money, .tc-cabinet, .pen-card, .pen-right {
        padding: 20px 16px;
    }

    .mission-ref-bg {
        max-height: 200px;
    }

    .cb-how-step {
        padding: 8px;
    }

    .tc-cab-col, .tc-money-card {
        padding: 14px;
    }

    .cb-how-ico, .cb-step-icon {
        width: 40px;
        height: 40px;
    }

}

@media screen and (max-width: 450px) {
    .cb-how-steps {
        grid-template-columns: repeat(1, 1fr);
    }
}