/* ==================== 关于我页面 ==================== */

/* 个人简介头部 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-bottom: 48px;
    transition: all 0.3s ease;
}

.profile-header:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
}

.avatar-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-slogan {
    font-size: 18px;
    color: var(--accent-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.profile-tag.highlight {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.profile-tag i {
    font-size: 12px;
}

.profile-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-meta i {
    color: var(--accent-primary);
}

/* 板块标题 */
.about-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-primary);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    border-radius: 2px;
}

/* 信息卡片网格 */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.card-title i {
    color: var(--accent-primary);
}

.card-content {
    color: var(--text-secondary);
}

.card-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* 学业成绩 */
.grades-layout {
    display: flex;
    gap: 32px;
}

.grades-left {
    flex: 1;
}

.grades-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.grades-right .score-tags {
    width: 100%;
}

.highlight-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 12px;
}

.highlight-label {
    font-size: 14px;
    color: var(--text-muted);
}

.highlight-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.highlight-value.accent {
    color: var(--accent-primary);
}

.score-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.score-tag {
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-size: 13px;
    color: #22c55e;
}

.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    font-size: 13px;
    color: var(--accent-primary);
}

/* 在校荣誉 */
.honor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.honor-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    font-size: 14px;
    color: #f59e0b;
}

.honor-tag i {
    color: #f59e0b;
}

/* 学科竞赛 */
.competition-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: auto;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.award-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 3px solid;
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateX(4px);
}

.award-item.national-2nd {
    border-left-color: #fbbf24;
}

.award-item.national-3rd {
    border-left-color: #94a3b8;
}

.award-item.provincial {
    border-left-color: #f97316;
}

.award-item.school-1st {
    border-left-color: #22c55e;
}

.award-item.school-2nd {
    border-left-color: #3b82f6;
}

.award-item.school-3rd {
    border-left-color: #8b5cf6;
}

.award-level {
    font-size: 14px;
    font-weight: 600;
}

.award-item.national-2nd .award-level { color: #fbbf24; }
.award-item.national-3rd .award-level { color: #94a3b8; }
.award-item.provincial .award-level { color: #f97316; }
.award-item.school-1st .award-level { color: #22c55e; }
.award-item.school-2nd .award-level { color: #3b82f6; }
.award-item.school-3rd .award-level { color: #8b5cf6; }

.award-name {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 软件著作权 */
.copyright-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: auto;
}

.copyright-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copyright-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.copyright-num {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
}

.copyright-name {
    font-size: 14px;
    color: var(--text-primary);
}

.copyright-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* 大创项目 */
.project-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: auto;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-item {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.project-level {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-level.provincial-level {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.project-level.school-level {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.project-tutor {
    font-size: 13px;
    color: var(--text-muted);
}

/* 自主技术探索 - 图标悬挂效果 */
.tech-card {
    position: relative;
    overflow: hidden;
    padding-bottom: 30px;
}

.tech-icons {
    position: absolute;
    bottom: -10px;
    right: 15px;
    display: flex;
    gap: 4px;
    align-items: flex-end;
}

.tech-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.tech-icon:hover {
    opacity: 1;
    transform: scale(1.15) translateY(-4px);
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}

.tech-icon.icon-large {
    margin-top: 16px;
}

/* 志愿服务 */
.volunteer-hours {
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
    margin-left: auto;
}

.volunteer-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.activity-tag {
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-size: 13px;
    color: #22c55e;
}

.volunteer-photo {
    margin-top: 16px;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
}

.photo-placeholder i {
    font-size: 32px;
    color: var(--accent-primary);
}

.photo-placeholder span {
    font-size: 14px;
}

/* 班助工作 */
.assistant-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--accent-primary);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.timeline-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.assistant-duties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.duty-tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* 响应式 */
@media (max-width: 1024px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    .profile-tags {
        justify-content: center;
    }
    
    .profile-meta {
        align-items: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .info-card {
        padding: 16px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .highlight-value {
        font-size: 20px;
    }
    
    .grades-layout {
        flex-direction: column;
        gap: 16px;
    }
}
