/* :root {
    --app-bg: #0e1114;
    --card-bg-top: #1f2a33;
    --card-bg-bottom: #151c22;
    --primary-blue: #3b6f94;
    --primary-green: #5f8f6a;
    --accent-red: #b23a3a;
    --main-gradient: linear-gradient(135deg, #3b6f94 0%, #5f8f6a 100%);
    --dark-gradient: linear-gradient(180deg, #1f2a33 0%, #151c22 100%);
    --text-grey: #9aa4ad;
    --nav-bg: #11161b;
} */
:root {
    /* Base (from new theme) */
    --app-bg: #0d0d0d;
    --nav-bg: #0f0f0f;

    /* Cards (replace purple gradients with flat layers) */
    --card-bg-top: #141414;
    --card-bg-bottom: #1a1a1a;

    /* Primary accents (orange system) */
    --primary-blue: #f97316;
    /* now primary orange */
    --primary-green: #ea580c;
    /* deeper orange */

    /* Alerts */
    --accent-red: #d14b4b;

    /* Main gradient (subtle orange, not flashy) */
    --main-gradient: linear-gradient(135deg,
            #f97316 0%,
            #ea580c 100%);

    /* Dark card gradient (very subtle, almost flat) */
    --dark-gradient: linear-gradient(180deg,
            #1a1a1a 0%,
            #0f0f0f 100%);

    /* Text */
    --text-grey: #888;
    --text-main: #f5f5f5;

    /* Borders */
    --border: #2a2a2a;
}


body {
    background-color: #000;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}


/* Mobile Container Simulation */
.app-container {
    background-color: var(--app-bg);
    width: 100%;
    max-width: 480px;
    /* Reduced to standard mobile width for better look */
    min-height: 100vh;
    padding-bottom: 90px;
    /* Space for bottom nav */
    box-shadow: 0 0 20px rgba(255, 202, 40, 0.1);
    overflow-x: hidden;
    position: relative;
    margin: 0 auto;
}

/* Top Header */
.app-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--app-bg);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.lang-badge {
    background: #2a2a2a;
    border: 1px solid #3d3d3d;
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Ticker */
.ticker-bar {
    padding: 0 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-grey);
}

.ticker-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Main Dashboard Card */
.main-card {
    background: var(--dark-gradient);
    margin: 0 15px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.email-text {
    color: var(--text-grey);
    font-size: 0.85rem;
}

.vip-pill {
    background: var(--main-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.wallet-btn {
    background: #141b21;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* Balance Display */
.balance-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 15px;
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.balance-val {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Grid Icons */
.grid-menu {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.grid-menu a {
    text-decoration: none;
    color: inherit;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}


.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--main-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgb(0 255 229 / 20%);
}

.icon-circle i {
    color: #fff;
    font-size: 1.2rem;
}

.menu-label {
    font-size: 0.75rem;
    color: #ddd;
}

/* --- CAROUSEL STYLES --- */
.carousel-container {
    margin: 20px 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Customizing Carousel Indicators */
.carousel-indicators [data-bs-target] {
    background-color: var(--primary-green);
    height: 3px;
}

/* --- FIXED & CENTERED FOOTER --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    /* Start exactly at center of screen */
    transform: translateX(-50%);
    /* Move back 50% of own width to center perfectly */
    width: 100%;
    max-width: 480px;
    /* Must match .app-container max-width */
    background-color: var(--nav-bg);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top: 1px solid #333;
    z-index: 1000;

}

.bottom-nav a {
    text-decoration: none;

}

.nav-icon {
    text-align: center;
    color: #666;
    font-size: 0.7rem;
    cursor: pointer;
    width: 20%;
}

.nav-icon i {
    font-size: 1.3rem;
    margin-bottom: 5px;
    display: block;
}

.nav-icon.active {
    color: var(--primary-green);
}

/* Floating Sidebar Buttons */
.floating-sidebar {
    position: fixed;
    right: calc(50% - 240px + 10px);
    /* Keeps it aligned to right edge of container */
    bottom: 89px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.float-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2a2a;
    border: 1px solid #444;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Contact Tab */
.contact-tab {
    position: fixed;
    right: calc(50% - 240px);
    /* Aligns to edge of container */
    bottom: 250px;
    background: var(--primary-green);
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 12px 6px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 101;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Media Query Adjustments */
@media (max-width: 480px) {
    .bottom-nav {
        max-width: 100%;
        /* Fill screen on mobile */
    }

    .floating-sidebar {
        right: 10px;
    }

    .contact-tab {
        right: 0;
    }
}

/* --- TASK HALL --- */
.task-hall {
    margin: 10px 15px 30px;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.task-card {
    background: var(--dark-gradient);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    width: 100%;
    margin: 16px 0 0;
    height: 90px;
}


.task-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lock-box {
    width: 42px;
    height: 42px;
    background: #1e1e1e;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-green);
    font-size: 1.2rem;
    border: 1px solid #444;
}

.task-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.unlock-text {
    font-size: 0.85rem;
    color: #ddd;
}

.unlock-text b {
    color: var(--primary-green);
}

.vip-text {
    font-size: 0.75rem;
    color: #aaa;
}

.task-action {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
}

/* Member List */
.member-list {
    margin: 10px 15px 5px;
}

.member-scroll-wrapper {
    height: 160px;
    /* shows ~2 rows */
    overflow: hidden;
    position: relative;
}

.member-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.6s ease-in-out;
}

/* One row = two cards */
.member-row {
    display: flex;
    gap: 12px;
}

/* Member Card */
.member-card {
    flex: 1;
    background: var(--dark-gradient);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-vip {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.member-id {
    font-size: 0.7rem;
    color: var(--text-grey);
}

.member-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-green);
}

.chart-section {
    margin: 15px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark-gradient);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

#tv-chart {
    height: 260px;
}

.vip-page {
    padding: 15px;
    /* padding-bottom: 100px; */
    background: var(--app-bg);
}

/* Upgrade log bar */
.upgrade-log {
    background: var(--dark-gradient);
    color: var(--text-light);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* VIP Card */
.vip-card {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    position: relative;
    padding-bottom: 48px;
    /* space for button */

}

/* VIP Badge */
.vip-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 0 0 10px 0;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Badge levels */
.vip1,
.vip2,
.vip3,
.vip4,
.vip5,
.vip6,
.vip7,
.vip8,
.vip9,
.vip10 {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

/* Content layout */
.vip-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Logo */
.vip-logo img {
    width: 100px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Info */
.vip-info {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-grey);
}

/* Rows */
.vip-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.vip-row span:last-child {
    color: var(--text-light);
    font-weight: 600;
}

/* Profit highlight */
.green {
    color: var(--primary-green) !important;
}

/* Unlock Button */
.unlock-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--main-gradient);
    border: none;
    padding: 7px 14px;
    border-radius: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
}

.unlock-btn:active {
    transform: scale(0.96);
}

.balance-card {
    background: var(--dark-gradient);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.balance-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.balance-item .label {
    font-size: 0.75rem;
    color: #9aa4ad;
    display: block;
    margin-bottom: 4px;
}

.balance-item .amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.balance-item .amount small {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
}

.balance-right img {
    width: 110px;
    height: auto;
}

/* --- TASK PAGE STYLES (NEW) --- */

.stats-row {
    margin: 15px;
    background: var(--card-bg-top);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border: 1px solid #2a343d;
}

.stat-item {
    width: 50%;
    text-align: start;
}

.stat-item:first-child {
    border-right: 1px solid #2a343d;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
}

.task-list-container {
    margin: 0 15px;
    background: var(--card-bg-bottom);
    border-radius: 12px;
    min-height: 300px;
    border: 1px solid #2a343d;
    overflow: hidden;
}

.task-tabs {
    display: flex;
    background: #1a1f24;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.task-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
    color: #9aa4ad;
    cursor: pointer;
}

.task-tab.active {
    background: var(--main-gradient);
    color: #000;
    font-weight: 700;
}

.task-panel {
    text-align: center;
    color: #9aa4ad;
    font-size: 0.8rem;
    padding: 20px 0;
}

.task-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 240px;
    color: var(--text-grey);
    font-size: 0.9rem;
}

.d-none {
    display: none !important;
}

/* --- TEAM PAGE STYLES (NEW) --- */
.text-primary-green {
    color: var(--primary-green) !important;
}

.text-accent-red {
    color: var(--accent-red) !important;
}

.btn-primary-green {
    background-color: var(--primary-green);
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.social-share-icons i {
    font-size: 1.1rem;
    color: var(--text-grey);
    background: rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-share-icons a {
    text-decoration: none;
}

.social-share-icons i:hover {
    color: var(--primary-green);
    background: rgba(95, 143, 106, 0.1);
    border-color: var(--primary-green);
}

.team-stats-col {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.team-stats-col:nth-child(3),
.team-stats-col:last-child {
    border-right: none;
}

.team-stats-row-2 .team-stats-col {
    padding-top: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.team-stats-row-1 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Level Cards */
.level-card {
    margin: 15px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.level-icon {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    gap: 8px;
    background: rgba(0, 0, 0, 0.15);
    padding: 20px 10px;
}

.level-details {
    width: 65%;
    padding: 15px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Level Gradients - Derived from theme */
.level-1 {
    background: linear-gradient(135deg, var(--primary-green) 0%, #8abf96 100%);
}

.level-2,
.level-7,
.level-12,
.level-15 {
    background: linear-gradient(135deg, var(--accent-red) 0%, #d95b5b 100%);
}

.level-3,
.level-8 {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #5a8cb3 100%);
}

/* Level 4: Deep Royal Purple */
.level-4,
.level-9,
.level-13 {
    background: linear-gradient(135deg, #6a4c93 0%, #a084ca 100%);
}

/* Level 5: Bright Teal / Cyan */
.level-5,
.level-11,
.level-14 {
    background: linear-gradient(135deg, #2a9d8f 0%, #52c7b8 100%);
}

.level-6,
.level-8,
.level-10 {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #5a8cb3 100%);
}

/* Add these styles to your existing CSS */
.profile-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--card-bg-bottom);
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
}

.profile-menu-item:active {
    background: var(--card-bg-top);
}

.list a {
    text-decoration: none;
    color: inherit;
}

/* ---------- LOGIN PAGE ---------- */

.login-container {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1b232c 0%, var(--app-bg) 60%);
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    padding: 10px 30px;
    border-radius: 20px;

    background: linear-gradient(180deg, #1f2a33, #151c22);
    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}


.login-header i {
    color: var(--primary-green);
    font-size: 3.2rem;
}

.login-header h2 {
    margin-top: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

.login-subtitle {
    font-size: 0.75rem;
    color: var(--text-grey);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Tabs */
.login-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    color: var(--text-grey);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.login-tab.active {
    color: #fff;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25%;
    width: 50%;
    height: 3px;
    border-radius: 3px;
    background: var(--main-gradient);
}

/* Inputs */
.login-input-wrapper {
    background: linear-gradient(180deg, #252d35, #1d242b);
    border-radius: 14px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border 0.2s, box-shadow 0.2s;
}

.login-input-wrapper:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(95, 143, 106, 0.15);
}

.login-input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}

.login-input::placeholder {
    color: #7e8a94;
}

.login-input-wrapper select.login-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    cursor: pointer;
}

.login-input-wrapper {
    position: relative;
}

/* Arrow ONLY for select wrapper */
.select-wrapper::after {
    content: "\f107";
    /* chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
}

.login-input-wrapper select.login-input {
    background-color: #1f262d;
    color: #fff;
}

.login-input-wrapper select.login-input option {
    background-color: #1f262d;
    color: #fff;
}


/* Sign in button */
.signin-btn {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    border: none;
    background: var(--main-gradient);
    color: white;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(95, 143, 106, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.signin-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(95, 143, 106, 0.25);
}

/* Forgot password */
.login-container .small {
    margin-top: 6px;
    cursor: pointer;
}

.login-container .small:hover {
    opacity: 0.8;
}

/* Modal Background Overlay */
.modal-overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Box */
.announcement-box {
    width: 90%;
    max-width: 400px;
    background: var(--app-bg);
    /* Dark brown tint from screenshot */
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #444;
}

.announcement-header {
    background: var(--app-bg-dark);
    /* Dark brown header */
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 3px solid var(--primary-green);
    /* Yellow accent line */
}

.announcement-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    color: #eee;
    font-size: 0.9rem;
    line-height: 1.5;
}

.announcement-footer {
    background: var(--main-gradient);
    color: #fff;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-footer:hover {
    background: var(--primary-green);
}

/* ========================================
   GOOGLE TRANSLATE BRANDING REMOVAL
   Complete CSS rules to hide all GT elements
   ======================================== */

/* 1. Prevent body position shift */
html {
    padding-top: 0 !important;
}

body {
    top: 0 !important;
    position: static !important;
}

/* 2. Hide all Google Translate banners and frames */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-ftab-frame,
.goog-te-menu-frame {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* 3. Hide "Powered by" text in gadget */
.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
}

/* 4. Hide Google logo and branding links */
.goog-te-gadget img,
.goog-te-gadget-icon,
.goog-te-gadget .goog-logo-link,
.goog-te-gadget .goog-logo-link:link,
.goog-te-gadget .goog-logo-link:visited,
.goog-te-gadget .goog-logo-link:hover,
.goog-te-gadget .goog-logo-link:active,
.goog-logo-link,
.goog-logo-link span {
    display: none !important;
    visibility: hidden !important;
}

/* 5. Remove text highlight on translated content */
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* 6. Hide the select dropdown (since you're using custom UI) */
.goog-te-combo {
    display: none !important;
}

/* 7. Additional fallback rules */
#google_translate_element {
    display: none !important;
}

#google_translate_element * {
    display: none !important;
}

/* 8. Hide any remaining branding elements */
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-xl07Ob-lTBxed,
.skiptranslate {
    display: none !important;
}

/* ========================================
   LANGUAGE MODAL STYLES
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.d-none {
    display: none;
}

.lang-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    animation: slideUp 0.3s ease-out;
    z-index: 9999;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.lang-search-wrapper {
    background: #f5f7f9;
    border: 1px solid #e0e6ed;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.lang-search-wrapper i {
    color: #999;
}

.lang-search-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    margin-left: 10px;
    font-size: 14px;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.lang-option {
    background: #f8f9fa;
    padding: 12px 5px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    border: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: #e9ecef;
}

.lang-option.active {
    color: var(--primary-blue, #007bff);
    border-color: var(--primary-blue, #007bff);
    background: rgba(0, 123, 255, 0.1);
}

.lang-option i {
    font-size: 16px;
}

.custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    min-width: 320px;
    max-width: 420px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.35s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .custom-alert {
        right: 10px;
        left: 10px;
        top: 10px;
        max-width: unset;
    }
}

/* left color bar */
.custom-alert::before {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 8px 0 0 8px;
}

/* icon */
.alert-icon {
    font-size: 18px;
}

/* close */
.alert-close {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.6;
}

.alert-close:hover {
    opacity: 1;
}

/* TYPES */
.alert-primary {
    background: #f0f4ff;
    color: #2f54eb;
}

.alert-primary::before {
    background: #2f54eb;
}

.alert-success {
    background: #f0fff9;
    color: #0f9d58;
}

.alert-success::before {
    background: #0f9d58;
}

.alert-warning {
    background: #fffbe6;
    color: #faad14;
}

.alert-warning::before {
    background: #faad14;
}

.alert-danger {
    background: #fff1f0;
    color: #cf1322;
}

.alert-danger::before {
    background: #cf1322;
}

/* animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.currency-list {
    background: var(--dark-gradient);
    border-radius: 12px;
    overflow: hidden;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.currency-item:last-child {
    border-bottom: none;
}

.currency-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.currency-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.currency-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.currency-name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.currency-arrow i {
    color: #aaa;
    font-size: 14px;
}

.recharge-card {
    background: var(--dark-gradient);
    border-radius: 14px;
    padding: 20px;
}

.recharge-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.recharge-logo {
    width: 26px;
}

.qr-box {
    text-align: center;
    margin-bottom: 20px;
}

.qr-box img {
    width: 200px;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

.qr-label {
    margin-top: 8px;
    color: #fff;
    font-size: 14px;
}

.address-box {
    display: flex;
    background: #1e1a16;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.address-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ccc;
    padding: 12px;
    font-size: 13px;
}

.address-box button {
    background: var(--primary-green);
    border: none;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
}

.recharge-btn {
    width: 100%;
    background: var(--main-gradient);
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.recharge-note {
    margin-top: 15px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
}

/* ===== DataTable Dark Trust Line Theme ===== */

.dataTables_wrapper {
    color: #eaeaea;
}

table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    overflow: hidden;
}

table.dataTable thead th {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 12px;
    border-bottom: none;
}

table.dataTable tbody td {
    padding: 14px 12px;
    color: #ddd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-wrap-mode: nowrap;
}

table.dataTable tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}


/* Buttons */
.dt-btn {
    background: var(--main-gradient) !important;
    border: none !important;
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 6px;
}

.dt-btn:hover {
    opacity: 0.9;
}

/* Search box */
.dataTables_filter input {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    color: #fff;
}

.dataTables_filter label {
    color: #aaa;
}

/* Info + Pagination */
.dataTables_info,
.dataTables_paginate {
    color: #aaa;
    font-size: 13px;
}

.dataTables_paginate .paginate_button {
    background: transparent !important;
    border: none !important;
    color: #aaa !important;
}

.dataTables_paginate .paginate_button.current {
    background: #5f8f6a !important;
    color: #000 !important;
    border-radius: 50%;
}

.balance-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 16px;
    border-radius: 14px;
}

.withdraw-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.method-pill {
    cursor: pointer;
}

.method-pill input {
    display: none;
}

.method-pill span {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 13px;
}

.method-pill input:checked+span {
    background: var(--main-gradient);
    color: #000;
    border-color: transparent;
}

.fee-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    color: #ccc;
}

.otp-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.otp-input {
    flex: 1;
}

.otp-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
    display: block;
}

.otp-input input {
    width: 100%;
    background: linear-gradient(180deg, #252d35, #1d242b);
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    color: #fff;
}

.otp-btn {
    background: var(--main-gradient);
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: #000;
    white-space: nowrap;
}

.otp-btn:disabled {
    opacity: 0.6;
}

.otp-timer {
    font-size: 12px;
    color: #ccc;
    visibility: hidden;
}




.transfer-balance-card {
    background: var(--main-gradient);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-weight: 600;
    margin-bottom: 25px;
}

.transfer-balance-card .amount {
    font-size: 22px;
    font-weight: bold;
}

.transfer-balance-card .switch-icon {
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.transfer-card {
    background: var(--dark-gradient);
    padding: 25px;
    border-radius: 16px;
}

.transfer-input-wrapper {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 18px;
}

.transfer-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
}

.transfer-input::placeholder {
    color: #bbb;
}

.confirm-btn {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    background: var(--main-gradient);
    color: #2b1400;
    transition: 0.3s;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 190, 90, 0.4);
}

/* ===== OPEN BUTTON ===== */
.open-spin-btn {
    padding: 14px 30px;
    border-radius: 30px;
    background: linear-gradient(to right, #fbbf24, #f59e0b, #d97706);
    border: none;
    font-weight: 900;
    font-size: 14px;
    color: #1a003d;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 158, 11, .5);
}

/* ===== MODAL BACKDROP ===== */
.spin-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== MODAL BOX ===== */
.spin-modal-box {
    /* width: 100%; */
    max-width: 420px;
    /* height: 95vh; */
    background: radial-gradient(circle at top, #2a0066, #0b001a);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    color: #ffffff;
    position: relative;
    box-shadow: 0 0 60px rgba(80, 0, 150, .6);
    animation: zoomIn .3s ease;
}

/* ===== CLOSE ===== */
.close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    opacity: .7;
}

.close-btn:hover {
    opacity: 1;
}

/* ===== TITLES ===== */
.title {
    font-size: 32px;
    font-weight: 900;
    margin-top: 20px;
}

.title span {
    color: #fbbf24;
}

.sub {
    font-size: 13px;
    color: #bbaadd;
    margin-bottom: 20px;
}

/* ===== SPIN WRAPPER ===== */
.spin-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 30px auto;
}

/* ===== POINTER ===== */
.pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #fbbf24;
    z-index: 10;
    filter: drop-shadow(0 0 6px #fbbf24);
}

/* ===== WHEEL BORDER ===== */
.wheel-border {
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde68a, #f59e0b, #b45309);
    box-shadow: 0 0 40px rgba(245, 158, 11, .6);
}

/* ===== WHEEL ===== */
#wheel-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #22004d;
    transform-origin: 50% 50%;
    transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===== CENTER DOT ===== */
.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #fde68a, #f59e0b);
    border-radius: 50%;
    box-shadow: 0 0 12px #fbbf24;
    z-index: 9;
}

/* ===== SPIN BUTTON ===== */
.spin-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(to right, #fbbf24, #f59e0b, #d97706);
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    color: #1a003d;
    margin-top: 10px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, .5);
}

.spin-btn:active {
    transform: scale(.98);
}

/* ===== NOTE ===== */
.note {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    color: #aaa;
}

/* ===== ANIMATION ===== */
@keyframes zoomIn {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 420px) {
    .spin-wrapper {
        width: 240px;
        height: 240px;
    }
}


/* ===== WIN OVERLAY ===== */
.win-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 0, 30, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: scale(.8);
    transition: all .4s ease;
    z-index: 20;
}

.win-overlay.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* ===== WIN BOX ===== */
.win-box {
    background: radial-gradient(circle at top, #fde68a, #f59e0b, #b45309);
    padding: 20px 26px;
    border-radius: 20px;
    text-align: center;
    color: #1a003d;
    box-shadow: 0 0 30px rgba(245, 158, 11, .9);
    animation: popWin .5s ease;
}

.win-box h2 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 4px;
}

.win-box p {
    font-size: 13px;
    font-weight: 600;
}

.win-box span {
    display: block;
    font-size: 32px;
    font-weight: 900;
    margin-top: 6px;
}

/* ===== POP ANIMATION ===== */
@keyframes popWin {
    0% {
        transform: scale(.6);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.submenu-item {
    display: block;
    padding: 10px 15px;
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.submenu.open {
    max-height: 300px;
    padding-top: 5px;
}

.submenu-arrow {
    transition: transform 0.3s ease;
}

.submenu-arrow.rotate {
    transform: rotate(180deg);
}

/* OTP Modal Background */
.otp-modal {
    background: #1a0033;
    border-radius: 20px;
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Title */
.otp-title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 5px;
}

/* Subtext */
.otp-subtext {
    font-size: 13px;
    opacity: 0.7;
}

/* Input Styling */
.otp-input-modal {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    letter-spacing: 4px;
}

.otp-input-modal:focus {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    color: #fff;
}

/* Button Gradient */
.otp-btn-modal {
    background: linear-gradient(90deg, #6a00ff, #ff9a44);
    border: none;
    border-radius: 30px;
    padding: 10px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s ease;
}

.otp-btn-model:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

:root {
    --bg: #0d0d0d;
    --card: #141414;
    --card2: #1a1a1a;
    --orange: #f97316;
    --orange2: #ea580c;
    --text: #f5f5f5;
    --muted: #888;
    --border: #2a2a2a;
}

/* ── REFERRAL CARD ── */
.referral-card {
    margin: 14px 14px 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.referral-card .ref-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--card2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1.1rem;
}

.referral-card .ref-info {
    flex: 1;
}

.referral-card .ref-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--orange);
    text-transform: uppercase;
}

.ref-title .dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    margin-left: 6px;
    animation: blink 1.2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.referral-card .ref-copy {
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    cursor: pointer;
}

.referral-card .ref-copy i {
    color: var(--orange);
    font-size: .7rem;
}

/* ── MARKET INTELLIGENCE ── */
.section-header {
    padding: 18px 14px 10px;
}

.section-header .sub {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--orange);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-header .sub::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

.section-header h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-top: 2px;
}

.section-header h2 span {
    color: var(--orange);
}

/* ── MARKET TICKER CARDS ── */
.market-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 14px 14px;
}

.market-tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.market-tile .tv-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1e3a5f;
    color: #4a9eff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 5px;
    letter-spacing: 1px;
}

.market-tile .pair {
    font-size: .65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.market-tile .price {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 4px;
    line-height: 1;
}

.market-tile .price.green {
    color: #4ade80;
}

.market-tile .price.red {
    color: #f87171;
}

.market-tile .name {
    font-size: .6rem;
    color: var(--muted);
    margin-top: 2px;
}

.market-tile .mini-chart {
    margin-top: 10px;
    height: 38px;
    background: linear-gradient(180deg, rgba(249, 115, 22, .15) 0%, transparent 100%);
    border-radius: 6px;
    overflow: hidden;
}

.market-tile .mini-chart svg {
    width: 100%;
    height: 100%;
}

/* ── ACTIVE BALANCE ── */
.balance-section {
    margin: 0 14px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.balance-section .bal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.balance-section .bal-label {
    font-size: .68rem;
    letter-spacing: 2px;
    color: var(--orange);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.balance-section .bal-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    animation: blink 1.2s infinite;
}

.balance-section .briefcase-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(249, 115, 22, .4);
}

.balance-section .amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2.6rem;
    margin-top: 6px;
    letter-spacing: 1px;
}

.balance-section .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(249, 115, 22, .35);
}



.stat-item .stat-label {
    font-size: .6rem;
    letter-spacing: 1.5px;
    color: var(--muted);
    text-transform: uppercase;
}

.stat-item .stat-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    margin-top: 1px;
    color: var(--orange);
}

/* ── NETWORK ANALYTICS ── */
.analytics-section {
    margin: 0 14px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}

.analytics-section .an-sub {
    font-size: .65rem;
    letter-spacing: 2px;
    color: var(--orange);
    text-transform: uppercase;
}

.analytics-section .an-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 4px;
}

.analytics-section .an-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
}

.analytics-section .an-title .line1 {
    font-size: 2rem;
    line-height: 1;
}

.analytics-section .an-title .line2 {
    font-size: 2rem;
    color: var(--orange);
    line-height: 1;
}

.analytics-section .an-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, .4);
}

.analytics-section .an-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.an-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.an-stat .an-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(249, 115, 22, .35);
}

