:root {
    /* 基于游戏截图提取的配色 */
    --primary-color: #1a2639; /* 游戏背景深蓝 */
    --secondary-color: #2c3e50; /* 顶部UI条深灰蓝 */
    --accent-color: #f39c12; /* 星星金橙色，用于按钮和高亮 */
    --accent-hover: #e67e22; /* 按钮悬停色 */
    
    --text-color: #ecf0f1; /* 主要文字颜色（浅白） */
    --text-muted: #bdc3c7; /* 次要文字颜色（灰白） */
    
    --bg-color: #121a26; /* 页面整体背景（更深） */
    --card-bg: #1f2d40; /* 卡片/内容区背景 */
    
    --footer-bg: #0d1219; /* 页脚背景 */
    
    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --spacing-unit: 1rem;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    /* 模拟游戏背景的微妙纹理或渐变 */
    background: radial-gradient(circle at center, #1a2639 0%, #0f1621 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-unit);
    font-weight: 700;
    line-height: 1.2;
    color: var(--light-text);
}

h1 { font-size: 2.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
h2 { font-size: 2rem; border-bottom: 2px solid var(--accent-color); display: inline-block; padding-bottom: 5px; }
h3 { font-size: 1.5rem; color: var(--accent-color); }

p { margin-bottom: var(--spacing-unit); color: var(--text-muted); }

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #ffd700;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

header {
    background-color: rgba(26, 38, 57, 0.95); /* 深蓝半透明 */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: var(--spacing-unit) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.1);
}

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

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Main Content */
main {
    flex: 1;
}

.hero {
    /* 移除之前的紫色渐变，改为透明以显示body背景，或者加深色遮罩 */
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    background-image: linear-gradient(to bottom, #f39c12, #d35400); /* 立体按钮感 */
    color: #ffffff;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 #a04000, 0 5px 10px rgba(0,0,0,0.3); /* 游戏风格的立体阴影 */
    transition: transform 0.1s, box-shadow 0.1s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #a04000, 0 3px 5px rgba(0,0,0,0.3);
    color: #ffffff;
}

.btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* Features Section */
.features {
    padding: 4rem 0;
    text-align: center;
    background-color: rgba(0,0,0,0.2); /* 稍微加深一点 */
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform var(--transition-speed);
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

/* Screenshots Gallery */
.gallery {
    padding: 4rem 0;
    text-align: center;
}

.gallery-scroller {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 2rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroller::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 auto;
    width: 220px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    border: 4px solid #2c3e50; /* 给截图加个边框，像手机外壳 */
}

.screenshot:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

/* Privacy & Support Pages */
.content-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 3rem auto;
    border: 1px solid rgba(255,255,255,0.05);
}

.content-section h1 {
    color: var(--accent-color);
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.content-section h2 {
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #2c3e50;
    border-radius: var(--border-radius);
    background-color: #0f1621;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--text-muted);
    padding: 3rem 0;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    
    .nav-links a {
        color: #ffffff;
    }

    .menu-toggle {
        display: block;
        color: #ffffff;
    }
}
