/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* 导航栏 */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.tagline {
    color: #888;
    font-size: 0.85rem;
    font-weight: normal;
}

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

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* 主内容区 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero 区域 */
.hero {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h2 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* 游戏卡片 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.game-card h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.game-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.genre {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 公司信息 */
.company-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.company-info h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.company-info > p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    color: #888;
    font-size: 1rem;
}

/* 页面头部 */
.page-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-header h2 {
    color: #667eea;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 游戏详情卡片 */
.games-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-detail-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
}

.game-detail-icon {
    font-size: 3.5rem;
}

.game-detail-info h3 {
    color: #667eea;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.genre-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.game-detail-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.game-detail-content ul {
    margin: 1rem 0 1rem 2rem;
    color: #555;
}

.game-detail-content li {
    margin-bottom: 0.5rem;
}

/* 关于页面 */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-section h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #667eea;
}

.values-list strong {
    color: #667eea;
    font-size: 1.1rem;
}

.values-list p {
    margin-top: 0.5rem;
    color: #666;
}

.contact-info {
    background: #f8f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* 联系页面 */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 10px;
}

.method-icon {
    font-size: 2.5rem;
}

.method-info h4 {
    color: #667eea;
    margin-bottom: 0.3rem;
}

.method-info p {
    color: #555;
}

.method-desc {
    color: #888 !important;
    font-size: 0.9rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 10px;
}

.faq-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

.contact-note {
    background: #f8f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-note ul {
    margin: 1rem 0 0 2rem;
    color: #555;
}

.contact-note li {
    margin-bottom: 0.5rem;
}

/* 页脚 */
footer {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .game-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}
