/* ===============================
   EARNERR THEME
================================ */
:root {
    --navy: #061f49;
    --green: #00b894;
    --pink: #ff4fb3;
    --yellow: #f4c400;
    --white: #ffffff;
    --dark: #101828;
    --muted: #667085;
    --soft: #f7f9fc;
}

/* ===============================
   GLOBAL RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--soft);
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

/* ===============================
   NAVBAR
================================ */
.earnerr-nav {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 999;
}

.earnerr-nav .container {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(6, 31, 73, 0.08);
    border-radius: 999px;
    padding: 9px 16px;
    box-shadow: 0 18px 45px rgba(6, 31, 73, 0.07);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    margin: 0 8px;
}

.nav-link:hover {
    color: var(--green);
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
}

.btn-start {
    background: var(--navy);
    color: var(--white);
    padding: 9px 17px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-start:hover {
    background: var(--green);
    color: var(--white);
}

.earnerr-nav .nav-link.active {
    color: var(--green);
    font-weight: 600;
}

.earnerr-nav {
    position: sticky;
    top: 18px;
    z-index: 999;
}

/* .earnerr-nav.scrolled {
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
} */

/* ===============================
   LOGIN / SIGNUP POPUP
================================ */

.auth-modal {
    position: relative;
    border: 0;
    border-radius: 34px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px);
    box-shadow: 0 35px 100px rgba(6, 31, 73, 0.22);
}

.auth-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f3f6fa;
    color: var(--navy);
    font-size: 22px;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header img {
    height: 46px;
    margin-bottom: 16px;
}

.auth-header h2 {
    color: var(--navy);
    font-size: 28px;
    font-weight: 550;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.auth-field {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f9fc;
    border: 1px solid rgba(6, 31, 73, 0.08);
    border-radius: 18px;
    padding: 0 15px;
    margin-bottom: 12px;
}

.auth-field i {
    color: var(--green);
    font-size: 18px;
}

.auth-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 15px 0;
    font-size: 14px;
    color: var(--navy);
}

.auth-submit {
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: #ffffff;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.auth-submit:hover {
    background: var(--green);
}

.auth-switch {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin: 18px 0 0;
}

.auth-switch button {
    border: 0;
    background: transparent;
    color: var(--green);
    font-weight: 600;
}

/* ===============================
   CUSTOM TOAST
================================ */

#toastContainer {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-toast {
    min-width: 300px;
    max-width: 360px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 18px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(20px);

    box-shadow:
        0 20px 60px rgba(6, 31, 73, 0.15);

    animation:
        toastIn .35s ease forwards;

    border: 1px solid rgba(6, 31, 73, 0.08);
}

.custom-toast.success {
    border-left: 4px solid #00b894;
}

.custom-toast.error {
    border-left: 4px solid #ff4fb3;
}

.custom-toast i {
    font-size: 20px;
}

.custom-toast.success i {
    color: #00b894;
}

.custom-toast.error i {
    color: #ff4fb3;
}

.custom-toast p {
    margin: 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
}

