/* Competences Section Styles */

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-category h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(100, 255, 218, 0.1);
    padding-bottom: 0.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-icon {
    font-size: 2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.skill-card:hover .skill-icon {
    color: var(--accent-color);
}

.skill-name {
    font-weight: 600;
    color: var(--text-color);
}

/* Specific colors for brands if desired (optional, keeping it clean with theme color for now) */

/* Root-Me Special Card */
.rootme-card {
    grid-column: 1 / -1;
    /* Takes full width of the grid if in a grid with others, or separate container */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    gap: 2rem;
}

@media (max-width: 768px) {
    .rootme-card {
        flex-direction: column;
        text-align: center;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}

.rootme-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 150px;
}

.rootme-logo {
    font-size: 2.5rem;
    color: #ff9f43;
    /* Orange for Root-me usually, or theme color */
}

.rootme-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    flex: 1;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.rootme-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rootme-link:hover {
    background: rgba(100, 255, 218, 0.1);
}