/* Space Weather Dashboard - Styles futuristes */

/* Glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.3);
}

/* Status rings animation */
.status-ring-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.status-ring-inner {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    animation: rotate-reverse 15s linear infinite;
}

.status-ring-outer::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #00D9FF;
    border-radius: 50%;
    top: -10px;
    left: calc(50% - 10px);
    box-shadow: 0 0 20px #00D9FF;
}

.status-ring-inner::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #FF6B6B;
    border-radius: 50%;
    bottom: -7.5px;
    right: 20%;
    box-shadow: 0 0 15px #FF6B6B;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Risk bars */
.risk-bar-container {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    float: right;
    margin-top: 8px;
}

.risk-bar {
    height: 100%;
    transition: all 0.5s ease;
    border-radius: 10px;
    position: relative;
}

.risk-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Impact cards */
.impact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.impact-card:hover::before {
    opacity: 1;
}

.impact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 217, 255, 0.3);
}

/* Custom tabs */
.custom-tabs .nav-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #AAA;
    margin-right: 10px;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.custom-tabs .nav-link:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
    color: #00D9FF;
}

.custom-tabs .nav-link.active {
    background: rgba(0, 217, 255, 0.2);
    border-color: #00D9FF;
    color: #00D9FF;
    border-bottom: 2px solid transparent;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    animation: slideInLeft 0.5s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: -30px;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.5) 0%, transparent 100%);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #00D9FF;
    background: #0a0a0a;
    z-index: 1;
}

.timeline-dot.active {
    background: #00D9FF;
    box-shadow: 0 0 20px #00D9FF;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(0, 217, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 217, 255, 0); }
}

/* CTA button */
.cta-button {
    background: linear-gradient(135deg, #9D4EDD 0%, #00D9FF 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(157, 78, 221, 0.4);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Global status colors */
.status-calm { color: #00FF00; }
.status-moderate { color: #FFD93D; }
.status-active { color: #FF6B6B; }
.status-severe { color: #FF0000; }

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
}