@keyframes toastIn {

    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

/* ===============================
   FINAL PREMIUM HERO
================================ */

.hero-final {
    position: relative;
    min-height: 100vh;
    padding: 145px 0 70px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f8fbff 0%, #eef7f4 100%);
}

/* Soft background glow */
.hero-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.28;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.blur-green {
    width: 340px;
    height: 340px;
    background: var(--green);
    left: 8%;
    top: 18%;
}

.blur-pink {
    width: 320px;
    height: 320px;
    background: var(--pink);
    right: 8%;
    top: 20%;
    animation-delay: 1.2s;
}

/* Center text */
.hero-final-content {
    position: relative;
    z-index: 3;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    color: var(--navy);
    border: 1px solid rgba(6, 31, 73, 0.08);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 16px;
    box-shadow: 0 12px 35px rgba(6, 31, 73, 0.06);
}

.hero-pill i {
    color: var(--green);
}

/* SEO H1 */
.hero-final h1 {
    color: var(--navy);
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.1px;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-final p {
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto 24px;
    font-size: 15.5px;
    line-height: 1.7;
}

.hero-final-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.hero-btn-primary {
    background: var(--navy);
    color: #ffffff;
}

.hero-btn-primary:hover {
    background: var(--green);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: #ffffff;
    color: var(--navy);
    border: 1px solid rgba(6, 31, 73, 0.08);
}

/* ===============================
   Product Preview
================================ */

.hero-product-preview {
    position: relative;
    z-index: 3;
    max-width: 980px;
    margin: 58px auto 0;
    display: grid;
    grid-template-columns: 230px 1fr 210px;
    gap: 18px;
    align-items: center;
}

/* Common preview blocks */
.preview-wallet,
.preview-main,
.preview-progress {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(6, 31, 73, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 28px 80px rgba(6, 31, 73, 0.09);
}

/* Wallet */
.preview-wallet {
    padding: 26px;
    transform: rotate(-2deg);
    animation: softLift 5s ease-in-out infinite;
}

.preview-wallet span,
.preview-progress span {
    color: var(--muted);
    font-size: 13px;
}

.preview-wallet h3 {
    color: var(--navy);
    font-size: 42px;
    font-weight: 600;
    margin: 8px 0 0;
}

.preview-wallet small,
.preview-progress small {
    color: var(--muted);
    font-size: 12.5px;
}

/* Main panel */
.preview-main {
    padding: 22px;
    background: var(--navy);
    color: #ffffff;
    animation: softLift 5s ease-in-out infinite;
    animation-delay: 0.7s;
}

.preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.preview-top span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.preview-top b {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
}

/* Offer rows */
.preview-offer {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.preview-offer.active {
    background: rgba(255, 255, 255, 0.14);
}

.preview-offer i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--green);
    font-size: 18px;
}

.preview-offer div {
    flex: 1;
}

.preview-offer strong {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
}

.preview-offer span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12.5px;
}

.preview-offer b {
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
}

/* Progress */
.preview-progress {
    padding: 24px;
    text-align: center;
    transform: rotate(2deg);
    animation: softLift 5s ease-in-out infinite;
    animation-delay: 1.2s;
}

.circle-progress {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    margin: 16px auto 10px;
    display: grid;
    place-items: center;
    background:
        conic-gradient(var(--green) 68%, #e9eef5 0);
}

.circle-progress strong {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #ffffff;
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 22px;
    font-weight: 600;
}

/* Animation */
@keyframes heroGlow {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(-20px) scale(1.08);
    }
}

@keyframes softLift {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-product-preview {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .preview-wallet,
    .preview-progress {
        transform: none;
    }
}

@media (max-width: 576px) {
    .hero-final {
        padding-top: 125px;
    }

    .hero-final h1 {
        font-size: 34px;
    }

    .hero-product-preview {
        margin-top: 38px;
    }
}

/* ===============================
   EARN MARKET SECTION
   Image based like offer marketplace
================================ */

.earn-market {
    padding: 90px 0;
    background: #ffffff;
}

/* Section heading */
.market-head {
    max-width: 540px;
    margin-bottom: 36px;
}

.market-head span {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.market-head h2 {
    color: var(--navy);
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    font-weight: 550;
    letter-spacing: -0.8px;
    margin-top: 8px;
}

/* Bento grid */
.market-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: 260px;
    gap: 16px;
}

/* Tile base */
.market-tile {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    display: block;
    color: #ffffff;
    isolation: isolate;
    box-shadow: 0 22px 60px rgba(6, 31, 73, 0.10);
}

/* Large and wide layout */
.tile-large {
    grid-row: span 2;
}

.tile-wide {
    grid-column: span 2;
}

/* Image */
.market-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

/* Overlay */
.tile-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(6, 31, 73, 0.12),
            rgba(6, 31, 73, 0.82));
    z-index: 1;
}

/* Content */
.tile-content {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
}

.tile-content i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    color: var(--green);
    font-size: 20px;
    margin-bottom: 14px;
}

.tile-content h3 {
    font-size: 22px;
    font-weight: 550;
    margin-bottom: 6px;
}

.tile-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    margin-bottom: 12px;
}

.tile-content span {
    display: inline-block;
    background: #ffffff;
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12.5px;
    font-weight: 600;
}

/* Hover */
.market-tile:hover img {
    transform: scale(1.08);
}

.market-tile:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .market-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tile-large,
    .tile-wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .earn-market {
        padding: 70px 0;
    }

    .market-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .market-head h2 {
        font-size: 30px;
    }
}

/* ===============================
   MODERN OFFER SHOWCASE
================================ */

.offer-showcase {
    padding: 90px 0;
    background: #f7f9fc;
}

