/* ========================================
   工作经历模块样式 - Experience Styles
   ======================================== */

.experience {
    background: var(--bg-dark);
}

.experience-list {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.experience-item:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.exp-date {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    align-items: flex-start;
}

.exp-year {
    font-weight: 700;
    color: #c4b5fd;
    font-size: 0.9rem;
    background: rgba(139, 92, 246, 0.15);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    line-height: 1.5;
    white-space: nowrap;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.exp-content {
    flex: 1;
}

.exp-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.exp-company {
    color: #c4b5fd;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.3);
}

.exp-desc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exp-desc li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.exp-desc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(139, 92, 246, 0.5);
}

.exp-desc li:last-child {
    margin-bottom: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .exp-date {
        width: 100%;
    }

    .exp-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .experience-item {
        padding: 1.25rem;
    }

    .exp-title {
        font-size: 1rem;
    }

    .exp-company {
        font-size: 0.9rem;
    }

    .exp-desc li {
        font-size: 0.9rem;
    }
}
