/* 基础变量设置 */
:root {
    --bg-color: #fdf6ec;      /* 论坛同款奶油黄 */
    --text-color: #6b5d54;    /* 论坛同款咖啡色 */
    --accent-color: #e6a23c;  /* 论坛同款金黄色 */
    --card-bg: #ffffff;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 顶部标题栏 */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

/* 游戏网格布局 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
}

/* 卡片通用样式 */
.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(107, 93, 84, 0.1);
}

.game-card .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.game-card h3 {
    margin: 10px 0;
    font-size: 1.4rem;
}

.game-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 45px;
}

/* 按钮样式 */
.play-btn {
    background-color: #eee;
    color: #999;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: not-allowed;
    transition: all 0.3s;
}

.play-btn.outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    cursor: pointer;
}

/* 卡片颜色区分 */
.green { border-bottom: 6px solid #85ce61; }
.blue { border-bottom: 6px solid #a0cfff; }
.orange { border-bottom: 6px solid #ffba56; }
.purple { border-bottom: 6px solid #d3adf7; }

.green i { color: #85ce61; }
.blue i { color: #a0cfff; }
.orange i { color: #ffba56; }
.purple i { color: #d3adf7; }

/* 页脚 */
.footer {
    margin-top: 80px;
    padding: 40px;
    font-size: 0.9rem;
    opacity: 0.6;
}