/* Heading */
.showcase-head {
    max-width: 520px;
    margin-bottom: 34px;
}

.showcase-head span {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.showcase-head h2 {
    color: var(--navy);
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.16;
    font-weight: 550;
    letter-spacing: -0.8px;
    margin-top: 8px;
}

/* Main layout */
.showcase-wrap {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 18px;
}

/* Big offer */
.showcase-main {
    position: relative;
    min-height: 430px;
    border-radius: 34px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 30px 90px rgba(6, 31, 73, 0.10);
}

/* Image */
.showcase-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark gradient */
.showcase-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(6, 31, 73, 0.86),
            rgba(6, 31, 73, 0.25));
    z-index: 1;
}

/* Content */
.main-offer-content {
    position: relative;
    z-index: 2;
    max-width: 430px;
    padding: 38px;
    color: #ffffff;
}

.offer-type {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    margin-bottom: 18px;
}

.main-offer-content h3 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 550;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

.main-offer-content p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.main-offer-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-offer-bottom strong {
    background: #ffffff;
    color: var(--navy);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
}

.main-offer-bottom a {
    background: var(--green);
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
}

/* Right rail */
.showcase-rail {
    display: grid;
    gap: 14px;
}

.rail-item {
    min-height: 130px;
    background: #ffffff;
    border: 1px solid rgba(6, 31, 73, 0.07);
    border-radius: 28px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: 0.25s ease;
}

.rail-item:hover {
    transform: translateX(6px);
    box-shadow: 0 22px 60px rgba(6, 31, 73, 0.08);
}

.rail-item i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #eef8f5;
    color: var(--green);
    font-size: 22px;
}

.rail-item h4 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 550;
    margin-bottom: 5px;
}

.rail-item span {
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .showcase-wrap {
        grid-template-columns: 1fr;
    }

    .showcase-main {
        min-height: 380px;
    }
}

@media (max-width: 576px) {
    .main-offer-content {
        padding: 26px;
    }

    .showcase-main {
        min-height: 430px;
    }
}

/* ===============================
   PREMIUM HOW IT WORKS
================================ */

.work-premium {
    padding: 95px 0;
    background: #ffffff;
}

.work-premium-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Left */
.work-premium-copy span {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.work-premium-copy h2 {
    color: var(--navy);
    max-width: 460px;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    font-weight: 550;
    letter-spacing: -0.8px;
    margin: 10px 0 14px;
}

.work-premium-copy p {
    color: var(--muted);
    max-width: 400px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Step list */
.mini-step-list {
    display: grid;
    gap: 14px;
}

.mini-step-list div {
    padding-left: 18px;
    border-left: 2px solid #e7edf5;
}

.mini-step-list b {
    display: block;
    color: var(--green);
    font-size: 12px;
    margin-bottom: 4px;
}

.mini-step-list strong {
    display: block;
    color: var(--navy);
    font-size: 15px;
    font-weight: 550;
}

.mini-step-list small {
    color: var(--muted);
    font-size: 13px;
}

/* Right visual */
.work-premium-visual {
    position: relative;
    min-height: 520px;
    border-radius: 42px;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(6, 31, 73, 0.12);
}

.work-premium-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(6, 31, 73, 0.08),
            rgba(6, 31, 73, 0.78));
}

/* Tracking panel */
.tracking-panel {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 30px;
    padding: 24px;
}

.tracking-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tracking-head span {
    color: var(--muted);
    font-size: 13px;
}

.tracking-head b {
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
}

.tracking-panel h3 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 550;
    margin-bottom: 22px;
}

/* Horizontal tracking line */
.tracking-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tracking-line::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #dbe6ef;
}

.track-point {
    position: relative;
    z-index: 2;
    text-align: center;
}

.track-point i {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef3f8;
    color: var(--muted);
}

.track-point.done i {
    background: var(--green);
    color: #ffffff;
}

.track-point.active i {
    background: var(--navy);
    color: #ffffff;
}

.track-point span {
    color: var(--navy);
    font-size: 12px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .work-premium-grid {
        grid-template-columns: 1fr;
    }

    .work-premium-visual {
        min-height: 440px;
    }
}

@media (max-width: 576px) {
    .tracking-panel {
        left: 18px;
        right: 18px;
        bottom: 18px;
        padding: 18px;
    }

    .tracking-line {
        gap: 4px;
    }

    .track-point span {
        font-size: 11px;
    }
}

