.earnRewardsPage {
    --earn-bg: #080b12;
    --earn-surface: rgba(255, 255, 255, 0.08);
    --earn-surface-strong: rgba(255, 255, 255, 0.14);
    --earn-border: rgba(255, 255, 255, 0.16);
    --earn-text: #f7f8fb;
    --earn-muted: rgba(247, 248, 251, 0.72);
    --earn-ink: #10131a;
    background:
        radial-gradient(80% 62% at 12% 0%, rgba(9, 36, 96, 0.36), rgba(8, 11, 18, 0) 58%),
        linear-gradient(180deg, #080d19 0%, #070a11 44%, #08090e 100%);
    color: var(--earn-text);
    font-family: "Manrope", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
}

.earnRewardsPage .container {
    padding-left: clamp(30px, 2.8vw, 48px);
    padding-right: clamp(12px, 1.8vw, 28px);
    width: min(100%, 1480px);
}

.earnRewardsHero {
    padding: clamp(14px, 2vw, 28px) 0 8px;
}

@media (min-width: 768px) {
    .earnRewardsHero {
        display: none;
    }

    .earnRewardsStickyWrap {
        padding-top: 48px;
    }
}

.earnRewardsHeroInner {
    align-items: stretch;
    display: grid;
    gap: clamp(20px, 4vw, 56px);
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.7fr);
    min-width: 0;
    width: 100%;
}

.earnRewardsHeroCopy {
    align-self: center;
    max-width: 780px;
}

@media (min-width: 768px) {
    .earnRewardsHeroCopy {
        padding-left: 28px;
    }
}

