:root {
    --gradient-start: #4f46e5;
    --gradient-end: #818cf8;
    --text-dark: #111111;
    --text-body: #555;
    --text-muted: #666;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-indigo: 0 15px 30px rgba(79, 70, 229, 0.15);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
}

ul,
li,
ol {
    list-style: none;
}

body {
    scroll-behavior: smooth;
    background-color: #fefefe;
}

/* 导航栏 */
.导航栏 {
    background-color: rgba(255, 255, 255, 0.80);
    width: 100%;
    height: 70px;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.导航栏.scrolled {
    background-color: rgba(255, 255, 255, 0.90);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 65px;
}

/* 渐变文字 */
.渐变文字 {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 36px;
    height: 36px;
    margin-left: 100px;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: rotate(5deg) scale(1.1);
}

.logo div {
    font-size: 26px;
    font-weight: bolder;
    margin-left: 10px;
}

/* 导航链接 */
.nav {
    margin-right: 100px;
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width var(--transition-fast);
    border-radius: 1px;
}

.nav a:hover {
    color: var(--gradient-start);
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active {
    color: var(--gradient-start);
}

.nav a.active::after {
    width: 100%;
}

/* ========== 首页轮播图 ========== */
.图片 {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    scroll-margin-top: 0;
}

/* 轮播图主容器 */
.轮播图容器 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 单个轮播项 */
.轮播项 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
    /* 覆盖层让文字更清晰 */
    isolation: isolate;
}

.轮播项::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.25); */
    z-index: 0;
    pointer-events: none;
}

.轮播项.活跃 {
    opacity: 1;
    z-index: 1;
}

/* 轮播项内的标题 */
.轮播项 .标题 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: bolder;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

/* 轮播项内的描述 */
.轮播项 .描述 {
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

/* 活跃轮播项的文字动画 */
.轮播项.活跃 .标题 {
    animation: fadeUp 0.8s ease 0.15s forwards;
}

.轮播项.活跃 .描述 {
    animation: fadeUp 0.8s ease 0.35s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 左右箭头 */
.轮播箭头 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    opacity: 0.7;
}

.轮播箭头:hover {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.轮播箭头:active {
    transform: translateY(-50%) scale(0.95);
    transition: transform 0.1s ease;
}

.轮播箭头-左 {
    left: 20px;
}

.轮播箭头-右 {
    right: 20px;
}

/* 底部指示器 */
.轮播指示器 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
}

.轮播指示器圆点 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.轮播指示器圆点:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #fff;
    transform: scale(1.2);
}

.轮播指示器圆点.活跃 {
    background: #fff;
    border-color: #fff;
    width: 34px;
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* ========== 人物选择面板 ========== */
.人物选择-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 80px;
    transition: opacity var(--transition-smooth), max-height var(--transition-smooth);
    overflow: hidden;
}

.人物选择-section.隐藏 {
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
    overflow: hidden;
}

.人物选择标题 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.人物选择标题::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

/* 卡片网格：桌面端一排5个 */
.人物卡片网格 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
}

.人物卡片 {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 15px 20px 13px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-bounce),
        box-shadow var(--transition-fast),
        opacity var(--transition-fast);
    border: 2px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    max-width: 200px;
}

.人物卡片:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-indigo);
    border-color: rgba(79, 70, 229, 0.2);
}

.人物卡片:active {
    transform: translateY(-4px) scale(0.98);
    transition: transform 0.15s ease;
}

/* 第一个成员金色样式 */
.人物卡片.金色卡片 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.25);
}

.人物卡片.金色卡片:hover {
    border-color: #d97706;
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.35);
}

.人物卡片-头像 {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: transform var(--transition-fast);
    pointer-events: none;
}

.人物卡片:hover .人物卡片-头像 {
    transform: scale(1.06);
}

.人物卡片-名称 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 10px;
    color: #222;
    pointer-events: none;
    text-align: center;
}

.人物卡片-标签 {
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
    pointer-events: none;
    text-align: center;
}

/* ========== 详情面板 ========== */
.详情面板 {
    transition: opacity var(--transition-smooth), max-height var(--transition-smooth);
    overflow: hidden;
}

.详情面板.隐藏 {
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
    overflow: hidden;
}

.详情面板.可见 {
    max-height: 8000px;
    opacity: 1;
    pointer-events: auto;
}

/* 个人介绍区域 */
.内容-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 80px;
}

.个人介绍 {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.头像容器 {
    width: 400px;
    height: 400px;
    background-color: #2a2a3f;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: all var(--transition-bounce);
    position: relative;
    flex-shrink: 0;
}

.头像容器::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
    pointer-events: none;
}

.头像容器:hover::before {
    opacity: 1;
}

.头像容器 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    position: relative;
    z-index: 0;
}

.头像容器:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.头像容器:hover img {
    transform: scale(1.05);
}

.介绍容器 {
    max-width: 600px;
    flex: 1;
    min-width: 280px;
}

.介绍容器 p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-body);
}

.关于我们 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.关于我们::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

/* 返回按钮 */
.返回按钮-container {
    margin-bottom: 25px;
}

.返回按钮 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #777;
    background: none;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 10px 22px;
    transition: all var(--transition-fast);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.返回按钮:hover {
    color: var(--gradient-start);
    border-color: var(--gradient-start);
    background-color: rgba(79, 70, 229, 0.04);
    transform: translateX(-3px);
}

.返回按钮:active {
    transform: translateX(-1px) scale(0.97);
    transition: transform 0.1s ease;
}

