* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: transparent;
    color: #3B4252;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* ===== 银澜·液态镜厅 - 动态水银镜面背景 ===== */
.liquid-silver-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #F2F4F7;
    overflow: hidden;
}

/* 镜面反射光带 */
.liquid-silver-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(200, 210, 230, 0.5) 25%,
        rgba(220, 225, 235, 0.4) 50%,
        rgba(245, 246, 250, 0.6) 75%,
        rgba(255, 255, 255, 0.8) 100%
    );
    animation: mirrorFlow 18s linear infinite;
}

@keyframes mirrorFlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* 柔焦光晕 - 淡蓝银 */
.liquid-silver-bg::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(200, 215, 235, 0.7) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: blueSilverFloat 22s ease-in-out infinite;
}

@keyframes blueSilverFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 25px) scale(1.25); }
}

/* 暖银光晕 */
.liquid-silver-bg .warm-silver-blob {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(230, 225, 220, 0.7) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(75px);
    animation: warmSilverFloat 25s ease-in-out infinite;
}

@keyframes warmSilverFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.2); }
    66% { transform: translate(-15px, 30px) scale(0.8); }
}

/* 银粉粒子层 */
.liquid-silver-bg .silver-dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.liquid-silver-bg .silver-dust::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 1);
    border-radius: 50%;
    box-shadow:
        50px 70px 0 rgba(210, 220, 235, 1),
        140px 40px 0 rgba(200, 215, 230, 0.9),
        260px 110px 0 rgba(220, 225, 240, 1),
        330px 25px 0 rgba(190, 210, 225, 0.8),
        30px 190px 0 rgba(215, 225, 240, 0.9),
        100px 230px 0 rgba(200, 215, 235, 1),
        280px 200px 0 rgba(225, 230, 245, 0.9),
        350px 160px 0 rgba(195, 210, 230, 1),
        170px 300px 0 rgba(210, 220, 240, 0.8),
        300px 280px 0 rgba(205, 215, 235, 0.9),
        20px 330px 0 rgba(220, 230, 245, 0.9),
        130px 360px 0 rgba(200, 215, 230, 1);
    animation: silverTwinkle 4s ease-in-out infinite;
}

.liquid-silver-bg .silver-dust::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(240, 245, 255, 1);
    border-radius: 50%;
    box-shadow:
        80px 130px 0 rgba(215, 225, 240, 0.9),
        210px 70px 0 rgba(200, 210, 230, 0.8),
        320px 200px 0 rgba(225, 235, 250, 0.9),
        60px 270px 0 rgba(210, 220, 240, 1),
        250px 340px 0 rgba(195, 210, 230, 0.9);
    animation: silverTwinkle 5.5s ease-in-out infinite reverse;
}

@keyframes silverTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

/* ===== 银澜·液态镜厅 - 纯白雾面卡片（28px圆角+呼吸动画）===== */
.game-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(200,210,230,0.25);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(180,190,210,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardBreath 10s ease-in-out infinite;
    cursor: pointer;
    position: relative;
}

@keyframes cardBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.005); }
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(180,190,210,0.45);
    border-color: rgba(200,210,230,0.5);
    animation-play-state: paused !important;
}

.game-card:hover img {
    transform: scale(1.08);
}

/* 触摸反馈 - 径向银白波纹扩散 */
.game-card:active {
    animation: cardRipple 0.6s ease-out;
}

@keyframes cardRipple {
    0% { box-shadow: 0 10px 35px rgba(180,190,210,0.3); }
    30% { box-shadow: 0 10px 35px rgba(180,190,210,0.3), 0 0 0 10px rgba(200,210,230,0.3), 0 0 0 20px rgba(200,210,230,0.15); }
    100% { box-shadow: 0 10px 35px rgba(180,190,210,0.3); }
}

hr, .divider {
    display: none;
}

hr.dashed, .divider-dashed {
    display: none;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .related-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ===== 银澜·液态镜厅 - 相关游戏卡片 ===== */
.related-game {
    transition: all 0.3s ease;
    border-radius: 28px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(180,190,210,0.3);
    border: 1px solid rgba(200,210,230,0.25);
}

.related-game:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(180,190,210,0.3), 0 0 24px rgba(200,210,230,0.3);
}

button {
    transition: all 0.3s ease;
    background: rgba(210,220,235,0.3);
    border: 1px solid rgba(200,210,230,0.6);
    color: #3B4252;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(180, 195, 220, 0.6);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

::selection {
    background: rgba(200, 215, 235, 0.5);
    color: #3B4252;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F2F4F7;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #C8D0DA, #B0BCD0);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #A8B4C8, #98A8C0);
}