/* 
-------------------------------------------------------------------
 PREMIUM INVESTMENT SITE - MAIN STYLESHEET
-------------------------------------------------------------------
*/

:root {
    /* এই কালারগুলো PHP দিয়ে ডাইনামিক করা হবে Header-এ */
    --primary-color: #4e73df;
    --primary-dark: #224abe;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --danger-color: #e74c3c;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
    --light-bg: #f8f9fc;
    --dark-text: #2e384d;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --radius: 15px;
    --font-main: 'Poppins', sans-serif;
}

/* ================== GLOBAL RESETS ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* ================== LAYOUT & CONTAINER ================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content {
    padding-bottom: 80px; /* For Bottom Nav Space */
    min-height: 100vh;
}

/* ================== PREMIUM CARD STYLES ================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
    border: none;
    transition: transform 0.2s;
}

/* Balance Card (Gradient) */
.balance-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    border-radius: 0 0 25px 25px; /* App like curved bottom */
    box-shadow: 0 10px 30px rgba(78, 115, 223, 0.4);
    position: relative;
    overflow: hidden;
}

.balance-card h2 { font-size: 2.5rem; font-weight: 700; margin: 10px 0; }
.balance-card p { opacity: 0.9; font-size: 1rem; }
.balance-card .btn-group { margin-top: 15px; display: flex; justify-content: center; gap: 10px; }

/* ================== BUTTONS & INPUTS ================== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover { background: var(--white); color: var(--primary-color); }

.btn-block { width: 100%; display: block; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; }
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    background: #f9f9f9;
    transition: 0.3s;
}
.form-control:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.1);
}

/* ================== HEADER & NAVIGATION ================== */
.app-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; }

/* ================== BOTTOM NAVIGATION (APP STYLE) ================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 999;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nav-item {
    text-align: center;
    color: var(--secondary-color);
    font-size: 12px;
    position: relative;
}

.nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
    transition: 0.3s;
}

.nav-item.active { color: var(--primary-color); }
.nav-item.active i { transform: translateY(-5px); }

/* Central Floating Button (Like mining/task) */
.nav-item.center-fab {
    transform: translateY(-25px);
}
.nav-item.center-fab .fab-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--warning-color), #ff9f43);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 15px rgba(246, 194, 62, 0.5);
    border: 4px solid var(--light-bg);
}

/* ================== PAGE SPECIFIC ================== */

/* Login/Register */
.auth-box {
    max-width: 400px;
    margin: 50px auto;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h3 { font-size: 24px; color: var(--primary-color); }

/* VIP Plans */
.plan-card {
    border: 1px solid #eee;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.plan-card.highlight {
    border: 2px solid var(--primary-color);
    background: #f0f4ff;
}
.plan-price { font-size: 28px; font-weight: bold; color: var(--primary-color); margin: 15px 0; }
.plan-features li { margin-bottom: 10px; color: #666; font-size: 13px; }
.plan-features i { color: var(--success-color); margin-right: 5px; }

/* Tasks */
.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.task-icon {
    width: 50px;
    height: 50px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}
.task-info h4 { font-size: 16px; margin-bottom: 3px; }
.task-reward { font-weight: bold; color: var(--success-color); }

/* Deposit/Withdraw Status */
.badge { padding: 5px 10px; border-radius: 20px; font-size: 11px; text-transform: uppercase; }
.badge-pending { background: #fff3cd; color: #856404; }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }

/* Profile */
.profile-header { text-align: center; padding: 20px; }
.profile-img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--primary-color); padding: 2px; }
.menu-list a {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}
.menu-list a i { width: 30px; color: var(--primary-color); }
.menu-list a:hover { background: #f9f9f9; padding-left: 20px; }