/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    font-family: "Microsoft YaHei", sans-serif;
    color: #fff;
}

/* 标题样式 */
header {
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* 游戏列表容器 */
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 游戏卡片样式 */
.game-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.game-item h2 {
    margin: 0 0 15px 0;
    font-size: 1.8em;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.game-item p {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    line-height: 1.5;
}

/* 游戏链接按钮 */
.game-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

.game-link:hover {
    background: linear-gradient(135deg, #ff6b4a, #fea366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .game-list {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        padding: 15px;
    }

    .game-item {
        padding: 20px;
    }

    .game-item h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .game-item p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 30px 15px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .game-list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .game-item {
        padding: 15px;
    }

    .game-link {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-item {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.game-item:nth-child(2) {
    animation-delay: 0.2s;
}

.game-item:nth-child(3) {
    animation-delay: 0.4s;
} 