:root {
    --primary-color: #a4d618; 
    --primary-hover: #8xb814;
    --dark-bg: #0f1205; /* 深色背景，带一点点绿调 */
    --card-bg: #1a1e11;
    --text-main: #ffffff;
    --text-sub: #888888;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* 容器通用 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* Header */
.header {
    height: 70px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(164, 214, 24, 0.1);
}

.layout-lr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px; /* 根据实际图片调整 */
    vertical-align: middle;
}

.nav ul { display: flex; align-items: center; gap: 20px; }
.nav a { font-size: 14px; color: #ccc; }
.nav a:hover { color: var(--primary-color); }

.btn-play {
    background: var(--primary-color);
    color: #000 !important;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: bold;
}

/* Main Content */
.main-bg {
    padding-top: 100px; /* header height + space */
    min-height: 80vh;
    background-image: radial-gradient(circle at center top, #2a3310 0%, var(--dark-bg) 60%);
}

.app-branding {
    text-align: center;
    margin-bottom: 40px;
}
.main-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(164, 214, 24, 0.2);
    margin-bottom: 15px;
}
.app-branding h1 { font-size: 28px; margin-bottom: 5px; }
.app-branding p { color: var(--text-sub); font-size: 14px; }

/* Tabs */
.app-contain-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.app-list {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 50px;
}
.tab-item {
    padding: 10px 30px;
    cursor: pointer;
    border-radius: 40px;
    font-size: 15px;
    color: #aaa;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tab-item.active {
    background: var(--primary-color);
    color: #000;
    font-weight: bold;
}

/* Download Cards */
.app-contain-main {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.download-group {
    display: none; /* 默认隐藏 */
    animation: fadeIn 0.5s;
}
.download-group.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.version-block {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.version-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}
.v-title { font-size: 16px; font-weight: bold; color: var(--primary-color); }
.v-info { font-size: 12px; color: var(--text-sub); }

.btn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.dl-btn {
    display: block;
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid transparent;
}
.dl-btn:hover {
    background: rgba(164, 214, 24, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.dl-btn.major {
    background: linear-gradient(90deg, #8cb814 0%, #a4d618 100%);
    color: #000;
    font-weight: bold;
}
.dl-btn.major:hover {
    opacity: 0.9;
    color: #000;
}

/* Footer */
.footer {
    background: #050602;
    padding: 40px 0;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #1a1e11;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-logo { height: 30px; opacity: 0.5; margin-bottom: 15px; }
.contact-links { margin-top: 15px; display: flex; gap: 20px; }
.contact-links a { display: flex; align-items: center; gap: 5px; color: #888; }
.contact-links a:hover { color: var(--primary-color); }

.qrcode-box {
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}
#qrcode-site {
    width: 100px;
    height: 100px;
    background: #eee; /* 占位 */
}
.qrcode-text { color: #000; margin-top: 5px; font-size: 12px; }

/* Mobile Adaption */
/* 移动端适配 */
@media (max-width: 768px) { .header { height: auto; padding: 12px 0; } .header .layout-lr { flex-direction: column; gap: 12px; align-items: center; } .logo img { height: 30px; } .nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; width: 100%; } .nav a { font-size: 13px; color: #999; } .nav li:last-child { width: 90%; order: 3; } .btn-play { display: block !important; width: 100%; padding: 10px 0 !important; font-size: 15px; text-align: center; border-radius: 25px; background: linear-gradient(90deg, #a4d618, #8cb814) !important; box-shadow: 0 4px 12px rgba(164, 214, 24, 0.3); } .app-contain-header { margin: 15px 0; overflow: hidden; } .app-list { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 4px; scrollbar-width: none; } .app-list::-webkit-scrollbar { display: none; } .tab-item { flex: 0 0 auto; padding: 8px 18px; font-size: 13px; white-space: nowrap; } .main-bg { padding-top: 10rem; } .main-icon { width: 80px; height: 80px; } .app-branding h1 { font-size: 22px; } .pc-only{display:none;} }

.tab-item svg {
    width: 1.75rem;
    height: 1.75rem;
}
.tab-item.active svg {
    color: #222222;
}
