/*--------------------- Skills % Bar ---------------------*/

.skill-bar {
    width: 100%;
    height: 10px;
    border: 1px solid #00ff88;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: #00ff88;
    width: 0;
    transition: width 1.5s ease;
    box-shadow: 0 0 12px #00ff88;
}

.skill-percent {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
}

/*--------------------- Skills Section ---------------------*/

.section-heading {
    margin-bottom: 45px;
}

.section-label {
    margin-bottom: 8px;
    color: #00ff88;
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/*--------------------- Skill Card ---------------------*/

.skill-card {
    position: relative;
    min-height: 390px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.28);
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(0, 255, 136, 0.035),
            rgba(0, 0, 0, 0.72)
        );

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            transparent 35%,
            rgba(0, 255, 136, 0.08),
            transparent 65%
        );

    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 136, 0.8);
    box-shadow:
        0 0 18px rgba(0, 255, 136, 0.18),
        0 0 40px rgba(0, 255, 136, 0.08);
}

.skill-card:hover::before {
    transform: translateX(100%);
}

/*--------------------- Card Header ---------------------*/

.skill-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.skill-number {
    color: #666;
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.skill-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 20px;
    background: rgba(0, 255, 136, 0.05);
    color: #00ff88;
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.skill-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow:
        0 0 7px #00ff88,
        0 0 14px rgba(0, 255, 136, 0.65);
    animation: skillStatusPulse 2s infinite;
}

@keyframes skillStatusPulse {
    50% {
        opacity: 0.55;
        transform: scale(1.2);
    }
}

/*--------------------- Skill Content ---------------------*/

.skill-card h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.35rem;
}

.skill-description {
    min-height: 82px;
    color: #9b9b9b;
    line-height: 1.7;
}

.skill-divider {
    width: 100%;
    height: 1px;
    margin: 25px 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 255, 136, 0.55),
            rgba(0, 255, 136, 0)
        );
}

/*--------------------- Proficiency ---------------------*/

.skill-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: monospace;
}

.skill-data span,
.skill-focus span {
    color: #777;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
}

.skill-data strong {
    color: #00ff88;
}

.skill-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.35);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.skill-fill {
    width: var(--skill-level);
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #00a85a,
            #00ff88
        );
    box-shadow:
        0 0 10px rgba(0, 255, 136, 0.75);
}

/*--------------------- Current Focus ---------------------*/

.skill-focus {
    margin-top: 24px;
}

.skill-focus p {
    margin-top: 8px;
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/*--------------------- Responsive ---------------------*/

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        min-height: auto;
    }

    .skill-description {
        min-height: auto;
    }
}