/* ===============================
   WALLET / REWARDS SECTION
================================ */

.wallet-section {
    padding: 95px 0;
    background:
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.wallet-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 60px;
    align-items: center;
}

/* Wallet UI */
.wallet-ui-card {
    max-width: 470px;
    margin: 0 auto;
    background: var(--navy);
    color: #ffffff;
    border-radius: 38px;
    padding: 28px;
    box-shadow: 0 34px 90px rgba(6, 31, 73, 0.22);
}

.wallet-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.wallet-card-top span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.wallet-card-top i {
    color: var(--green);
    font-size: 22px;
}

/* Balance */
.wallet-balance {
    background:
        linear-gradient(135deg, var(--green), var(--pink));
    border-radius: 28px;
    padding: 26px;
    margin-bottom: 18px;
}

.wallet-balance small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.wallet-balance h3 {
    font-size: 36px;
    font-weight: 550;
    margin: 8px 0 0;
}

/* Stats */
.wallet-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.wallet-stats div {
    background: rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 16px;
}

.wallet-stats span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12.5px;
}

.wallet-stats b {
    font-size: 22px;
    font-weight: 550;
}

/* History */
.wallet-history {
    display: grid;
    gap: 10px;
}

.wallet-history div {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-history i {
    color: var(--green);
}

.wallet-history span {
    flex: 1;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
}

.wallet-history b {
    color: var(--green);
    font-size: 13.5px;
    font-weight: 600;
}

/* Right copy */
.wallet-copy span {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.wallet-copy h2 {
    color: var(--navy);
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    font-weight: 550;
    letter-spacing: -0.8px;
    margin: 10px 0 14px;
}

.wallet-copy p {
    color: var(--muted);
    max-width: 430px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Points */
.wallet-points {
    display: grid;
    gap: 15px;
}

.wallet-points div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: start;
}

.wallet-points i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #eef8f5;
    color: var(--green);
    font-size: 20px;
    grid-row: span 2;
}

.wallet-points strong {
    color: var(--navy);
    font-size: 15px;
    font-weight: 550;
}

.wallet-points small {
    color: var(--muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 991px) {
    .wallet-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   MODERN REFERRAL SECTION
================================ */

.refer-modern {
    padding: 95px 0;
    background: #ffffff;
}

.refer-panel {
    position: relative;
    overflow: hidden;
    border-radius: 44px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 44px;
    align-items: center;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 184, 148, 0.20), transparent 28%),
        radial-gradient(circle at 15% 90%, rgba(255, 79, 179, 0.16), transparent 26%),
        linear-gradient(135deg, #071f49, #0a2c63);
}

/* Left text */
.refer-text {
    position: relative;
    z-index: 2;
}

.refer-text span {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.refer-text h2 {
    color: #ffffff;
    max-width: 470px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.13;
    font-weight: 550;
    letter-spacing: -0.8px;
    margin: 10px 0 14px;
}

.refer-text p {
    color: rgba(255, 255, 255, 0.68);
    max-width: 430px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 26px;
}

.refer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #ffffff;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Right link card */
.refer-link-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px);
    border-radius: 34px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.16);
}

/* Card head */
.refer-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    margin-bottom: 14px;
}

.refer-card-head i {
    color: var(--green);
    font-size: 20px;
}

/* Fake link */
.fake-link {
    background: #ffffff;
    color: var(--navy);
    border-radius: 18px;
    padding: 15px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Stats */
.refer-progress {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.refer-progress div {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 16px;
}

.refer-progress small {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    margin-bottom: 5px;
}

.refer-progress strong {
    color: #ffffff;
    font-size: 24px;
    font-weight: 550;
}

/* User row */
.refer-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 14px;
}

.avatar-stack {
    display: flex;
}

.avatar-stack span {
    width: 34px;
    height: 34px;
    margin-left: -8px;
    border: 2px solid #071f49;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.avatar-stack span:first-child {
    margin-left: 0;
}

.avatar-stack span:nth-child(2) {
    background: var(--pink);
}

.avatar-stack span:nth-child(3) {
    background: var(--yellow);
    color: var(--navy);
}

.refer-user-row p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .refer-panel {
        grid-template-columns: 1fr;
        padding: 36px;
    }

    .refer-link-card {
        max-width: 480px;
    }
}

