* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6a3d;
    --primary-2: #ff8a50;
    --accent: #ffc107;
    --accent-2: #8f88ff;
    --green: #06d6a0;
    --orange: #fb8500;
    --yellow: #ffb703;
    --sky: #4cc9f0;
    --bg: #0e0e17;
    --surface: #1a1a26;
    --surface-alt: #23232f;
    --text: #f1f1f6;
    --text-muted: #9c9cae;
    --border: #33333f;

    --gradient-primary: linear-gradient(135deg, #ff6a3d 0%, #c62828 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
    --gradient-ocean: linear-gradient(135deg, #06d6a0 0%, #0077b6 100%);
    --gradient-berry: linear-gradient(135deg, #8e54e9 0%, #4776e6 100%);
    --gradient-sunset: linear-gradient(135deg, #fb8500 0%, #ffb300 100%);

    --shadow-xs: 0 2px 8px rgba(0, 0, 0, .35);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, .4);
    --shadow: 0 10px 30px rgba(0, 0, 0, .5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .6);

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;

    --ease: cubic-bezier(.4, 0, .2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(160deg, #0e0e17 0%, #14141f 45%, #191926 100%);
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    color: var(--text);
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
}

.whatsapp-refer-button {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 28px;
    background: #25d366;
    color: #062d17;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}

.whatsapp-refer-button:hover {
    background: #54e487;
    transform: translateY(-2px);
}

a,
button,
input,
select,
textarea {
    font-family: inherit;
}

button,
.submit-btn,
.auth-btn,
.app-download-btn {
    -webkit-tap-highlight-color: transparent;
}

button:active,
.submit-btn:active {
    transform: scale(.96);
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ──────────────────────────────────────────
   HEADER
────────────────────────────────────────── */
.header {
    background: rgba(20, 20, 31, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 10px 15px;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(255, 87, 34, .15);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #ff5722, #ffb300, #4cc9f0) 1;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: min(320px, 48vw);
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

.logo-icon i {
    color: var(--primary);
}

.logo-text {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.logo-text span {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.auth-user-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.auth-btn {
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s var(--ease);
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Poppins', sans-serif;
}

.auth-btn.login-btn {
    background: linear-gradient(135deg, #ff5722, #bf360c);
    color: #fff;
}

.auth-btn.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, .4);
}

.auth-btn.register-btn {
    background: linear-gradient(135deg, #ffb300, #c62828);
    color: #fff;
}

.auth-btn.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 179, 0, .4);
}

/* ──────────────────────────────────────────
   APP INSTALL BANNER
────────────────────────────────────────── */
.app-download-banner {
    background: var(--gradient-primary);
    border-radius: 0;
    padding: 14px 12px;
    margin: 0 0 16px;
    box-shadow: 0 8px 25px rgba(255, 87, 34, .3);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.app-download-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, .12);
    border-radius: 50%;
    z-index: -1;
}

.app-download-banner.show {
    display: block;
}

.app-download-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-download-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .22);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.app-download-text {
    flex: 1;
    color: #fff;
}

.app-download-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.app-download-text span {
    font-size: 12px;
    opacity: .85;
}

.app-download-btn {
    background: var(--surface);
    color: var(--primary-2);
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.app-download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
}

/* ──────────────────────────────────────────
   FEATURE CARDS (4-grid quick links)
────────────────────────────────────────── */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.hero-banner {
    position: relative;
    width: 100%;
    margin: 0 0 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, rgba(255, 106, 61, .14), rgba(76, 201, 240, .12));
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    display: block;
    min-height: 250px;
    object-fit: cover;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff5722, #ffb300);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.campaign-timer-card {
    margin: 0 0 18px;
    padding: 18px 16px 16px;
    background: linear-gradient(135deg, rgba(21, 40, 77, 0.95), rgba(6, 16, 45, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.campaign-timer-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.campaign-timer-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.countdown-wrap {
    margin: 0 0 14px;
    padding: 12px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

#countdownDisplay {
    display: block;
    font-size: clamp(1.1rem, 4vw, 2.1rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
}

.countdown-units {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.vip-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.vip-dcode-image {
    display: block;
    width: 100vw;
    max-width: none;
    height: min(70vh, 560px);
    margin-left: calc((100% - 100vw) / 2);
    margin-top: 16px;
    object-fit: contain;
    border-radius: 0;
}

.vip-payment-qr {
    display: block;
    width: min(100%, 520px);
    max-width: 520px;
    aspect-ratio: 1;
    justify-self: center;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #fff;
}

.vip-payment-actions,
.vip-payment-upi {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.vip-payment-upi strong {
    overflow-wrap: anywhere;
}

.vip-payment-actions .profile-action-btn {
    width: auto;
    min-height: 40px;
}

.withdraw-request-status {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(255, 179, 0, 0.25);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    background: rgba(255, 179, 0, 0.06);
}

.withdraw-request-status strong {
    color: var(--gold);
}

.withdraw-request-status > strong[data-status="success"] {
    color: #06d6a0;
}

.withdraw-request-status > strong[data-status="failed"] {
    color: #ff6b81;
}

.withdraw-request-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 10px 18px;
}

.withdraw-request-status-grid div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.withdraw-request-status-grid span {
    color: var(--text-muted);
    font-size: 11px;
}

.withdraw-request-status-grid strong {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.withdraw-request-status .profile-action-btn {
    justify-self: start;
    width: auto;
}

.withdrawal-status-modal-body {
    display: grid;
    gap: 14px;
}

.withdrawal-status-modal-body div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.withdrawal-status-modal-body span {
    color: var(--text-muted);
}

.withdrawal-status-modal-body strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.withdrawal-status-modal-body p {
    margin: 0;
    color: var(--text-muted);
}

.withdraw-request-status span {
    color: var(--text-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.dcode-container {
    width: calc(100% - 24px);
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 0 96px;
}

.dcode-package-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 14px;
    margin-top: 12px;
}

.dcode-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.dcode-form-grid .form-group {
    min-width: 0;
}

.dcode-form-grid .submit-btn {
    grid-column: 1 / -1;
}

.vip-request-status-body {
    display: grid;
    gap: 12px;
}

.vip-request-status-body p {
    margin: 0;
    line-height: 1.55;
}

.vip-request-status-badge {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 193, 7, 0.14);
    color: #ffd166;
}

.vip-request-status-badge.active {
    background: rgba(46, 204, 113, 0.14);
    color: #5de39a;
}

.vip-request-status-badge.rejected,
.vip-request-status-badge.expired {
    background: rgba(255, 99, 99, 0.14);
    color: #ff8787;
}

.vip-request-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-request-meta strong {
    text-align: right;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .vip-payment-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .vip-payment-qr {
        width: 100%;
        max-width: 520px;
    }

    .dcode-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dcode-form-grid .submit-btn {
        grid-column: auto;
    }

    .dcode-container {
        width: calc(100% - 20px);
    }
}

.feature-card {
    position: relative;
    padding: 4px 2px;
    text-align: center;
    cursor: pointer;
    transition: transform .3s var(--ease);
    text-decoration: none;
    color: var(--text);
}

.feature-card:hover {
    transform: translateY(-4px);
    color: var(--text);
}

.fc-icon {
    position: relative;
    isolation: isolate;
    width: 54px;
    height: 54px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .4);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.fc-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .20);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-card:hover .fc-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.feature-card i {
    font-size: 19px;
    color: #fff;
    display: block;
}

.fc-label {
    font-size: 10px;
    font-weight: 600;
    display: block;
}

/* ──────────────────────────────────────────
   LEADERBOARD – podium + list
────────────────────────────────────────── */
.leaderboard {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 0 0 16px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.leaderboard h3 {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    font-size: 15px;
    padding: 14px 18px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.leaderboard h3 i {
    color: #ffd700;
}

/* Podium (top 3) */
.podium-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    gap: 8px;
    padding: 0 14px 18px;
}

.podium-place {
    position: relative;
    text-align: center;
    background: var(--surface-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 6px 12px;
    transition: transform .25s var(--ease);
}

.podium-place:hover {
    transform: translateY(-4px);
}

.podium-place.place-1 {
    padding-top: 28px;
    padding-bottom: 16px;
    background: linear-gradient(180deg, rgba(255, 215, 0, .22), var(--surface-alt));
    border-color: #ffd700;
    box-shadow: 0 10px 26px rgba(255, 215, 0, .28);
    z-index: 1;
}

.podium-place.place-2 {
    background: linear-gradient(180deg, rgba(192, 192, 192, .2), var(--surface-alt));
    border-color: #c0c0c0;
}

.podium-place.place-3 {
    background: linear-gradient(180deg, rgba(205, 127, 50, .22), var(--surface-alt));
    border-color: #cd7f32;
}

.podium-crown {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffd700;
    font-size: 20px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .2));
}

.podium-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

.podium-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.place-1 .podium-avatar {
    width: 58px;
    height: 58px;
    border: 3px solid #ffd700;
}

.podium-rank {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    border: 2px solid #fff;
    background: var(--primary);
}

.place-1 .podium-rank {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #6b5200;
}

.place-2 .podium-rank {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #333;
}

.place-3 .podium-rank {
    background: linear-gradient(135deg, #cd7f32, #daa06d);
}

.podium-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-id {
    font-size: 9px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.podium-refs {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    background: var(--surface);
    padding: 2px 9px;
    border-radius: 10px;
    box-shadow: var(--shadow-xs);
}

/* Rest of the list (rank 4+) */
.leaderboard-list {
    padding: 0 12px;
}

.leader-item {
    position: relative;
    background: var(--surface-alt);
    padding: 10px 14px;
    border-radius: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.leader-item:last-child {
    margin-bottom: 0;
}

.leader-item:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.leader-rank {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.leader-rank.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #333;
}

.leader-rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #333;
}

.leader-rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #daa06d);
    color: #fff;
}

.leader-rank.normal {
    background: var(--border);
    color: var(--text-muted);
}

.leader-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.leader-info {
    flex: 1;
}

.leader-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.leader-info p {
    font-size: 10px;
    color: var(--text-muted);
}

.leader-stats {
    text-align: right;
}

.leader-stats span {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 380px) {
    .podium-name {
        font-size: 10px;
    }

    .podium-refs {
        font-size: 9px;
    }
}

/* ──────────────────────────────────────────
   COMING SOON / PRODUCT GRID
────────────────────────────────────────── */
.services-section {
    position: relative;
    background: var(--surface);
    border-radius: 0;
    padding: 26px 12px 18px;
    margin: 30px 0 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    isolation: isolate;
    width: 100%;
}

.services-header {
    margin-bottom: 18px;
}

.services-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ffd700;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 7px 18px;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    white-space: nowrap;
    margin-bottom: 12px;
}

.services-header h3 {
    font-size: 20px;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 18px;
}

.service-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 12px 16px;
    text-align: left;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 33px rgba(0, 0, 0, .18);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.service-icon.orange {
    background: linear-gradient(135deg, #ff7e5f, #ff4d6d);
}

.service-icon.blue {
    background: linear-gradient(135deg, #4cc9f0, #0088cc);
}

.service-icon.green {
    background: linear-gradient(135deg, #06d6a0, #1dbf73);
}

.service-icon.purple {
    background: linear-gradient(135deg, #8e54e9, #4776e6);
}

.service-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text);
}

.service-card p {
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-muted);
}

.services-banner {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--surface-alt);
}

.services-banner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.comingsoon-section {
    margin-top: 20px;
    padding-top: 12px;
}

.comingsoon-header {
    margin-bottom: 14px;
    text-align: center;
}

.comingsoon-header h3 {
    font-size: 20px;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

.comingsoon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    align-items: stretch;
}

.comingsoon-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.comingsoon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.comingsoon-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.comingsoon-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd76a;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 9px;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    width: fit-content;
}

.comingsoon-body h4 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
}

.comingsoon-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
    flex: 1;
}

@media (max-width: 900px) {
    .comingsoon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {

    .service-grid,
    .comingsoon-grid {
        grid-template-columns: 1fr;
    }

    .services-header h3,
    .comingsoon-header h3 {
        font-size: 18px;
    }

    .services-banner img {
        height: 180px;
    }

    .comingsoon-card img {
        height: 180px;
    }

    .comingsoon-body {
        padding: 12px;
    }

    .comingsoon-body h4 {
        font-size: 14px;
    }
}

/* ──────────────────────────────────────────
   FOOTER NAV – flush bar with raised center action
────────────────────────────────────────── */
.footer {
    background: rgba(20, 20, 31, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 6px 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .4);
    border-radius: 26px 26px 0 0;
    border-top: 1px solid var(--border);
    max-width: 100%;
}

.footer-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    text-align: center;
    cursor: pointer;
    transition: all .3s var(--ease);
    text-decoration: none;
    color: var(--text-muted);
    padding: 6px 2px;
    border-radius: 16px;
}

.footer-item:hover {
    color: var(--primary);
}

.footer-item i {
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: all .3s var(--ease);
}

.footer-item span {
    font-size: 9px;
    font-weight: 600;
}

.footer-item.active {
    color: var(--primary);
}

.footer-item.active i {
    background: rgba(255, 106, 61, .18);
}

/* Center item pops up as a floating circular action button */
.footer-item:nth-child(3) {
    position: relative;
}

.footer-item:nth-child(3) i {
    width: 56px;
    height: 56px;
    margin-top: -34px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 26px rgba(255, 87, 34, .5), 0 0 0 6px rgba(20, 20, 31, .96);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.footer-item:nth-child(3) span {
    font-weight: 700;
    color: var(--text);
}

.footer-item:nth-child(3):hover i,
.footer-item:nth-child(3).active i {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 30px rgba(255, 87, 34, .6), 0 0 0 6px rgba(20, 20, 31, .96);
}

.footer-item:nth-child(3).active {
    color: var(--primary);
}

.footer-item:nth-child(3).active i {
    background: var(--gradient-primary);
}

/* ──────────────────────────────────────────
   TOAST
────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 13px;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
}

.toast.show {
    opacity: 1;
}

.toast i {
    margin-right: 8px;
    color: var(--green);
}

/* ──────────────────────────────────────────
   MODAL
────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, .65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--surface);
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(.85) translateY(20px);
    transition: all .3s var(--ease);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    background: var(--gradient-primary);
    padding: 20px 15px;
    text-align: center;
    color: #fff;
    position: relative;
    border-radius: 24px 24px 0 0;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.modal-header p {
    font-size: 13px;
    opacity: .9;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, .4);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px 20px;
}

.modal-spin {
    max-width: 440px;
}

.spin-wheel-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 4px auto 16px;
    width: 280px;
    height: 280px;
}

.spin-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#ffad33 0deg 60deg,
            #ff6b6b 60deg 120deg,
            #ffd93d 120deg 180deg,
            #6c63ff 180deg 240deg,
            #4cc9f0 240deg 300deg,
            #3ecf8e 300deg 360deg);
    border: 8px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.18), 0 18px 30px rgba(0, 0, 0, 0.18);
    position: relative;
    transition: transform 3.5s cubic-bezier(0.15, 0.8, 0.2, 1);
}

.spin-wheel::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: rgba(20, 20, 31, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.spin-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: rotate(var(--angle)) translateY(-118px) rotate(calc(-1 * var(--angle)));
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.spin-pointer {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 26px solid #ffd700;
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.spin-result {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    min-height: 20px;
}

.modal-video {
    max-width: 560px;
}

.watch-video-box {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
    margin-bottom: 14px;
}

.watch-video-box video {
    display: block;
    width: 100%;
    max-height: 320px;
    aspect-ratio: 16 / 9;
    background: #000;
}

.watch-video-status {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
}

/* ──────────────────────────────────────────
   FORM STYLES
────────────────────────────────────────── */
.form-group {
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group label i {
    color: var(--primary);
    margin-right: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: all .3s var(--ease);
    background: var(--surface-alt);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(255, 87, 34, .1);
}

.form-group input::placeholder {
    color: #aaa;
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: color .3s;
}

.toggle-password:hover {
    color: var(--primary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.remember-me a {
    color: var(--primary);
    text-decoration: none;
}

.forgot-link {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all .3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 87, 34, .4);
}

.submit-btn.register {
    background: linear-gradient(135deg, #ffb300, #c62828);
}

.submit-btn.register:hover {
    box-shadow: 0 10px 25px rgba(255, 179, 0, .4);
}

.modal-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.modal-footer p {
    font-size: 13px;
    color: var(--text-muted);
}

.modal-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.modal-container::-webkit-scrollbar {
    width: 4px;
}

.modal-container::-webkit-scrollbar-track {
    background: var(--surface-alt);
}

.modal-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

@media (max-width: 480px) {
    .modal-container {
        max-width: 100%;
        margin: 10px;
        border-radius: 18px;
    }

    .logo-icon {
        width: min(160px, 42vw);
        height: 36px;
    }

    .logo-icon img {
        max-height: 36px;
    }

    .auth-user-group .balance-chip {
        display: none;
    }

    .auth-buttons {
        gap: 5px;
    }

    .auth-btn {
        padding: 7px 10px;
        font-size: 11px;
    }

    .auth-btn i {
        display: none;
    }
}

/* ──────────────────────────────────────────
   WELCOME / REWARDS MODAL — reward tile grid
────────────────────────────────────────── */
.reward-modal .modal-header {
    padding: 7px 15px;
}

.reward-modal .modal-header h2 {
    font-size: 15px;
}

.reward-modal .modal-header p {
    font-size: 12px;
}

.reward-modal .modal-body {
    padding: 10px 4px 10px;
}

.reward-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.reward-tile {
    position: relative;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 5px 7px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.reward-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.reward-tile-icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
    flex-shrink: 0;
}

.reward-tile-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -.2px;
    position: absolute;
    margin-left: 29%;
    margin-top: 8px;
}

.reward-tile-label {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.35;
}

.reward-tile.c-primary .reward-tile-icon {
    background: var(--gradient-primary);
}

.reward-tile.c-berry .reward-tile-icon {
    background: var(--gradient-berry);
}

.reward-tile.c-ocean .reward-tile-icon {
    background: var(--gradient-ocean);
}

.reward-tile.c-sunset .reward-tile-icon {
    background: var(--gradient-sunset);
}

.reward-tile.c-gold .reward-tile-icon {
    background: var(--gradient-gold);
}

.reward-tile.c-pink .reward-tile-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.reward-tile.c-sky .reward-tile-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.reward-tile.c-green .reward-tile-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.reward-tile.c-teal .reward-tile-icon {
    background: linear-gradient(135deg, #06d6a0, #0077b6);
}

.reward-tile.highlight {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, .16), rgba(255, 106, 61, .08));
    border: 1.5px solid #ffd700;
    box-shadow: 0 8px 22px rgba(255, 215, 0, .16);
}

.reward-tile.highlight .reward-tile-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
    background: var(--gradient-gold);
}

.reward-tile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.reward-tile.highlight .reward-tile-value {
    font-size: 15px;
    color: #ffd700;
    position: static;
    margin: 0;
}

.reward-tile.highlight .reward-tile-label {
    font-size: 11px;
}

.reward-tile-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gradient-gold);
    color: #6b5200;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

.reward-cta {
    width: 100%;
    justify-content: center;
    display: flex;
}

.tele_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0088cc, #005580);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s var(--ease);
}

.tele_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, .35);
    color: #fff;
}

@media (max-width: 360px) {
    .reward-tile-value {
        font-size: 15px;
    }
}

/* ══════════════════════════════════════════
   PAGE COMPONENTS (Team / Task / Withdraw / Me)
══════════════════════════════════════════ */

/* Page Header Card */
.page-header-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.page-header-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.page-header-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.page-header-content p {
    font-size: 12px;
    color: var(--text-muted);
}

.page-header-card.centered {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.page-header-card.centered .page-header-content h2 {
    margin-bottom: 2px;
}

/* Section Heading */
.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin: 22px 0 12px;
    padding-left: 2px;
}

.section-heading i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(255, 87, 34, .35);
}

.section-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #ffb300, #fb8500);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    box-shadow: 0 3px 8px rgba(251, 133, 0, .35);
}

/* Profile Header Card */
.profile-header-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    margin: 15px 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.profile-cover {
    height: 75px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, transparent 100%);
}

.profile-avatar-section {
    text-align: center;
    padding: 0 20px 20px;
    margin-top: -40px;
    color: #fff;
}

.profile-avatar-large {
    position: relative;
    display: inline-block;
}

.profile-avatar-large img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    background: var(--surface-alt);
}

.avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #fff;
    color: #fff;
}

.profile-name {
    font-size: 19px;
    font-weight: 700;
    margin: 10px 0 4px;
}

.profile-avatar-large {
    position: relative;
    display: inline-block;
}

.avatar-upload {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a50, #ff3d7f);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.avatar-upload i {
    font-size: 12px;
}

.profile-ref-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.profile-id {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: .88;
    background: rgba(255, 255, 255, .1);
    padding: 7px 12px;
    border-radius: 999px;
}

.profile-id i {
    margin-right: 0;
}

.profile-id-value {
    display: inline-block;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-action-btn {
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
}

.profile-action-btn.compact {
    padding: 7px 10px;
}

.profile-action-btn.secondary {
    background: rgba(255, 255, 255, .12);
}

.profile-actions-row {
    display: flex;
    gap: 10px;
    margin: 12px 0 18px;
}

.profile-actions-row .profile-action-btn {
    flex: 1;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 10px;
}

.profile-status.active {
    background: rgba(6, 214, 160, .25);
    color: #90EE90;
}

.profile-status.inactive {
    background: rgba(220, 53, 69, .25);
    color: #ff6b6b;
}

.profile-status i {
    font-size: 8px;
}

/* Stats Cards */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.stat-card {
    border-radius: var(--radius);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.stat-card.purple {
    background: var(--gradient-primary);
}

.stat-card.green {
    background: var(--gradient-ocean);
}

.stat-card.orange {
    background: var(--gradient-sunset);
}

.stat-card.blue {
    background: linear-gradient(135deg, #4cc9f0, #ff5722);
}

.stat-card.red {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.stat-card.yellow {
    background: linear-gradient(135deg, #ffb703, #fb8500);
}

.stat-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 8px;
}

.stat-info {
    text-align: center;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 10px;
    opacity: .9;
    display: block;
}

.stats-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.stats-row-2 .stat-card {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
}

.stats-row-2 .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-bottom: 0;
}

.stats-row-2 .stat-info {
    text-align: left;
}

.stats-row-2 .stat-value {
    font-size: 15px;
}

.stats-row-2 .stat-label {
    font-size: 9px;
}

/* Payment method widgets */
.payment-methods-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.withdraw-header {
    padding: 18px 18px 0;
}

.withdraw-title-wrap {
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
}

.section-kicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.withdraw-title-wrap h2 {
    font-size: 26px;
    line-height: 1.2;
    color: var(--text);
}

.withdraw-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.summary-pill {
    background: linear-gradient(135deg, rgba(18, 18, 28, .9), rgba(32, 32, 42, .9));
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.summary-pill.pending {
    background: linear-gradient(135deg, rgba(251, 133, 0, .12), rgba(255, 179, 0, .08));
}

.summary-pill .summary-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.summary-pill label {
    font-size: 11px;
    color: var(--text-muted);
}

.payment-methods-row.compact {
    margin: 14px 0;
}

.payment-method-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 10px;
    box-shadow: var(--shadow-sm);
}

.payment-method-card.saved {
    border-color: #06d6a0;
    background: linear-gradient(135deg, rgba(6, 214, 160, .08), rgba(0, 119, 182, .08));
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    background: var(--gradient-primary);
}

.payment-method-card.saved .payment-method-icon {
    background: var(--gradient-ocean);
}

.payment-method-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.payment-method-status {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 10px;
}

.payment-method-status.saved {
    background: rgba(40, 167, 69, .18);
    color: #4ade80;
}

.payment-method-status.missing {
    background: rgba(255, 193, 7, .16);
    color: #ffc107;
}

.payment-method-check {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #06d6a0;
    font-size: 13px;
}

/* Info card */
.info-card {
    background: var(--surface);
    border-radius: var(--radius);
    margin: 15px 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.info-card-header {
    background: var(--gradient-primary);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.info-card-header i {
    font-size: 18px;
}

.info-card-header h3 {
    font-size: 15px;
    font-weight: 600;
    flex: 1;
}

.info-card-header .badge {
    background: rgba(255, 255, 255, .25);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
}

.info-card-header.bonus {
    background: var(--gradient-gold);
}

.withdraw-card {
    margin-top: 10px;
}

.amount-field-row .amount-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.amount-input-wrap input {
    flex: 1 1 150px;
}

.available-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(6, 214, 160, .12);
    border: 1px solid rgba(6, 214, 160, .25);
    color: #9ef7d5;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
}

.full-width {
    width: 100%;
}

.empty-state {
    text-align: center;
    padding: 26px 16px 10px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.empty-state h4 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text);
}

.empty-state p {
    font-size: 14px;
}

.notes-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text);
}

.notes-box ul {
    list-style: disc;
    padding-left: 20px;
}

.notes-box li {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.info-card-body {
    padding: 14px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px;
    background: var(--surface-alt);
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.info-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* Team */
.team-list {
    padding: 0 14px 14px;
}

.team-member-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--surface-alt);
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
}

.member-rank {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
}

.member-avatar {
    position: relative;
}

.member-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-alt);
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.status-dot.active {
    background: var(--green);
}

