* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #1a1a1a;
    color: #fff;
    padding-top: 100px; /* 调整为新的页头高度 */
}

.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(254, 119, 240, 0.3);
    box-shadow: 0 2px 20px rgba(254, 119, 240, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 4px 30px rgba(254, 119, 240, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Logo区域 */
.header-brand {
    flex: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #fe77f0, #ad3479);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(254, 119, 240, 0.3);
    transition: all 0.3s ease;
}

.logo-icon i {
    font-size: 1.8em;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: #fe77f0;
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 10px rgba(254, 119, 240, 0.5);
}

.logo-subtitle {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-top: 2px;
}

/* 主导航菜单 */
.main-nav {
    flex: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 119, 240, 0.1), rgba(173, 52, 121, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover,
.nav-link.active {
    color: #fe77f0;
    background: rgba(254, 119, 240, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link i {
    font-size: 1.1em;
}

.nav-link span {
    font-size: 0.95em;
}

/* 搜索栏 */
.header-search {
    flex: 0 0 auto;
    margin-right: 20px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 280px;
    padding: 12px 45px 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(254, 119, 240, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.95em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: rgba(254, 119, 240, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(254, 119, 240, 0.2);
}

.search-btn {
    position: absolute;
    right: 8px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fe77f0, #ad3479);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(254, 119, 240, 0.4);
}

/* 操作按钮区域 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

/* 语言切换 */
.language-switch {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(254, 119, 240, 0.3);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.lang-btn:hover {
    background: rgba(254, 119, 240, 0.1);
    border-color: rgba(254, 119, 240, 0.5);
    color: #fe77f0;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 119, 240, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 140px;
}

.language-switch:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(254, 119, 240, 0.1);
    color: #fe77f0;
}

.lang-option:first-child {
    border-radius: 10px 10px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 10px 10px;
}

/* 下载按钮 */
.header-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #fe77f0, #ad3479);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 119, 240, 0.3);
}

.header-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 119, 240, 0.4);
    background: linear-gradient(135deg, #ad3479, #fe77f0);
}

/* 用户菜单 */
.user-menu {
    position: relative;
}

.user-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(254, 119, 240, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
}

.user-btn:hover {
    background: rgba(254, 119, 240, 0.1);
    border-color: rgba(254, 119, 240, 0.5);
    color: #fe77f0;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 119, 240, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 160px;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.user-option:hover {
    background: rgba(254, 119, 240, 0.1);
    color: #fe77f0;
}

.user-option:first-child {
    border-radius: 10px 10px 0 0;
}

.user-option:last-child {
    border-radius: 0 0 10px 10px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #fe77f0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端导航菜单 */
.mobile-nav {
    position: fixed;
    top: 100px; /* 调整为新的页头高度 */
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    padding: 20px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(254, 119, 240, 0.1);
    color: #fe77f0;
}

/* 进度指示器 */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(254, 119, 240, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fe77f0, #ad3479);
    width: 0%;
    transition: width 0.1s ease;
}

/* 英雄区域样式 */
.hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg.webp') center/cover;
    z-index: 0;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(128, 0, 128, 0.6), rgba(75, 0, 130, 0.6)),
        radial-gradient(circle at 50% 50%, rgba(254, 119, 240, 0.15) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

/* 文本区域 */
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 600px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.title-main {
    font-size: 2.8em;
    font-weight: 700;
    color: #fe77f0;
    text-shadow: 
        0 0 10px rgba(254, 119, 240, 0.6),
        0 0 20px rgba(254, 119, 240, 0.4);
    line-height: 1;
    letter-spacing: 1px;
}

.title-sub {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.05em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
}

/* 特色标签 */
.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5px;
}

.hero-tags .tag {
    background: rgba(254, 119, 240, 0.15);
    border: 1px solid rgba(254, 119, 240, 0.3);
    color: #fe77f0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-tags .tag:hover {
    background: rgba(254, 119, 240, 0.25);
    border-color: rgba(254, 119, 240, 0.5);
    transform: translateY(-2px);
}

/* 下载区域 */
.hero-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.download-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-btn.primary {
    background: linear-gradient(135deg, #fe77f0 0%, #ad3479 100%);
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 25px;
    border: none;
    box-shadow: 
        0 6px 20px rgba(173, 52, 121, 0.4),
        0 0 15px rgba(254, 119, 240, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.download-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(173, 52, 121, 0.5),
        0 0 25px rgba(254, 119, 240, 0.5);
}

.download-btn.primary:hover::before {
    left: 100%;
}

.download-info {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

.update-date,
.version-type {
    display: flex;
    align-items: center;
    gap: 5px;
}

.update-date::before {
    content: '📅';
    font-size: 0.9em;
}

.version-type::before {
    content: '🌐';
    font-size: 0.9em;
}

/* 平台选项 */
.platform-options {
    display: flex;
    gap: 10px;
    max-width: 360px;
    justify-content: center;
    flex-wrap: nowrap;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(254, 119, 240, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    flex: 1;
    min-width: 100px;
    max-width: 115px;
}

.platform-btn:hover {
    background: rgba(254, 119, 240, 0.15);
    border-color: rgba(254, 119, 240, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 119, 240, 0.2);
}

.platform-btn i {
    font-size: 1.6em;
    color: #fe77f0;
    margin-bottom: 2px;
}

.platform-btn span {
    font-weight: 500;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
}

.features {
    padding: 60px 20px;
    position: relative;
    background: rgba(0, 0, 0, 0.6);
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(254, 119, 240, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(173, 52, 121, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.features h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #fe77f0;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features h2 i {
    margin-right: 10px;
    animation: pulse-icon 2s infinite;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fe77f0, transparent);
    box-shadow: 0 0 8px rgba(254, 119, 240, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.feature-card {
    background: rgba(254, 119, 240, 0.05);
    border: 1px solid rgba(254, 119, 240, 0.15);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ad3479, #fe77f0);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    background: rgba(254, 119, 240, 0.08);
    border-color: rgba(254, 119, 240, 0.25);
    box-shadow: 0 5px 20px rgba(254, 119, 240, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 1.8em;
    color: #fe77f0;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    color: #fe77f0;
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85em;
    line-height: 1.4;
    margin: 0;
}

.news {
    padding: 80px 20px;
    position: relative;
    background: #0c0c0c;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(254, 119, 240, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(173, 52, 121, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.news h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #fe77f0;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.news h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fe77f0, transparent);
    box-shadow: 0 0 10px rgba(254, 119, 240, 0.5);
}

.news-article {
    background: rgba(25, 25, 25, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(254, 119, 240, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.news-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ad3479, #fe77f0);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-article:hover::before {
    opacity: 1;
}

.article-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}

.tag {
    background: rgba(254, 119, 240, 0.2);
    color: #fe77f0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(254, 119, 240, 0.3);
}

.news-article time {
    color: #888;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

.news-article time i {
    margin-right: 5px;
    color: #fe77f0;
}

.news-article h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3em;
    line-height: 1.4;
}

.news-article p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-article .read-more {
    color: #fe77f0;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.news-article .read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fe77f0;
    transition: width 0.3s ease;
}

.news-article .read-more:hover {
    color: #fe77f0;
}

.news-article .read-more:hover::after {
    width: 100%;
}

.news-article .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-article .read-more:hover i {
    transform: translateX(3px);
}

.media-gallery {
    padding: 80px 20px;
    position: relative;
    background: #151515;
}

.media-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(254, 119, 240, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(173, 52, 121, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.media-gallery h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #fe77f0;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.media-gallery h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fe77f0, transparent);
    box-shadow: 0 0 10px rgba(254, 119, 240, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(10, 10, 10, 0.8);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 0.4;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(254, 119, 240, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    font-size: 1em;
    z-index: 2;
    transform: translateY(5px);
    opacity: 0.9;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover .caption {
    transform: translateY(0);
    opacity: 1;
}

.reviews {
    padding: 80px 20px;
    position: relative;
    background: #0c0c0c;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(254, 119, 240, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(173, 52, 121, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #fe77f0;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.reviews h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fe77f0, transparent);
    box-shadow: 0 0 10px rgba(254, 119, 240, 0.5);
}

.review-slider {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #fe77f0 #333;
}

.review-card {
    background: rgba(25, 25, 25, 0.8);
    border-radius: 10px;
    padding: 30px;
    min-width: 300px;
    flex: 1;
    transition: all 0.3s ease;
    border: 1px solid rgba(254, 119, 240, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ad3479, #fe77f0);
    border-radius: 10px 10px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-card:hover::before {
    opacity: 1;
}

.rating {
    color: #fe77f0;
    font-size: 1.5em;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.review-card p {
    color: #ddd;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1em;
}

.user {
    color: #888;
    text-align: right;
    font-weight: 500;
}

footer {
    background: #0a0a0a;
    padding: 60px 20px 20px;
    position: relative;
    border-top: 1px solid rgba(254, 119, 240, 0.3);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(254, 119, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(173, 52, 121, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: #fe77f0;
    margin-bottom: 20px;
    font-size: 1.3em;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fe77f0;
    box-shadow: 0 0 5px rgba(254, 119, 240, 0.5);
}

.footer-section p {
    color: #888;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fe77f0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-section ul li a:hover::before {
    background: #fe77f0;
    box-shadow: 0 0 5px rgba(254, 119, 240, 0.5);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #aaa;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fe77f0;
    transform: translateY(-3px);
}

.partner-links {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #666;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(254, 119, 240, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.5em;
    box-shadow: 0 0 15px rgba(254, 119, 240, 0.4);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(254, 119, 240, 0.9);
    transform: translateY(-5px);
}

/* 角色Wiki模块样式 */
.characters-wiki {
    padding: 80px 20px;
    position: relative;
    background: #1a1a1a; /* 与页面主背景保持一致 */
    border-top: 1px solid rgba(254, 119, 240, 0.2);
    border-bottom: 1px solid rgba(254, 119, 240, 0.2);
}

.characters-wiki::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(254, 119, 240, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(173, 52, 121, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.characters-wiki h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #fe77f0;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 10px rgba(254, 119, 240, 0.5);
    z-index: 2;
}

.characters-wiki h2 i {
    margin-right: 10px;
    animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.7; transform: scale(1); }
}

.characters-wiki h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fe77f0, transparent);
    box-shadow: 0 0 15px rgba(254, 119, 240, 0.7);
}

.character-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    z-index: 2;
    position: relative;
}

.character-card {
    background: rgba(20, 20, 20, 0.9); /* 简化背景色，更接近页面主色调 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(254, 119, 240, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    border: 1px solid rgba(254, 119, 240, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #fe77f0, #ad3479);
    transition: height 0.4s ease;
    z-index: 1;
}

.character-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(254, 119, 240, 0.25);
    border-color: rgba(254, 119, 240, 0.4);
    background: rgba(25, 25, 25, 0.95);
}

.character-card:hover::before {
    height: 100%;
}

.character-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: all 0.6s ease;
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.character-card:hover .character-img {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.1);
}

.character-info {
    padding: 25px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.character-name {
    font-size: 1.6em;
    color: #fe77f0;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 8px rgba(254, 119, 240, 0.4);
}

.character-role {
    color: #ad3479;
    font-size: 1em;
    margin-bottom: 15px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.character-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
    position: relative;
}

/* 简化的标签系统 - 统一使用主题色调 */
.character-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.character-tags .tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* 统一使用主题色调的渐变 */
    background: linear-gradient(135deg, rgba(254, 119, 240, 0.15), rgba(173, 52, 121, 0.15));
    color: rgba(254, 119, 240, 0.9);
    border: 1px solid rgba(254, 119, 240, 0.25);
}

.character-tags .tag:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(254, 119, 240, 0.25), rgba(173, 52, 121, 0.25));
    border-color: rgba(254, 119, 240, 0.4);
    box-shadow: 0 4px 12px rgba(254, 119, 240, 0.2);
    color: #fe77f0;
}

.character-link {
    display: inline-block;
    background: linear-gradient(135deg, #fe77f0 0%, #ad3479 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 0.3px;
    align-self: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(173, 52, 121, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    text-align: center;
}

.character-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: all 0.5s ease;
}

.character-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(173, 52, 121, 0.4);
    background: linear-gradient(135deg, #ad3479 0%, #fe77f0 100%);
}

.character-link:hover::before {
    left: 100%;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .main-nav {
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* 页头样式调整 */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        gap: 0;
        min-height: 70px;
    }

    .header-brand {
        flex: 1;
        justify-content: flex-start;
        width: auto;
    }

    .logo-link {
        gap: 10px;
    }

    .logo-title {
        font-size: 1.4em;
    }

    .logo-subtitle {
        font-size: 0.8em;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-icon i {
        font-size: 1.5em;
    }

    .header-download-btn {
        display: none;
    }

    body {
        padding-top: 70px;
    }

    .mobile-nav {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    .mobile-nav-content {
        padding: 25px 20px;
    }

    .mobile-nav-menu {
        gap: 5px;
    }

    .mobile-nav-link {
        padding: 16px 20px;
        font-size: 1.1em;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
    }

    .mobile-nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(254, 119, 240, 0.1), rgba(173, 52, 121, 0.1));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        color: #fe77f0;
        background: rgba(254, 119, 240, 0.1);
        transform: translateX(5px);
    }

    .mobile-nav-link:hover::before,
    .mobile-nav-link.active::before {
        opacity: 1;
    }

    .hamburger-line {
        width: 22px;
        height: 2px;
        background: #fe77f0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* 进度条调整 */
    .progress-bar {
        height: 3px;
    }

    /* 英雄区域调整 */
    .hero-container {
        padding: 0 15px;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .hero-visual {
        order: 2;
    }

    .game-preview {
        max-width: 300px;
    }

    .floating-card {
        display: none;
    }

    .card-1, .card-2, .card-3 {
        display: none;
    }

    .title-main {
        font-size: 2.2em;
    }

    .title-sub {
        font-size: 1.1em;
    }

    .hero-features {
        justify-content: center;
    }

    .feature-tag {
        font-size: 0.8em;
        padding: 6px 12px;
    }

    .download-btn.primary {
        padding: 12px 30px;
        font-size: 1em;
    }

    .btn-main {
        font-size: 1em;
    }

    .btn-sub {
        font-size: 0.85em;
    }

    .download-options {
        gap: 8px;
        justify-content: center;
    }

    .platform-btn {
        padding: 10px 12px;
        min-width: 85px;
    }

    .version-info {
        font-size: 0.8em;
        gap: 8px;
    }

    .scroll-indicator {
        bottom: 15px;
    }

    .particle-4, .particle-5 {
        display: none;
    }

    .character-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .characters-wiki {
        padding: 60px 15px;
    }

    .characters-wiki h2 {
        font-size: 2em;
    }

    .character-stat {
        padding: 8px;
    }

    .stat-label {
        font-size: 0.75em;
    }

    .stat-value {
        font-size: 1.1em;
    }

    .view-all-link {
        padding: 12px 25px;
        font-size: 0.95em;
    }

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

    .review-slider {
        flex-direction: column;
    }

    .news-article {
        margin-bottom: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
    }

    /* 游戏特色移动端3列布局 */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 15px 10px;
    }

    .feature-card i {
        font-size: 1.6em;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 0.95em;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.8em;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    /* 页头优化 */
    .header-container {
        padding: 10px 15px;
        min-height: 60px;
    }
    
    .mobile-menu-toggle {
        right: 15px;
        width: 28px;
        height: 28px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
    }
    
    .logo-title {
        font-size: 1.2em;
    }
    
    .logo-subtitle {
        display: none;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon i {
        font-size: 1.2em;
    }
    
    body {
        padding-top: 60px;
    }
    
    .mobile-nav {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    
    .mobile-nav-content {
        padding: 20px 15px;
    }
    
    .mobile-nav-link {
        padding: 14px 16px;
        font-size: 1em;
    }
    
    /* 英雄区域样式 */
    .hero {
        min-height: 50vh;
        padding: 20px 0;
    }
    
    .hero-container {
        padding: 0 10px;
    }
    
    .hero-content {
        gap: 15px;
    }
    
    .hero-text {
        gap: 10px;
    }
    
    .title-main {
        font-size: 1.8em;
    }
    
    .title-sub {
        font-size: 1em;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 0.9em;
    }
    
    .hero-tags {
        gap: 6px;
    }
    
    .hero-tags .tag {
        font-size: 0.75em;
        padding: 4px 10px;
    }
    
    .download-btn.primary {
        padding: 10px 25px;
        font-size: 0.95em;
    }
    
    .download-info {
        font-size: 0.75em;
        gap: 10px;
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
    
    .platform-options {
        gap: 6px;
        max-width: 300px;
        flex-wrap: nowrap;
    }
    
    .platform-btn {
        padding: 8px 10px;
        min-width: 90px;
        max-width: 95px;
    }
    
    .platform-btn i {
        font-size: 1.3em;
    }
    
    .platform-btn span {
        font-size: 0.75em;
    }
    
    /* 其他组件样式 */
    .character-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .character-name {
        font-size: 1.4em;
    }
    
    .character-info {
        padding: 20px 15px;
    }
    
    .character-description {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    
    .character-link {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .feature-card i {
        font-size: 1.2em;
    }
    
    .feature-card h3 {
        font-size: 0.9em;
    }
    
    .feature-card p {
        font-size: 0.75em;
    }
}

/* 角色详情页面样式 */
.character-detail {
    padding: 60px 20px;
    background: #0e0415;
    min-height: calc(100vh - 200px);
}

.character-profile {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.profile-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background: rgba(35, 6, 55, 0.8);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(254, 119, 240, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.profile-image {
    flex: 0 0 400px;
    position: relative;
    aspect-ratio: 1/1;
}

.character-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid rgba(254, 119, 240, 0.5);
    box-shadow: 0 0 20px rgba(254, 119, 240, 0.3);
    transition: all 0.3s ease;
}

.character-portrait:hover {
    transform: scale(1.02);
    border-color: rgba(254, 119, 240, 0.8);
    box-shadow: 0 0 30px rgba(254, 119, 240, 0.5);
}

.profile-info {
    flex: 1;
    padding: 20px 0;
}

.profile-info .character-name {
    font-size: 3em;
    color: #fe77f0;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(254, 119, 240, 0.6);
    font-weight: 700;
    letter-spacing: 2px;
}

.character-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.character-tags .tag {
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 默认标签样式 */
.character-tags .tag {
    background: rgba(254, 119, 240, 0.15);
    color: #fe77f0;
    border-color: rgba(254, 119, 240, 0.3);
}

/* 神秘/智慧类标签 - 深紫色 */
.character-tags .tag:nth-child(1),
.character-tags .tag:contains("神秘"),
.character-tags .tag:contains("智慧"),
.character-tags .tag:contains("博学"),
.character-tags .tag:contains("知性") {
    background: rgba(138, 43, 226, 0.15);
    color: #9370db;
    border-color: rgba(138, 43, 226, 0.3);
}

/* 优雅/文静类标签 - 玫瑰金色 */
.character-tags .tag:nth-child(2),
.character-tags .tag:contains("优雅"),
.character-tags .tag:contains("文静"),
.character-tags .tag:contains("贴心") {
    background: rgba(255, 182, 193, 0.15);
    color: #ff69b4;
    border-color: rgba(255, 182, 193, 0.3);
}

/* 科技/效率类标签 - 青蓝色 */
.character-tags .tag:nth-child(3),
.character-tags .tag:contains("高科技"),
.character-tags .tag:contains("效率"),
.character-tags .tag:contains("AI"),
.character-tags .tag:contains("记忆力") {
    background: rgba(0, 191, 255, 0.15);
    color: #00bfff;
    border-color: rgba(0, 191, 255, 0.3);
}

/* 领导力/能力类标签 - 金色 */
.character-tags .tag:nth-child(4),
.character-tags .tag:contains("领导力"),
.character-tags .tag:contains("管理"),
.character-tags .tag:contains("能力") {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
}

.character-tags .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 神秘/智慧类标签悬停效果 */
.character-tags .tag:nth-child(1):hover,
.character-tags .tag:contains("神秘"):hover,
.character-tags .tag:contains("智慧"):hover,
.character-tags .tag:contains("博学"):hover,
.character-tags .tag:contains("知性"):hover {
    background: rgba(138, 43, 226, 0.25);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* 优雅/文静类标签悬停效果 */
.character-tags .tag:nth-child(2):hover,
.character-tags .tag:contains("优雅"):hover,
.character-tags .tag:contains("文静"):hover,
.character-tags .tag:contains("贴心"):hover {
    background: rgba(255, 182, 193, 0.25);
    border-color: rgba(255, 182, 193, 0.5);
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.3);
}

/* 科技/效率类标签悬停效果 */
.character-tags .tag:nth-child(3):hover,
.character-tags .tag:contains("高科技"):hover,
.character-tags .tag:contains("效率"):hover,
.character-tags .tag:contains("AI"):hover,
.character-tags .tag:contains("记忆力"):hover {
    background: rgba(0, 191, 255, 0.25);
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

/* 领导力/能力类标签悬停效果 */
.character-tags .tag:nth-child(4):hover,
.character-tags .tag:contains("领导力"):hover,
.character-tags .tag:contains("管理"):hover,
.character-tags .tag:contains("能力"):hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.info-card {
    background: rgba(35, 6, 55, 0.8);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(254, 119, 240, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.info-card h2 {
    color: #fe77f0;
    font-size: 1.8em;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h2 i {
    font-size: 0.9em;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    color: #ad3479;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
}

.story-card {
    background: rgba(35, 6, 55, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(254, 119, 240, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.story-nav {
    display: flex;
    background: rgba(20, 3, 30, 0.9);
    padding: 20px;
    gap: 10px;
    border-bottom: 1px solid rgba(254, 119, 240, 0.3);
}

.story-tab {
    background: transparent;
    border: none;
    color: #888;
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-tab i {
    font-size: 0.9em;
}

.story-tab:hover {
    color: #fe77f0;
    background: rgba(254, 119, 240, 0.1);
}

.story-tab.active {
    color: #fe77f0;
    background: rgba(254, 119, 240, 0.15);
    font-weight: 500;
}

.story-content {
    display: none;
    padding: 30px;
}

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

.story-section {
    color: #fff;
    line-height: 1.8;
}

.story-section p {
    margin-bottom: 20px;
}

.relationship-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.relationship-list li {
    background: rgba(20, 3, 30, 0.6);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(254, 119, 240, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.relationship-list li:hover {
    transform: translateY(-3px);
    border-color: rgba(254, 119, 240, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.relation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    background: rgba(20, 3, 30, 0.6);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(254, 119, 240, 0.2);
    transition: all 0.3s ease;
}

.relation-header:hover {
    border-color: rgba(254, 119, 240, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.relation-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 8px rgba(254, 119, 240, 0.3);
}

.relation-type {
    color: #fe77f0;
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
    background: rgba(254, 119, 240, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(254, 119, 240, 0.3);
    transition: all 0.3s ease;
}

.relation-header:hover .relation-type {
    background: rgba(254, 119, 240, 0.2);
    border-color: rgba(254, 119, 240, 0.5);
}

.relation-desc {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.relation-item {
    margin-bottom: 1.5rem;
}

.relation-item:last-child {
    margin-bottom: 0;
}

.trivia-list {
    list-style: none;
    display: grid;
    gap: 15px;
}

.trivia-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(20, 3, 30, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(254, 119, 240, 0.2);
    transition: all 0.3s ease;
}

.trivia-list li:hover {
    transform: translateY(-3px);
    border-color: rgba(254, 119, 240, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.trivia-list li i {
    color: #fe77f0;
    font-size: 1.2em;
}

.event-timeline {
    position: relative;
    padding-left: 30px;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #fe77f0, #ad3479);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        gap: 20px;
    }

    .profile-image {
        flex: none;
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .character-portrait {
        height: 100%;
    }

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

    .character-tags {
        justify-content: center;
    }

    .story-nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .story-nav::-webkit-scrollbar {
        display: none;
    }

    .story-tab {
        padding: 8px 12px;
        font-size: 0.9em;
        white-space: nowrap;
        flex: 0 0 auto;
        min-width: auto;
    }

    .story-tab i {
        margin-right: 4px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .info-item {
        background: rgba(20, 3, 30, 0.6);
        padding: 10px 15px;
        border-radius: 8px;
        border: 1px solid rgba(254, 119, 240, 0.2);
    }

    .info-label {
        font-size: 0.8em;
    }

    .info-value {
        font-size: 1em;
    }

    /* 特殊处理较长的内容项 */
    .info-item:nth-last-child(-n+2) {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .character-detail {
        padding: 40px 15px;
    }

    .profile-header {
        padding: 20px;
    }

    .character-portrait {
        height: 250px;
    }

    .profile-info .character-name {
        font-size: 2.2em;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .info-item {
        padding: 8px 12px;
    }

    .info-label {
        font-size: 0.75em;
    }

    .info-value {
        font-size: 0.9em;
    }

    .story-content {
        padding: 20px;
    }

    .story-tab {
        padding: 6px 10px;
        font-size: 0.85em;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }
}

/* 自定义弹窗样式 */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alert-content {
    background: rgba(35, 6, 55, 0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #fe77f0;
    box-shadow: 0 0 30px rgba(254, 119, 240, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-width: 90%;
    width: 400px;
    backdrop-filter: blur(10px);
}

.alert-content h3 {
    color: #fe77f0;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(254, 119, 240, 0.5);
}

.alert-content p {
    color: #fff;
    margin: 10px 0;
    font-size: 1.1em;
}

.alert-content .role-text {
    color: #ad3479;
    font-style: italic;
}

.alert-content .wait-text {
    color: #fe77f0;
    font-weight: bold;
    margin-top: 20px;
}

.alert-content .alert-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.close-btn,
.view-all-btn,
.view-detail-btn {
    min-width: 120px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.close-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: white;
}

.view-all-btn {
    background: linear-gradient(135deg, #4834d4, #686de0);
    color: white;
}

.view-detail-btn {
    background: linear-gradient(135deg, #20bf6b, #0fb9b1);
    color: white;
}

.close-btn:hover,
.view-all-btn:hover,
.view-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close-btn:active,
.view-all-btn:active,
.view-detail-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 正在完善提示卡片样式 */
.coming-soon-card {
    background: rgba(35, 6, 55, 0.6);
    border: 2px dashed rgba(254, 119, 240, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 400px;
    transition: all 0.3s ease;
}

.coming-soon-card:hover {
    border-color: rgba(254, 119, 240, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(254, 119, 240, 0.1);
}

.coming-soon-card i {
    font-size: 3em;
    color: rgba(254, 119, 240, 0.6);
    margin-bottom: 10px;
}

.coming-soon-card h3 {
    color: #fe77f0;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.coming-soon-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.coming-soon-count {
    background: rgba(254, 119, 240, 0.2);
    color: #fe77f0;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9em;
    margin-top: 10px;
    border: 1px solid rgba(254, 119, 240, 0.3);
}

@media (max-width: 768px) {
    .coming-soon-card {
        min-height: 350px;
        padding: 20px;
    }
    
    .coming-soon-card i {
        font-size: 2.5em;
    }
    
    .coming-soon-card h3 {
        font-size: 1.5em;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(173, 52, 121, 0.3), 0 0 20px rgba(254, 119, 240, 0.5);
    }
    50% {
        box-shadow: 0 8px 40px rgba(173, 52, 121, 0.5), 0 0 30px rgba(254, 119, 240, 0.7);
    }
    100% {
        box-shadow: 0 8px 32px rgba(173, 52, 121, 0.3), 0 0 20px rgba(254, 119, 240, 0.5);
    }
}

/* 响应式设计 - 1024px以下显示3列 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

.view-all-link {
    display: block;
    text-align: center;
    color: #fe77f0;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    margin: 30px auto 0;
    padding: 15px 30px;
    width: fit-content;
    border: 2px solid rgba(254, 119, 240, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(20, 20, 20, 0.8);
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.view-all-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    background: rgba(254, 119, 240, 0.15);
    border-color: rgba(254, 119, 240, 0.5);
    box-shadow: 0 6px 18px rgba(254, 119, 240, 0.25);
    transform: translateY(-2px);
}

.view-all-link:hover i {
    transform: translateX(3px);
} 