/* ============ 现代化全局样式 ============ */
:root {
    --bg-base: #0b0f1a;
    --bg-elevated: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.12);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-1: #6366f1;
    --accent-2: #22d3ee;
    --accent-3: #a855f7;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 背景光晕装饰 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(600px circle at 15% 10%, rgba(99, 102, 241, 0.22), transparent 60%),
        radial-gradient(700px circle at 85% 25%, rgba(34, 211, 238, 0.14), transparent 60%),
        radial-gradient(800px circle at 50% 95%, rgba(168, 85, 247, 0.16), transparent 60%);
}

/* ============ 导航栏 ============ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(11, 15, 26, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-1), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar .logo img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.navbar .logo .logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
    letter-spacing: 1px;
}

.navbar nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.navbar nav a {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

/* ============ 主体容器 ============ */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

/* ============ Hero 区域 ============ */
.hero {
    text-align: center;
    padding: 64px 20px 48px;
}

.hero .hero-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 28px;
    margin-bottom: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.hero .brand-sub {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-2);
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, #e2e8f0, #a5b4fc, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.subtitle {
    margin: 0 auto;
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-primary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
}

.badge.gradient {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.35), rgba(34, 211, 238, 0.25));
    border-color: rgba(99, 102, 241, 0.5);
}

/* ============ 玻璃卡片 ============ */
.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 24px 0;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.45);
}

.card h2 {
    margin: 0 0 16px;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h2::before {
    content: "";
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent-1));
}

.card p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin: 8px 0;
}

.card p strong {
    color: var(--text-primary);
}

/* 信息高亮条 */
.info-highlight {
    display: inline-block;
    padding: 10px 18px;
    margin-top: 8px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 日期元信息 */
.meta-dates {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.meta-dates .date-item {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
}

.meta-dates .date-item span {
    color: var(--accent-2);
    font-weight: 600;
}

/* ============ 人员卡片网格 ============ */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.person-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.person-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.person-card .avatar-wrap {
    width: 128px;
    height: 128px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
}

.person-card .avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background: #1e293b;
}

.person-card .name {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 6px 0 4px;
}

.person-card .name a {
    color: inherit;
    text-decoration: none;
}

.person-card .name a:hover {
    text-decoration: underline;
    text-decoration-color: var(--accent-2);
}

.person-card .role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 名字配色 */
.customName.color1 { color: #4ade80; }
.customName.color2 { color: #60a5fa; }
.customName.color3 { color: #f87171; }
.customName.color4 { color: #c084fc; }
.customName.color5 { color: #fb923c; }
.customName.color6 { color: #f9a8d4; }

/* 待赞助占位卡片 */
.person-card.placeholder .avatar-wrap {
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-card.placeholder .avatar-wrap::before {
    content: "?";
    font-size: 3rem;
    color: var(--text-secondary);
}

/* ============ 章节标题 ============ */
.section-title {
    margin: 48px 0 8px;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: "";
    width: 8px;
    height: 28px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent-3), var(--accent-1));
}

.section-subtitle {
    color: var(--text-secondary);
    margin: 0 0 8px;
}

/* ============ 工作室横幅 ============ */
.studio-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.18), rgba(168, 85, 247, 0.14));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 24px 0;
}

.studio-banner img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.studio-banner .studio-info h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.studio-banner .studio-info p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============ 旋转音乐图片 ============ */
#rotateImage {
    position: fixed;
    top: 76px;
    right: 22px;
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    animation: rotation 6s infinite linear;
    z-index: 90;
}

@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============ 悬浮按钮 ============ */
#bottomButton {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

#bottomButton button,
.btn-primary {
    padding: 12px 26px;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#bottomButton button:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.5);
}

/* ============ 页脚 ============ */
footer {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-subtle);
}

/* ============ 链接 ============ */
a:link, a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover, a:active {
    color: inherit;
}

/* ============ 响应式 ============ */
@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }

    #rotateImage {
        top: auto;
        bottom: 90px;
        width: 46px;
        height: 46px;
    }

    .studio-banner {
        flex-direction: column;
        text-align: center;
    }
}
