/* 引入本地字体：得意黑 (Smiley Sans) */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #8b5cf6;
    --bg-color: #ffffff;
    /* 主背景改为纯白 */
    --bg-secondary: #f8f9fa;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'LXGW WenKai Lite', 'KaiTi', 'STKaiti', 'Kaiti SC', 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', serif;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 主内容区需要在视差背景之上 */
.main-content {
    position: relative;
    z-index: 1;
}

/* 视差背景包裹层 */
.parallax-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* 视差背景图 */
.parallax-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    /* GPU加速优化 */
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    animation: blurToClear 1.5s ease-out forwards;
}

#sakura-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* 在背景图之上 */
}

@keyframes blurToClear {
    0% {
        filter: blur(20px);
    }

    100% {
        filter: blur(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左侧边栏 - 旧版样式已废弃，使用抽屉菜单 */
.sidebar {
    display: none;
}

/* 侧边栏折叠按钮 - 已废弃 */
.sidebar-toggle {
    display: none;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #f4a4a4;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* 抽屉菜单中的 logo 样式 */
.drawer-menu .logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.drawer-menu .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.drawer-menu .logo-subtitle {
    font-size: 0.75rem;
    color: #f4a4a4;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* 废弃的侧边栏样式 */
.sidebar-header,
.sidebar-nav,
.nav-links {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links li {
    width: 100%;
}

.nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-size: 0.95rem;
}

.external-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.external-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* 汉堡菜单按钮 - 固定在左上角，透明背景 */
.hamburger-menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1003;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 抽屉打开时，汉堡按钮移动到抽屉右侧 */
.hamburger-menu-btn.active {
    left: 300px;
    background: rgba(255, 255, 255, 0.15);
}

/* ==================== 首页左上角品牌标识 ==================== */
.header-brand {
    position: fixed;
    top: 20px;
    left: 80px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.header-brand .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.header-brand .logo-subtitle {
    font-size: 0.65rem;
    color: #f4a4a4;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-top: 1px;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 选项 A-2：当菜单打开时，品牌标识优雅消失 */
.hamburger-menu-btn.active+.header-brand {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px) scale(0.9);
}

.header-brand:hover .logo {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

.hamburger-menu-btn span {
    width: 24px;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 抽屉打开时汉堡按钮变成 X */
.hamburger-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* 顶部横向导航栏 */
.header-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(72px, 9vw, 92px);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.header-atmosphere::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 242, 249, 0.7) 0%, rgba(255, 228, 240, 0.42) 48%, rgba(255, 222, 235, 0.08) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 236, 245, 0.16) 40%, rgba(255, 245, 250, 0.28) 100%);
    backdrop-filter: blur(7px) saturate(110%);
    -webkit-backdrop-filter: blur(7px) saturate(110%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.header-atmosphere::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 35%, rgba(255, 255, 255, 0.35) 0 2px, transparent 2.5px),
        radial-gradient(circle at 80% 48%, rgba(255, 255, 255, 0.22) 0 1.5px, transparent 2px),
        radial-gradient(circle at 62% 22%, rgba(255, 209, 226, 0.2) 0 2px, transparent 2.7px);
    background-size: 150px 70px, 110px 56px, 190px 90px;
    mix-blend-mode: soft-light;
    opacity: 0.75;
}

.top-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.top-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    background: rgba(255, 182, 193, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-nav-links li {
    position: relative;
}

.top-nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.top-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.top-nav-links a.active {
    background: rgba(255, 182, 193, 0.25);
    color: #f472b6;
}

.top-nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

/* 侧边栏遮罩层 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 抽屉菜单 */
.drawer-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: rgba(255, 182, 193, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-menu.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* 抽屉关闭按钮已废弃，使用汉堡菜单按钮 */
.drawer-close {
    display: none;
}

.drawer-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.drawer-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.drawer-link.active {
    color: #f472b6;
    background: rgba(255, 182, 193, 0.25);
}

.drawer-footer {
    padding: 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tab 内容区 */
.main-content {
    margin-left: 0;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    padding-top: 80px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 侧边栏折叠按钮 */
.sidebar-toggle {
    position: absolute;
    bottom: 30px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: rgba(99, 102, 241, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    z-index: 1001;
}

.sidebar-toggle:hover {
    background: rgba(99, 102, 241, 1);
    transform: scale(1.1);
}

/* 折叠状态下的按钮旋转 */
.sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg);
}

.sidebar.collapsed .sidebar-toggle:hover {
    transform: rotate(180deg) scale(1.1);
}

/* Hero区域 */
.hero {
    min-height: 100dvh; /* 使用动态视口高度，避免移动端地址栏问题 */
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.hero-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.highlight {
    background: linear-gradient(135deg, #ff6b6b, #8b5cf6, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    /* 改成白色，增加投影 */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    /* 轻微透明的白色 */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    min-width: 140px;
    opacity: 0.9;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(80, 82, 222, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* 紫色渐变按钮 - 扔个漂流瓶（花枫穗字体颜色） */
.btn-gradient {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(139, 92, 246, 0.85));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    opacity: 1;
}

/* 粉色按钮 - 分享点什么 */
.btn-pink {
    background: rgba(244, 164, 164, 0.85);
    color: #1a1a2e;
    border: none;
    box-shadow: 0 4px 15px rgba(244, 164, 164, 0.3);
}

.btn-pink:hover {
    background: rgba(248, 184, 184, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 164, 164, 0.4);
    opacity: 1;
}

/* 蓝绿色按钮 - 穗穗爱听的 */
.btn-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.85), rgba(6, 182, 212, 0.85));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-teal:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.95), rgba(6, 182, 212, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
    opacity: 1;
}

/* 橘色按钮 - 穗穗爱用的 */
.btn-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.85), rgba(251, 146, 60, 0.85));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-orange:hover {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(251, 146, 60, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    opacity: 1;
}

/* 首页专属右下角播放按钮 */
.home-audio-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 140px;
    height: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2), filter 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.home-audio-btn img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.home-audio-btn:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.home-audio-btn:active {
    transform: scale(0.95);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* 通用区域样式 */
section {
    padding: 0;
}

section>div {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* 关于我 */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 项目展示 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #1e1e3f, #2d2d5a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links .link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.project-links .link:hover {
    color: var(--primary-color);
}

/* 技能 */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.skill-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 联系方式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item .icon {
    font-size: 1.25rem;
}

/* 联系表单 */
.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 好站推荐 */
.recommend {
    padding: 4rem 0;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recommend-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 182, 193, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: backdrop-filter, transform;
    transform: translateZ(0);
}

.recommend-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.3);
}

.recommend-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

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

.recommend-info {
    flex: 1;
}

.recommend-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* 漂流瓶样式 */
.drift {
    padding: 2rem 0;
}

.section-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* 输入区域 - 便利贴风格 */
.drift-input-area {
    max-width: 500px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff9e6 0%, #fff0cc 100%);
    border-radius: 10px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
    transform: rotate(-1deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #5a4a2a;
}

.drift-input-area:hover {
    transform: rotate(0deg) scale(1.01);
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.3);
}

.input-group {
    margin-bottom: 1rem;
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #5a4a2a;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(90, 74, 42, 0.5);
}

.char-count {
    position: absolute;
    bottom: -18px;
    right: 0;
    font-size: 0.75rem;
    color: rgba(90, 74, 42, 0.5);
}

#drift-submit {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 0.875rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

#drift-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* 留言列表 - 便利贴风格 */
.drift-list-area {
    max-width: 1000px;
    margin: 0 auto;
}

.list-title {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
}

.drift-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

/* 便利贴样式 */
.drift-item {
    border-radius: 10px;
    padding: 1.25rem;
    position: relative;
    animation: fadeInUp 0.5s ease;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.drift-item:hover {
    transform: rotate(0deg) scale(1.02) !important;
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.35);
    z-index: 10;
}

/* 便利贴颜色 - 柔和的粉彩色调 */
.drift-item[data-color="0"] {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    color: #5a4a4a;
}

.drift-item[data-color="1"] {
    background: linear-gradient(135deg, #fff9e6 0%, #fff0cc 100%);
    color: #5a4a2a;
}

.drift-item[data-color="2"] {
    background: linear-gradient(135deg, #f0fff4 0%, #d4edda 100%);
    color: #2d5a3d;
}

.drift-item[data-color="3"] {
    background: linear-gradient(135deg, #e6f7ff 0%, #cce8ff 100%);
    color: #1a4a6a;
}

.drift-item[data-color="4"] {
    background: linear-gradient(135deg, #f5f0ff 0%, #e6d9ff 100%);
    color: #4a3a6a;
}

.drift-item[data-color="5"] {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe0ed 100%);
    color: #6a3a4a;
}

.drift-item[data-color="6"] {
    background: linear-gradient(135deg, #f0ffff 0%, #d9f2f2 100%);
    color: #2a5a5a;
}

.drift-item[data-color="7"] {
    background: linear-gradient(135deg, #fff8dc 0%, #fff0c0 100%);
    color: #5a4a20;
}

.drift-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.drift-author {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

.drift-time {
    font-size: 0.75rem;
    opacity: 0.6;
}

.drift-content-text {
    line-height: 1.7;
    word-break: break-word;
    flex: 1;
    font-size: 0.95rem;
}

.drift-delete {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, color 0.3s, background 0.3s;
}

.drift-item:hover .drift-delete {
    opacity: 1;
}

.drift-delete:hover {
    color: #e53e3e;
    background: rgba(255, 255, 255, 0.9);
}

/* 旋转角度 - 通过内联样式动态添加 */
.drift-item[data-rotate="-3"] {
    transform: rotate(-3deg);
}

.drift-item[data-rotate="-2"] {
    transform: rotate(-2deg);
}

.drift-item[data-rotate="-1"] {
    transform: rotate(-1deg);
}

.drift-item[data-rotate="0"] {
    transform: rotate(0deg);
}

.drift-item[data-rotate="1"] {
    transform: rotate(1deg);
}

.drift-item[data-rotate="2"] {
    transform: rotate(2deg);
}

.drift-item[data-rotate="3"] {
    transform: rotate(3deg);
}

/* 回复列表 */
.drift-replies {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    display: none;
}

.drift-replies.has-replies {
    display: block;
}

.drift-reply-item {
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    animation: fadeInUp 0.3s ease;
}

.drift-reply-item+.drift-reply-item {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.drift-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.drift-reply-author {
    font-weight: 600;
    opacity: 0.7;
    font-size: 0.8rem;
}

.drift-reply-time {
    font-size: 0.7rem;
    opacity: 0.5;
}

.drift-reply-content {
    opacity: 0.85;
    line-height: 1.5;
    word-break: break-word;
}

.drift-reply-delete {
    position: absolute;
    top: 0.3rem;
    right: 0;
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 1rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
}

.drift-reply-item:hover .drift-reply-delete {
    opacity: 1;
}

.drift-reply-delete:hover {
    color: #e53e3e;
}

/* 回复输入区 */
.drift-reply-input-area {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.drift-reply-author-input {
    width: 100%;
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 0.8rem;
    color: inherit;
}

.drift-reply-author-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.drift-reply-author-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

.drift-reply-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.drift-reply-content-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: inherit;
}

.drift-reply-content-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.drift-reply-content-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.drift-reply-submit {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.drift-reply-submit:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.drift-reply-submit svg {
    width: 16px;
    height: 16px;
}

.loading-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
}

.empty-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 3rem;
    font-style: italic;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 隐藏图片的特殊样式 */
.gallery-item-hidden {
    border: 2px dashed rgba(239, 68, 68, 0.5);
}

.hidden-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
    pointer-events: none;
}

/* 隐藏/显示按钮样式 */
.gallery-item-actions {
    display: flex;
    gap: 8px;
}

.gallery-item-visibility,
.gallery-item-delete {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item-visibility:hover,
.gallery-item-delete:hover {
    background: var(--cyber-pink);
    border-color: var(--cyber-pink);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 45, 127, 0.4);
}

.gallery-item-visibility [data-lucide],
.gallery-item-delete [data-lucide] {
    width: 18px;
    height: 18px;
    margin-right: 0;
    opacity: 1;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

/* 图片分享样式 */
.share {
    padding: 2rem 0;
}

/* 上传区域 */
.upload-area {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #f4a4a4;
    background: rgba(0, 0, 0, 0.5);
}

.upload-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 预览区域 */
.upload-preview {
    position: relative;
    display: inline-block;
}

.upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.remove-preview {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f87171;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.remove-preview:hover {
    transform: scale(1.1);
}

/* 图片信息输入 */
.image-info-input {
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* 画廊 */
.gallery-area {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.5s ease;
    position: relative;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s ease;
    display: block;
    background: rgba(0, 0, 0, 0.1);
}

.gallery-item:hover .gallery-item-image,
.gallery-item.show-overlay .gallery-item-image {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item.show-overlay .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gallery-item-info {
    padding: 1rem 1rem 0.5rem;
}

.gallery-item-title {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-item-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 1rem;
}

.gallery-item-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.gallery-item-delete {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.gallery-item-delete:hover {
    color: #f87171;
}

/* 图片预览弹窗 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 音乐页面 */
.music {
    padding: 2rem 0;
}

/* 音乐上传相关样式已移至 Admin Panel 相关部分 */

.music-info-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.music-info-inputs input {
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
}

.music-info-inputs input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.music-info-inputs input:focus {
    outline: none;
    border-color: #14b8a6;
}

.duration-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 0.5rem;
}

/* 音乐播放器 */
.music-player-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 1.5rem;
    background: rgba(255, 182, 193, 0.2);
    will-change: transform;
    transform: translateZ(0);
    border-radius: 16px;
    border: 1px solid rgba(255, 182, 193, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.player-cat-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 28px;
    height: 28px;
    color: rgba(255, 182, 193, 0.8);
    pointer-events: none;
}

.player-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.player-cover {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.player-info {
    text-align: center;
}

.player-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.player-artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.player-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.player-btn {
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.player-btn svg {
    width: 28px;
    height: 28px;
}

.player-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.player-btn.play-btn {
    width: 56px;
    height: 56px;
    background: rgb(255, 182, 193);
    color: #000000;
}

.player-btn.play-btn svg {
    width: 32px;
    height: 32px;
}

.player-btn.play-btn:hover {
    background: rgb(255, 212, 223);
    transform: scale(1.05);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
}

.player-progress span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    min-width: 40px;
}

#progress-bar {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #ffffff var(--progress, 0%), rgba(255, 255, 255, 0.2) var(--progress, 0%));
    border-radius: 2px;
    cursor: pointer;
    outline: none;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    margin-top: -2px;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 200px;
}

.player-volume span {
    font-size: 1rem;
}

#volume-bar {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #ffffff var(--volume-progress, 50%), rgba(255, 255, 255, 0.2) var(--volume-progress, 50%));
    border-radius: 2px;
    cursor: pointer;
    outline: none;
}

#volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
    margin-top: -3px;
}

/* 音乐列表 */
.music-list-area {
    max-width: 800px;
    margin: 0 auto;
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.music-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 182, 193, 0.15);
    /* 淡粉色磨砂 */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 182, 193, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border-color 0.3s ease;
    position: relative;
    will-change: backdrop-filter, transform;
    transform: translateZ(0);
}

.music-item:hover {
    background: rgba(255, 182, 193, 0.25);
    transform: translateX(5px);
}

.music-item.active {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.2);
    /* 保持被选中时的青色主题但增加一些可见度 */
}

.music-item-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.music-item-info {
    flex: 1;
    min-width: 0;
}

.music-item-title {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-item-artist {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.music-item-duration {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.music-item-delete {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
}

.music-item:hover .music-item-delete {
    opacity: 1;
}

.music-item-delete:hover {
    color: #f87171;
}

.music-item-play {
    width: 36px;
    height: 36px;
    background: rgb(255, 182, 193);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

.music-item-play svg {
    width: 20px;
    height: 20px;
}

.music-item:hover .music-item-play {
    transform: scale(1.1);
    background: rgb(255, 212, 223);
}

.music-item.active .music-item-play {
    background: rgb(255, 182, 193);
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.5);
}

/* 悬浮音乐播放器 - 胶囊状 */
.floating-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 420px;
    height: 75px;
    background: rgba(30, 30, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

.floating-player * {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.floating-cover {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    right: 250px;
}

.floating-cover {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
    animation: spin-cover 10s linear infinite;
    animation-play-state: paused;
}

.floating-cover.playing {
    animation-play-state: running;
}

@keyframes spin-cover {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-info {
    flex: 1;
    min-width: 0;
}

.floating-info h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.floating-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.floating-volume {
    position: absolute;
    right: 160px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    width: 80px;
}

.floating-volume svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.floating-volume .volume-slider {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #ffffff var(--volume-progress, 50%), rgba(255, 255, 255, 0.2) var(--volume-progress, 50%));
    border-radius: 4px;
    outline: none;
}

.floating-volume .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.1s;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.floating-volume .volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}


.floating-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.floating-btn svg {
    width: 24px;
    height: 24px;
}

.floating-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.floating-btn.play-btn {
    width: 44px;
    height: 44px;
    background: rgb(255, 182, 193);
    color: #000000;
}

.floating-btn.play-btn svg {
    width: 28px;
    height: 28px;
}

.floating-btn.play-btn:hover {
    background: rgb(255, 212, 223);
    transform: scale(1.05);
}

.floating-close {
    position: absolute;
    top: -10px;
    right: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-close:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: scale(1.1);
}

/* 音乐页面时不显示悬浮播放器的规则已删除，使得全局保留悬浮窗 */

.recommend-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.recommend-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 182, 193, 0.3);
    color: #f472b6;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* 页脚 */
.footer {
    background: rgba(242, 236, 248, 0.88);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(244, 164, 164, 0.2);
    position: relative;
    z-index: 1;
    clear: both;
}

.footer p {
    color: #888;
    font-size: 0.875rem;
}

.hero {
    min-height: 100dvh; /* 使用动态视口高度，避免移动端地址栏问题 */
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* 响应式设计 */
@media (max-width: 768px) {

    /* 移动端 hero 区和 intro 区完全分离 */
    .hero-section {
        min-height: 100vh;
        margin-bottom: 0;
    }

    .home-intro {
        margin-top: 0;  /* 关键修复：覆盖全局的负边距 */
        padding: 80px 20px;
        background: rgba(255, 255, 255, 0.9); /* 给文字区加个半透背景 */
    }

    /* 移动端标题位置上移 */
    .header-brand {
        top: 8px;  /* 从 20px 减小到 8px，向上移动 */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* 滚动时隐藏标题 */
    .header-brand.hidden {
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
    }

    /* 移动端隐藏顶部导航栏，只保留汉堡菜单 */
    .top-nav {
        display: none;
    }

    /* 移动端悬浮播放器缩小 */
    .floating-player {
        width: 280px;
        height: 60px;
        bottom: 20px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
        padding: 8px 12px;
    }

    .floating-player-header {
        right: 140px;
        left: 12px;
        gap: 8px;
    }

    .floating-cover {
        width: 44px;
        height: 44px;
    }

    .floating-info h4 {
        font-size: 0.85rem;
    }

    .floating-info p {
        font-size: 0.7rem;
    }

    .floating-controls {
        right: 12px;
        gap: 6px;
    }

    .floating-btn {
        width: 28px;
        height: 28px;
    }

    .floating-btn svg {
        width: 16px;
        height: 16px;
    }

    .floating-btn.play-btn {
        width: 36px;
        height: 36px;
    }

    .floating-btn.play-btn svg {
        width: 20px;
        height: 20px;
    }

    .floating-volume {
        right: 110px;
        width: 60px;
        gap: 4px;
    }

    .floating-volume svg {
        width: 14px;
        height: 14px;
    }

    .floating-volume .volume-slider {
        width: 40px;
    }

    .top-nav-divider {
        height: 16px;
        margin: 0 4px;
    }

    /* 移动端汉堡菜单按钮调整 */
    .hamburger-menu-btn {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
    }

    /* 移动端抽屉打开时，按钮移动到抽屉右侧 */
    .hamburger-menu-btn.active {
        left: 275px;
    }

    .hamburger-menu-btn span {
        width: 22px;
        height: 2px;
    }

    .hamburger-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* 移动端抽屉菜单调整 */
    .drawer-menu {
        width: 260px;
    }

    .main-content {
        padding-top: 70px;
    }

    /* 移动端瀑布流2列 */
    .gallery-grid {
        column-count: 2;
        column-gap: 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .hero .container {
        align-items: center;
        text-align: center;
    }

    .hero-title-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-avatar {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        justify-items: center;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        min-width: auto;
        width: 100%;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .avatar-img {
        width: 250px;
        height: 250px;
        order: -1;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-content>*:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-content>*:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content>*:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-content>*:nth-child(4) {
    animation-delay: 0.4s;
}

/* ==================== 自定义弹窗（替代原生 confirm/alert） ==================== */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.custom-modal {
    background: rgba(30, 30, 40, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 36px 40px 28px;
    min-width: 320px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.9) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.custom-modal-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.custom-modal-message {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 28px;
    word-break: break-word;
}

.custom-modal-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.custom-modal-btn {
    padding: 10px 32px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.custom-modal-btn.confirm {
    background: linear-gradient(135deg, #ffb6c1 0%, #ff8da1 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 182, 193, 0.3);
}

.custom-modal-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.4);
}

.custom-modal-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.custom-modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.custom-modal-btn.danger {
    background: linear-gradient(135deg, #ff4b5c 0%, #ff2d40 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 75, 92, 0.3);
}

.custom-modal-btn.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 75, 92, 0.4);
}

.custom-modal-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s;
}

.custom-modal-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 182, 193, 0.6);
    box-shadow: 0 0 10px rgba(255, 182, 193, 0.2);
}

.modal-input-wrapper {
    position: relative;
    width: 100%;
}

.modal-input-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 5;
}

.modal-input-toggle:hover {
    color: #ff2d7f;
    background: rgba(255, 45, 127, 0.1);
}

.modal-input-wrapper .custom-modal-input {
    padding-right: 48px;
}

.modal-label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 4px;
}

.modal-input-group {
    margin-bottom: 18px;
}

.custom-modal-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
}

.custom-modal-input:focus {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

/* 首页右下角音频播放按钮 */
.home-audio-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 100;
    padding: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* 第二个按钮 - 位于上方 */
.home-audio-btn-top2 {
    bottom: 140px;
}

/* 第三个按钮 - 位于最上方 */
.home-audio-btn-top3 {
    bottom: 250px;
}

.home-audio-btn:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

.home-audio-btn:active {
    transform: scale(0.95);
}

.home-audio-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.home-audio-btn.playing {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ==================== 二次元粉色赛博风格 (Anime Pink Cyber Theme) ==================== */
:root {
    --cyber-pink: #ff2d7f;
    --cyber-purple: #7b2ff7;
    --deep-bg: #1a0b2e;
    --glass-bg: rgba(45, 20, 80, 0.6);
    --neon-glow: 0 0 15px rgba(255, 45, 127, 0.5), 0 0 5px rgba(255, 45, 127, 0.3);
    --bouncy: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 全标权限控制 */
.admin-only {
    display: none !important;
}

body.is-admin .admin-only {
    display: block !important;
}

/* 针对 Flex 容器内部的管理员工具（如照片墙操作按钮） */
body.is-admin div.admin-only {
    display: flex !important;
}

/* 针对侧边栏等列表项 */
body.is-admin li.admin-only {
    display: list-item !important;
}

/* 全局大圆角 */
.btn,
.admin-input,
.custom-modal,
.admin-card,
.admin-stat-card,
.list-filter {
    border-radius: 24px !important;
}

/* 弹窗Q弹动画 */
.custom-modal {
    background: rgba(255, 182, 193, 0.25) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
    animation: modalPop 0.5s var(--bouncy) forwards !important;
}

.custom-modal-message {
    color: #1a0b2e !important;
    font-weight: 600 !important;
}

.custom-modal-btn.cancel {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1a0b2e !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.custom-modal-btn.confirm {
    background: linear-gradient(135deg, var(--cyber-pink), var(--cyber-purple)) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 45, 127, 0.4) !important;
}

#admin-panel {
    background: rgba(255, 182, 193, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #f8fafc;
    min-height: 100vh;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#admin-panel .container {
    max-width: 1400px;
    padding: 2.5rem;
}

/* 头部布局 */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 45, 127, 0.2);
}

.admin-header .section-title {
    margin: 0;
    left: 0;
    transform: none;
    text-align: left;
    font-size: 2.2rem;
    background: linear-gradient(to right, #fff, var(--cyber-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 45, 127, 0.3));
    font-weight: 800;
}

.admin-header .section-title::after {
    display: none;
}

.admin-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.admin-header-btn {
    background: var(--glass-bg);
    border: 1px solid var(--cyber-pink);
    color: var(--cyber-pink);
    box-shadow: 0 0 10px rgba(255, 45, 127, 0.2);
    margin-left: 1rem;
}

.admin-header-btn:hover {
    background: var(--cyber-pink);
    color: white;
    box-shadow: var(--neon-glow);
}

/* 统计卡片网格 */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.admin-stat-card {
    background: var(--glass-bg);
    border: 2px solid rgba(255, 45, 127, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s var(--bouncy);
}

.admin-stat-card:hover {
    border-color: var(--cyber-pink);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--neon-glow);
}

.stat-icon {
    font-size: 2.8rem;
    width: 70px;
    height: 70px;
    background: rgba(255, 45, 127, 0.1);
    border: 1px solid rgba(255, 45, 127, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    filter: drop-shadow(0 0 10px var(--cyber-pink));
    transition: transform 0.3s var(--bouncy);
}

.admin-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    animation: iconBounce 0.6s infinite alternate;
}

@keyframes iconBounce {
    from {
        transform: scale(1.1) translateY(0);
    }

    to {
        transform: scale(1.1) translateY(-5px);
    }
}

.stat-info h3 {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0 0 0.25rem 0;
}

.stat-info .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cyber-pink);
    text-shadow: 0 0 10px rgba(255, 45, 127, 0.5);
}

/* 主布局主体 */
.admin-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}




.card-header {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 45, 127, 0.05);
    border-bottom: 1px solid rgba(255, 45, 127, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

.list-filter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 0.35rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.list-filter.active {
    background: linear-gradient(135deg, var(--cyber-pink), var(--cyber-purple));
    color: #fff;
    border-color: var(--cyber-pink);
    box-shadow: 0 0 15px rgba(255, 45, 127, 0.4);
}

/* 表格赛博化 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 1rem;
    color: var(--cyber-pink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 45, 127, 0.2);
}

.admin-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.admin-table tr:hover td {
    background: rgba(255, 45, 127, 0.05);
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 45, 127, 0.3);
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: rgba(255, 45, 127, 0.1);
    color: var(--cyber-pink);
    border-color: var(--cyber-pink);
    transform: scale(1.1);
}

/* 媒体列表 */
.admin-media-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ip-stats-summary {
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 0.92rem;
}

.ip-stats-list {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px;
}

.ip-stat-item {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr;
    gap: 8px 12px;
    padding: 10px 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.ip-stat-item:last-child {
    border-bottom: none;
}

.ip-stat-ip {
    color: #f8fafc;
    font-weight: 600;
    word-break: break-all;
}

.ip-stat-count {
    text-align: right;
    color: #f9a8d4;
}

.ip-stat-time {
    grid-column: 1 / -1;
    color: #94a3b8;
    font-size: 0.85rem;
}

.admin-media-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.media-preview {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 45, 127, 0.2);
}

.media-info h4 {
    font-size: 0.95rem;
    margin: 0;
    color: #f1f5f9;
}

.media-info p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

/* 设置面板 */
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 45, 127, 0.3);
    color: var(--cyber-pink);
    padding: 0.6rem 1rem;
}

.admin-input:focus {
    border-color: var(--cyber-pink);
    box-shadow: 0 0 10px rgba(255, 45, 127, 0.3);
    outline: none;
}

.switch {
    width: 48px;
    height: 24px;
}

.switch input:checked+.slider {
    background-color: var(--cyber-pink);
    box-shadow: 0 0 10px var(--cyber-pink);
}

/* 背景指示灯霓虹化 */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
}

.status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .admin-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* ==================== 矢量图标现代化美化 (Lucide Icons) ==================== */
[data-lucide] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.85;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2px;
}

/* 侧边栏图标适配 */
.nav-icon [data-lucide] {
    width: 22px;
    height: 22px;
    margin-right: 0;
}

/* 按钮图标适配 */
.btn [data-lucide] {
    width: 18px;
    height: 18px;
    margin-top: -2px;
}

/* 标题图标适配 */
.section-title [data-lucide],
.list-title [data-lucide],
.card-header h3 [data-lucide] {
    width: 28px;
    height: 28px;
    color: var(--cyber-pink);
    filter: drop-shadow(0 0 8px rgba(255, 45, 127, 0.4));
    margin-right: 12px;
}

/* 交互反馈 */
a:hover [data-lucide],
button:hover [data-lucide],
.list-filter.active [data-lucide] {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* ==================== 矢量图标现代化美化 (Lucide Icons) ==================== */
[data-lucide] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.85;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2px;
}

/* 侧边栏图标适配 */
.nav-icon [data-lucide] {
    width: 22px;
    height: 22px;
    margin-right: 0;
}

/* 按钮图标适配 */
.btn [data-lucide] {
    width: 18px;
    height: 18px;
    margin-top: -2px;
}

/* 标题图标适配 */
.section-title [data-lucide],
.list-title [data-lucide],
.card-header h3 [data-lucide] {
    width: 28px;
    height: 28px;
    color: var(--cyber-pink);
    filter: drop-shadow(0 0 8px rgba(255, 45, 127, 0.4));
    margin-right: 12px;
}

/* 统计卡片图标 */
.stat-icon [data-lucide] {
    width: 32px;
    height: 32px;
    margin-right: 0;
    color: var(--cyber-pink);
}

/* 交互反馈 */
a:hover [data-lucide],
button:hover [data-lucide],
.list-filter.active [data-lucide] {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.btn-pink:hover [data-lucide] {
    filter: drop-shadow(0 0 8px rgba(255, 45, 127, 0.6));
}

/* 管理员列表缩略图 */
.admin-list-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 45, 127, 0.3);
    cursor: zoom-in;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(0, 0, 0, 0.2);
    vertical-align: middle;
}

.admin-list-thumb:hover {
    transform: scale(2.2);
    box-shadow: 0 0 20px rgba(255, 45, 127, 0.6);
    z-index: 100;
    position: relative;
    border-color: var(--cyber-pink);
}

@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 弹窗输入框修正 */
.custom-modal-input {
    border-radius: 24px !important;
    border: 1px solid rgba(255, 45, 127, 0.3) !important;
}

.custom-modal-input:focus {
    border-color: var(--cyber-pink) !important;
    box-shadow: 0 0 12px rgba(255, 45, 127, 0.3) !important;
}

/* 音乐上传 - 控制中心专属 (Cyber Pink Style) */
.music-upload-admin .music-form {
    padding: 0.5rem 0;
}

.music-upload-admin .music-file-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1rem;
}

.admin-file-btn {
    display: block;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
    background: rgba(255, 182, 193, 0.1);
    color: var(--cyber-pink);
    border: 1px solid rgba(255, 45, 127, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.admin-file-btn:hover {
    background: rgba(255, 45, 127, 0.15);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 45, 127, 0.2);
}

.music-upload-admin .file-name {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

.music-upload-admin .music-info-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.duration-hint {
    font-size: 0.75rem;
    color: #64748b;
    margin: 5px 0 0 5px;
}

.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 0.75rem;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* ==================== 滚动逐行显示动画 ==================== */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 卡片整体动画 */
.reveal-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 每行/每个元素依次延迟出现 */
.reveal-text:nth-child(1) { transition-delay: 0s; }
.reveal-text:nth-child(2) { transition-delay: 0.1s; }
.reveal-text:nth-child(3) { transition-delay: 0.2s; }
.reveal-text:nth-child(4) { transition-delay: 0.3s; }
.reveal-text:nth-child(5) { transition-delay: 0.4s; }
.reveal-text:nth-child(6) { transition-delay: 0.5s; }

/* 三个卡片依次延迟 */
.reveal-card:nth-child(1) { transition-delay: 0s; }
.reveal-card:nth-child(2) { transition-delay: 0.2s; }
.reveal-card:nth-child(3) { transition-delay: 0.4s; }

/* ==================== 原生 Live2D 毛玻璃聊天气泡 ==================== */
.live2d-custom-bubble {
    position: absolute;
    top: 60px;
    /* 原生在头顶偏上的位置 */
    right: -10px;
    /* 偏右上方 */
    width: 220px;
    padding: 14px 20px;

    /* 极致黑透玻璃拟物风格（契合整体暗色基调与粉色挂件） */
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 182, 193, 0.3);
    /* 若隐若现的少女粉渐变边框 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px 20px 20px 4px;
    /* 右上角的三角尾巴朝向人物嘴部 */

    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    letter-spacing: 0.5px;

    /* 让气泡透明对鼠标免疫，保证底部网页能被点击 */
    pointer-events: none;
    z-index: 10000;

    /* 软糯弹窗动画 */
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    /* 默认偏下且略微缩小 */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* 回弹效果(Bouncing) */
}

/* JavaScript 控制加挂此 Class 时气泡展示 */
.live2d-custom-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 移动端 Live2D 聊天气泡调整 */
@media (max-width: 768px) {
    .live2d-custom-bubble {
        top: -50px;
        right: 0;
        width: 140px;
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 16px 16px 16px 4px;
    }

    /* 移动端右下角语音按钮缩小 */
    .home-audio-btn {
        width: 60px;
        height: 60px;
        right: 15px;
        bottom: 15px;
    }

    .home-audio-btn-top2 {
        bottom: 85px;
    }

    .home-audio-btn-top3 {
        bottom: 155px;
    }
}

/* ==================== 首页介绍区 (浅雅粉实地背景) ==================== */
.home-intro {
    background-color: rgba(255, 245, 247, 0.9);
    /* 温润樱花粉，带有 0.9 的透明度，微显底色 */
    padding: 80px 0;
    color: #4b4b4b;
    margin-top: -250px;
    /* 向上拉升进入 Hero 区域，不影响 Hero 内部元素的对齐 */
    position: relative;
    z-index: 10;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.05);
    /* 顶部微弱阴影增强层次感 */
    text-align: center;
}

.home-intro .container {
    max-width: 800px;
    /* 窄版容器，更适合沉浸式阅读 */
}

.intro-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.intro-title {
    font-family: inherit;
    font-size: 2.6rem;
    font-weight: 700;
    color: #db2777;
    /* 深粉色标题，起到画龙点睛的作用 */
    letter-spacing: 6px;
    margin-bottom: 20px;
    position: relative;
    text-shadow: none;
    /* 去掉首页通用的文字阴影，保证实面感 */
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #f472b6;
    border-radius: 2px;
}

.intro-content {
    font-family: inherit;
    font-size: 1.15rem;
    line-height: 2.4;
    color: #555;
    text-align: justify;
    /* 两端对齐，排版更工整 */
}

.intro-content p {
    margin-bottom: 24px;
    text-indent: 2em;
    /* 传统的中文段落首行缩进 */
}

.intro-footer {
    margin-top: 20px;
    font-style: italic;
    color: #f472b6;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* 首页底部关于区 */
.site-about {
    padding: 96px 0 110px;
    background:
        linear-gradient(180deg, rgba(249, 245, 252, 0.82) 0%, rgba(243, 236, 248, 0.88) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.site-about-title {
    text-align: center;
    font-family: inherit;
    font-size: 3rem;
    color: #b38fd0;
    letter-spacing: 10px;
    margin-bottom: 62px;
    position: relative;
}

.site-about-title::after {
    content: '';
    display: block;
    width: 68px;
    height: 5px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(248, 173, 214, 0.45), rgba(244, 164, 164, 0.7));
}

.site-about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 28px;
}

.site-about-card {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 34px;
    padding: 56px 32px 52px;
    text-align: center;
    box-shadow: 0 14px 38px rgba(125, 108, 153, 0.14);
    color: #596275;
}

.site-about-thumb {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 20px rgba(130, 108, 162, 0.16);
}

.site-about-card h3 {
    font-size: 2rem;
    color: #3f4a5f;
    margin-bottom: 26px;
}

.site-about-card p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #6e7688;
}

.site-about-stat {
    background: rgba(246, 244, 250, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 16px 18px;
    margin: 0 0 16px;
}

.site-about-stat-label {
    display: block;
    font-size: 0.98rem;
    color: #9aa2b2;
    margin-bottom: 8px;
}

.site-about-stat strong {
    font-size: 2rem;
    font-weight: 700;
    color: #8ea9df;
    letter-spacing: 1px;
}

.site-about-email {
    margin-top: 8px;
    color: #b08ccf !important;
    font-weight: 700;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .header-atmosphere {
        height: 64px;
    }

    .home-intro {
        padding: 80px 20px;
    }

    .intro-title {
        font-size: 2rem;
    }

    .intro-content {
        font-size: 1.05rem;
        line-height: 2.2;
    }

    .site-about {
        padding: 70px 0 80px;
    }

    .site-about-title {
        font-size: 2.1rem;
        letter-spacing: 4px;
        margin-bottom: 34px;
    }

    .site-about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-about-card {
        padding: 36px 22px;
        border-radius: 24px;
    }

    .site-about-thumb {
        width: 92px;
        height: 92px;
        margin-bottom: 16px;
    }
}

/* ===== Home About Section ===== */
.home-about-section {
    display: none;
    padding: 96px 0 110px;
    background: linear-gradient(180deg, rgba(248, 244, 252, 0.82) 0%, rgba(242, 236, 248, 0.88) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

#home.active + .home-about-section {
    display: block;
}



.home-about-title {
    text-align: center;
    font-family: inherit;
    font-size: 3rem;
    color: #b38fd0;
    letter-spacing: 10px;
    margin-bottom: 62px;
    position: relative;
}

.home-about-title::after {
    content: '';
    display: block;
    width: 68px;
    height: 5px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(248, 173, 214, 0.45), rgba(244, 164, 164, 0.7));
}

.home-about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 28px;
}

.home-about-card {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 34px;
    padding: 56px 32px 52px;
    text-align: center;
    box-shadow: 0 14px 38px rgba(125, 108, 153, 0.14);
    color: #596275;
}

.home-about-img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 20px rgba(130, 108, 162, 0.16);
}

.home-about-card h3 {
    font-size: 2rem;
    color: #3f4a5f;
    margin-bottom: 26px;
}

.home-about-card p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #6e7688;
}

.home-about-stat {
    background: rgba(246, 244, 250, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 16px 18px;
    margin: 0 0 16px;
}

.home-about-stat span {
    display: block;
    font-size: 0.98rem;
    color: #9aa2b2;
    margin-bottom: 8px;
}

.home-about-stat strong {
    font-size: 1.35rem;
    font-weight: 700;
    color: #8ea9df;
    letter-spacing: 1px;
}

.home-about-email {
    margin-top: 8px;
    color: #b08ccf !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .home-about-section {
        padding: 70px 0 80px;
    }

    .home-about-title {
        font-size: 2.1rem;
        letter-spacing: 4px;
        margin-bottom: 34px;
    }

    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-about-card {
        padding: 36px 22px;
        border-radius: 24px;
    }

    .home-about-img {
        width: 92px;
        height: 92px;
        margin-bottom: 16px;
    }
}

/* ===== Home About (final) ===== */
.home-about {
    position: relative;
    padding: 96px 0 140px;
    background: linear-gradient(180deg, rgba(248, 244, 252, 0.82) 0%, rgba(242, 236, 248, 0.88) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.home-about::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -120px;
    height: 120px;
    background: linear-gradient(180deg, rgba(242, 236, 248, 0.88) 0%, rgba(242, 236, 248, 0.88) 100%);
    pointer-events: none;
}

.home-about>.container {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.home-about .home-about-title {
    text-align: center;
    font-family: inherit;
    font-size: 3rem;
    color: #b38fd0;
    letter-spacing: 10px;
    margin-bottom: 62px;
    position: relative;
}

.home-about .home-about-title::after {
    content: '';
    display: block;
    width: 68px;
    height: 5px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(248, 173, 214, 0.45), rgba(244, 164, 164, 0.7));
}

.home-about .home-about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 28px;
}

.home-about .home-about-card {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 34px;
    padding: 56px 32px 52px;
    text-align: center;
    box-shadow: 0 14px 38px rgba(125, 108, 153, 0.14);
    color: #596275;
}

.home-about .home-about-image {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 20px rgba(130, 108, 162, 0.16);
}

.home-about .home-about-card h3 {
    font-size: 2rem;
    color: #3f4a5f;
    margin-bottom: 26px;
}

.home-about .home-about-card p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #6e7688;
}

.home-about .home-about-stat {
    background: rgba(246, 244, 250, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    padding: 16px 18px;
    margin: 0 0 16px;
}

.home-about .home-about-stat span {
    display: block;
    font-size: 0.98rem;
    color: #9aa2b2;
    margin-bottom: 8px;
}

.home-about .home-about-stat strong {
    font-size: 1.35rem;
    font-weight: 700;
    color: #8ea9df;
    letter-spacing: 1px;
}

.home-about .home-about-email {
    margin-top: 8px;
    color: #b08ccf !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .home-about {
        padding: 70px 0 100px;
    }

    .home-about::after {
        bottom: -84px;
        height: 84px;
    }

    .home-about .home-about-title {
        font-size: 2.1rem;
        letter-spacing: 4px;
        margin-bottom: 34px;
    }

    .home-about .home-about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-about .home-about-card {
        padding: 36px 22px;
        border-radius: 24px;
    }

    .home-about .home-about-image {
        width: 92px;
        height: 92px;
        margin-bottom: 16px;
    }
}
/* --- 修复移动端文字区遮挡及大白边问题的最终方案 --- */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;  /* ✨ 核心修复：取消强制全屏高度，让容器紧贴按钮收缩 */
        padding-top: 130px !important; /* 顶部多留一点空间，避免头像顶到手机状态栏 */
        padding-bottom: 30px !important; /* 决定按钮和下方文字区距离的控制阀（可微调） */
    }

    .home-intro {
        margin-top: 0 !important; /* 彻底重置负边距，禁止重叠 */
        padding-top: 40px !important; /* 文字区内部的顶部留白 */
    }
}
