/* =====================================
   关于页 (about.html) 专属样式
===================================== */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-hero {
    position: relative;
    width: 480px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.center-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid var(--text-charcoal);
    overflow: hidden;
    background-color: #E5E5E5;
    z-index: 10;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.center-avatar:hover {
    border-color: var(--accent-red);
    transform: scale(1.03);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.node-bubble {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1.5px solid var(--text-charcoal);
    background-color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-charcoal);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.node-bubble:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: scale(1.08);
}

.node-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.node-label {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.node-tl {
    top: 30px;
    left: 30px;
}

.node-tr {
    top: 30px;
    right: 30px;
}

.node-bl {
    bottom: 30px;
    left: 30px;
    z-index: 25;
}

.node-br {
    bottom: 30px;
    right: 30px;
}

/* 音乐播放器特别组件 */
.music-bubble {
    user-select: none;
}

.music-progress-container {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    background-color: var(--bg-cream);
    border: 1px solid var(--text-charcoal);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 30;
}

.music-progress-container.visible {
    opacity: 1;
    pointer-events: auto;
}

#music-progress-bar {
    flex: 1;
    accent-color: var(--accent-red);
    cursor: pointer;
}

.music-menu-btn {
    background: transparent;
    border: none;
    color: var(--text-charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
}

.music-menu-btn:hover {
    color: var(--accent-red);
}

.music-playlist-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    width: 240px;
    background-color: var(--bg-cream);
    border: 1px solid var(--text-charcoal);
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 50;
}

.music-playlist-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--accent-red);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.menu-title {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--accent-red);
    letter-spacing: 1px;
}

.volume-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

#volume-slider {
    width: 60px;
    accent-color: var(--accent-red);
}

.playlist-items {
    list-style: none;
    max-height: 140px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.75rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.playlist-item:hover,
.playlist-item.active {
    color: var(--accent-red);
}

.about-bio {
    text-align: center;
}

.bio-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.bio-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .about-hero {
        width: 320px;
        height: 320px;
    }

    .center-avatar {
        width: 110px;
        height: 110px;
    }

    .node-bubble {
        width: 100px;
        /* 如果原有尺寸较小，可统一调整为 100px 或 110px */
        height: 100px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        /* 确保文本溢出时隐藏或强制不换行 */
        overflow: hidden;
        text-align: center;
    }

    .bubble-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        /* 图标与文字的间距 */
    }

    .bubble-inner .icon {
        font-size: 1.5rem;
        /* 统一图标大小 */
    }

    .bubble-inner .text {
        font-size: 0.8rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    .node-tl {
        top: 10px;
        left: 10px;
    }

    .node-tr {
        top: 10px;
        right: 10px;
    }

    .node-bl {
        bottom: 10px;
        left: 10px;
    }

    .node-br {
        bottom: 10px;
        right: 10px;
    }
}