.status-dot.inactive {
    background: #dc3545;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.member-id {
    font-size: 11px;
    color: var(--primary);
}

.member-details {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.member-details span {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
}

.member-details i {
    margin-right: 3px;
    color: var(--primary);
}

.member-stats {
    text-align: right;
    flex-shrink: 0;
}

.member-earning {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #28a745;
}

.member-date {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
}

/* Earnings / Balance cards */
.earnings-card {
    background: var(--gradient-gold);
    border-radius: var(--radius);
    padding: 18px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    color: #fff;
}

.earnings-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.earnings-label {
    font-size: 12px;
    opacity: .9;
}

.earnings-value {
    font-size: 24px;
    font-weight: 700;
}

.balance-card-large {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 24px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    color: #fff;
}

.balance-bg-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
}

.balance-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.balance-icon {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, .2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.balance-label {
    font-size: 12px;
    opacity: .9;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
}

/* Quick amount buttons */
.quick-amounts {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}

.quick-amounts.compact {
    margin-top: 6px;
    margin-bottom: 16px;
}

.quick-amount-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all .3s var(--ease);
    background: var(--gradient-primary);
    font-family: 'Poppins', sans-serif;
}

.quick-amount-btn:nth-child(2) {
    background: var(--gradient-ocean);
}

.quick-amount-btn:nth-child(3) {
    background: var(--gradient-sunset);
}

