﻿/* ===== index.css (微调，与星空主题融合) ===== */
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: url('../images/heard.png') no-repeat center center; /* 使用图片 */

    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.2rem;
    color: white;
    box-shadow: 0 0 40px #967ace, 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.25);

    position: relative;
    overflow: hidden; /* 确保图片充满圆形容器 */
}

/* 隐藏内部的图标（原 <i> 元素） */
.avatar i {
    display: none;
}

.hero p {
    max-width: 600px;
}

.social-links a {
    display: inline-block;
    margin: 0 12px;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    filter: drop-shadow(0 0 6px #a386e0);
}

    .social-links a:hover {
        transform: scale(1.2) translateY(-3px);
        color: var(--primary-color);
        text-shadow: 0 0 15px white;
    }

/* footer 内的社交图标颜色微调 (适配深色玻璃) */
.footer-section .social-links a {
    font-size: 1.6rem;
    color: #d0d6ff;
    margin: 0 8px 0 0;
    display: inline-block;
}

.footer-section .social-links a:hover {
    color: white;
    transform: scale(1.15);
}

/* 网易云播放器*/
/* 歌单折叠效果 */
.playlist-content {
    max-height: 600px; /* 足够容纳 iframe 的高度 */
    transition: max-height 0.4s ease;
}

    .playlist-content.collapsed {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
/* 旋转箭头 */
.playlist-header .fa-chevron-down.rotated {
    transform: rotate(180deg);
}
/* 网易云歌单区域 */
body.light-mode .playlist-header {
    border-bottom-color: rgba(0, 96, 128, 0.15) !important;
}

body.light-mode #playlistIcon {
    color: var(--primary-color);
}