/* DUAL REACTOR STYLES */
.dual-reactor-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.reactor-container {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    width: 140px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 30px rgba(0, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.reactor-container.apex-reactor {
    border-color: #ff6b00;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3), inset 0 0 30px rgba(255, 107, 0, 0.1);
}

.reactor-title {
    font-size: 11px;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 1px;
}

.apex-reactor .reactor-title {
    color: #ff6b00;
    text-shadow: 0 0 10px #ff6b00;
}

.reactor-core {
    width: 60px;
    height: 100px;
    margin: 0 auto 10px;
    background: linear-gradient(180deg, #000 0%, #111 100%);
    border: 2px solid #333;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.reactor-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #00ffff 0%, #0080ff 50%, #004080 100%);
    border-radius: 0 0 28px 28px;
    transition: height 1s ease;
    box-shadow: 0 0 20px #00ffff, inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.apex-fill {
    background: linear-gradient(180deg, #ff6b00 0%, #ff4500 50%, #cc3300 100%);
    box-shadow: 0 0 20px #ff6b00, inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.reactor-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
}

.apex-glow {
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.reactor-percent {
    font-size: 24px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
    margin: 5px 0;
}

.apex-reactor .reactor-percent {
    color: #ff6b00;
    text-shadow: 0 0 15px #ff6b00;
}

.reactor-balance {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 5px;
}

.reactor-runway {
    font-size: 10px;
    color: #888;
    padding: 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.reactor-sponsor-hint {
    text-align: center;
    font-size: 11px;
    color: #666;
    margin-top: 10px;
}

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

.reactor-sponsor-hint a:hover {
    text-decoration: underline;
}

/* Color states */
.reactor-green .reactor-fill { 
    background: linear-gradient(180deg, #00ff88 0%, #00cc66 50%, #009944 100%); 
    box-shadow: 0 0 20px #00ff88;
}
.reactor-green.apex-reactor .reactor-fill {
    background: linear-gradient(180deg, #ff8c00 0%, #ff6b00 50%, #cc5500 100%);
    box-shadow: 0 0 20px #ff8c00;
}

.reactor-yellow .reactor-fill { 
    background: linear-gradient(180deg, #ffff00 0%, #cccc00 50%, #999900 100%); 
    box-shadow: 0 0 20px #ffff00;
}
.reactor-yellow.apex-reactor .reactor-fill {
    background: linear-gradient(180deg, #ffcc00 0%, #ff9900 50%, #cc7700 100%);
    box-shadow: 0 0 20px #ffcc00;
}

.reactor-orange .reactor-fill { 
    background: linear-gradient(180deg, #ff8800 0%, #cc6600 50%, #994400 100%); 
    box-shadow: 0 0 20px #ff8800;
}
.reactor-orange.apex-reactor .reactor-fill {
    background: linear-gradient(180deg, #ff6600 0%, #ff4400 50%, #cc3300 100%);
    box-shadow: 0 0 20px #ff6600;
}

.reactor-red .reactor-fill { 
    background: linear-gradient(180deg, #ff0000 0%, #cc0000 50%, #990000 100%); 
    box-shadow: 0 0 20px #ff0000;
    animation: critical-pulse 0.5s ease-in-out infinite;
}

@keyframes critical-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Mobile responsive */
@media (max-width: 400px) {
    .dual-reactor-wrapper {
        gap: 10px;
    }
    .reactor-container {
        width: 120px;
        padding: 10px;
    }
    .reactor-core {
        width: 50px;
        height: 80px;
    }
    .reactor-percent {
        font-size: 20px;
    }
}
