/* --- GLOBAL VARIABLES (Orange & Navy Blue Theme) --- */
:root {
    --primary-orange: #FF7A00;       /* Main Theme Color */
    --primary-orange-dark: #FF4500;  /* Gradient Secondary Color */
    --primary-navy: #0F172A;         /* Main Background Color */
    --card-navy: #1E1E38;            /* Grid Box Background */
    --text-white: #FFFFFF;
    --text-gray: #94A3B8;
    --red-notice: #DC2626;
    --nav-bg: rgba(15, 23, 42, 0.95); /* Translucent Navy for Bottom Nav */
}

body {
    background-color: var(--primary-navy);
    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: var(--primary-navy);
    border-bottom: 1px solid rgba(255, 122, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo-img { width: 120px; }
.auth-btns a {
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    margin-left: 5px;
    transition: 0.3s;
}
.btn-login { 
    background: transparent; 
    color: var(--primary-orange); 
    border: 1px solid var(--primary-orange); 
}
.btn-login:hover { background: rgba(255, 122, 0, 0.1); }
.btn-reg { 
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark)); 
    color: white; 
    box-shadow: 0 2px 8px rgba(255, 122, 0, 0.3);
}

/* --- APP INSTALL BANNER --- */
.install-banner {
    background: var(--card-navy);
    margin: 10px;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    border: 1px solid rgba(255, 122, 0, 0.2);
}
.install-btn {
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 122, 0, 0.4);
    cursor: pointer;
}

/* --- NOTICE CARD --- */
.notice-card {
    border: 1px solid rgba(255, 122, 0, 0.3);
    background: rgba(255, 122, 0, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin: 15px 10px;
    position: relative;
}
.notice-badge {
    position: absolute;
    top: -10px;
    right: -5px;
    background: var(--primary-orange);
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(255, 122, 0, 0.4);
}
.timer-row {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 122, 0, 0.2);
    padding-top: 10px;
}
.timer-box {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-orange-dark));
    text-align: center;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.timer-digit { font-size: 18px; font-weight: bold; display: block; }
.timer-label { font-size: 10px; }

/* --- WITHDRAWAL TICKER --- */
.ticker-box {
    background: var(--card-navy);
    border: 1px solid rgba(255, 122, 0, 0.2);
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    height: 180px;
    overflow: hidden;
    color: #fff;
}
.ticker-item {
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding: 8px 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- PROFILE CARD --- */
.profile-card {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    margin: 10px;
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.3);
}
.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;
    border: 2px solid #fff;
}
.stats-row {
    display: flex;
    gap: 10px;
}
.stat-box {
    flex: 1;
    background: var(--card-navy);
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.stat-box h2 { margin: 5px 0 0 0; font-size: 22px; color: var(--primary-orange); }
.stat-box span { color: var(--text-gray); font-size: 12px; }

/* --- EARNING GRID --- */
.bonus-links {
    display: flex;
    gap: 10px;
    margin: 10px;
}
.bonus-btn {
    flex: 1;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
    border-radius: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3);
    font-weight: bold;
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px;
}
.grid-item {
    background: var(--card-navy);
    border: 1px solid rgba(255, 122, 0, 0.15);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.icon-box {
    width: 38px;
    height: 38px;
    background: rgba(255, 122, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 18px;
}
.grid-text span { font-size: 11px; color: var(--text-gray); }
.grid-text b { font-size: 16px; display: block; color: white; }

/* --- LEADERBOARD --- */
.leaderboard {
    background: var(--card-navy);
    margin: 10px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 122, 0, 0.2);
}
.lb-header {
    background: rgba(255, 122, 0, 0.1);
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    color: var(--primary-orange);
}
.lb-row {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    font-weight: 600;
}
.lb-row:last-child { border-bottom: none; }

/* --- BOTTOM NAV (Sticky) --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 122, 0, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}
.nav-btn {
    text-align: center;
    color: #64748B;
    font-size: 11px;
    transition: 0.3s;
}
.nav-btn i { font-size: 20px; display: block; margin-bottom: 4px; transition: 0.3s; }
.nav-btn.active { color: var(--primary-orange); }
.nav-btn.active i { transform: translateY(-3px); text-shadow: 0 0 10px rgba(255, 122, 0, 0.5); }

/* --- FLOATING FAB --- */
.fab-container {
    position: fixed;
    bottom: 85px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}
.fab {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.3s;
}
.fab:active { transform: scale(0.9); }
.fab-call { background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark)); }
.fab-chat { background: linear-gradient(135deg, #0088cc, #0077b5); } /* Telegram Color */