.quick-amount-btn:nth-child(4) {
    background: linear-gradient(135deg, #4cc9f0, #ff5722);
}

.quick-amount-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, .2);
}

/* Transactions */
.transaction-list {
    padding: 0 14px 14px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--surface-alt);
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
}

.transaction-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.transaction-icon.blue {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.transaction-icon.green {
    background: linear-gradient(135deg, #06d6a0, #38ef7d);
}

.transaction-icon.orange {
    background: var(--gradient-sunset);
}

.transaction-icon.red {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.transaction-icon.gold {
    background: var(--gradient-gold);
}

.transaction-icon.whatsapp {
    background: #25d366;
}

.transaction-icon.telegram {
    background: #0088cc;
}

.transaction-icon.pending {
    background: #ffc107;
}

.transaction-icon.success {
    background: #28a745;
}

.transaction-icon.failed {
    background: #dc3545;
}

.transaction-info {
    flex: 1;
    min-width: 0;
}

.transaction-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.transaction-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.transaction-date {
    font-size: 10px;
    color: #aaa;
}

.transaction-amount {
    text-align: right;
    flex-shrink: 0;
}

.transaction-amount span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.transaction-amount.credit span {
    color: #28a745;
}

.transaction-amount.debit span {
    color: #dc3545;
}

.transaction-amount .status {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.status.pending {
    background: rgba(255, 193, 7, .16);
    color: #ffc107;
}

.status.success {
    background: rgba(40, 167, 69, .18);
    color: #4ade80;
}

.status.failed {
    background: rgba(220, 53, 69, .18);
    color: #ff6b6b;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(255, 193, 7, .16);
    color: #ffc107;
}

.status-badge.success {
    background: rgba(40, 167, 69, .18);
    color: #4ade80;
}

.status-badge.failed {
    background: rgba(220, 53, 69, .18);
    color: #ff6b6b;
}

/* Transaction tabs */
.transaction-tabs-wrapper {
    margin: 15px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.transaction-tabs {
    display: flex;
    gap: 8px;
    padding: 4px;
    min-width: max-content;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 11px 14px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    transition: all .3s var(--ease);
    min-width: 70px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.tab-btn i {
    font-size: 18px;
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.tab-btn:hover {
    background: var(--surface-alt);
    color: var(--primary);
}

/* Earnings summary */
.earnings-summary-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 18px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: #fff;
    box-shadow: var(--shadow);
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 11px;
    opacity: .9;
    margin-bottom: 4px;
}

.summary-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.summary-value.green {
    color: #90EE90;
}

.summary-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, .3);
}

/* Income stats grid */
.income-stats-grid,
.income-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.income-stat-box,
.income-box {
    background: var(--surface);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.income-stat-box i,
.income-box i {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 5px;
}

.income-stat-box.withdrawn i {
    color: #ff6b6b;
}

.income-stat-value,
.income-amount {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.income-stat-label,
.income-label {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
}

/* Task earnings */
.task-earnings-card {
    border-radius: var(--radius);
    padding: 18px;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    background: var(--gradient-gold);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.task-earnings-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.task-earnings-info {
    flex: 1;
    min-width: 120px;
}

.task-earnings-label {
    font-size: 12px;
    opacity: .9;
}

.task-earnings-value {
    font-size: 24px;
    font-weight: 700;
}

.task-earnings-progress {
    width: 100%;
    margin-top: 10px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, .3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    transition: width .3s;
}

.progress-text {
    font-size: 10px;
    opacity: .9;
    margin-top: 4px;
    display: block;
}

/* Daily task cards */
.task-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.daily-task-card {
    --tc1: var(--primary);
    --tc2: var(--primary-2);
    --tint: rgba(255, 87, 34, .06);
    position: relative;
    background: linear-gradient(90deg, var(--tint), var(--surface-alt) 55%);
    border-radius: 18px;
    padding: 13px 14px 13px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}

.task-cards-wrap .daily-task-card:nth-child(2) {
    --tc1: #6c63ff;
    --tc2: #4338ca;
    --tint: rgba(108, 99, 255, .07);
}

.task-cards-wrap .daily-task-card:nth-child(3) {
    --tc1: #06d6a0;
    --tc2: #0077b6;
    --tint: rgba(6, 214, 160, .07);
}

.task-cards-wrap .daily-task-card:nth-child(4) {
    --tc1: #ffd700;
    --tc2: #fb8500;
    --tint: rgba(255, 179, 0, .08);
}

.task-cards-wrap .daily-task-card:nth-child(5) {
    --tc1: #f5576c;
    --tc2: #8e54e9;
    --tint: rgba(245, 87, 108, .07);
}

.daily-task-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    width: 4px;
    height: 80%;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--tc1), var(--tc2));
}

.daily-task-card:hover {
    box-shadow: var(--shadow);
}

.dtask-left {
    flex-shrink: 0;
}

.dtask-icon {
    position: relative;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--tc1), var(--tc2));
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .18);
}

.dtask-body {
    flex: 1;
    min-width: 0;
}

.dtask-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.dtask-desc {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dtask-right {
    flex-shrink: 0;
}

.dtask-btn {
    background: linear-gradient(135deg, var(--tc1), var(--tc2));
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
    font-family: 'Poppins', sans-serif;
}

.dtask-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.dtask-done {
    background: rgba(40, 167, 69, .18);
    color: #4ade80;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.dtask-done i {
    color: #28a745;
}

/* Task cards */
.task-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--surface);
    border-radius: 12px;
    margin-bottom: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.task-card.purple {
    border-left-color: #ff5722;
}

.task-card.green {
    border-left-color: #25d366;
}

.task-card.blue {
    border-left-color: #0088cc;
}

.task-card.red {
    border-left-color: #ff4444;
}

.task-card.pink {
    border-left-color: #e1306c;
}

.task-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.task-card.green .task-icon {
    background: #25d366;
}

.task-card.blue .task-icon {
    background: #0088cc;
}

.task-card.red .task-icon {
    background: #ff4444;
}

.task-card.pink .task-icon {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.task-info {
    flex: 1;
    min-width: 0;
}

.task-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.task-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.task-meta {
    display: flex;
    gap: 14px;
}

.task-reward,
.task-limit {
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
}

.task-btn {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all .3s var(--ease);
    flex-shrink: 0;
}

.task-btn:hover {
    transform: scale(1.1);
}

/* Settings menu */
.settings-menu {
    margin: 15px 0;
}

.settings-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--surface);
    border-radius: var(--radius);
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all .3s var(--ease);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.settings-item:hover {
    background: var(--surface-alt);
    transform: translateX(4px);
    border-color: var(--primary);
}

.settings-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.settings-icon.purple {
    background: var(--gradient-primary);
}

.settings-icon.blue {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.settings-icon.green {
    background: linear-gradient(135deg, #06d6a0, #38ef7d);
}

.settings-icon.orange {
    background: var(--gradient-sunset);
}

.settings-icon.red {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.settings-info {
    flex: 1;
}

.settings-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.settings-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.settings-item>i.fa-chevron-right {
    font-size: 12px;
    color: var(--text-muted);
}

/* Quick actions grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.action-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 14px 8px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all .3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, .3);
}

.action-card.logout {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.action-icon {
    width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 7px;
    font-size: 18px;
}

.action-card span {
    font-size: 10px;
    font-weight: 500;
}

/* Withdraw form */
.withdraw-form .form-group {
    margin-bottom: 14px;
}

.form-hint {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 5px;
}

.form-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 20px 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-title i {
    color: var(--primary);
}

/* Copy button (Profile) */
.copy-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff8a50, #ff3d7f);
    border: none;
    border-radius: 8px;
    padding: 7px 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s var(--ease);
    box-shadow: 0 4px 12px rgba(255, 61, 127, .25);
}

.copy-btn:hover {
    transform: translateY(-2px);
}

.copy-btn i {
    margin-right: 4px;
}

/* Auth chip + logout (header, logged-in state, injected by api.js) */
.auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 106, 61, .15);
    border: 1px solid rgba(255, 106, 61, .35);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
}

.auth-chip.balance-chip {
    background: rgba(38, 172, 116, .12);
    border-color: rgba(38, 172, 116, .35);
    color: #34c27d;
    min-width: 90px;
    justify-content: center;
}

.auth-chip-name {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
    box-shadow: 0 4px 12px rgba(255, 75, 43, .3);
}

.submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important;
}

