/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #059669;
/*linear-gradient(135deg, #10b981 0%, #059669 100%);*/
    color: #1f2937;
    font-size: 12px;
    line-height: 1.4;
}

.container {
    max-width: 350px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* 头部 */
.header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
    padding: 15px;
}

.logo img {
    height: 30px;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.header p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* 游戏区域 */
.games-section {
    padding: 15px;
}

.games-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    position: relative;
    min-height: 200px;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.game-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 25px 16px 16px;
    color: white;
    pointer-events: none;
}

.game-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    pointer-events: none;
}

.category {
    background: #10b981;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-block;
    text-shadow: none;
    pointer-events: none;
}

/* 更多游戏按钮 */
.more-games {
    text-align: center;
    padding: 15px;
}

.more-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}

.more-btn:hover {
    transform: translateY(-1px);
}

/* 关于区域 */
.about-section {
    background: #f0fdf4;
    padding: 20px 15px;
    text-align: center;
}

.about-section h2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.about-section p {
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.4;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    color: #6b7280;
}

.feature i {
    color: #f59e0b;
    font-size: 0.8rem;
}

/* 页脚 */
.footer {
    background: #f9fafb;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.7rem;
    margin: 0 8px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #10b981;
}

.footer-contact {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #10b981;
}

.footer-contact i {
    color: #10b981;
}

.footer-copyright p {
    color: #9ca3af;
    font-size: 0.6rem;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        margin: 0;
        border-radius: 0;
        max-width: 100%;
    }
    
    .game-card {
        min-height: 180px;
    }
    
    .game-card img {
        height: 180px;
    }
    
    .game-info {
        padding: 20px 12px 12px;
    }
    
    .features {
        gap: 15px;
    }
    
    .feature {
        font-size: 0.55rem;
    }
}

@media (max-width: 360px) {
    .game-card {
        min-height: 160px;
    }
    
    .game-card img {
        height: 160px;
    }
    
    .game-info {
        padding: 16px 10px 10px;
    }
    
    .game-info h3 {
        font-size: 1rem;
    }
}