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

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

a { text-decoration: none; color: inherit; }

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

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo { font-size: 28px; }
.nav-brand .brand-name { font-size: 20px; font-weight: 700; color: #333; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #666;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover { color: #667eea; }

.btn-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content .subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-content .version-info {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 15px 40px; font-size: 18px; }
.btn-xl { padding: 18px 50px; font-size: 20px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
}

.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

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

.feature-icon { font-size: 48px; margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 15px; color: #333; }
.feature-card p { color: #666; font-size: 14px; line-height: 1.8; }

.download {
    padding: 80px 0;
    background: #f5f7fa;
}

.download-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.download-info { flex: 1; }
.download-info h3 { font-size: 28px; margin-bottom: 10px; }
.release-date { color: #888; margin-bottom: 20px; }
.changelog { background: #f8f9fa; padding: 20px; border-radius: 10px; }
.changelog h4 { margin-bottom: 10px; color: #666; font-size: 14px; }
.changelog pre { white-space: pre-wrap; font-family: inherit; color: #555; font-size: 14px; }

.download-action { text-align: center; margin-left: 50px; }
.download-icon { font-size: 24px; margin-right: 10px; }
.download-note { margin-top: 15px; color: #888; font-size: 13px; }

.announcements {
    padding: 80px 0;
    background: white;
}

.announcement-list { max-width: 800px; margin: 0 auto; }

.announcement-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.announcement-date {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.announcement-content h4 { font-size: 18px; margin-bottom: 10px; }
.announcement-content p { color: #666; font-size: 14px; line-height: 1.8; }

.game-info {
    padding: 80px 0;
    background: #f5f7fa;
}

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

.game-info-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.game-info-image { height: 200px; overflow: hidden; }
.game-info-image img { width: 100%; height: 100%; object-fit: cover; }
.game-info-content { padding: 25px; }
.game-info-content h4 { font-size: 18px; margin-bottom: 10px; }
.game-info-content p { color: #666; font-size: 14px; margin-bottom: 15px; }

.help {
    padding: 80px 0;
    background: white;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.help-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.help-card:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
}

.help-card:hover p { color: rgba(255,255,255,0.8); }

.help-icon { font-size: 40px; margin-bottom: 15px; }
.help-card h4 { font-size: 18px; margin-bottom: 10px; }
.help-card p { color: #666; font-size: 14px; transition: color 0.3s; }

.sponsors {
    padding: 80px 0;
    background: #f5f7fa;
}

.sponsors-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sponsor-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sponsor-name { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.sponsor-amount { color: #e74c3c; font-weight: 600; margin-bottom: 10px; }
.sponsor-message { color: #888; font-size: 13px; font-style: italic; }

.empty-text {
    text-align: center;
    color: #999;
    padding: 40px;
    grid-column: 1 / -1;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #34495e;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a { color: #b8c7ce; transition: color 0.3s; }
.footer-links a:hover { color: white; }

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    color: #7f8c8d;
    font-size: 13px;
}

@media (max-width: 992px) {
    .features-grid, .help-grid { grid-template-columns: repeat(2, 1fr); }
    .download-card { flex-direction: column; text-align: center; }
    .download-action { margin-left: 0; margin-top: 30px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-content h1 { font-size: 32px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .features-grid, .game-info-grid, .help-grid, .sponsors-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; }
}
