* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(90deg, #4b6cb7, #182848);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-content {
    display: flex;
    min-height: 500px;
}

.sidebar {
    flex: 1;
    background: #f8f9fa;
    padding: 30px;
    border-right: 1px solid #eee;
}

.sidebar h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4b6cb7;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.sidebar a {
    text-decoration: none;
    color: #555;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar a:hover {
    color: #4b6cb7;
    transform: translateX(5px);
}

.sidebar a::before {
    content: "▶";
    margin-right: 10px;
    font-size: 0.8rem;
}

.game-area {
    flex: 3;
    padding: 30px;
}

.game-area h2 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.game-icon {
    font-size: 3rem;
    padding: 20px;
    background: linear-gradient(45deg, #4b6cb7, #182848);
    color: white;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.game-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 60px;
}

.play-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: scale(1.05);
}

.coming-soon .play-btn {
    background: linear-gradient(45deg, #cccccc, #999999);
    cursor: not-allowed;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    header h1 {
        font-size: 2rem;
    }
}