/* Discreet admin link on homepage */
.admin-link {
    text-align: center;
    margin: 18px 0 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.admin-link a {
    color: var(--text-muted);
    text-decoration: none;
    opacity: .7;
}

.admin-link a:hover {
    color: var(--primary);
    opacity: 1;
}

.admin-link i {
    margin-right: 3px;
}

/* ──────────────────────────────────────────
   INTERACTIVE TASK MODALS (Data Entry / Image Rating / Survey)
   ────────────────────────────────────────── */
.modal-lg {
    max-width: 500px;
}

.task-preview-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.task-preview-images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    object-fit: cover;
    background: var(--surface-alt);
}

.task-progress {
    background: var(--gradient-primary);
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 14px;
    color: #fff;
    font-size: 12px;
}

.task-progress span {
    font-size: 20px;
    color: #ffd700;
    font-weight: 700;
}

.task-list {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 4px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 6px;
    background: var(--surface-alt);
    border-radius: 10px;
    margin-bottom: 4px;
    border: 1px solid var(--border);
}

.task-num {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    flex-shrink: 0;
}

.task-text {
    flex: 1;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 6px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    color: #ffd700;
    user-select: none;
    text-align: center;
    cursor: pointer;
}

.task-input {
    flex: 1;
    width: 100%;
    padding: 6px 4px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    transition: all .3s var(--ease);
    text-align: center;
    background: var(--surface);
    color: var(--text);
}

