/* css/effects.css - LIGHTING & ANIMATIONS */

/* 1. ACTIVE NAVIGATION STATE (GOLD LUXURY) */
.nav-btn.active {
    color: #FFD700; /* Gold Text */
}

.nav-btn.active i {
    color: #FFD700;
    transform: translateY(-6px) scale(1.1); /* Move up & Scale up */
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)); /* Gold Neon Glow */
    animation: navPulse 2s infinite ease-in-out;
}

/* Optional: Small gold dot under active icon */
.nav-btn.active::after {
    content: '';
    width: 4px; height: 4px;
    background: #ff0040; /* Red Core Accent */
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
    box-shadow: 0 0 8px #ff0040;
}

@keyframes navPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); transform: translateY(-6px) scale(1.1); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9)); transform: translateY(-6px) scale(1.15); }
}

/* 2. RANK SHIELD POLISH */
.rank-shield {
    width: 130px !important;
    height: auto;
    margin: 10px auto 20px;
    display: block;
    /* Expensive 3D Drop Shadow */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(255, 0, 64, 0.3));
    animation: shieldFloat 4s ease-in-out infinite;
}

@keyframes shieldFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 3. CORE REACTOR */
.core-unit {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #ff0040, #5a0016);
    border-radius: 50%;
    /* Layered Shadows for Depth */
    box-shadow: 
        inset 0 0 50px rgba(0,0,0,0.5),
        0 0 40px rgba(255, 0, 64, 0.3),
        0 0 80px rgba(255, 0, 64, 0.1);
    cursor: pointer; 
    transition: transform 0.05s linear;
    position: relative;
    z-index: 10;
}
.core-unit:active { transform: scale(0.96); }

/* 4. PROGRESS BARS FILL */
.bar-fill-temp { 
    height: 100%; width: 0%; 
    background: linear-gradient(90deg, #00ff9c, #ffaa00, #ff0040); 
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.4);
    transition: width 0.3s ease; 
}
.bar-fill-energy { 
    height: 100%; width: 100%; 
    background: linear-gradient(90deg, #0088ff, #00aaff); 
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
    transition: width 0.3s ease; 
}

/* 5. MODAL */
.modal-content {
    background: linear-gradient(160deg, #150505 0%, #250005 100%);
    border: 1px solid rgba(255, 215, 0, 0.2); /* Gold Border */
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
/* Header Rank Icon Polish */
.rank-icon-header {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 0, 64, 0.8));
    vertical-align: middle;
}

/* Leaderboard Glow for Rank #1 */
#leaderboardList .glass-panel:first-child {
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1), inset 0 0 10px rgba(255, 215, 0, 0.05);
    animation: goldGlow 3s infinite alternate;
}

@keyframes goldGlow {
    from { border-color: rgba(255, 215, 0, 0.2); }
    to { border-color: rgba(255, 215, 0, 0.6); }
}