.earnRewardsEyebrow,
.earnRewardKicker {
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.earnRewardsHero h1 {
    color: var(--earn-text);
    font-size: clamp(31px, 3.8vw, 56px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0;
}

.earnRewardsHero p,
.earnRewardsIntro p,
.earnRewardCopy p {
    color: var(--earn-muted);
    font-size: clamp(15px, 1.02vw, 18px);
    line-height: 1.45;
    margin: 20px 0 0;
}

.earnRewardsHeroActions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.earnRewardsPrimaryAction,
.earnRewardsSecondaryAction,
.earnRewardAction {
    align-items: center;
    border-radius: 15px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.1;
    min-height: 50px;
    padding: 0 24px;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.earnRewardsPrimaryAction,
.earnRewardAction {
    background: #ffffff;
    border: 0;
    color: #090b10;
}

.earnRewardsSecondaryAction {
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    color: #ffffff;
}

.earnRewardsPrimaryAction:hover,
.earnRewardsSecondaryAction:hover,
.earnRewardAction:hover {
    transform: translateY(-2px);
}

.earnRewardsPrimaryAction:hover,
.earnRewardAction:hover {
    color: #090b10;
}

.earnRewardsSecondaryAction:hover {
    color: #ffffff;
}

.earnRewardsHeroPanel {
    border: 0;
    border-radius: 30px;
    min-height: 350px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(140deg, rgba(5, 13, 38, 0.97), rgba(6, 39, 103, 0.84) 56%, rgba(12, 89, 138, 0.48)),
        #071c4a;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.earnRewardsHeroPanel::before {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 34%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, rgba(255, 255, 255, 0) 1px 18px);
    content: "";
    inset: 0;
    opacity: 0.52;
    position: absolute;
}

.earnRewardsHeroPhone {
    background: linear-gradient(180deg, rgba(11, 14, 28, 0.98), rgba(18, 30, 78, 0.96));
    border: 0;
    border-radius: 38px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38), inset 0 0 0 7px rgba(255, 255, 255, 0.72);
    height: 320px;
    padding: 70px 30px 28px;
    position: absolute;
    right: clamp(18px, 5vw, 78px);
    top: 42px;
    transform: rotate(3deg);
    width: min(54%, 270px);
}

.earnRewardsPhoneCamera {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    height: 28px;
    left: 50%;
    position: absolute;
    top: 16px;
    transform: translateX(-50%);
    width: 96px;
}

.earnRewardsPhoneBrand {
    color: #ffffff;
    font-size: 26px;
    font-style: italic;
    font-weight: 800;
    left: 34px;
    position: absolute;
    top: 50px;
}

.earnRewardsHeroPhone strong {
    color: #ffffff;
    display: block;
    font-size: clamp(38px, 4.1vw, 54px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.earnRewardsHeroPhone small {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-top: 10px;
}

.earnRewardsPhoneCoin,
.earnRewardVisualCoin {
    aspect-ratio: 1;
    background:
        radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.94) 0 10%, rgba(212, 183, 95, 0.9) 11% 44%, rgba(111, 84, 31, 0.8) 72% 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: inset -8px -12px 18px rgba(52, 36, 10, 0.28), 0 14px 28px rgba(0, 0, 0, 0.22);
    opacity: 0.82;
    position: absolute;
}

.earnRewardsPhoneCoin::after,
.earnRewardVisualCoin::after {
    color: rgba(68, 39, 0, 0.72);
    content: "P";
    font-size: 22px;
    font-weight: 800;
    inset: 0;
    line-height: 1;
    position: absolute;
    text-align: center;
    top: calc(50% - 11px);
}

.earnRewardsPhoneCoinOne {
    height: 76px;
    left: -42px;
    top: 116px;
    transform: rotate(-18deg);
}

.earnRewardsPhoneCoinTwo {
    bottom: 62px;
    height: 60px;
    right: -34px;
    transform: rotate(16deg);
}

.earnRewardsHeroStat {
    backdrop-filter: blur(22px) saturate(1.35);
    background: rgba(255, 255, 255, 0.14);
    border: 0;
    border-radius: 20px;
    bottom: 22px;
    left: 22px;
    padding: 14px 18px;
    position: absolute;
}

.earnRewardsHeroStat span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.earnRewardsHeroStat strong {
    color: #ffffff;
    display: block;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-top: 4px;
}

.earnRewardsStickyWrap {
    margin: 0 0 22px;
    position: sticky;
    top: env(safe-area-inset-top);
    z-index: 40;
}

.earnRewardsStickyWrap.is-fixed {
    min-height: 92px;
}

.earnRewardsStickyWrap.is-fixed .earnRewardsTabs {
    left: auto;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    z-index: 80;
}

.earnRewardsTabs {
    -webkit-backdrop-filter: blur(10px) saturate(1.18);
    backdrop-filter: blur(10px) saturate(1.18);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.018)),
        rgba(6, 10, 19, 0.38);
    border: 0;
    border-radius: 17px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    cursor: grab;
    display: flex;
    gap: 6px;
    margin-left: auto;
    margin-right: auto;
    max-width: min(100%, 900px);
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    user-select: none;
    width: 100%;
}

.earnRewardsTabs.is-dragging {
    cursor: grabbing;
}

.earnRewardsTabs::-webkit-scrollbar {
    display: none;
}

.earnRewardsTab {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    color: rgba(244, 247, 255, 0.72);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    min-height: 36px;
    padding: 0 13px;
    text-decoration: none;
    white-space: nowrap;
    -webkit-user-drag: none;
}

.earnRewardsTab:hover {
    color: #ffffff;
}

.earnRewardsTab--top {
    background: rgba(22, 136, 255, 0.14);
    box-shadow: 8px 0 18px rgba(6, 10, 19, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    flex-basis: 42px;
    gap: 0;
    justify-content: center;
    left: 4px;
    min-width: 42px;
    padding-left: 0;
    padding-right: 0;
    position: sticky;
    width: 42px;
    z-index: 2;
}

.earnRewardsTab--top > span:not(.earnRewardsTabIcon) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.earnRewardsTab.is-active {
    background:
        linear-gradient(180deg, #1688ff 0%, #0876ee 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(3, 55, 140, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.earnRewardsTab--external {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.86);
}

.earnRewardsTab--external:hover {
    background: rgba(255, 255, 255, 0.12);
}

.earnRewardsTabExternalIcon {
    font-size: 10px;
    opacity: 0.72;
}

.earnRewardsTabIcon {
    align-items: center;
    display: inline-flex;
    font-size: 15px;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.earnRewardsIntro {
    padding: 8px 0 20px;
}

.earnRewardsIntroGrid {
    align-items: end;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    min-width: 0;
    width: 100%;
}

.earnRewardsIntro h2 {
    color: #ffffff;
    font-size: clamp(24px, 2.35vw, 36px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
}

.earnRewardsProgressCard {
    background: rgba(255, 255, 255, 0.055);
    border: 0;
    border-radius: 22px;
    padding: 20px;
}

.earnRewardsProgressCard span {
    color: var(--earn-muted);
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.earnRewardsProgressCard strong {
    color: #ffffff;
    display: block;
    font-size: 30px;
    font-weight: 800;
    margin-top: 6px;
}

.earnRewardsProgressTrack {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    height: 10px;
    margin-top: 18px;
    overflow: hidden;
}

.earnRewardsProgressTrack span {
    background: linear-gradient(90deg, #1684ff, #29d391);
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 18%;
}

.earnRewardsSections {
    padding: 0 0 64px;
}

.earnRewardCard {
    align-items: stretch;
    border-radius: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.48fr);
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    max-width: 900px;
    min-height: 226px;
    overflow: hidden;
    padding: clamp(20px, 2.1vw, 32px);
    position: relative;
    scroll-margin-top: 120px;
    touch-action: pan-y;
    width: 100%;
}

.earnRewardCard::before {
    background:
        radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 30%),
        linear-gradient(110deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 30%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, rgba(255, 255, 255, 0) 1px 20px);
    content: "";
    inset: 0;
    opacity: 0.62;
    position: absolute;
}

.earnRewardCard--blue {
    background: linear-gradient(135deg, #07133f 0%, #082c71 58%, #0d5b93 100%);
}

.earnRewardCard--cyan {
    background: linear-gradient(135deg, #07192d 0%, #0a3e78 56%, #0d726c 100%);
}

.earnRewardCard--indigo {
    background: linear-gradient(135deg, #0c1237 0%, #173478 52%, #444d9a 100%);
}

.earnRewardCard--green {
    background: linear-gradient(135deg, #09271f 0%, #0c654b 58%, #6d8d3b 100%);
}

.earnRewardCard--violet {
    background: linear-gradient(135deg, #1b1236 0%, #4d327f 56%, #765b9f 100%);
}

.earnRewardCard--amber {
    background: linear-gradient(135deg, #201708 0%, #6b4615 54%, #a98644 100%);
}

.earnRewardCard--steel {
    background: linear-gradient(135deg, #29313c 0%, #4c596a 54%, #8291a0 100%);
}

.earnRewardCard--rose {
    background: linear-gradient(135deg, #2a1327 0%, #6f3158 55%, #a36c58 100%);
}

.earnRewardCard--mint {
    background: linear-gradient(135deg, #06282d 0%, #157269 54%, #8a9f55 100%);
}

.earnRewardCard--affiliate {
    background:
        radial-gradient(circle at 78% 12%, rgba(255, 236, 164, 0.28), rgba(255, 236, 164, 0) 34%),
        linear-gradient(135deg, #081a24 0%, #0d4e56 48%, #8d7441 100%);
}

.earnRewardCopy,
.earnRewardVisual {
    position: relative;
    z-index: 1;
}

.earnRewardCopy {
    align-self: center;
    max-width: 720px;
}

.earnRewardCardExternalIcon {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 18px;
    text-decoration: none;
    top: 18px;
    transition: background-color 180ms ease, transform 180ms ease;
    width: 40px;
    z-index: 2;
}

.earnRewardCardExternalIcon:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: translateY(-2px);
}

.earnRewardCopy h2 {
    color: #ffffff;
    font-size: clamp(25px, 2.45vw, 36px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
}

.earnRewardMeta {
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
    gap: 10px;
    margin-top: 18px;
}

.earnRewardPoints {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    color: #11131a;
    padding: 8px 13px;
}

.earnRewardAction {
    margin-top: 18px;
    min-height: 46px;
    min-width: 190px;
}

.earnRewardAction--withIcon {
    gap: 10px;
}

.earnRewardAction--withIcon i {
    font-size: 12px;
}

button.earnRewardAction {
    cursor: pointer;
}

.earnRewardAction.is-muted {
    background: rgba(255, 255, 255, 0.26);
    color: rgba(255, 255, 255, 0.82);
}

.earnRewardVisual {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 150px;
}

.earnRewardVisualBack {
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    backdrop-filter: blur(16px) saturate(1.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.045));
    border: 0;
    border-radius: 30px;
    height: min(72%, 138px);
    position: absolute;
    transform: rotate(-8deg);
    width: min(66%, 182px);
}

.earnRewardVisualMain {
    align-items: center;
    aspect-ratio: 1;
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    backdrop-filter: blur(22px) saturate(1.3);
    background:
        radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08) 52%, rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.12);
    border: 0;
    border-radius: 26px;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    font-size: clamp(40px, 4.4vw, 64px);
    justify-content: center;
    position: relative;
    transform: rotate(8deg);
    width: min(46%, 138px);
}

.earnRewardVisual--telegram .earnRewardVisualMain,
.earnRewardVisual--email .earnRewardVisualMain,
.earnRewardVisual--notifications .earnRewardVisualMain {
    border-radius: 44px;
}

.earnRewardVisual--cashback .earnRewardVisualMain,
.earnRewardVisual--daily .earnRewardVisualMain,
.earnRewardVisual--social .earnRewardVisualMain {
    border-radius: 999px;
}

.earnRewardVisualCoinOne {
    height: 48px;
    left: 10%;
    top: 18%;
    transform: rotate(-19deg);
}

.earnRewardVisualCoinTwo {
    bottom: 12%;
    height: 38px;
    right: 10%;
    transform: rotate(15deg);
}

@media (max-width: 1199px) {
    .earnRewardsHeroInner,
    .earnRewardCard {
        grid-template-columns: 1fr;
    }

    .earnRewardsHeroPanel {
        min-height: 320px;
    }

    .earnRewardCard {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .earnRewardsPage .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .earnRewardsHero {
        padding-top: 8px;
    }

    .earnRewardsHero h1 {
        font-size: clamp(32px, 9.5vw, 42px);
    }

    .earnRewardsHeroActions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .earnRewardsPrimaryAction,
    .earnRewardsSecondaryAction,
    .earnRewardAction {
        border-radius: 16px;
        font-size: 14px;
        min-height: 48px;
        padding: 0 18px;
        width: 100%;
    }

    .earnRewardsHeroPanel {
        border-radius: 24px;
        min-height: 258px;
    }

    .earnRewardsHeroPhone {
        border-radius: 30px;
        height: 230px;
        padding: 72px 20px 20px;
        right: 18px;
        top: 24px;
        width: min(70%, 214px);
    }

    .earnRewardsPhoneBrand {
        font-size: 18px;
        left: 20px;
        top: 38px;
    }

    .earnRewardsHeroPhone strong {
        font-size: 34px;
    }

    .earnRewardsHeroStat {
        bottom: 14px;
        left: 14px;
        padding: 11px 14px;
    }

    .earnRewardsHeroStat strong {
        font-size: 28px;
    }

    .earnRewardsStickyWrap {
        padding-top: 54px;
        margin-bottom: 0;
    }

    .earnRewardsStickyWrap.is-fixed {
        min-height: 74px;
    }

    .earnRewardsStickyWrap.is-fixed .earnRewardsTabs {
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
    }

    .earnRewardsTabs {
        border-radius: 15px;
        gap: 5px;
        max-width: 100%;
        padding: 5px;
    }

    .earnRewardsTab {
        border-radius: 11px;
        font-size: 12px;
        min-height: 36px;
        padding: 0 10px;
    }

    .earnRewardsTab--top {
        left: 5px;
    }

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

    .earnRewardsSections {
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .earnRewardCard {
        border-radius: 20px;
        gap: 6px;
        max-width: none;
        margin-top: 14px;
        padding: 12px 14px 14px;
        scroll-margin-top: 116px;
    }

    .earnRewardKicker {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .earnRewardCopy h2 {
        font-size: clamp(21px, 6vw, 26px);
        line-height: 1;
    }

    .earnRewardCopy p {
        font-size: 13px;
        line-height: 1.38;
        margin-top: 8px;
    }

    .earnRewardMeta {
        font-size: 13px;
        gap: 8px;
        margin-top: 12px;
    }

    .earnRewardPoints {
        padding: 7px 11px;
    }

    .earnRewardAction {
        margin-top: 12px;
        min-height: 44px;
    }

    .earnRewardVisual {
        min-height: 52px;
        order: -1;
    }

    .earnRewardVisualMain {
        border-radius: 16px;
        font-size: 27px;
        width: min(21%, 58px);
    }

    .earnRewardVisualBack {
        border-radius: 17px;
        height: 46px;
        width: min(30%, 82px);
    }

    .earnRewardVisualCoinOne {
        height: 26px;
    }

    .earnRewardVisualCoinTwo {
        height: 23px;
    }
}

@media (max-width: 420px) {
    .earnRewardsHero p,
    .earnRewardsIntro p,
    .earnRewardCopy p {
        font-size: 13px;
    }

    .earnRewardsHeroPanel {
        min-height: 244px;
    }

    .earnRewardsHeroPhone {
        height: 218px;
        width: min(74%, 204px);
    }

    .earnRewardsPhoneCoinOne {
        height: 36px;
        left: -18px;
    }

    .earnRewardsPhoneCoinTwo {
        height: 32px;
        right: -16px;
    }
}
