/* ===== 游戏页通用样式 ===== */
:root {
    --neon-purple: #a78bfa;
    --neon-pink: #f472b6;
    --dark-bg: #0a0015;
    --card-bg: rgba(15,0,35,0.85);
    --border: rgba(139,92,246,0.25);
}

body {
    background: var(--dark-bg);
    min-height: 100vh;
}

/* 通用header */
.gh-header {
    background: rgba(8,0,18,0.95);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(12px);
}
.gh-header .container {
    max-width: 900px; margin: 0 auto;
    display: flex; align-items: center; gap: 16px;
    padding: 0 20px; height: 60px;
}
.gh-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.gh-logo-icon { font-size: 24px; }
.gh-logo-text {
    font-size: 18px; font-weight: 800;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gh-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.gh-nav a {
    padding: 6px 12px; border-radius: 8px; font-size: 14px;
    color: #c4b5fd; text-decoration: none; transition: all .2s;
}
.gh-nav a:hover { background: rgba(139,92,246,0.15); color: #fff; }
.gh-nav a.active { color: var(--neon-purple); background: rgba(139,92,246,0.1); }

/* Page header */
.gh-page-header {
    background: linear-gradient(135deg, #0d0015, #1a0030 50%, #0d0d2b);
    padding: 50px 0 40px;
    border-bottom: 1px solid var(--border);
    text-align: center; position: relative; overflow: hidden;
}
.gh-page-header::before {
    content: ''; position: absolute; top: -50%; left: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%); border-radius: 50%;
}
.gh-page-header::after {
    content: ''; position: absolute; bottom: -30%; right: -10%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(236,72,153,0.1), transparent 70%); border-radius: 50%;
}
.gh-page-header h1 {
    font-size: 36px; font-weight: 800; color: #fff; margin: 0 0 8px;
    background: linear-gradient(90deg, #a78bfa, #f472b6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    position: relative; z-index: 1;
}
.gh-page-header p { color: #9ca3af; font-size: 16px; margin: 0; position: relative; z-index: 1; }
.gh-sub { font-size: 13px; color: #6b7280; margin-top: 6px !important; }

/* Container */
.gh-container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

/* Section */
.gh-section-title {
    font-size: 20px; font-weight: 700; color: #e2e8f0;
    margin: 0 0 20px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 8px;
}
.gh-section-title .emoji { font-size: 22px; }

/* Game grid */
.gh-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    margin-bottom: 50px;
}

/* Game card */
.gh-game-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px; padding: 24px;
    text-decoration: none; display: flex; flex-direction: column; gap: 10px;
    transition: all .3s; position: relative; overflow: hidden;
}
.gh-game-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(236,72,153,0.05));
    opacity: 0; transition: opacity .3s;
}
.gh-game-card:hover {
    border-color: rgba(139,92,246,0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(139,92,246,0.15), 0 0 0 1px rgba(139,92,246,0.1);
}
.gh-game-card:hover::before { opacity: 1; }
.gh-game-card-icon { font-size: 42px; line-height: 1; }
.gh-game-card-name {
    font-size: 18px; font-weight: 700; color: #fff; margin: 0;
}
.gh-game-card-desc { font-size: 13px; color: #9ca3af; margin: 0; line-height: 1.5; flex: 1; }
.gh-game-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.gh-game-tag {
    font-size: 11px; padding: 3px 9px; border-radius: 8px;
    background: rgba(139,92,246,0.15); color: var(--neon-purple);
    border: 1px solid rgba(139,92,246,0.2);
}
.gh-game-tag.tag-hot {
    background: rgba(236,72,153,0.15); color: var(--neon-pink);
    border-color: rgba(236,72,153,0.2);
}
.gh-game-tag.tag-new {
    background: rgba(52,211,153,0.12); color: #34d399;
    border-color: rgba(52,211,153,0.2);
}
.gh-game-card-play {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(236,72,153,0.3));
    border: 1px solid rgba(139,92,246,0.4);
    color: #e2e8f0; font-size: 13px; font-weight: 600;
    transition: all .2s; margin-top: 4px; align-self: flex-start;
}
.gh-game-card:hover .gh-game-card-play {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(139,92,246,0.3);
}

/* Coming soon card */
.gh-game-card.disabled {
    opacity: 0.5; cursor: default;
}
.gh-game-card.disabled:hover { transform: none; box-shadow: none; border-color: var(--border); }

/* Stats */
.gh-stats {
    display: flex; gap: 24px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap;
}
.gh-stat {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 14px; padding: 18px 28px; text-align: center;
}
.gh-stat-num {
    display: block; font-size: 30px; font-weight: 800;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gh-stat-label { font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
.gh-footer {
    background: rgba(8,0,18,0.95); border-top: 1px solid var(--border);
    padding: 30px 0; text-align: center;
}
.gh-footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.gh-footer-links a { color: #9ca3af; text-decoration: none; font-size: 14px; }
.gh-footer-links a:hover { color: var(--neon-purple); }
.gh-footer-text { color: #6b7280; font-size: 12px; margin: 0; }

/* Monetization box */
.gh-monetize {
    background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(236,72,153,0.1));
    border: 1px solid rgba(139,92,246,0.25); border-radius: 16px;
    padding: 24px; margin-top: 30px; text-align: center;
}
.gh-monetize h3 { color: #fff; font-size: 16px; margin: 0 0 8px; }
.gh-monetize p { color: #9ca3af; font-size: 13px; margin: 0 0 14px; line-height: 1.6; }
.gh-monetize-btn {
    display: inline-block; padding: 10px 24px; border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #db2777);
    color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
    transition: all .2s;
}
.gh-monetize-btn:hover { box-shadow: 0 0 20px rgba(139,92,246,0.4); transform: scale(1.05); }

@media (max-width: 600px) {
    .gh-game-grid { grid-template-columns: 1fr; }
    .gh-page-header h1 { font-size: 26px; }
    .gh-nav a { padding: 5px 8px; font-size: 13px; }
    .gh-header .container { gap: 10px; }
}
