.community-rewards {
    --cr-panel: #141721;
    --cr-panel-alt: #0c0d13;
    --cr-border: rgba(137, 162, 255, 0.12);
    --cr-text: #f4f7ff;
    --cr-muted: #8b96b8;
    --cr-accent: #00baef;
    width: calc(100% - 32px);
    max-width: 1248px;
    margin: 64px auto;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--cr-border);
    border-radius: 24px;
    background: var(--cr-panel);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    color: var(--cr-text);
    font-family: 'Poppins', Arial, sans-serif;
    text-align: left;
    box-sizing: border-box;
}

.community-rewards *,
.community-rewards *::before,
.community-rewards *::after {
    box-sizing: border-box;
}

.community-rewards .community-rewards__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    min-height: 432px;
    padding: 48px 52px;
    gap: 24px;
}

.community-rewards .community-rewards__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.community-rewards .community-rewards__heading {
    margin: 0 0 20px;
    color: var(--cr-text);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(30px, 3.8vw, 49px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.16;
    text-shadow: none;
    text-transform: none;
}

.community-rewards .community-rewards__heading span {
    display: block;
    color: var(--cr-accent);
}

.community-rewards .community-rewards__description {
    max-width: 430px;
    margin: 0 0 28px;
    color: var(--cr-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

.community-rewards .community-rewards__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    max-width: 100%;
    min-height: 58px;
    padding: 12px 14px 12px 22px;
    border: 1px solid #57d8fb;
    border-radius: 12px;
    background: var(--cr-accent);
    color: #061620;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.community-rewards .community-rewards__cta:hover {
    border-color: #8ce7ff;
    background: #42d0f7;
    color: #061620;
}

.community-rewards .community-rewards__cta-arrow {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #081c28;
    color: #5bd6f7;
}

.community-rewards .community-rewards__cta-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform .18s ease;
}

.community-rewards .community-rewards__cta:hover svg {
    transform: translateX(2px);
}

.community-rewards a:focus-visible {
    outline: 3px solid #8ce7ff;
    outline-offset: 5px;
}

.community-rewards .community-rewards__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.community-rewards .community-rewards__podium {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
}

.community-rewards .community-rewards__races {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0 28px;
    border-top: 1px solid var(--cr-border);
    background: var(--cr-panel-alt);
    list-style: none;
}

.community-rewards .community-rewards__races li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.community-rewards .community-rewards__races li + li {
    border-left: 1px solid var(--cr-border);
}

.community-rewards .community-rewards__race {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 20px 24px;
    color: var(--cr-text);
    text-decoration: none;
    transition: background .18s ease;
}

.community-rewards .community-rewards__race:hover {
    background: #ffffff04;
    color: var(--cr-text);
}

.community-rewards .community-rewards__race-icon {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--cr-border);
    border-radius: 11px;
    background: var(--cr-panel);
    color: var(--cr-accent);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.community-rewards .community-rewards__race-icon--originals {
    color: #f4c96c;
}

.community-rewards .community-rewards__race-icon--xp {
    color: #b5a4f5;
    font-size: 12px;
}

.community-rewards .community-rewards__race-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.community-rewards .community-rewards__race-copy strong {
    color: var(--cr-text);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.community-rewards .community-rewards__race-copy > span {
    color: var(--cr-muted);
    font-size: 10px;
    line-height: 1.6;
}

.community-rewards .community-rewards__race-arrow {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: #64738b;
    transition: color .18s ease, transform .18s ease;
}

.community-rewards .community-rewards__race:hover .community-rewards__race-arrow {
    transform: translateX(2px);
    color: #65d6f7;
}

@media (max-width: 1100px) {
    .community-rewards .community-rewards__hero {
        padding: 38px 32px;
        gap: 12px;
    }

    .community-rewards .community-rewards__heading {
        font-size: clamp(29px, 3.8vw, 42px);
    }

    .community-rewards .community-rewards__races {
        padding: 0 12px;
    }

    .community-rewards .community-rewards__race {
        gap: 10px;
        padding: 18px 16px;
    }
}

@media (max-width: 760px) {
    .community-rewards {
        margin: 32px auto;
        border-radius: 20px;
    }

    .community-rewards .community-rewards__hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 32px 28px 28px;
        gap: 28px;
    }

    .community-rewards .community-rewards__heading {
        font-size: clamp(28px, 6.3vw, 42px);
    }

    .community-rewards .community-rewards__description {
        max-width: 480px;
        font-size: 14px;
    }

    .community-rewards .community-rewards__podium {
        max-width: 350px;
    }

    .community-rewards .community-rewards__races {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 20px;
    }

    .community-rewards .community-rewards__races li + li {
        border-top: 1px solid var(--cr-border);
        border-left: 0;
    }

    .community-rewards .community-rewards__race {
        min-height: 82px;
        padding: 18px 8px;
    }
}

@media (max-width: 380px) {
    .community-rewards .community-rewards__hero {
        padding-right: 20px;
        padding-left: 20px;
    }

    .community-rewards .community-rewards__heading {
        font-size: 27px;
    }

    .community-rewards .community-rewards__cta {
        width: 100%;
        gap: 10px;
        padding-left: 14px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-rewards a,
    .community-rewards svg {
        transition: none !important;
    }
}

.community-rewards-preview {
    margin: 0;
    background: #0c0d13;
}

.community-rewards-preview__title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
