* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #ffffff;
    background-color: #0a4caa;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 76, 170, 0) 30%),
        linear-gradient(180deg, #1a68d1 0%, #0a4caa 34%, #083f8d 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 64px;
}

.corner-cat {
    position: fixed;
    right: 0;
    bottom: 0;
    width: min(30vw, 240px);
    max-width: 240px;
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

.hero {
    margin-bottom: 36px;
}

.eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: 0.24em;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.05;
}

.subtitle {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2.8vw, 24px);
}

.intro {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    font-size: 24px;
}

.count-badge {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.14);
    font-size: 14px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.game-card,
.empty-state {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(5, 24, 59, 0.28);
}

.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 24px;
    overflow: hidden;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: var(--card-accent, #6e8b74);
}

.card-top {
    margin-bottom: 12px;
}

.card-slug {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.game-card h3 {
    margin: 0;
    font-size: 28px;
}

.card-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.card-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    flex: 1;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(0, 0, 0, 0.16);
    font-size: 13px;
}

.enter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #0a4caa;
    background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.enter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(6, 31, 78, 0.28);
}

.empty-state {
    padding: 28px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 24px, 1120px);
        padding-top: 36px;
    }

    .corner-cat {
        width: min(42vw, 180px);
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-card {
        min-height: 240px;
    }
}
