* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #6a11cb;
    --secondary: #2575fc;
    --accent: #ff4e50;
    --dark: #1a1a2e;
    --darker: #0f0c29;
    --light: #f8f9fa;
    --text: #333;
    --text-light: #fff;
}

body {
    background: linear-gradient(135deg, var(--darker), #302b63, #24243e);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
header {
    background-color: rgba(10, 10, 30, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 12, 41, 0.7), rgba(15, 12, 41, 0.9)), 
                url('../images/hero-bg-new.png') no-repeat center center/cover;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ff4e50, #f9d423);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 2rem;
    margin-right: 15px;
}

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

.btn-text span:first-child {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-text span:last-child {
    font-size: 1.2rem;
    font-weight: bold;
}

.system-support {
    font-size: 1rem;
    opacity: 0.8;
}

/* 通用区域样式 */
.features, .characters {
    padding: 100px 0;
    background-color: rgba(15, 12, 41, 0.8);
}

.characters {
    background-color: rgba(20, 15, 50, 0.8);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 轮播器通用样式 */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* 游戏特色轮播器样式 */
.features-slider .feature-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.features-slider .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.features-slider .slide.active .feature-image img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px;
    color: white;
}

.feature-overlay h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.feature-overlay p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 角色介绍轮播器样式 */
.characters-slider .character-content {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.characters-slider .character-image {
    flex: 1;
    min-height: 500px;
}

.characters-slider .character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.characters-slider .character-text {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.characters-slider .character-text h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.character-role {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.character-stats {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.character-stats .stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.character-stats .stat:last-child {
    border-bottom: none;
}

.character-stats .stat span:first-child {
    color: rgba(255, 255, 255, 0.8);
}

.character-stats .stat span:last-child {
    font-weight: bold;
    color: var(--accent);
}

.character-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* 合规信息区域 */
.compliance {
    background-color: rgba(5, 5, 15, 0.9);
    padding: 50px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compliance-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.approval-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
}

.approval-info h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.approval-number {
    font-weight: bold;
    color: #f9d423;
    margin: 10px 0;
    font-size: 1.1rem;
}

.minor-protection {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
}

.minor-protection h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.protection-tips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.protection-tip {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.protection-tip i {
    color: #4CAF50;
    margin-right: 8px;
}

/* 页脚样式 */
footer {
    background-color: rgba(5, 5, 15, 0.95);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-icon:hover {
    background: var(--accent);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.5;
}

.health-tip {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 10px 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-btn {
        justify-content: center;
    }
    
    .features-slider .feature-image {
        height: 300px;
    }
    
    .feature-overlay {
        padding: 20px;
    }
    
    .feature-overlay h3 {
        font-size: 2rem;
    }
    
    .characters-slider .character-content {
        flex-direction: column;
    }
    
    .characters-slider .character-image {
        min-height: 300px;
    }
    
    .characters-slider .character-text {
        padding: 30px;
    }
    
    .characters-slider .character-text h3 {
        font-size: 2rem;
    }
    
    .protection-tips {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .features-slider .feature-image {
        height: 250px;
    }
    
    .feature-overlay {
        padding: 15px;
    }
    
    .feature-overlay h3 {
        font-size: 1.5rem;
    }
    
    .feature-overlay p {
        font-size: 1rem;
    }
    
    .characters-slider .character-text {
        padding: 20px;
    }
    
    .characters-slider .character-text h3 {
        font-size: 1.8rem;
    }
    
    .character-role {
        font-size: 1.1rem;
    }
    
    .character-desc {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}