/* === SOLAR SYSTEM CONTAINER === */
.solar-system {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solar-system.darkened {
    filter: brightness(0.4);
}

/* === SHARED CIRCLE STYLES === */
.center-circle,
.planet {
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.center-circle {
    overflow: visible;
}

/* === CENTER CIRCLE === */
.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: linear-gradient(180deg, #001CE976 20%, #19325C 100%, transparent 60%);
    opacity: 0.6;
    padding: 40px;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.center-circle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #667eea 100%);
}

.center-circle h2 {
    font-size: 28px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.center-circle:hover h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.center-circle p {
    display: none;
}

.center-circle:hover .planet-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* === ORBITING PLANETS === */
.planet-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: orbit 100s linear infinite;
    pointer-events: none;
}

.planet {
    position: absolute;
    background: linear-gradient(180deg, #001CE976 20%, #19325C 100%);
    padding: 20px;
    color: #DDDDDD;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    animation: counter-rotate 100s linear infinite;
    opacity: 0.6;
    pointer-events: auto;
    overflow: visible;
}

.planet:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #8b9cef 0%, #a8b7f0 100%);
    z-index: 100;
}

/* === PLANET CONTENT === */
.planet-heading {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #DDDDDD;
}

.planet:hover .planet-heading {
    font-size: 16px;
    margin-bottom: 5px;
}

.planet-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 320px;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    text-align: center;
    white-space: normal;
    z-index: 1001;
}

.planet:hover .planet-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.planet:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #8b9cef 0%, #a8b7f0 100%);
    z-index: 100;
}

.planet:hover ~ .solar-system,
.planet:hover .solar-system {
    filter: brightness(0.4);
}

.planet-content ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.planet-content li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.planet-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #667eea;
}

.planet-content p {
    margin: 0;
    display: block;
}

/* === INDIVIDUAL PLANET CONFIGURATIONS === */
.planet-orbit-1 { 
    width: 570px; 
    height: 570px; 
}

.planet-orbit-1 .planet {
    width: 200px;
    height: 200px;
    top: 0;
    left: 50%;
}

.planet-orbit-2 { 
    width: 620px; 
    height: 620px; 
}

.planet-orbit-2 .planet {
    width: 160px;
    height: 160px;
    padding: 20px;
    top: 50%;
    left: 100%;
}

.planet-orbit-3 { 
    width: 580px; 
    height: 580px; 
}

.planet-orbit-3 .planet {
    width: 180px;
    height: 180px;
    top: 100%;
    left: 50%;
}

.planet-orbit-4 { 
    width: 620px; 
    height: 620px; 
}

.planet-orbit-4 .planet {
    width: 160px;
    height: 160px;
    top: 50%;
    left: 0;
}

/* === ANIMATIONS === */
@keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counter-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0);
        opacity: 0;
    }
}
