/* APEX REACTOR - Faucet Fuel Gauge */
.reactor-container {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2a);
    border: 2px solid #333;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reactor-title {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reactor-core {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #333, #111);
    border: 4px solid #222;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
    overflow: hidden;
}

.reactor-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 1s ease-out;
    box-shadow: 0 0 20px currentColor, inset 0 0 20px rgba(255,255,255,0.1);
}

.reactor-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: reactor-pulse 2s infinite;
    z-index: 10;
}

@keyframes reactor-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.reactor-percent {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0 5px;
    text-shadow: 0 0 20px currentColor;
}

.reactor-status {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.reactor-runway {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 5px;
}

/* Color states */
.reactor-green .reactor-fill { background: linear-gradient(to top, #00ff00, #00cc00); color: #00ff00; }
.reactor-green .reactor-glow { background: radial-gradient(circle, #00ff00, transparent); }
.reactor-green .reactor-percent { color: #00ff00; }
.reactor-green .reactor-runway { background: rgba(0,255,0,0.1); color: #00ff00; border: 1px solid #00ff00; }

.reactor-yellow .reactor-fill { background: linear-gradient(to top, #ffff00, #cccc00); color: #ffff00; }
.reactor-yellow .reactor-glow { background: radial-gradient(circle, #ffff00, transparent); }
.reactor-yellow .reactor-percent { color: #ffff00; }
.reactor-yellow .reactor-runway { background: rgba(255,255,0,0.1); color: #ffff00; border: 1px solid #ffff00; }

.reactor-orange .reactor-fill { background: linear-gradient(to top, #ff8800, #cc6600); color: #ff8800; }
.reactor-orange .reactor-glow { background: radial-gradient(circle, #ff8800, transparent); }
.reactor-orange .reactor-percent { color: #ff8800; }
.reactor-orange .reactor-runway { background: rgba(255,136,0,0.1); color: #ff8800; border: 1px solid #ff8800; }

.reactor-red .reactor-fill { background: linear-gradient(to top, #ff0000, #cc0000); color: #ff0000; }
.reactor-red .reactor-glow { background: radial-gradient(circle, #ff0000, transparent); animation: reactor-warning 0.5s infinite; }
.reactor-red .reactor-percent { color: #ff0000; }
.reactor-red .reactor-runway { background: rgba(255,0,0,0.1); color: #ff0000; border: 1px solid #ff0000; }

@keyframes reactor-warning {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.reactor-sponsor-hint {
    margin-top: 15px;
    font-size: 11px;
    color: #555;
}

.reactor-sponsor-hint a {
    color: #FFD700;
    text-decoration: none;
}