.返回按钮-箭头 {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.返回按钮:hover .返回按钮-箭头 {
    transform: translateX(-4px);
}

/* 社交媒体/联系方式 */
.联系 {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 70px 20px;
    scroll-margin-top: 80px;
}

.社交 {
    background: linear-gradient(135deg, #f8fcff, rgb(250, 254, 255));
    padding: 70px 20px;
    scroll-margin-top: 80px;
}

.联系我们 {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.联系我们 h1 {
    margin-bottom: 50px;
}

.按钮 {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 20px;
}

.导航按钮 {
    width: 325px;
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.导航按钮 img {
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin: 20px 15px 15px;
    transition: var(--transition-fast);
}

.导航按钮:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-indigo);
}

.导航按钮:hover img {
    transform: scale(1.02);
}

.导航按钮 h2 {
    color: #333333;
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

.导航按钮 p {
    margin: 0;
    color: var(--gradient-start);
    font-size: 1rem;
    font-weight: 500;
}

/* 全局访问官网区块 */
.全局访问官网-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.访问官网按钮 {
    padding: 18px 40px;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: inline-block;
}

.访问官网按钮:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.访问官网按钮:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* 页脚 */
.页脚 {
    background-color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #f1f5f9;
}

.页脚文案 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.版权声明 {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 侧边栏音乐播放器 */
.侧边栏 {
    position: fixed;
    left: 1vw;
    bottom: -100px;
    background-color: rgba(255, 255, 255, 0.95);
    width: 110px;
    height: 60px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: bottom var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 9999;
}

.侧边栏.show {
    bottom: 1vw;
}

.侧边栏>div {
    display: flex;
    align-items: center;
    width: 100%;
}

.侧边栏 .按钮 {
    width: 30px;
    height: 30px;
    background-image: url(../img/暂停.png);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    padding: 0;
    border: 0;
    flex-shrink: 0;
}

.侧边栏 .封面 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
    object-fit: cover;
}

.侧边栏:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.5);
}

.侧边栏:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(112, 106, 222, 0.5);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.rotate {
    animation: rotate 10s linear infinite;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .logo img {
        margin-left: 20px;
    }
    .nav {
        margin-right: 20px;
        gap: 15px;
    }
    .nav a {
        font-size: 0.9rem;
    }
    .个人介绍 {
        flex-direction: column;
        text-align: center;
    }
    .关于我们::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .头像容器 {
        width: 320px;
        height: 320px;
    }
    .介绍容器 {
        margin-left: 0;
        padding: 0 20px;
    }
    .返回按钮-container {
        text-align: center;
    }
    /* 平板改为三列 */
    .人物卡片网格 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .人物卡片 {
        max-width: 180px;
        padding: 14px 16px 12px;
    }
    .人物卡片-头像 {
        width: 65px;
        height: 65px;
    }
    .人物卡片-名称 {
        font-size: 1.1rem;
        margin-top: 10px;
    }

    /* 轮播箭头缩小 */
    .轮播箭头 {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .轮播箭头-左 {
        left: 10px;
    }
    .轮播箭头-右 {
        right: 10px;
    }
    .轮播指示器 {
        bottom: 20px;
        gap: 10px;
    }
    .轮播指示器圆点 {
        width: 10px;
        height: 10px;
    }
    .轮播指示器圆点.活跃 {
        width: 28px;
    }
}

@media (max-width: 500px) {
    .导航栏 {
        height: 60px;
    }
    .图片 {
        width: 100%;
        height: 42dvh;
    }
    .轮播项 {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #fefefe;
        padding-top: 60;
    }
    .轮播箭头 {
        top: 52%;
    }
    .logo img {
        width: 30px;
        height: 30px;
        margin-left: 20px;
    }
    .logo div {
        font-size: 1.2rem;
    }
    .nav {
        margin-right: 15px;
        gap: 10px;
    }
    .nav a {
        font-size: 0.8rem;
    }
    .导航按钮 {
        max-width: 310px;
        width: 100%;
    }
    .头像容器 {
        width: 280px;
        height: 280px;
    }
    .访问官网按钮 {
        padding: 16px 24px;
        font-size: 18px;
        width: 70%;
    }
    .人物卡片网格 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .人物卡片 {
        max-width: 100%;
        padding: 13px 12px 11px;
        border-radius: 14px;
    }
    .人物卡片-头像 {
        width: 60px;
        height: 60px;
    }
    .人物卡片-名称 {
        font-size: 0.95rem;
        margin-top: 8px;
    }
    .人物卡片-标签 {
        font-size: 0.75rem;
    }
    .人物选择标题 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .内容-section {
        padding: 40px 15px;
    }
    .联系,
    .社交,
    .全局访问官网-section {
        padding: 50px 15px;
    }
    .关于我们 {
        font-size: 1.8rem;
    }
    /* 侧边栏手机样式 */
    .侧边栏 {
        width: 90px;
        height: 50px;
        padding: 0 9px;
    }
    .侧边栏 .封面 {
        width: 38px;
        height: 38px;
        margin-right: 6px;
    }
    .侧边栏 .按钮 {
        width: 28px;
        height: 28px;
    }

    /* 轮播箭头手机端 */
    .轮播箭头 {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
        border-width: 1.5px;
    }
    .轮播箭头-左 {
        left: 6px;
    }
    .轮播箭头-右 {
        right: 6px;
    }
    .轮播指示器 {
        bottom: 16px;
        gap: 8px;
    }
    .轮播指示器圆点 {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
    .轮播指示器圆点.活跃 {
        width: 24px;
    }
}