:root {
    color-scheme: light;
    --blue-900: #0b2f66;
    --blue-700: #1559b7;
    --blue-500: #2582f3;
    --blue-100: #e9f3ff;
    --ink: #172033;
    --muted: #61718a;
    --line: #d8e5f5;
    --surface: #ffffff;
    --page: #f6faff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: var(--page);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px min(6vw, 72px);
    background: rgba(246, 250, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    color: var(--blue-900);
    font-size: 22px;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 22px;
    color: var(--muted);
    font-weight: 700;
}

nav a:hover {
    color: var(--blue-700);
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 40px;
    align-items: center;
    min-height: 72vh;
    padding: 68px min(6vw, 72px) 54px;
    background:
        linear-gradient(120deg, rgba(37, 130, 243, 0.14), rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 90% 18%, rgba(37, 130, 243, 0.14), rgba(37, 130, 243, 0) 32%),
        var(--page);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-700);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 20px;
    color: var(--blue-900);
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.05;
    letter-spacing: 0;
}

.intro {
    max-width: 660px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.85;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 16px;
    padding: 0 24px;
    color: #fff;
    font-weight: 800;
    background: var(--blue-700);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(21, 89, 183, 0.24);
}

.profile-panel {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(28, 74, 132, 0.1);
}

.avatar {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    place-items: center;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    border-radius: 8px;
}

.profile-panel h2,
.section-title h2 {
    color: var(--blue-900);
    font-size: 30px;
}

.profile-panel p {
    color: var(--muted);
    line-height: 1.85;
}

.games-section {
    padding: 52px min(6vw, 72px) 80px;
    background: #fff;
}

.section-title {
    margin-bottom: 24px;
}

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

.game-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(28, 74, 132, 0.13);
}

.game-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--blue-100);
}

.game-card-body {
    padding: 18px;
}

.game-card h3 {
    margin-bottom: 8px;
    color: var(--blue-900);
    font-size: 20px;
}

.game-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px min(6vw, 72px);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
    .site-header,
    footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 48px;
    }

    h1 {
        font-size: 44px;
    }
}

