/* Vigthoria Compact Solar System Animation CSS */

.vigthoria-solar-system-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

/* Header styling */
.solar-system-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px 25px;
    background: rgba(20, 30, 60, 0.7);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(79, 172, 254, 0.15);
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Light theme version */
[data-theme="light"] .solar-system-header {
    background: rgba(240, 245, 255, 0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.solar-system-header:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.25);
}

.solar-system-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #f8f9fa;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Light theme text color */
[data-theme="light"] .solar-system-header h2 {
    color: #1a2130;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.solar-system-header p {
    font-size: 1.15rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Light theme paragraph */
[data-theme="light"] .solar-system-header p {
    color: #4b5563;
}

.gradient-text {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #4facfe;
    position: relative;
    display: inline-block;
}

/* Enhanced gradient for light mode */
[data-theme="light"] .gradient-text {
    background: linear-gradient(90deg, #0062cc 0%, #0097e6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation container - fixed height, relative positioning */
.solar-system-animation-container {
    position: relative;
    height: 400px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background: radial-gradient(ellipse at center, rgba(15, 15, 35, 0.95) 0%, rgba(9, 9, 24, 0.98) 70%, rgba(5, 5, 20, 1) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: all 0.3s ease;
}

/* Light theme animation container */
[data-theme="light"] .solar-system-animation-container {
    background: radial-gradient(ellipse at center, rgba(240, 245, 255, 0.95) 0%, rgba(225, 235, 250, 0.98) 70%, rgba(215, 225, 245, 1) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
}

/* Canvas for data streams */
#solar-system-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Central Sun */
.solar-sun {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 30%, #ffd700, #ff8c00, #ff4500);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7), 0 0 40px rgba(255, 140, 0, 0.3);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.solar-sun:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 0 60px rgba(255, 140, 0, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}

.solar-sun i {
    font-size: 22px;
    color: white;
    margin-bottom: 3px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.solar-sun span {
    font-size: 9px;
    font-weight: bold;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
}

/* Planets - base styling */
.solar-planet {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Planets will be positioned by JavaScript */
}

.solar-planet i {
    font-size: 14px;
    color: white;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
}

.solar-planet:hover {
    transform: scale(1.2);
    z-index: 4;
}

/* Individual planet colors */
.planet-operator {
    background: radial-gradient(circle at 30% 30%, #ff6b35, #cc5528);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

.planet-agent {
    background: radial-gradient(circle at 30% 30%, #4facfe, #3f89cc);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
}

.planet-coder {
    background: radial-gradient(circle at 30% 30%, #00f5a0, #00c480);
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.6);
}

.planet-content {
    background: radial-gradient(circle at 30% 30%, #fd79a8, #ca6186);
    box-shadow: 0 0 10px rgba(253, 121, 168, 0.6);
}

.planet-model {
    background: radial-gradient(circle at 30% 30%, #fdcb6e, #ca9e57);
    box-shadow: 0 0 10px rgba(253, 203, 110, 0.6);
}

.planet-chat {
    background: radial-gradient(circle at 30% 30%, #a29bfe, #817cca);
    box-shadow: 0 0 10px rgba(162, 155, 254, 0.6);
}

.planet-marketplace {
    background: radial-gradient(circle at 30% 30%, #ff7675, #cc5e5d);
    box-shadow: 0 0 10px rgba(255, 118, 117, 0.6);
}

/* Tooltip styling */
.planet-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Light theme tooltip */
[data-theme="light"] .planet-tooltip {
    background: rgba(255, 255, 255, 0.95);
    color: #1a2130;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(79, 172, 254, 0.2);
}

/* Footer styling */
.solar-system-footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px 25px;
    background: rgba(20, 30, 60, 0.7);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(79, 172, 254, 0.15);
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Light theme footer */
[data-theme="light"] .solar-system-footer {
    background: rgba(240, 245, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.2);
    color: #1a2130;
}

.solar-system-footer:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.25);
}

.solar-system-footer p {
    font-size: 1.15rem;
    color: #d1d5db;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Light theme paragraph */
[data-theme="light"] .solar-system-footer p {
    color: #4b5563;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-explore {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(79, 172, 254, 0.3);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.5);
}

/* Light theme button */
[data-theme="light"] .btn-explore {
    background: linear-gradient(135deg, #0062cc 0%, #0097e6 100%);
    box-shadow: 0 4px 10px rgba(0, 98, 204, 0.3);
}

[data-theme="light"] .btn-explore:hover {
    box-shadow: 0 8px 20px rgba(0, 98, 204, 0.5);
}

/* Animation keyframes for data pulse effect */
@keyframes dataPulse {
    0% { 
        opacity: 0.4;
        stroke-dashoffset: 0;
    }
    50% { 
        opacity: 0.8;
    }
    100% { 
        opacity: 0.4;
        stroke-dashoffset: 1000;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .solar-system-animation-container {
        height: 350px;
    }
    
    .solar-sun {
        width: 50px;
        height: 50px;
    }
    
    .solar-sun i {
        font-size: 18px;
    }
    
    .solar-planet {
        width: 30px;
        height: 30px;
    }
    
    .solar-planet i {
        font-size: 12px;
    }
    
    .solar-system-header,
    .solar-system-footer {
        padding: 12px 15px;
    }
    
    .solar-system-header h2 {
        font-size: 1.8rem;
    }
    
    .solar-system-header p,
    .solar-system-footer p {
        font-size: 1rem;
    }
    
    .btn-explore {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .solar-system-animation-container {
        height: 300px;
    }
    
    .solar-sun {
        width: 40px;
        height: 40px;
    }
    
    .solar-sun i {
        font-size: 16px;
    }
    
    .solar-planet {
        width: 26px;
        height: 26px;
    }
    
    .solar-planet i {
        font-size: 10px;
    }
    
    .solar-system-header h2 {
        font-size: 1.6rem;
    }
    
    .solar-system-header p,
    .solar-system-footer p {
        font-size: 0.95rem;
    }
    
    .btn-explore {
        padding: 7px 18px;
        font-size: 13px;
    }
}