.task-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 106, 61, .12);
}

.task-input.correct {
    border-color: #28a745;
    background: rgba(40, 167, 69, .18);
}

.task-input.incorrect {
    border-color: #dc3545;
    background: rgba(220, 53, 69, .18);
}

.task-status {
    width: 20px;
    font-size: 11px;
    text-align: center;
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.btn-refresh {
    flex: 1;
    padding: 10px;
    background: rgba(255, 106, 61, 0.08);
    border: 2px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all .3s var(--ease);
    font-family: 'Poppins', sans-serif;
}

.btn-refresh:hover {
    background: var(--primary);
    color: #fff;
}

/* Star rating */
.star-rating-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.star-item {
    font-size: 36px;
    color: var(--border);
    cursor: pointer;
    transition: color .15s, transform .15s;
    line-height: 1;
}

.star-item.hovered,
.star-item.selected {
    color: #ffc107;
}

.star-item.hovered {
    transform: scale(1.15);
}

.star-item.selected {
    transform: scale(1.1);
}

.star-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0;
    text-align: center;
}

.img-rating-progress {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 14px;
    padding: 6px;
    background: var(--surface-alt);
    border-radius: 8px;
}

/* Survey */
.survey-question-box {
    background: linear-gradient(135deg, rgba(255, 106, 61, .14), rgba(255, 106, 61, .05));
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    border-left: 4px solid var(--primary);
}