.an-stat .an-label {
    font-size: .6rem;
    letter-spacing: 1.5px;
    color: var(--muted);
    text-transform: uppercase;
}

.an-stat .an-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 1px;
}

.ref-icon {
    transition: all 0.3s ease;
}

.ref-icon.glow {
    color: #22c55e;
    /* green success */
    text-shadow: 0 0 8px #22c55e, 0 0 16px #22c55e;
}


:root {
    --bg: #0d0d0d;
    --card: #141414;
    --card2: #1c1c1c;
    --card3: #222;
    --orange: #f97316;
    --orange2: #ea580c;
    --green: #22c55e;
    --red: #ef4444;
    --yellow: #eab308;
    --text: #f5f5f5;
    --muted: #888;
    --border: #2a2a2a
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Barlow', 'Segoe UI', sans-serif
}

.ph {
    padding: 20px 16px 8px
}

.ph h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif
}

.ph h1 span {
    color: var(--orange)
}

.ph p {
    font-size: .72rem;
    letter-spacing: 2px;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 3px
}

/* FILTER */
.fb {
    margin: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px
}

.ft {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.fi {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem
}

.fl {
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--orange)
}

.fs {
    font-size: .65rem;
    letter-spacing: 1px;
    color: var(--muted);
    text-transform: uppercase
}

