/* About 页面专用样式 */

.about-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.about-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8b46a 0%, #ffd8a8 100%);
    border-radius: 16px;
    margin-bottom: 3rem;
    color: white;
}

.about-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.about-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about-title {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.about-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.about-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.section-heading {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-left: 4px solid #f39c12;
    padding-left: 1rem;
}

.about-text {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.skill-level {
    font-size: 0.85rem;
    color: #666;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #f39c12, #e67e22);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f39c12;
    transform: translateX(-5px);
}

.timeline-date {
    font-size: 0.9rem;
    color: #e67e22;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    transform: translateY(-2px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-icon {
    font-size: 1.5rem;
    color: #f39c12;
}

.contact-label {
    font-weight: 600;
    color: #333;
}

.contact-value {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-page {
        padding: 1rem;
    }
    
    .about-header {
        padding: 2rem 1rem;
    }
    
    .about-name {
        font-size: 2rem;
    }
    
    .about-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Intro 内容样式 */
.intro-list {
    margin-left: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
    list-style: none;
    padding-left: 0.5rem;
}

.intro-list li {
    margin-bottom: 0.5rem;
}

.intro-list-strong {
    font-weight: 600;
    color: #2d3748;
}

/* 暗黑模式适配 */
[data-theme="dark"] .about-header {
    background: linear-gradient(135deg, #7e57c2 0%, #9575cd 100%);
}

[data-theme="dark"] .about-section {
    background: #1e1e1e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .section-heading {
    color: #e0e0e0;
    border-left-color: #7e57c2;
}

[data-theme="dark"] .about-text {
    color: #b0b0b0;
}

[data-theme="dark"] .skill-card {
    background: #2d2d2d;
}

[data-theme="dark"] .skill-card:hover {
    background: #37474f;
}

[data-theme="dark"] .skill-name {
    color: #e0e0e0;
}

[data-theme="dark"] .skill-level {
    color: #90a4ae;
}

[data-theme="dark"] .timeline::before {
    background: linear-gradient(to bottom, #7e57c2, #9575cd);
}

[data-theme="dark"] .timeline-item::before {
    background: #7e57c2;
}

[data-theme="dark"] .timeline-date {
    color: #9575cd;
}

[data-theme="dark"] .timeline-title {
    color: #e0e0e0;
}

[data-theme="dark"] .timeline-description {
    color: #b0b0b0;
}

[data-theme="dark"] .social-link {
    background: #2d2d2d;
    color: #e0e0e0;
}

[data-theme="dark"] .social-link:hover {
    background: linear-gradient(135deg, #7e57c2, #9575cd);
}

[data-theme="dark"] .contact-item {
    background: #2d2d2d;
}

[data-theme="dark"] .contact-label {
    color: #e0e0e0;
}

[data-theme="dark"] .contact-value {
    color: #b0b0b0;
}

[data-theme="dark"] .intro-list {
    color: #b0b0b0;
}

[data-theme="dark"] .intro-list-strong {
    color: #e0e0e0;
}

[data-theme="dark"] .badge {
    background: rgba(126, 87, 194, 0.3);
}

[data-theme="dark"] .badge:hover {
    background: rgba(126, 87, 194, 0.45);
}

/* 致谢区域样式 */
.thanks-section {
    text-align: center;
    background: linear-gradient(135deg, #f8b46a 0%, #ffd8a8 100%);
    color: white;
}

[data-theme="dark"] .thanks-section {
    background: linear-gradient(135deg, #7e57c2 0%, #9575cd 100%);
}

.thanks-section h2 {
    margin-bottom: 1rem;
}

.thanks-section p {
    line-height: 1.8;
    opacity: 0.95;
}

.return-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: white;
    color: #f39c12;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

[data-theme="dark"] .return-btn {
    background: #7e57c2;
    color: white;
}

.return-btn:hover {
    transform: translateY(-2px);
}
