:root {
    --bg-color: #0d0e12;
    --card-bg: #16181f;
    /* Slightly lighter than pure black */
    --text-color: #e0e0e0;
    --accent-blue: #00d2ff;
    --accent-blue-dim: rgba(0, 210, 255, 0.1);
    --accent-purple: #9b59b6;
    --green-positive: #00e676;
    --red-negative: #ff3d57;
    --nav-bg: rgba(22, 24, 31, 0.95);
    --border-color: #2a2d36;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-bottom: 80px;
    /* Space for bottom nav */
    margin: 0;
}

/* App Container for Responsive Mobile View on Desktop */
/* Responsive Container */
.app-container {
    width: 100%;
    max-width: none;
    margin: 0;
    background-color: var(--bg-color);
    min-height: 100vh;
    padding-bottom: 20px;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to bottom, #0d0e12, rgba(13, 14, 18, 0));
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    /* Ensure header stays within container */
}

.bts-logo {
    font-weight: 800;
    color: var(--accent-blue);
    font-size: 1.1rem;
    border: 1px solid var(--accent-blue);
    padding: 4px 10px;
    border-radius: 12px;
    background: var(--accent-blue-dim);
    letter-spacing: 1px;
}

.page-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-icon {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

/* Content Wrapper */
.content-wrapper {
    padding: 0 16px;
}

/* Slider */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.banner-img {
    width: 100%;
    height: 180px;
    /* Mobile optimized height */
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* 
.banner-card removed/replaced by img for slider. 
Keeping generic styles just in case but slider uses img now.
*/

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    transition: width 0.3s, background-color 0.3s;
    cursor: pointer;
}

.dot.active {
    background-color: var(--accent-blue);
    width: 18px;
}

/* Action Grid */
.action-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 0 5px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: #b0b0b0;
    gap: 8px;
}

.icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff 0%, #007aff 100%);
    /* Cyan to Blue gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
    /* Glowing effect */
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
    color: #fff;
    /* White icons */
}

.icon-circle:active {
    transform: scale(0.95);
}

