.skills-galaxy-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.galaxy-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 2rem auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at center, #ffd700, #ff8c00);
    border-radius: 50%;
    box-shadow: 0 0 60px #ff8c00;
    animation: glow 3s ease-in-out infinite alternate;
    z-index: 2;
}

.skill-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.skill-planet-container {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: orbit linear infinite;
    transform-origin: center;
    pointer-events: none;
}

.skill-planet {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--planet-color, #4a90e2);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 5;
}

.skill-planet:hover {
    transform: translate(-50%, -50%) scale(1.3);
    z-index: 100;
}

.skill-planet img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(1.2);
    pointer-events: none;
    animation: counter-rotate linear infinite;
}

.skill-info {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    max-width: 250px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-info.active {
    opacity: 1;
    pointer-events: auto;
}

.skill-info h3 {
    color: var(--planet-color, #4a90e2);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.skill-info p {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 4px;
    background: var(--planet-color, #4a90e2);
    border-radius: 2px;
    margin-top: 0.5rem;
}

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

@keyframes glow {
    from {
        box-shadow: 0 0 60px #ff8c00;
    }
    to {
        box-shadow: 0 0 100px #ff8c00;
    }
}

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

@media (max-width: 1024px) {
    .galaxy-container {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .galaxy-container {
        width: 500px;
        height: 500px;
        transform: scale(0.7);
    }
    
    .skill-planet {
        width: 45px;
        height: 45px;
    }
    
    .skill-planet img {
        width: 25px;
        height: 25px;
    }

    .sun {
        width: 60px;
        height: 60px;
    }

    .skill-info {
        max-width: 200px;
        font-size: 0.9rem;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .galaxy-container {
        width: 400px;
        height: 400px;
        transform: scale(0.6);
    }

    .skill-planet {
        width: 40px;
        height: 40px;
    }

    .sun {
        width: 50px;
        height: 50px;
    }

    .skill-info {
        max-width: 180px;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .galaxy-container {
        width: 300px;
        height: 300px;
        transform: scale(0.5);
    }
} 