.survey-q-num {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.survey-q-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

.survey-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.survey-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--surface-alt);
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: all .2s;
}

.survey-option input[type="radio"] {
    display: none;
}

.survey-option:hover {
    border-color: var(--primary);
    background: rgba(255, 106, 61, .1);
}

.survey-option.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 106, 61, .16), rgba(255, 106, 61, .06));
}

.opt-letter {
    width: 28px;
    height: 28px;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all .2s;
}

.survey-option.selected .opt-letter {
    background: var(--gradient-primary);
    color: #fff;
}

.opt-text {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.survey-progress {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 14px;
    padding: 6px;
    background: var(--surface-alt);
    border-radius: 8px;
}

/* Referral sponsor feedback inside register modal */
.sponsor {
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
    color: #4ade80;
}

.sponsor.invalid {
    color: #ff5555;
}

/* ── Referral Share Box (team.html) ── */
.referral-share-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin: 15px 0;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.referral-share-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.referral-share-label {
    font-size: 11px;
    color: var(--text-muted);
}

.referral-share-copy strong {
    font-size: 11px;
    color: var(--primary);
    word-break: break-all;
}

.share-ref-btn {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    transition: all .3s var(--ease);
    flex-shrink: 0;
}

.share-ref-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 87, 34, .35);
}