/* --- GLOBAL VARIABLES (Based on Screenshots) --- */
:root {
    --primary-cyan: #21D9CC;      /* Main Theme Color */
    --primary-dark: #05012B;      /* Background Color */
    --card-bg: #1E293B;           /* Grid Box Background */
    --text-white: #FFFFFF;
    --text-gray: #94A3B8;
    --red-notice: #DC2626;
    --nav-bg: #0F172A;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-white);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 80px; /* Space for Bottom Nav */
}

a { text-decoration: none; color: inherit; }

/* --- HEADER --- */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: transparent;
}
.logo-img { width: 120px; }
.auth-btns a {
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    margin-left: 5px;
}
.btn-login { background: #3B82F6; color: white; }
.btn-reg { background: #22C55E; color: white; }

/* --- APP INSTALL BANNER --- */
.install-banner {
    background: linear-gradient(to right, #21D9CC, #0CB6AC);
    margin: 10px;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
}
.install-btn {
    background: #0047FF;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* --- NOTICE CARD (Screenshot 4) --- */
.notice-card {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 15px;
    margin: 15px 10px;
    position: relative;
    background: transparent;
}
.notice-badge {
    position: absolute;
    top: -10px;
    right: -5px;
    background: var(--red-notice);
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid white;
}
.timer-row {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
}
.timer-box {
    flex: 1;
    background: linear-gradient(180deg, #EF4444, #991B1B);
    text-align: center;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #ccc;
}
.timer-digit { font-size: 18px; font-weight: bold; display: block; }
.timer-label { font-size: 10px; }

/* --- WITHDRAWAL TICKER (Screenshot 3) --- */
.ticker-box {
    background: #fff;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    height: 180px;
    overflow: hidden;
    color: #000;
}
.ticker-item {
    border-bottom: 1px dashed #ccc;
    padding: 8px 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- PROFILE CARD (Screenshot 1) --- */
.profile-card {
    background: var(--primary-cyan);
    margin: 10px;
    border-radius: 20px;
    padding: 20px;
    color: #000;
}
.profile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.avatar-circle {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
}
.stats-row {
    display: flex;
    gap: 10px;
}
.stat-box {
    flex: 1;
    background: #05012B;
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}
.stat-box h2 { margin: 5px 0 0 0; font-size: 22px; }
.stat-box span { color: #94A3B8; font-size: 12px; }

/* --- EARNING GRID (Screenshot 5) --- */
.bonus-links {
    display: flex;
    gap: 10px;
    margin: 10px;
}
.bonus-btn {
    flex: 1;
    background: var(--primary-cyan);
    border-radius: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px;
}
.grid-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-box {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #21D9CC, #009688);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(33, 217, 204, 0.4);
}
.grid-text span { font-size: 11px; color: #CBD5E1; }
.grid-text b { font-size: 16px; display: block; color: white; }

/* --- LEADERBOARD (Screenshot 2) --- */
.leaderboard {
    background: var(--primary-cyan);
    margin: 10px;
    border-radius: 12px;
    overflow: hidden;
    color: #000;
}
.lb-header {
    background: #F1F5F9;
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}
.lb-row {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 600;
}

/* --- BOTTOM NAV (Sticky) --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    border-top: 2px solid var(--primary-cyan);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}
.nav-btn {
    text-align: center;
    color: #64748B;
    font-size: 11px;
}
.nav-btn i { font-size: 20px; display: block; margin-bottom: 4px; }
.nav-btn.active { color: var(--primary-cyan); }

/* --- FLOATING FAB --- */
.fab-container {
    position: fixed;
    bottom: 85px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fab {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.fab-call { background: #3B82F6; }
.fab-chat { background: #EF4444; }