@media (max-width: 576px) {
    .refer-panel {
        border-radius: 30px;
        padding: 26px;
    }

    .refer-progress {
        grid-template-columns: 1fr;
    }

    .refer-user-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===============================
   PREMIUM MINIMAL FOOTER
================================ */

.footer-premium {
    background: #061f49;
    padding: 46px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-area img {
    height: 42px;
    margin-bottom: 10px;
}

.footer-brand-area p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    margin: 0;
    max-width: 330px;
}

.footer-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 500;
}

.footer-menu a:hover {
    color: var(--green);
}

.footer-action {
    background: var(--green);
    color: #ffffff;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
}

.footer-bottom-line {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
}

@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-bottom-line {
        flex-direction: column;
    }
}

/* ===============================
   LEGAL MODAL
================================ */

.footer-legal-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-legal-links button {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13.5px;
    padding: 0;
}

.footer-legal-links button:hover {
    color: var(--green);
}

.legal-modal {
    border: 0;
    border-radius: 32px;
    padding: 30px;
    max-height: 86vh;
    overflow: hidden;
}

.legal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f3f6fa;
    color: var(--navy);
    font-size: 22px;
}

.legal-modal-head {
    padding-right: 44px;
    margin-bottom: 20px;
}

.legal-modal-head span {
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.legal-modal-head h2 {
    color: var(--navy);
    font-size: 28px;
    font-weight: 540;
    margin: 7px 0;
}

.legal-modal-head p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.legal-modal-body {
    max-height: 58vh;
    overflow-y: auto;
    padding-right: 8px;
}

.legal-modal-body h3 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 8px;
}

.legal-modal-body p,
.legal-modal-body li {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.legal-modal-body ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.legal-note {
    background: #f8fafc;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 16px;
    color: var(--navy) !important;
}

/* ===============================
   LANDING MOBILE POLISH
================================ */

@media (max-width: 991px) {
    .earnerr-nav .container {
        border-radius: 26px;
    }

    .navbar-collapse {
        margin-top: 14px;
    }

    .navbar-nav {
        gap: 6px;
    }

    .navbar-nav .nav-link {
        padding: 10px 4px;
    }

    .nav-auth {
        margin-top: 12px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {

    .earn-market,
    .offer-showcase,
    .refer-modern,
    .rewards-section {
        padding-left: 0;
        padding-right: 0;
    }

    .section-head h2 {
        font-size: 25px;
    }

    .footer-dark-top,
    .footer-dark-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-dark-links {
        gap: 14px;
    }
}

/* ===============================
   ADMIN LOGIN MODAL - PREMIUM
================================ */

#adminLoginModal .modal-content {
    position: relative;
    border: 0;
    border-radius: 34px;
    padding: 34px;
    background:
        radial-gradient(circle at top left, rgba(45, 212, 160, 0.12), transparent 36%),
        #ffffff;
    box-shadow: 0 35px 110px rgba(6, 31, 73, 0.22);
    overflow: hidden;
}

#adminLoginModal .modal-content::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 170px;
    height: 170px;
    background: rgba(6, 31, 73, 0.06);
    border-radius: 50%;
}

#adminLoginModal .auth-header {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

#adminLoginModal .auth-header span {
    display: inline-flex;
    background: #eef8f5;
    color: var(--green);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

#adminLoginModal .auth-header h2 {
    color: var(--navy);
    font-size: 30px;
    font-weight: 560;
    letter-spacing: -0.6px;
    margin: 0 0 7px;
}

#adminLoginModal .auth-header p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

#adminLoginModal form {
    position: relative;
    z-index: 2;
}

#adminLoginModal .auth-field {
    margin-bottom: 14px;
}

#adminLoginModal .auth-field label {
    display: block;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

#adminLoginModal .auth-field input {
    width: 100%;
    border: 1px solid rgba(6, 31, 73, 0.08);
    background: rgba(248, 250, 252, 0.95);
    border-radius: 18px;
    padding: 14px 15px;
    color: var(--navy);
    font-size: 14px;
    outline: none;
    transition: 0.25s ease;
}

#adminLoginModal .auth-field input:focus {
    border-color: rgba(45, 212, 160, 0.45);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(45, 212, 160, 0.10);
}

#adminLoginModal .auth-submit-btn {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 14px;
    background: var(--navy);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    transition: 0.25s ease;
}

#adminLoginModal .auth-submit-btn:hover {
    background: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(45, 212, 160, 0.25);
}