/* ==========================================================================
   ===           关于页面 (清爽浅色 Apple 光晕 + 白玻璃)                 ===
   ========================================================================== */

/* 强制外层容器所在页面背景透明，完全由 apple-ambient-bg 接管 */
body {
    background-color: transparent !important;
    color: #333333;
}

/* ==========================================================================
   ===           [浅色版] 流体氛围光晕背景                               ===
   ========================================================================== */
.apple-ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    /* 浅色基调：极浅的冷白、灰蓝交替渐变 */
    background: linear-gradient(-45deg, #fdfbfb, #e2ebf0, #f4f7f6, #e0eafc);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px); 
    opacity: 0.6; /* 浅色模式下光晕稍微柔和一点 */
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* 光晕 1：浅桃粉 */
.blob-1 { 
    width: 50vw; height: 50vw; 
    background: #ffc3a0; 
    top: -10%; left: -10%; 
    animation-name: moveBlob1;
    animation-duration: 22s;
}
/* 光晕 2：婴儿蓝 */
.blob-2 { 
    width: 45vw; height: 45vw; 
    background: #a1c4fd; 
    bottom: -10%; right: -5%; 
    animation-name: moveBlob2;
    animation-duration: 26s;
}
/* 光晕 3：香芋紫 */
.blob-3 { 
    width: 40vw; height: 40vw; 
    background: #e2b0ff; 
    top: 30%; left: 35%; 
    animation-name: moveBlob3;
    animation-duration: 20s;
    opacity: 0.4; 
}

@keyframes moveBlob1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(25vw, 15vh) scale(1.15); }
    66%  { transform: translate(10vw, 30vh) scale(0.95); }
    100% { transform: translate(35vw, 10vh) scale(1.1); }
}
@keyframes moveBlob2 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-20vw, -25vh) scale(1.1); }
    66%  { transform: translate(-35vw, -10vh) scale(0.98); }
    100% { transform: translate(-15vw, -35vh) scale(1.05); }
}
@keyframes moveBlob3 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(15vw, -15vh) scale(1.2); }
    66%  { transform: translate(-15vw, 20vh) scale(0.9); }
    100% { transform: translate(10vw, 10vh) scale(1.1); }
}

.about-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    animation: fadeInUp 0.8s ease backwards;
}

/* ==========================================================================
   ===           顶部头像与浮动标签模块                                 ===
   ========================================================================== */
.about-header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.avatar-interactive-zone {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 40px; 
}

.about-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(20px);
    z-index: 10;
}

.about-avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    position: relative;
    z-index: 2; 
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: #10b981;
    border: 3px solid #ffffff;
    border-radius: 50%;
    z-index: 3;
}

.about-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #000000; /* 浅色背景用黑字 */
    letter-spacing: 2px;
}

.f-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.7); /* 高透白玻璃 */
    backdrop-filter: saturate(180%) blur(20px); 
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    color: #333333; /* 标签文字用深色 */
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 浅浅的阴影 */
    border: 1px solid #ffffff; 
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, box-shadow 0.3s;
    cursor: default;
    z-index: 1; 
}

.f-tag:hover {
    transform: scale(1.05) translateY(-4px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    z-index: 20; 
}

.f-tag i { color: #888888; } 

.tag-l1 { top: -25px; right: 115px; } 
.tag-l2 { top: 25px;  right: 145px; } 
.tag-l3 { top: 75px;  right: 145px; } 
.tag-l4 { top: 125px; right: 115px; } 

.tag-r1 { top: -25px; left: 115px; }
.tag-r2 { top: 25px;  left: 145px; }
.tag-r3 { top: 75px;  left: 145px; }
.tag-r4 { top: 125px; left: 115px; }

@media (max-width: 768px) {
    .f-tag { display: none; }
    .avatar-interactive-zone { padding-top: 0; }
}

/* ==========================================================================
   ===                毛玻璃 Bento Box 网格系统                         ===
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px; 
    margin-bottom: 16px;
}

/* 白玻璃卡片 */
.bento-card {
    padding: 28px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    
    background-color: rgba(255, 255, 255, 0.6); 
    backdrop-filter: saturate(180%) blur(24px); 
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9); 
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05); 
    
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    
    color: #333333; /* 卡片内基础文字颜色 */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, background-color 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    background-color: rgba(255, 255, 255, 0.85); /* 悬浮时变白一点 */
}

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }

.card-sm-title {
    font-size: 13px;
    color: #888888; 
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

/* 自我介绍 */
.bento-intro { justify-content: center; }
.bento-intro .intro-badge {
    background: rgba(0,0,0,0.05);
    color: #333333;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.03);
}
.bento-intro h2 { font-size: 32px; font-weight: 800; margin: 0 0 10px 0; color: #000; }
.bento-intro p { font-size: 15px; color: #555555; margin: 0; line-height: 1.6; }

/* 座右铭 */
.bento-motto { justify-content: space-between; }
.bento-motto h2 { font-size: 28px; font-weight: 800; line-height: 1.4; margin: 10px 0; color: #000; }
.bento-motto .motto-tag {
    color: #333333;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    width: fit-content;
}

/* ==========================================================================
   ===            卡片：技能栈                                         ===
   ========================================================================== */
.bento-skills { padding: 0; display: flex; flex-direction: column; justify-content: space-between; }
.skills-header { padding: 28px 28px 10px 28px; position: relative; z-index: 10; flex-shrink: 0; }
.skills-header h3 { font-size: 24px; font-weight: 800; margin: 0; color: #000; }

.skills-scroll-area { display: flex; flex-direction: column; gap: 14px; overflow: hidden; margin: auto 0; }

.bento-icon-scroll { display: flex; gap: 14px; width: fit-content; padding-left: 28px; }
.bento-icon-scroll.row-1 { animation: bentoScrollLeft 15s linear infinite; }
.bento-icon-scroll.row-2 { animation: bentoScrollRight 18s linear infinite; margin-left: -60px; }
.bento-icon-scroll.row-3 { animation: bentoScrollLeft 17s linear infinite; margin-left: -30px; } 

.bento-icon-item {
    width: 60px; height: 60px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; flex-shrink: 0; color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

@keyframes bentoScrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-518px); } }
@keyframes bentoScrollRight { 0% { transform: translateX(-518px); } 100% { transform: translateX(0); } }

.skills-footer {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 10px 28px 24px 28px; font-size: 13px; color: #888888; font-weight: 600; flex-shrink: 0;
}
.skills-footer .dot { width: 4px; height: 4px; border-radius: 50%; background: #cccccc; }

/* ==========================================================================
   ===           卡片：横向生涯时间线模块                               ===
   ========================================================================== */
.bento-experience h3 { font-size: 24px; font-weight: 800; margin: 0 0 20px 0; color: #000; }

.career-legend { display: flex; gap: 20px; margin-bottom: 25px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666666; }

.lg-dot { width: 10px; height: 10px; border-radius: 50%; }
.bg-blue { background-color: #3b82f6; box-shadow: 0 0 8px rgba(59,130,246,0.3); } 
.bg-red { background-color: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.3); }  

.career-chart-area {
    width: 100%; overflow-x: auto; overflow-y: hidden; 
    padding-bottom: 5px; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.career-chart-area::-webkit-scrollbar { height: 6px; }
.career-chart-area::-webkit-scrollbar-track { background: transparent; }
.career-chart-area::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }

.career-chart-scroll { position: relative; min-width: 500px; height: 160px; display: flex; flex-direction: column; justify-content: flex-end; }
.career-timeline { position: relative; height: 100px; width: calc(100% - 30px); margin: 0 auto 10px auto; }

.t-bar { position: absolute; height: 14px; border-radius: 7px; transition: filter 0.3s; cursor: pointer; }
.t-bar:hover { filter: brightness(1.1); }

/* 进度条上的文字，在浅色模式下最好用深色字 */
.t-label { 
    position: absolute; font-size: 12px; font-weight: bold; 
    color: #333333; 
    text-shadow: 0 1px 3px rgba(255,255,255,0.9); 
    white-space: nowrap; display: flex; align-items: center; gap: 6px; 
}
.t-label i { color: #888888; }
.t-top { bottom: 22px; left: 0; }
.t-bottom { top: 22px; left: 0; }

.career-axis { position: relative; height: 25px; width: calc(100% - 30px); margin: 0 auto; }
.axis-line { position: absolute; top: 5px; left: 0; width: 100%; height: 2px; background: rgba(0,0,0,0.08); border-radius: 1px; }
.t-year { position: absolute; top: -3px; transform: translateX(-50%); font-size: 12px; color: #666666; font-weight: 600; }
.t-year::before {
    content: ''; display: block; width: 8px; height: 8px;
    background: #ffffff; border: 2px solid #cccccc;
    border-radius: 50%; margin: 0 auto 6px auto;
}

/* ==========================================================================
   ===           其他图文展示卡片                                       ===
   ========================================================================== */
.bento-mbti h3 { font-size: 20px; font-weight: 800; line-height: 1.4; margin-top: 10px; color: #000; }
.mbti-icon { font-size: 70px; color: rgba(0,0,0,0.04); position: absolute; bottom: -15px; right: -15px; transform: rotate(-15deg); }

.bento-photo { padding: 0; min-height: 200px; background-size: cover; background-position: center; }
.bento-tag h3 { font-size: 20px; font-weight: 800; line-height: 1.5; margin-top: auto; color: #000; }

/* 带背景图的卡片，内部文字必须强制为白色 */
.bento-hobby { padding: 0; min-height: 200px; background-size: cover; background-position: center; justify-content: flex-end; }
.hobby-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%); 
    padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
}
.hobby-overlay .card-sm-title { color: rgba(255,255,255,0.8); }
.hobby-overlay h3 { font-size: 22px; font-weight: 800; margin: 0; color: #ffffff; }

/* 追番/剧 卡片 (手风琴交互网格) */
.bento-anime { padding: 0; min-height: 220px; border: none; }
.anime-grid {
    display: flex; width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1;
}
.anime-item {
    flex: 1;
    background-size: cover;
    background-position: center center;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    filter: grayscale(30%) brightness(0.85); 
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}
.anime-item:last-child { border-right: none; }
.anime-item:hover {
    flex: 1.4; 
    filter: grayscale(0%) brightness(1.1); 
}

.pointer-pass { z-index: 10; pointer-events: none; }
.pointer-pass * { pointer-events: auto; }

/* 音乐偏好 卡片 */
.bento-music { padding: 0; min-height: 220px; background-size: cover; background-position: center; border: none; }
.music-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    padding: 28px; display: flex; flex-direction: column; justify-content: space-between; z-index: 10;
}
.music-top-text { flex-shrink: 0; }
.music-overlay .card-sm-title { color: rgba(255,255,255,0.8); }
.music-title { color: #ffffff; font-size: 26px; font-weight: 800; margin: 0; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.music-bottom-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.music-desc { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; }
.music-btn {
    color: #ffffff; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.3s ease; display: flex; align-items: center; gap: 6px;
}
.music-btn:hover { background: rgba(255, 255, 255, 0.3); transform: translateX(5px); }

/* 数据与定位卡片 */
.bento-stats h3 { font-size: 20px; font-weight: 800; margin: 0 0 20px 0; color: #000; }
.stats-list { display: flex; flex-direction: column; gap: 15px; }
.stat-box { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 10px; }
.stat-box:last-child { border-bottom: none; padding-bottom: 0; }
.stat-num { font-size: 18px; font-weight: bold; color: #000000; }
.stat-label { font-size: 13px; color: #888888; }

.bento-location { padding: 0; }
.loc-map-bg {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(0,0,0,0.05) 2px, transparent 2px); 
    background-size: 20px 20px; opacity: 0.8;
}
.loc-content { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.loc-current { font-size: 16px; font-weight: 500; color: #333333; margin-bottom: 20px; }
.loc-details { display: flex; gap: 30px; margin-top: auto; }
.loc-item { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; color: #666666; }
.loc-item i { font-size: 22px; color: #3b82f6; } 

.about-footer-block { margin-top: 16px; }
.about-footer-block h2 { font-size: 24px; font-weight: bold; margin-bottom: 20px; color: #000; }
.story-content p { font-size: 15px; line-height: 1.8; color: #555555; margin-bottom: 15px; text-indent: 2em; }

/* ==========================================================================
   ===                响应式布局調整                                   ===
   ========================================================================== */

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .col-span-1, .col-span-2, .col-span-3, .col-span-4 { grid-column: span 1; }
    .bento-intro, .bento-motto, .bento-skills, .bento-experience, .bento-hobby, .bento-location, .bento-anime, .bento-music { grid-column: span 2; }
    .loc-details { flex-direction: column; align-items: flex-start; gap: 15px; }
    .loc-item { flex-direction: row; align-items: center; }
}

@media (max-width: 768px) {
    .about-page-container { padding: 30px 15px 60px 15px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card { grid-column: span 1 !important; min-height: 160px; padding: 20px; }
    .bento-intro h2 { font-size: 26px; }
    .bento-motto h2 { font-size: 22px; }
    
    .skills-header { padding: 20px 20px 10px 20px; }
    .bento-icon-scroll { padding-left: 20px; gap: 12px; }
    .bento-icon-item { width: 50px; height: 50px; font-size: 24px; }
    .skills-footer { padding: 10px 20px 20px 20px; font-size: 12px; }
    
    @keyframes bentoScrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-434px); } }
    @keyframes bentoScrollRight { 0% { transform: translateX(-434px); } 100% { transform: translateX(0); } }
    
    .music-title { font-size: 20px; }
    .music-bottom-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    .anime-item { filter: grayscale(0%) brightness(0.9); } 
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}