/* css/components.css - 100% FIXED GIANT COIN & RESPONSIVE TEXT */

/* --- 1. GLOBAL IMAGE LOCK --- */
img { max-width: 100%; height: auto; display: inline-block; }

/* --- 2. UNIVERSAL COIN LOCK --- */
.coin-icon, 
.coin-icon-small,
.coin-icon-large,
.value-text img, 
.reward-text img,
.task-card img { 
    width: 20px !important; 
    height: 20px !important; 
    min-width: 20px !important; 
    max-width: 20px !important;
    object-fit: contain; 
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block !important;
    filter: drop-shadow(0 0 5px rgba(0, 255, 156, 0.6));
}

/* --- 3. PREMIUM GREEN GLASS PANELS --- */
.glass-panel {
    background: rgba(10, 20, 15, 0.85);
    border: 1px solid rgba(0, 255, 156, 0.2);
    border-radius: 16px;
    padding: 12px 15px;
    display: flex; flex-direction: column; justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 255, 156, 0.05);
    backdrop-filter: blur(15px);
    min-height: 70px;
}

/* --- 4. BUTTONS --- */
.btn-primary {
    background: linear-gradient(135deg, #00b770 0%, #00ff9c 100%);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 156, 0.3);
    border: none;
    font-weight: 800;
    padding: 10px; border-radius: 10px; font-size: 13px; width: 100%;
}

.btn-action {
    background: rgba(0, 255, 156, 0.1);
    border: 1px solid rgba(0, 255, 156, 0.3);
    color: #00ff9c;
    padding: 6px 14px; border-radius: 6px;
    font-size: 11px; font-weight: 800; cursor: pointer;
}

/* --- 5. ANIMATIONS --- */
.float-text {
    position: fixed; color: #00ff9c; font-size: 20px; font-weight: 900;
    pointer-events: none; z-index: 9999;
    animation: floatUp 0.8s ease-out forwards;
    text-shadow: 0 0 10px #00ff9c;
}
@keyframes floatUp { to { transform: translateY(-80px); opacity: 0; } }

/* --- 6. NAVIGATION BAR --- */
.navbar {
    position: fixed; bottom: 0; width: 100%; height: 80px;
    background: rgba(0, 20, 10, 0.95);
    border-top: 1px solid rgba(0, 255, 156, 0.2);
    display: flex; justify-content: space-around; align-items: center;
    z-index: 1000; padding-bottom: 15px;
    backdrop-filter: blur(10px);
}

.nav-btn {
    background: none; border: none; outline: none;
    color: #666; font-size: 10px; font-weight: 700;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    width: 20%; cursor: pointer; transition: all 0.2s ease;
}
.nav-btn i { font-size: 20px; margin-bottom: 2px; transition: transform 0.2s; }
.nav-btn.active { color: #00ff9c; }
.nav-btn.active i { transform: translateY(-5px); filter: drop-shadow(0 0 8px #00ff9c); }

/* --- 7. AUTO FIT NUMBERS FIX --- */
.stat-value {
    font-size: clamp(18px, 6vw, 24px) !important; 
    font-weight: 800;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block; width: 100%; font-variant-numeric: tabular-nums;
}

/* --- 8. ULTRA PREMIUM BUTTON (NEW) --- */
.btn-premium {
    position: relative;
    background: linear-gradient(145deg, #002211 0%, #000000 100%);
    border: 1px solid #00ff9c;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 156, 0.3), inset 0 0 15px rgba(0, 255, 156, 0.1);
    overflow: hidden;
    cursor: pointer;
    animation: btnPulse 3s infinite ease-in-out;
    z-index: 20;
}

/* Shine Effect Animation */
.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: shineMove 4s infinite;
}

/* Icon Color */
.btn-premium i {
    color: #ffd700; /* Gold Icon */
    margin-right: 8px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

@keyframes shineMove {
    0% { left: -100%; }
    15% { left: 100%; } 
    100% { left: 100%; }
}

@keyframes btnPulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 255, 156, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(0, 255, 156, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 255, 156, 0.3); }
}
