/* =============================
   GLOBAL
============================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: black;
    color: white;
    overflow-x: hidden;
}

/* =============================
   HOME BUTTON
============================= */
.home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.home-btn:hover {
    background: #333;
}

/* =============================
   WRAPPER
============================= */
.skills-wrapper {
    position: relative;
    min-height: 100vh;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}

/* =============================
   STARS BACKGROUND
============================= */
.stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.stars-back {
    background: radial-gradient(1px 1px at 20% 30%, #fff, transparent);
    background-size: 300px 300px;
    opacity: 0.3;
    animation: drift 160s linear infinite;
}

.stars-mid {
    background: radial-gradient(1.5px 1.5px at 50% 50%, #fff, transparent);
    background-size: 220px 220px;
    opacity: 0.5;
    animation: drift 120s linear infinite;
}

.stars-front {
    background: radial-gradient(2px 2px at 70% 40%, #fff, transparent);
    background-size: 180px 180px;
    opacity: 0.7;
    animation: drift 80s linear infinite;
}

@keyframes drift {
    from { transform: translateY(0); }
    to { transform: translateY(-800px); }
}

/* =============================
   LAYOUT
============================= */
.skills-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    z-index: 2;
}

.skills-orbit {
    position: relative;
    width: 600px;
    height: 600px;
}

/* =============================
   SKILL BALLS
============================= */
.skill-ball {
    position: absolute;
    border-radius: 50%;
    background: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* sizes */
.skill-ball.big {
    width: 72px;
    height: 72px;
}

.skill-ball.small {
    width: 52px;
    height: 52px;
}

/* SUN */
.skill-ball.sun {
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, #ffd84d, #ff9800);
    box-shadow: 0 0 60px rgba(255,165,0,0.8);
}

/* hover glow */
.skill-ball:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px #00c6ff;
}

/* =============================
   LOGO IMAGES
============================= */
.skill-ball img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    pointer-events: none;
}

.skill-ball.sun img {
    width: 70%;
    height: 70%;
}

/* =============================
   RIGHT SKILL LIST
============================= */
.skills-list {
    min-width: 260px;
    text-align: left;
}

.skill-item {
    margin-bottom: 18px;
}

.skill-item h4 {
    margin: 0 0 6px;
    font-weight: 500;
}

/* bar background */
.skill-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* bar fill */
.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd695, #ffa91f);
}

/* =============================
   TOOLTIP
============================= */
.skill-tooltip {
    position: fixed;
    padding: 10px 14px;
    background: rgba(15,15,25,0.95);
    border-radius: 10px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 900px) {

    .skills-container {
        flex-direction: column;
        gap: 40px;
    }

    .skills-orbit {
        width: 420px;
        height: 420px;
    }
}

@media (max-width: 500px) {

    .skills-orbit {
        width: 320px;
        height: 320px;
    }

    .skill-ball.sun {
        width: 90px;
        height: 90px;
    }

    .skill-ball.big {
        width: 56px;
        height: 56px;
    }

    .skill-ball.small {
        width: 42px;
        height: 42px;
    }
}
