:root {
    --primary-color: #6C63FF;    /* 主色调：明亮的紫色 */
    --secondary-color: #4ECDC4;  /* 次要色：清新的青绿色 */
    --accent-color: #FF6B6B;     /* 强调色：柔和的珊瑚红 */
    --background-color: #F7F7FF; /* 背景色：淡淡的紫罗兰白 */
    --text-color: #2C2C54;       /* 文字色：深紫灰色 */
    --nav-hover-color: #5A51E0;  /* 导航悬停色：深紫色 */
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

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

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 2.8rem;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
}

.sponsored-content {
    font-size: 0.9rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 0.5rem;
}

.sponsored-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.sponsored-content li {
    display: inline-block;
    margin: 0 0.5rem;
}

.sponsored-content a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(255,255,255,0.2);
    padding: 2px 5px;
    border-radius: 3px;
}

.sponsored-content a:hover {
    background-color: rgba(255,255,255,0.4);
    text-decoration: underline;
}

nav {
    background-color: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

nav ul li {
    margin: 5px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        padding: 1em;
        background: var(--secondary-color);
        cursor: pointer;
    }
    
    nav ul {
        display: none;
    }
    
    .nav-toggle:checked ~ ul {
        display: flex;
        flex-direction: column;
    }
    
    nav ul li {
        text-align: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
    }
}

.section {
    background-color: white;
    margin: 0 auto 30px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 1100px;
}

.game-section {
    background: linear-gradient(45deg, #ffffff, #f8f9ff);
    margin: 0 auto 30px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.1);
    max-width: 1100px;
}

.game-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

h1, h2, h3 {
    color: var(--primary-color);
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.video-item {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background-color: white;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.faq-question {
    font-weight: bold;
    color: var(--secondary-color);
}

.button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

footer {
    background: linear-gradient(135deg, var(--text-color), #1a1a38);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

.character-image-container {
    margin-top: 20px;
    text-align: center;
}

.character-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

#privacy-policy h3 {
    color: var(--secondary-color);
    margin-top: 20px;
}

#privacy-policy ul {
    margin-left: 20px;
}

#privacy-policy li {
    margin-bottom: 10px;
}

.analytics-container {
    display: none;
    height: 0;
    width: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 20px;
        margin: 0 15px 20px;
    }
}
