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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 20%,
            #142b52 0%,
            #09172e 35%,
            #050c1c 70%,
            #020611 100%
        );

    color: #ffffff;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}


/* =========================================================
   星空
   ========================================================= */

.stars {
    position: fixed;
    inset: 0;

    pointer-events: none;

    background-repeat: repeat;

    z-index: 0;
}

.stars-1 {
    opacity: 0.75;

    background-image:
        radial-gradient(circle, #ffffff 1px, transparent 1.5px);

    background-size: 97px 97px;

    animation: starsMove 80s linear infinite;
}

.stars-2 {
    opacity: 0.45;

    background-image:
        radial-gradient(circle, #8fb9ff 1px, transparent 1.5px);

    background-size: 157px 157px;

    background-position: 30px 70px;

    animation: starsMove 120s linear infinite reverse;
}

.stars-3 {
    opacity: 0.25;

    background-image:
        radial-gradient(circle, #ffffff 0.8px, transparent 1px);

    background-size: 47px 47px;

    background-position: 10px 20px;
}

@keyframes starsMove {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(97px);
    }
}


/* =========================================================
   背景光晕
   ========================================================= */

.glow {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(100px);

    opacity: 0.12;

    z-index: 0;
}

.glow-1 {
    background: #246bce;

    top: -250px;
    left: -150px;
}

.glow-2 {
    background: #3f8cff;

    right: -250px;
    bottom: -250px;
}


/* =========================================================
   主容器
   ========================================================= */

.container {
    position: relative;

    z-index: 2;

    width: min(760px, 90%);

    margin: 0 auto;

    padding: 70px 0 35px;
}


/* =========================================================
   Header
   ========================================================= */

.header {
    text-align: center;

    margin-bottom: 65px;
}

.logo-wrapper {
    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;
}

.logo {
    max-width: 90px;
    max-height: 90px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 15px rgba(110, 170, 255, 0.55));
}

h1 {
    font-size: clamp(42px, 8vw, 72px);

    font-weight: 600;

    letter-spacing: 0.18em;

    margin-left: 0.18em;

    line-height: 1;

    text-shadow:
        0 0 20px rgba(100, 160, 255, 0.35);
}

.subtitle {
    margin-top: 16px;

    font-size: 12px;

    letter-spacing: 0.55em;

    margin-left: 0.55em;

    color: rgba(190, 215, 255, 0.65);
}


/* =========================================================
   游戏列表
   ========================================================= */

.games {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.game {
    position: relative;

    display: grid;

    grid-template-columns: 55px 1fr 40px;

    align-items: center;

    height: 72px;

    padding: 0 24px;

    text-decoration: none;

    color: #ffffff;

    border: 1px solid rgba(130, 170, 225, 0.14);

    background:
        linear-gradient(
            100deg,
            rgba(15, 35, 68, 0.65),
            rgba(8, 21, 43, 0.42)
        );

    backdrop-filter: blur(8px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

    overflow: hidden;
}


/* 左侧细微光线 */

.game::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 2px;
    height: 100%;

    background: rgba(100, 170, 255, 0);

    transition: background 0.25s ease;
}


/* Hover */

.game:hover {
    transform: translateX(7px);

    border-color:
        rgba(120, 180, 255, 0.45);

    background:
        linear-gradient(
            100deg,
            rgba(22, 52, 96, 0.8),
            rgba(10, 28, 56, 0.65)
        );

    box-shadow:
        0 8px 35px rgba(0, 40, 100, 0.2);
}

.game:hover::before {
    background: #65a9ff;
}


/* 编号 */

.number {
    font-size: 11px;

    letter-spacing: 0.15em;

    color:
        rgba(150, 185, 230, 0.45);
}


/* 游戏名称 */

.name {
    font-size: 16px;

    font-weight: 500;

    letter-spacing: 0.18em;
}


/* 箭头 */

.arrow {
    text-align: right;

    font-size: 20px;

    color:
        rgba(170, 205, 255, 0.35);

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.game:hover .arrow {
    transform: translateX(5px);

    color: #8fc1ff;
}


/* =========================================================
   Footer
   ========================================================= */

footer {
    text-align: center;

    margin-top: 55px;

    font-size: 10px;

    letter-spacing: 0.25em;

    color: rgba(170, 195, 230, 0.28);
}


/* =========================================================
   手机端
   ========================================================= */

@media (max-width: 600px) {

    .container {
        padding-top: 45px;
    }

    .header {
        margin-bottom: 45px;
    }

    .logo-wrapper {
        height: 70px;
    }

    .logo {
        max-width: 70px;
        max-height: 70px;
    }

    h1 {
        font-size: 42px;
    }

    .subtitle {
        font-size: 10px;

        letter-spacing: 0.4em;

        margin-left: 0.4em;
    }

    .game {
        height: 64px;

        padding: 0 18px;

        grid-template-columns:
            40px 1fr 30px;
    }

    .name {
        font-size: 14px;
    }

    .number {
        font-size: 9px;
    }
}