/* ===== 全局重置 & 变量 ===== */
:root {
    --bg-dark: #0b0e14;
    --bg-card: #141a26;
    --bg-card-hover: #1e2638;
    --text-light: #eaeef2;
    --text-muted: #8a9aa8;
    --text-gold: #e6c87c;
    --primary: #c9a84c;
    --accent: #e74c3c;
    --border-glow: rgba(201, 168, 76, 0.25);
    --shadow-glow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* ===== 顶部品牌 ===== */
.brand {
    text-align: center;
    margin-bottom: 30px;
}
.brand img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.2));
}

/* ===== 平台简介卡片 ===== */
.intro-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px 35px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition);
}
.intro-card:hover {
    border-color: var(--border-glow);
}
.intro-card .title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-gold);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.intro-card .title i {
    margin-right: 10px;
    color: var(--accent);
}
.intro-card .sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 10px;
}
.intro-card ul {
    list-style: none;
    padding: 0;
}
.intro-card ul li {
    font-size: 16px;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
}
.intro-card ul li::before {
    content: "✦";
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}
.intro-card ul li strong {
    color: var(--text-light);
    font-weight: 600;
}

/* ===== 游戏卡片网格 ===== */
.game-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.game-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.game-icon {
    flex: 0 0 80px;
    text-align: center;
}
.game-icon img {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
}

.game-info {
    flex: 2 1 240px;
}
.game-info .game-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.game-info .game-name .badge-group img {
    height: 17px;
    width: auto;
    vertical-align: middle;
}
.game-info .game-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 4px;
}
.game-info .game-qq {
    font-size: 14px;
    color: var(--text-gold);
    margin-top: 6px;
}
.game-info .game-qq i {
    margin-right: 6px;
    color: #12b7f5;
}
.game-info .game-qq a {
    color: var(--text-gold);
    text-decoration: none;
    font-weight: 600;
}
.game-info .game-qq a:hover {
    text-decoration: underline;
}

.game-actions {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}
.btn-primary {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: #dbb85c;
    border-color: #dbb85c;
    color: #000;
}
.btn-success {
    background: #2ecc71;
    border-color: #2ecc71;
    color: #000;
}
.btn-success:hover {
    background: #3ddc84;
    border-color: #3ddc84;
}
.btn-info {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}
.btn-info:hover {
    background: #5dade2;
    border-color: #5dade2;
}

/* ===== 分隔线 ===== */
.divider {
    width: 97%;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== 页脚 ===== */
.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    body {
        padding: 16px 12px;
    }
    .intro-card {
        padding: 20px 18px;
    }
    .intro-card .title {
        font-size: 18px;
    }
    .intro-card ul li {
        font-size: 14px;
    }
    .game-card {
        padding: 18px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .game-icon {
        flex: 0 0 auto;
        text-align: center;
    }
    .game-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .btn {
        padding: 8px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    .game-info .game-name {
        font-size: 18px;
    }
    .game-info .game-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .game-actions .btn {
        flex: 1 1 40%;
        justify-content: center;
    }
    .brand img {
        max-width: 150px;
    }
}