:root {
    --primary: #004d00;
    --accent: #d4af37;
    --dark: #0a1f0a;
    --light: #f4fdf4;
    --shadow: 0 10px 30px rgba(0, 77, 0, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: var(--light); color: #333; overflow-x: hidden; }

/* Fonts */
.urdu-text { font-family: 'Noto Nastaliq Urdu', serif; font-size: 0.9rem; color: #666; direction: rtl; }
.highlight { color: var(--accent); }

/* --- Top Bar & Landing Page Styles --- */
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: white; border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 1000; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; color: var(--primary); }
.secure-icon { width: 30px; height: 30px; object-fit: contain; }
.govt-tag { display: block; font-size: 0.6rem; background: var(--primary); color: white; padding: 2px 5px; border-radius: 3px; text-transform: uppercase; letter-spacing: 1px; text-align: center; }

.btn-login { color: var(--primary); text-decoration: none; font-weight: 600; margin-right: 10px; font-size: 0.9rem; }
.btn-register { background: var(--primary); color: white; padding: 8px 20px; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 0.9rem; }

/* Hero */
.hero { padding: 50px 20px; text-align: center; background: linear-gradient(180deg, #fff 0%, #e8f5e9 100%); }
.trust-pill { display: inline-block; background: #e8f5e9; color: var(--primary); padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--primary); margin-bottom: 15px; }
.hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 10px; font-family: 'Rajdhani', sans-serif; text-transform: uppercase; }
.gradient-text { background: linear-gradient(to right, var(--primary), #00b300); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-btns { display: flex; gap: 15px; justify-content: center; margin-top: 25px; flex-wrap: wrap; }
.btn-primary { background: var(--primary); color: white; padding: 12px 30px; border: none; border-radius: 5px; font-size: 1rem; text-decoration: none; font-weight: 600; cursor: pointer; box-shadow: 0 5px 15px rgba(0,77,0,0.3); display: inline-block; transition: 0.3s; }
.btn-primary:hover { transform: translateY(-3px); background: #006400; }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 10px 25px; border-radius: 5px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; }
.btn-secondary:hover { background: var(--primary); color: white; }

/* Plans Section */
.plans-section { padding: 40px 20px; background: #fff; }
.section-header { text-align: center; margin-bottom: 40px; }
.plans-grid { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.plan-card { width: 100%; max-width: 380px; background: white; border-radius: 15px; border: 1px solid #e0e0e0; box-shadow: var(--shadow); overflow: hidden; position: relative; transition: 0.3s; }
.plan-card.premium { border: 2px solid var(--accent); transform: scale(1.02); }
.card-badge { position: absolute; top: 20px; left: 20px; background: #e8f5e9; color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; }
.gold-badge { background: #fff9c4; color: #8d6e03; }
.govt-stamp { position: absolute; top: 0; right: 0; background: var(--accent); color: #000; font-size: 0.7rem; font-weight: bold; padding: 5px 15px; border-bottom-left-radius: 10px; z-index: 2; }
.plan-header { padding: 50px 20px 20px; text-align: center; background: linear-gradient(180deg, #f9f9f9 0%, #fff 100%); border-bottom: 1px dashed #ddd; }
.roi { font-size: 3rem; color: var(--primary); font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.plan-body { padding: 20px; }
.feature-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.9rem; color: #555; }
.verified { color: var(--primary); background: #e8f5e9; padding: 2px 8px; border-radius: 10px; font-size: 0.8rem; }
.btn-invest { width: 100%; padding: 15px; border: none; background: #333; color: white; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-invest:hover { background: var(--primary); }

/* Bottom Ticker & Footer */
.bottom-section { margin-top: 30px; background: white; border-top: 1px solid #eee; }
.live-ticker { display: flex; background: #000; color: #00ff00; font-family: monospace; font-size: 0.8rem; padding: 8px 0; overflow: hidden; }
.ticker-head { background: #000; padding: 0 10px; z-index: 2; font-weight: bold; }
.ticker-content { white-space: nowrap; animation: ticker 20s linear infinite; display: flex; gap: 30px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.payment-partners { text-align: center; padding: 30px 20px; }
.partners-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 20px; }
.partner-box img { height: 45px; width: auto; transition: transform 0.3s ease; }
.partner-box img:hover { transform: scale(1.1); }
.bottom-nav { position: fixed; bottom: 0; width: 100%; background: white; display: flex; justify-content: space-around; padding: 12px 0; border-top: 1px solid #eee; z-index: 1000; }
.nav-item { text-decoration: none; color: #aaa; display: flex; flex-direction: column; align-items: center; font-size: 0.7rem; }
.nav-item i { font-size: 1.3rem; margin-bottom: 4px; }
.nav-item.active { color: var(--primary); }

/* --- AUTHENTICATION STYLES (Login/Register) --- */
.auth-body { background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%); min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px; }
.auth-container { width: 100%; max-width: 450px; }
.auth-card { background: white; padding: 40px 30px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 77, 0, 0.15); border-top: 5px solid var(--primary); text-align: center; }
.auth-logo { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 15px; }
.input-group { position: relative; margin-bottom: 20px; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.input-group input { width: 100%; padding: 14px 15px 14px 45px; border: 1px solid #ddd; border-radius: 8px; outline: none; background: #fcfcfc; }
.btn-auth { width: 100%; background: var(--primary); color: white; padding: 14px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
.error-msg { background: #ffebee; color: #c62828; padding: 10px; border-radius: 5px; margin-bottom: 20px; border: 1px solid #ef9a9a; display: none; }
.form-options { display: flex; justify-content: space-between; margin-bottom: 25px; font-size: 0.85rem; }

/* --- DASHBOARD STYLES --- */
.dashboard-body { background-color: #f8f9fa; }
.dash-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: white; position: sticky; top: 0; z-index: 100; }
.user-info { display: flex; align-items: center; gap: 10px; }
.profile-pic { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary); padding: 2px; }
.header-actions button { background: none; border: none; font-size: 1.2rem; margin-left: 10px; cursor: pointer; color: #555; }

.wallet-card { background: linear-gradient(135deg, #004d00 0%, #006400 100%); color: white; margin: 20px; padding: 25px; border-radius: 20px; position: relative; box-shadow: 0 10px 25px rgba(0, 77, 0, 0.3); }
.card-top { display: flex; justify-content: space-between; opacity: 0.9; margin-bottom: 10px; }
.card-balance { font-size: 2.2rem; font-weight: 700; font-family: 'Rajdhani', sans-serif; margin-bottom: 20px; }
.card-bottom { display: flex; justify-content: space-between; font-family: monospace; font-size: 0.9rem; }
.verified-badge { background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; }

.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 20px; margin-bottom: 30px; }
.action-btn { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #444; font-size: 0.8rem; }
.icon-circle { width: 50px; height: 50px; background: white; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.deposit .icon-circle { color: var(--primary); }
.withdraw .icon-circle { color: #d32f2f; }
.team .icon-circle { color: #f57c00; }
.support .icon-circle { color: #25D366; }

.mining-status-box { background: white; margin: 0 20px 20px; padding: 20px; border-radius: 15px; border: 1px solid #eee; text-align: center; }
.status-header { display: flex; justify-content: space-between; margin-bottom: 15px; }
.status-pill { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; }
.stopped { background: #ffebee; color: #c62828; }
.running { background: #e8f5e9; color: var(--primary); }
.mining-icon-container { font-size: 3rem; color: #ddd; margin-bottom: 10px; }
.active-mine .mining-icon-container { color: var(--primary); animation: dig 1s infinite alternate; }
@keyframes dig { from { transform: rotate(0deg); } to { transform: rotate(-45deg); } }
.btn-start-mining { width: 100%; padding: 12px; background: #333; color: white; border: none; border-radius: 8px; cursor: pointer; margin-top: 15px;}

.history-section { padding: 0 20px; }
.empty-state { text-align: center; padding: 30px; color: #999; background: white; border-radius: 10px; border: 1px dashed #ddd; }

/* --- DEPOSIT PAGE STYLES --- */
.page-header { background: var(--primary); color: white; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
.current-balance-box { background: white; margin: 20px; padding: 20px; border-radius: 10px; text-align: center; border: 1px solid #eee; }
.current-balance-box h2 { color: var(--primary); font-family: 'Rajdhani', sans-serif; font-size: 2rem; }
.deposit-section { padding: 0 20px 20px 20px; }
.method-grid { display: flex; gap: 15px; }
.method-card { flex: 1; background: white; border: 1px solid #ddd; border-radius: 10px; padding: 15px; text-align: center; cursor: pointer; transition: 0.3s; }
.method-card.active { border: 2px solid var(--primary); background: #f4fdf4; }
.admin-account-box { background: #fff9c4; padding: 15px; border-radius: 10px; border: 1px solid #fbc02d; margin-bottom: 20px; }
.file-upload-box label { display: block; width: 100%; padding: 15px; border: 2px dashed #ccc; text-align: center; border-radius: 8px; cursor: pointer; background: white; }

/* --- PLAN MODAL STYLES --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); animation: fadeIn 0.3s; }
.modal-content { background: white; width: 90%; max-width: 400px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: slideUp 0.3s; }
.modal-header { background: var(--primary); color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.close-btn { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }
.modal-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.modal-plan-card { display: flex; align-items: center; gap: 10px; border: 1px solid #eee; padding: 10px; border-radius: 10px; position: relative; transition: 0.3s; }
.modal-plan-card.popular { border: 1px solid var(--accent); background: #fffde7; }
.mp-badge { position: absolute; top: -8px; right: 10px; background: var(--accent); color: black; font-size: 0.6rem; padding: 2px 8px; border-radius: 10px; font-weight: bold; }
.mp-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.bronze { background: #cd7f32; } .silver { background: #95a5a6; } .gold { background: #f1c40f; }
.mp-info h4 { font-size: 0.9rem; margin: 0; color: #333; }
.mp-info p { font-size: 0.75rem; color: #777; margin: 0; }
.btn-buy-sm { margin-left: auto; background: var(--primary); color: white; border: none; padding: 6px 15px; border-radius: 5px; cursor: pointer; font-size: 0.8rem; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* --- DEPOSIT PAGE FIXED CSS --- */
.deposit-body {
    background: #f4f6f8;
    min-height: 100vh;
}

.deposit-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Header */
.page-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.back-btn { color: white; font-size: 1.2rem; }

/* Balance Box */
.current-balance-box {
    background: white;
    margin-top: 20px;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}
.current-balance-box h2 {
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 5px;
}

/* Methods Grid */
.deposit-section {
    margin-top: 25px;
}
.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.method-grid {
    display: flex;
    gap: 15px;
}
.method-card {
    flex: 1;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}
.method-card:hover { transform: translateY(-3px); }
.method-card.active {
    border: 2px solid var(--primary);
    background: #e8f5e9;
}
.method-card img { height: 40px; margin-bottom: 5px; display: block; margin: 0 auto; }
.check-icon {
    position: absolute; top: 5px; right: 5px;
    color: var(--primary); display: none;
}
.method-card.active .check-icon { display: block; }

/* Admin Account Details */
.admin-details-box {
    background: #fff8e1; /* Yellow warning bg */
    border: 1px solid #ffe082;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}
.copy-btn {
    background: #333; color: white; border: none;
    padding: 2px 8px; border-radius: 4px; cursor: pointer; font-size: 0.7rem;
}

/* Form Inputs */
.input-field {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,77,0,0.3);
}

/* --- UPDATED MODAL CSS (For Inputs) --- */
.modal-input-group {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}
.modal-input-group label {
    font-size: 0.8rem; font-weight: bold; color: #555; display: block; margin-bottom: 5px;
}
.range-info {
    font-size: 0.75rem; color: var(--primary); background: #e8f5e9; padding: 2px 6px; border-radius: 4px;
}
.invest-input {
    width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-size: 1.1rem; font-weight: bold; color: #333;
}
.profit-calc {
    text-align: right; font-size: 0.85rem; color: #666; margin-top: 5px;
}
.profit-calc span { color: var(--primary); font-weight: bold; font-size: 1rem; }
/* --- WITHDRAW PAGE STYLES --- */

/* Info Note */
.withdraw-note {
    background: #e3f2fd;
    color: #1565c0;
    padding: 10px 15px;
    margin: 0 20px 10px 20px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    gap: 8px;
    align-items: center;
    border: 1px solid #bbdefb;
}

.mt-10 { margin-top: 10px; }

/* Icon Placeholder for NP/SP if image missing */
.icon-placeholder {
    height: 40px; width: 40px; 
    background: #eee; 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 5px; 
    color: #555; font-size: 1.2rem;
}

/* Fee Display */
.fee-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    border: 1px dashed #ccc;
    margin-bottom: 15px;
    color: #555;
}

/* History Badges */
.history-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-left h4 { margin: 0; font-size: 1rem; color: #333; }
.history-left p { margin: 0; font-size: 0.8rem; color: #777; }
.history-right { text-align: right; }
.history-amt { font-weight: bold; font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; display: block; }

/* Status Colors */
.status-pending { color: #f57c00; background: #fff3e0; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: bold; }
.status-approved { color: #2e7d32; background: #e8f5e9; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: bold; }
/* --- TEAM PAGE STYLES --- */
.invite-card {
    background: white; padding: 25px 20px; margin: 20px; border-radius: 15px;
    text-align: center; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.gift-icon {
    width: 60px; height: 60px; background: #fff3e0; color: #ff9800;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 15px;
}
.link-box {
    display: flex; gap: 5px; margin-top: 15px; background: #f9f9f9;
    padding: 5px; border-radius: 8px; border: 1px solid #ddd;
}
.link-box input {
    width: 100%; border: none; background: transparent; padding: 8px; font-size: 0.85rem; color: #555; outline: none;
}
.link-box button {
    background: var(--primary); color: white; border: none; padding: 8px 15px;
    border-radius: 5px; cursor: pointer; font-size: 0.8rem;
}
.share-btns { margin-top: 15px; }
.s-btn {
    width: 100%; padding: 10px; border: none; border-radius: 8px; font-weight: bold;
    color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.whatsapp { background: #25D366; }

/* Team Stats */
.team-stats-grid { display: flex; gap: 15px; padding: 0 20px; }
.stat-card {
    flex: 1; background: white; padding: 15px; border-radius: 12px;
    position: relative; overflow: hidden; border: 1px solid #eee; box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}
.stat-card h3 { font-size: 0.8rem; color: #777; margin-bottom: 5px; }
.stat-card h2 { font-size: 1.5rem; color: #333; font-family: 'Rajdhani', sans-serif; }
.bg-icon {
    position: absolute; bottom: -5px; right: -5px; font-size: 3rem;
    opacity: 0.1; color: #000;
}
.green-card h2 { color: var(--primary); }

/* Team List */
.team-list-section { padding: 20px; margin-top: 10px; }
.team-tabs { display: flex; gap: 10px; margin-bottom: 15px; overflow-x: auto; padding-bottom: 5px; }
.tab-btn {
    padding: 8px 16px; border: 1px solid #ddd; background: white; border-radius: 20px;
    font-size: 0.8rem; cursor: pointer; white-space: nowrap;
}
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.member-row {
    display: flex; justify-content: space-between; align-items: center;
    background: white; padding: 12px; border-radius: 8px; margin-bottom: 10px; border-bottom: 1px solid #f0f0f0;
}
.m-info h5 { margin: 0; font-size: 0.95rem; }
.m-info small { color: #888; font-size: 0.75rem; }
.m-earning { color: var(--primary); font-weight: bold; font-size: 0.9rem; }

/* --- SUPPORT PAGE STYLES --- */
.support-hero { text-align: center; padding: 30px 20px; background: white; margin-bottom: 20px; }
.support-img { width: 80px; margin-bottom: 10px; }
.contact-grid { padding: 0 20px; display: flex; flex-direction: column; gap: 15px; }
.contact-card {
    display: flex; align-items: center; gap: 15px; background: white;
    padding: 15px; border-radius: 12px; text-decoration: none; color: #333;
    border: 1px solid #eee; transition: 0.3s;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.c-icon {
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
}
.wa .c-icon { background: #25D366; }
.tg .c-icon { background: #0088cc; }
.mail .c-icon { background: #ea4335; }
.c-info h4 { margin: 0; font-size: 1rem; }
.c-info p { margin: 0; font-size: 0.8rem; color: #777; }
.arrow { margin-left: auto; color: #ccc; }

.faq-section { padding: 30px 20px; }
.faq-item { background: white; padding: 15px; border-radius: 8px; margin-bottom: 10px; border: 1px solid #eee; }
.faq-q { font-weight: bold; margin-bottom: 5px; color: var(--primary); }
.faq-a { font-size: 0.9rem; color: #555; }