/* Individual Colors matching screenshot */
.icon-circle.recharge {
    background: linear-gradient(135deg, #00d2ff 0%, #007aff 100%);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.icon-circle.withdrawal {
    background: linear-gradient(135deg, #00f260 0%, #0575e6 100%);
    box-shadow: 0 0 15px rgba(0, 242, 96, 0.4);
}

.icon-circle.invite {
    background: linear-gradient(135deg, #ff3d57 0%, #ff6b6b 100%);
    box-shadow: 0 0 15px rgba(255, 61, 87, 0.4);
}

.icon-circle i {
    color: #fff;
}


/* Crypto Cards */
.crypto-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 10px;
    /* Space for potential scrollbar */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.crypto-cards::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar Chrome */

.card {
    background: #12141a;
    /* Darker flat background */
    border-radius: 20px;
    padding: 20px 15px;
    flex: 1;
    min-width: 140px;
    /* Prevent squashing on mobile */
    text-align: center;
    border: 1px solid #2a2d36;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.percent {
    font-size: 0.9rem;
    font-weight: 500;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 5px;
}



/* Specific colors for price/percent */
.down {
    color: #ff3d57 !important;
}

.up {
    color: #00e676 !important;
}


/* Market List */
.section-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.market-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.market-item {
    background-color: #12141a;
    /* Dark flat bg */
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a2d36;
    /* Subtle divider style */
    border: none;
    box-shadow: none;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon-placeholder {
    display: none;
    /* Reference image doesn't show big icons, or they are subtle. Let's hide to match text focus or keep if user likes. Reference has NO icon, just text. */
}

.coin-info h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 700;
}

.coin-info .vol {
    font-size: 0.7rem;
    color: #777;
    text-transform: none;
    /* Allow 24Hamount */
}

.coin-price-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-main {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 4px;
}

/* Specific color override for market list prices if needed, using classes */
.price-main.down {
    color: #ff3d57;
}

.price-main.up {
    color: #00e676;
}

.price-change-box {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 0;
    font-size: 0.85rem;
    font-weight: 500;
    background: none;
    /* Removing background box to match clean text style of reference */
}

/* Add small circle indicator */
.price-change-box::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.price-change-box.down::before {
    background: linear-gradient(135deg, #ff9a9e 0%, #ff3d57 100%);
}

.price-change-box.up::before {
    background: linear-gradient(135deg, #84fab0 0%, #00e676 100%);
}

.price-change-box.down {
    color: #ff3d57;
    background-color: transparent;
}

.price-change-box.up {
    color: #00e676;
    background-color: transparent;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Full width */
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #777;
    font-size: 0.7rem;
    gap: 4px;
    flex: 1;
}

.nav-item i {
    font-size: 1.3rem;
    transition: color 0.3s;
}

.nav-item.active {
    color: var(--accent-blue);
}

.nav-item.active i {
    color: var(--accent-blue);
}

/* Center FAB button style */
.center-fab {
    margin-top: -30px;
}

.center-fab i {
    background: var(--accent-blue);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
    border: 3px solid var(--bg-color);
}

/* Language Dropdown */
.lang-container {
    position: relative;
}

.lang-icon {
    color: var(--accent-blue);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 5px 0;
    min-width: 100px;
    display: none;
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-blue);
}

/* Responsive Media Queries */
@media (min-width: 768px) {
    /* Tablet & Desktop Adjustments */

    .banner-img {
        height: 350px;
        /* Taller banner on desktop */
    }

    .action-grid {
        justify-content: center;
        gap: 60px;
        /* More space between icons */
    }

    .crypto-cards {
        display: grid;
        /* Use grid instead of flex */
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns */
        overflow-x: visible;
        padding-bottom: 0;
    }

    .market-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for market list */
        gap: 15px;
    }

    .banner-content h2 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    /* Constrain Width for Forms on Desktop */
    .recharge-content,
    .invite-content {
        max-width: 500px;
        margin: 0 auto;
        /* Center it */
    }
}

/* Recharge Page Styles */
.recharge-header {
    background: transparent;
    padding: 15px 20px;
    position: relative;
}

.recharge-header .back-btn {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
}

.recharge-header .history-icon {
    color: #777;
    font-size: 1.2rem;
}

.recharge-tabs {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

.tab-btn {
    padding: 10px 40px;
    background: #1e222b;
    border-radius: 25px;
    color: #777;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.tab-btn.active {
    background: linear-gradient(90deg, #00d2ff, #00e676);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.amount-input-box {
    background: #1e222b;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.amount-input-box label {
    display: block;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.amount-input-box input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.amount-btn {
    background: transparent;
    border: 1px solid #777;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn:hover,
.amount-btn:active,
.amount-btn.selected {
    border-color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
    color: var(--accent-blue);
}

.recharge-card {
    background: #12141a;
    border-radius: 20px;
    padding: 20px;
    margin-top: 10px;
    border: 1px solid #2a2d36;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.confirm-btn {
    width: 100%;
    background: linear-gradient(90deg, #00d2ff, #00e676);
    border: none;
    padding: 15px;
    border-radius: 25px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.recharge-rules h4 {
    color: var(--red-negative);
    margin-bottom: 10px;
    font-size: 1rem;
}

.recharge-rules p {
    color: #777;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Payment Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #16181f;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid #333;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    /* Use an image or icon resembling the screenshot */
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-cancel {
    background: linear-gradient(90deg, #00d2ff, #00e676);
    /* Cyan/Green */
}

.btn-pay {
    background: linear-gradient(90deg, #ff3d57, #ff9a9e);
    /* Red/Pink */
}


/* Payment Page Styles */
.payment-body {
    background-color: #f0f2f5;
    /* Light background for payment page body as per screenshot context, or keep dark if preferred. Screenshot shows purple header on light/white box. Let's stick to user App Theme but header is purple. Wait, screenshot looks like a separate page style. Let's make it look like the screenshot: Purple Header, Light Body Container. */
    background: #eef2f9;
    color: #333;
}

.payment-header {
    background: #7b42f6;
    /* Purple */
    padding: 30px 20px 60px 20px;
    text-align: center;
    color: #fff;
}

.payment-amount-box .label {
    font-size: 1rem;
    opacity: 0.9;
}

.payment-amount-box .amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 5px 0;
}

.payment-amount-box .timer {
    font-size: 1.2rem;
    font-weight: 500;
}

.payment-container {
    padding: 0 15px;
    margin-top: -30px;
    /* Overlap header */
}

.payment-tabs {
    display: flex;
    background: #fff;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 2px solid #eee;
}

.pay-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    border-bottom: 3px solid transparent;
}

.pay-tab.active {
    color: #7b42f6;
    border-bottom-color: #7b42f6;
}

.tab-content {
    display: none;
    background: #fff;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
    display: block;
}

.method-selector {
    background: #f0f2ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #dce2ff;
}

.method-selector h4 {
    color: #333;
    /* Dark text for light mode */
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.methods {
    display: flex;
    gap: 15px;
}

.method-btn {
    flex: 1;
    background: #fff;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    border: 1px solid #eee;
    color: #333;
    font-weight: 600;
}

.warning-box {
    background: #e0d4fc;
    color: #4a148c;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.transfer-step {
    background: #f0f2ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.transfer-step p {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.copy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    margin-bottom: 10px;
}

.copy-box span {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
}

.copy-box i {
    color: #555;
    cursor: pointer;
}

.utr-box {
    display: flex;
    gap: 10px;
}

.utr-box input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #fff;
    outline: none;
    color: #333;
}

.utr-submit {
    background: #7b42f6;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.payment-footer-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0.6;
}

.qr-placeholder {
    text-align: center;
    margin: 20px 0;
}

/* Recharge Channel Styles */
.channel-header {
    margin: 20px 0 15px 0;
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-header .indicator {
    color: var(--accent-blue);
    font-weight: 900;
    font-size: 1.2rem;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.channel-card {
    background: #1e222b;
    /* Darker than bg, lighter than deep black */
    border-radius: 12px;
    padding: 15px 20px;
    position: relative;
    border: 1px solid #333;
}

.channel-info {
    margin-bottom: 10px;
}

.channel-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 500;
}

.channel-info .limit {
    color: #777;
    font-size: 0.85rem;
}

.channel-alert {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #fff;
}

.channel-action {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
}

.channel-submit {
    background: linear-gradient(90deg, #00d2ff, #00e676);
    border: none;
    border-radius: 20px;
    padding: 8px 25px;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.channel-card .arrow {
    display: block;
    text-align: right;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #fff;
}

/* Mobile Responsiveness for New Pages */
@media only screen and (max-width: 600px) {

    /* Recharge Channel Mobile */
    .channel-card {
        padding: 12px 15px;
    }

    .channel-info h3 {
        font-size: 1rem;
    }

    .channel-submit {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .recharge-rules h4 {
        font-size: 0.9rem;
    }

    .recharge-rules p {
        font-size: 0.8rem;
    }

    /* Payment Page Mobile */
    .payment-header {
        padding: 15px 15px 40px 15px;
        /* Reduced vertical padding */
    }

    .payment-amount-box .label {
        font-size: 0.9rem;
    }

    .payment-amount-box .amount {
        font-size: 1.8rem;
        /* Slightly smaller for better fit */
        margin: 2px 0;
    }

    .payment-container {
        padding: 0 12px;
        margin-top: -35px;
        /* Pull up more to overlap header */
    }

    .methods {
        flex-direction: column;
        gap: 10px;
    }

    .method-btn {
        width: 100%;
        margin-bottom: 0;
        padding: 12px;
        /* Larger touch target */
    }

    .copy-box {
        padding: 10px 12px;
    }

    .copy-box span {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .transfer-step p {
        font-size: 0.9rem;
    }

    .payment-footer-logos {
        gap: 15px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .payment-footer-logos div {
        font-size: 0.7rem;
        /* Smaller footer text */
    }

    /* Modal Mobile */
    .modal-content {
        width: 90%;
        /* Wider modal on mobile */
        padding: 25px 20px;
    }

    .modal-icon {
        font-size: 2.5rem;
    }
}

/* Withdrawal Page Styles */
.section-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.withdrawal-tabs {
    justify-content: flex-start;
}

.withdrawal-tabs .tab-btn {
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.95rem;
}

.withdrawal-tabs .trc20,
.withdrawal-tabs .erc20 {
    background: #2a2d36;
    border-color: #2a2d36;
}

.bind-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e222b;
    padding: 20px;
    border-radius: 15px;
    color: #fff;
    /* White text as per screenshot */
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.balance-info-row {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.balance-info-row.right-align {
    justify-content: flex-end;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.withdrawal-input-box {
    background: #1e222b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 10px;
    border: 1px solid #333;
}

.withdrawal-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
}

.withdrawal-input-box .currency-symbol {
    color: #777;
    margin-right: 10px;
}

.withdrawal-input-box .all-btn {
    color: var(--accent-blue);
    font-weight: 600;
    cursor: pointer;
}

.min-amount-info {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding: 0 5px;
}

.fee-section .label {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.fee-box {
    background: #1e222b;
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border: 1px solid #333;
}

.fee-note {
    color: #777;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.password-box {
    background: #fff;
    /* Light bg for password input in screenshot */
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.password-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.withdrawal-rules {
    margin-top: 20px;
    padding-bottom: 80px;
    /* Space for footer button */
}

.withdrawal-rules h4 {
    color: var(--red-negative);
    text-align: center;
    margin-bottom: 15px;
}

.withdrawal-rules p {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.withdrawal-rules .warning {
    color: #e6b800;
    /* Yellowish warning */
}

.fixed-footer-btn {
    margin-top: 20px;
    padding-bottom: 20px;
}

/* Bind Bank Page Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cyan-bar {
    color: var(--accent-blue);
    font-weight: 900;
    font-size: 1.2rem;
}

.dark-input {
    background: #12141a;
    /* Very dark bg */
    border: 1px solid #333;
    padding: 15px;
    border-radius: 5px;
}

.dark-input input {
    width: 100%;
    background: transparent;
    border: none;
    color: #777;
    outline: none;
    font-size: 1rem;
}

/* Invite Page Styles */
.transparent-header {
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.invite-banner {
    background: linear-gradient(180deg, #0052D4 0%, #4364F7 50%, #12141a 100%);
    /* Blue gradient top to dark */
    padding: 80px 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.invite-text h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.invite-text p {
    font-size: 0.9rem;
    max-width: 200px;
}

.team-header {
    color: #777;
    margin: 10px 0;
    font-size: 1rem;
}

.date-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #00d2ff;
    /* Cyan bar */
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00d2ff, #00e676);
}

.date-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #000;
    /* Dark text on cyan */
    font-weight: 600;
    padding: 10px;
    cursor: pointer;
}

.separator {
    color: #000;
    font-weight: 700;
}

.stats-card {
    background: linear-gradient(135deg, #0052D4, #00d2ff);
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 82, 212, 0.4);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    text-align: center;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-item {
    flex: 1;
}

.stat-item .label {
    font-size: 0.7rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.stat-item .value {
    font-size: 1rem;
    font-weight: 700;
}

.promo-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.promo-box {
    flex: 1;
    background: #2a2d36;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #444;
}

.promo-box .label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 5px;
}

.promo-box .code-val {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-box .code-val.link {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-box i {
    cursor: pointer;
    color: #ccc;
    font-size: 0.9rem;
}

.copy-invite-btn {
    width: 100%;
    background: linear-gradient(90deg, #00d2ff, #00e676);
    border: none;
    padding: 12px;
    border-radius: 25px;
    color: #000;
    font-weight: 700;
    margin-bottom: 20px;
    cursor: pointer;
}

.tier-info {
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.team-tabs {
    display: flex;
    background: #1e222b;
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 20px;
}

.t-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    color: #777;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.t-tab.active {
    background: #00d2ff;
    color: #000;
    font-weight: 700;
}

.table-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.table-header div {
    flex: 1;
}

.no-more {
    text-align: center;
    color: #555;
    margin-top: 30px;
    font-size: 0.9rem;
}

.date-picker-content input {
    background: #2a2d36;
    border: 1px solid #444;
    color: #fff;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

/* Mobile Responsiveness for Invite Page */
@media only screen and (max-width: 600px) {
    .invite-banner {
        padding: 70px 15px 15px 15px;
    }

    .invite-text h2 {
        font-size: 1.5rem;
    }

    .stat-row {
        gap: 10px;
    }

    .stat-item .label {
        font-size: 0.6rem;
    }

    .stat-item .value {
        font-size: 0.9rem;
    }

    .promo-row {
        flex-direction: column;
        gap: 10px;
    }

    .table-header,
    .tier-info {
        font-size: 0.7rem;
    }

    .t-tab {
        padding: 6px;
        font-size: 0.8rem;
    }
}

/* Wallet Page Styles */
.wallet-card {
    background: linear-gradient(135deg, #7b42f6, #00d2ff);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(123, 66, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.w-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.w-balance {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.w-info {
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
}

.wallet-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.w-action-btn {
    flex: 1;
    background: #1e222b;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, border-color 0.2s;
}

.w-action-btn:active {
    transform: scale(0.98);
}

.w-action-btn .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.w-action-btn.recharge .icon-box {
    background: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
}

.w-action-btn.withdraw .icon-box {
    background: rgba(0, 230, 118, 0.1);
    color: #00e676;
}

.trans-list {
    margin-top: 15px;
}

.trans-item {
    background: #1e222b;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #333;
}

.t-left .t-type {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.t-left .t-time {
    font-size: 0.75rem;
    color: #777;
}

.t-right {
    font-weight: 700;
    font-size: 1rem;
}

.t-right.positive {
    color: #00e676;
}

.t-right.negative {
    color: #ff3d57;
}

/* Blinking Dots Group */
.dot-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin-right: 10px;
}

.dot-item {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulseDot 1s infinite alternate;
}

.d-1 {
    background: #ff3d57;
    animation-delay: 0s;
}

/* Red */
.d-2 {
    background: #ffbb33;
    animation-delay: 0.2s;
}

/* Orange */
.d-3 {
    background: #00e676;
    animation-delay: 0.4s;
}

/* Green */
.d-4 {
    background: #00d2ff;
    animation-delay: 0.6s;
}

/* Blue */

@keyframes pulseDot {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 5px currentColor;
    }
}

/* Live Trading Animations */
@keyframes blinkGreen {
    0% {
        background-color: rgba(0, 230, 118, 0.2);
        color: #00e676;
    }

    50% {
        background-color: rgba(0, 230, 118, 0.6);
        color: #fff;
        box-shadow: 0 0 10px #00e676;
    }

    100% {
        background-color: transparent;
        color: #00e676;
    }
}

@keyframes blinkRed {
    0% {
        background-color: rgba(255, 61, 87, 0.2);
        color: #ff3d57;
    }

    50% {
        background-color: rgba(255, 61, 87, 0.6);
        color: #fff;
        box-shadow: 0 0 10px #ff3d57;
    }

    100% {
        background-color: transparent;
        color: #ff3d57;
    }
}

.blink-up {
    animation: blinkGreen 1s ease-out;
}

.blink-down {
    animation: blinkRed 1s ease-out;
}

.cs-banner {
    background: #1e222b;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border: 1px solid #333;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cs-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cs-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #00d2ff, #007aff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.cs-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.arrow-icon {
    color: #777;
    font-size: 0.9rem;
}

/* Enhanced Crypto List */
.market-item {
    transition: background 0.3s;
}

.market-item:hover {
    background: #232730;
}

.coin-price-box .price-main {
    transition: color 0.3s;
}