.dr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.dg label {
    font-size: .62rem;
    letter-spacing: 1.5px;
    color: var(--muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px
}

.di {
    width: 100%;
    background: var(--card2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.di input[type=date] {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: .8rem;
    outline: none;
    width: 100%;
    color-scheme: dark
}

.sb {
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(249, 115, 22, .4)
}

/* STATS */
.stb {
    margin: 0 14px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    align-items: center
}

.si {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(249, 115, 22, .4)
}

.st .tl {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px
}

.st .tl span {
    color: var(--orange)
}

.st .sl {
    font-size: .65rem;
    letter-spacing: 1px;
    color: var(--muted);
    text-transform: uppercase
}

.sr {
    margin-left: auto;
    background: var(--card2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center
}

.sr .cn {
    font-weight: 900;
    font-size: 1.4rem
}

.sr .cl {
    font-size: .6rem;
    letter-spacing: 1px;
    color: var(--muted);
    text-transform: uppercase
}

.sr .ci {
    font-size: .7rem;
    color: var(--orange);
    margin-bottom: 2px
}

/* CARDS */
.hl {
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.hc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden
}

.ctop {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border)
}

.av {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--card2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    flex-shrink: 0
}

.clb {
    font-size: .6rem;
    letter-spacing: 1.5px;
    color: var(--muted);
    text-transform: uppercase
}

.cid {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.2
}

.sp {
    margin-left: auto;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid;
    white-space: nowrap
}

.sp.a {
    color: var(--green);
    border-color: var(--green);
    background: rgba(34, 197, 94, .1)
}

.sp.n {
    color: var(--red);
    border-color: var(--red);
    background: rgba(239, 68, 68, .1)
}

.sp.p {
    color: var(--yellow);
    border-color: var(--yellow);
    background: rgba(234, 179, 8, .1)
}

.cb {
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.il {
    font-size: .6rem;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase
}

.iv {
    font-weight: 700;
    font-size: .9rem;
    margin-top: 2px;
    word-break: break-all
}

.iv.am {
    color: var(--orange);
    font-size: 1rem;
    font-weight: 800
}

.cf {
    background: var(--card2);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--muted)
}

.cf i {
    color: var(--orange)
}

.vb {
    margin-left: auto;
    background: var(--card3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: .7rem;
    padding: 5px 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px
}

/* PAGINATION */
.pag {
    margin: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap
}

.pag-info {
    font-size: .72rem;
    color: var(--muted);
    letter-spacing: .5px
}

.pag-info span {
    color: var(--orange);
    font-weight: 700
}

.pag-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap
}

.pag-links a,
.pag-links strong {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border);
}

.pag-links a {
    background: var(--card);
    color: var(--muted)
}

.pag-links a:hover {
    border-color: var(--orange);
    color: var(--orange)
}

.pag-links strong {
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    color: #fff;
    border-color: transparent
}

.pag-links .pag-arr {
    padding: 0 10px;
    min-width: auto
}

.es {
    text-align: center;
    padding: 50px 20px;
    color: var(--muted)
}

.es i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 12px;
    display: block
}

.bp {
    height: 10px
}

    .vip-page {
        padding: 18px;
        max-width: 480px;
        margin: auto;
    }

    /* HEADER */
    .upgrade-log {
        font-size: 22px;
        font-weight: 800;
        letter-spacing: 1px;
        margin-bottom: 14px;
    }

    .upgrade-log::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #f97316, #ea580c);
        margin-top: 6px;
        border-radius: 2px;
    }

    /* CARD */
    .amt-card {
        background: linear-gradient(145deg, #151515, #1c1c1c);
        border: 1px solid #2a2a2a;
        border-radius: 18px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    /* TOP */
    .amt-top {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }

    .amt-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: linear-gradient(135deg, #f97316, #ea580c);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(249, 115, 22, .4);
    }

    .amt-label {
        font-size: 15px;
        font-weight: 700;
    }

    .amt-sub {
        font-size: 12px;
        color: #aaa;
    }

    .amt-input-row {
        position: relative;
        /* THIS is the missing piece */
    }

    /* INPUT */
    .amt-input-row input {
        width: 100%;
        padding: 14px 55px 14px 16px;
        font-size: 20px;
        font-weight: 600;
        border-radius: 12px;
        border: 1px solid #333;
        padding-right: 70px;
        /* give space for USDT */
        background: #111;
        color: #fff;
        transition: 0.2s;
    }

    .amt-input-row input:focus {
        border-color: #f97316;
        box-shadow: 0 0 0 2px rgba(249, 115, 22, .2);
    }

    .amt-currency {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        color: #f97316;
        font-weight: 700;
        pointer-events: none;
    }

    /* BUTTON */
    .vip-btn {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 800;
        letter-spacing: 1px;
        border: none;
        color: #fff;
        background: linear-gradient(135deg, #f97316, #ea580c);
        cursor: pointer;
        box-shadow: 0 8px 25px rgba(249, 115, 22, .4);
        transition: 0.2s;
    }

    .vip-btn:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

    /* HINT */
    .amt-hint {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        color: #777;
        margin-top: 10px;
    }

    .amt-hint b {
        color: #f97316;
    }


    /* wrapper */
    .market-wrapper {
        overflow: hidden;
        padding: 20px 0;
    }

    /* scroll */
    .market-track {
        display: flex;
        gap: 20px;
        width: max-content;
        animation: scroll 60s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    /* card */
    .market-tile {
        min-width: 320px;
        height: 220px;
        background: #0f172a;
        border-radius: 20px;
        padding: 16px;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    /* header */
    .top-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* icon */
    .coin-icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #fff;
        padding: 2px;
        object-fit: cover;
    }

    .icon-fallback {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #334155;
        color: #fff;
        font-size: 14px;
        display: none;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }
    
    .user_id {
    color: var(--primary-green);
}

    /* text */
    .symbol {
        font-weight: bold;
    }

    .sub {
        font-size: 12px;
        color: #9ca3af;
    }

    /* price */
    .price {
        font-size: 26px;
        font-weight: bold;
    }

    .green {
        color: #4ade80;
    }

    .red {
        color: #f87171;
    }

    /* chart */
    .chart-box {
        width: 100%;
        height: 100px;
    }

    /* mobile */
    @media(max-width:768px) {
        .market-tile {
            min-width: 260px;
            height: 200px;
        }
    }

    @media(max-width:768px) {
        .market-track {
            animation: scroll 80s linear infinite;
        }
    }
