/* =========================================
   ABOUT 页面专用样式 - 二次元机能风
   ========================================= */

.about-section {
    min-height: 100vh;
    padding: 5rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* =========================================
   左侧：飞行员档案面板
   ========================================= */
.profile-panel {
    background: var(--bg-card);
    border: var(--border-dark);
    padding: 2rem;
    position: relative;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - var(--clip-angle)),
        calc(100% - var(--clip-angle)) 100%,
        0 100%
    );
}

.profile-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary-accent);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-primary);
}

.profile-id, .profile-rank {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.id-label, .rank-label {
    color: var(--text-muted);
    margin-right: 8px;
}

.id-value {
    color: var(--secondary-accent);
    font-weight: 700;
}

.rank-value {
    color: var(--primary-accent);
    font-weight: 900;
}

/* 头像区域 */
.profile-avatar {
    text-align: center;
    margin-bottom: 1.5rem;
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.avatar-box {
    width: 140px;
    height: 140px;
    background: var(--bg-primary);
    border: 3px solid var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.avatar-placeholder {
    font-size: 3.5rem;
    opacity: 0.8;
}

.avatar-border {
    position: absolute;
    top: 8px;
    left: 8px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--primary-accent);
    clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.profile-name h2 {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-accent);
}

/* 状态数据 */
.profile-stats {
    margin-bottom: 1.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.stat-label {
    color: var(--text-muted);
}

.stat-value {
    color: var(--text-primary);
    font-weight: 700;
}

.status-online {
    color: var(--primary-accent);
}

/* 个人简介 */
.profile-bio h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--secondary-accent);
    margin-bottom: 0.5rem;
}

.profile-bio p {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.7;
}

/* =========================================
   右侧：技能面板
   ========================================= */
.skills-panel {
    background: var(--bg-card);
    border: var(--border-dark);
    padding: 2rem;
    position: relative;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-primary);
}

.panel-header h2 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-primary);
}

.panel-subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* 雷达图 */
.radar-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 1.5rem;
}

#skillRadar {
    width: 100%;
    height: 100%;
}

/* 技能条 */
.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.skill-name {
    color: var(--text-muted);
    font-weight: 700;
}

.skill-value {
    color: var(--secondary-accent);
    font-weight: 900;
}

.skill-bar {
    height: 10px;
    background: var(--bg-primary);
    border: 2px solid var(--text-primary);
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--secondary-accent);
    width: 0;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-accent);
    box-shadow: 2px 0 6px var(--primary-accent);
}

/* =========================================
   装备展示区
   ========================================= */
.gear-section {
    margin-top: 1rem;
}

.gear-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-align: center;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.85rem;
}

.gear-item {
    background: var(--bg-card);
    border: var(--border-dark);
    padding: 1rem 0.5rem;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: default;
}

.gear-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--secondary-accent);
}

.gear-icon {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.gear-name {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* =========================================
   响应式
   ========================================= */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .profile-panel, .skills-panel {
        max-width: 550px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding-top: 10rem;
    }

    .profile-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .radar-container {
        width: 240px;
        height: 240px;
    }
    
    .gear-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
