* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #FFF4F0;
    color: #3D3540;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== 柔霓·云絮幻境 - 动态霓虹雾霭背景 ===== */
.neon-mist-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #FFF4F0;
    overflow: hidden;
}

/* 霓虹粉带 */
.neon-mist-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -30%;
    width: 160%;
    height: 40%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 180, 200, 0.35) 50%, transparent 70%);
    filter: blur(80px);
    animation: neonPink 22s ease-in-out infinite;
}

/* 霓虹紫带 */
.neon-mist-bg::after {
    content: '';
    position: absolute;
    top: 45%;
    left: -20%;
    width: 140%;
    height: 35%;
    background: linear-gradient(200deg, transparent 25%, rgba(210, 190, 240, 0.35) 55%, transparent 75%);
    filter: blur(85px);
    animation: neonPurple 25s ease-in-out infinite;
}

/* 霓虹蓝带 */
.neon-mist-bg .mist-blue {
    position: absolute;
    top: 55%;
    left: -25%;
    width: 150%;
    height: 30%;
    background: linear-gradient(160deg, transparent 35%, rgba(170, 210, 250, 0.35) 50%, transparent 65%);
    filter: blur(75px);
    animation: neonBlue 20s ease-in-out infinite;
}

/* 云絮光斑 - 杏色 */
.neon-mist-bg .cloud-blob-apricot {
    position: absolute;
    top: 15%;
    right: -5%;
    width: 200px;
    height: 160px;
    background: radial-gradient(ellipse at 40% 60%, rgba(255, 220, 190, 0.45) 0%, transparent 70%);
    border-radius: 40% 60% 50% 50%;
    filter: blur(70px);
    animation: cloudDrift1 28s ease-in-out infinite;
}

/* 云絮光斑 - 淡紫 */
.neon-mist-bg .cloud-blob-lavender {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 180px;
    height: 190px;
    background: radial-gradient(ellipse at 50% 40%, rgba(220, 200, 250, 0.4) 0%, transparent 70%);
    border-radius: 50% 50% 55% 45%;
    filter: blur(75px);
    animation: cloudDrift2 30s ease-in-out infinite;
}

@keyframes neonPink {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(10%) translateY(-15px); }
}

@keyframes neonPurple {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-8%) translateY(10px); }
}

@keyframes neonBlue {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(5%) translateY(-8px); }
}

@keyframes cloudDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 25px) scale(1.2); }
    66% { transform: translate(30px, -10px) scale(0.85); }
}

@keyframes cloudDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -20px) scale(1.15); }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 10px;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* ===== 柔霓·云絮幻境 - 云絮状卡片样式 ===== */
.game-card,
.related-game {
    background: linear-gradient(135deg, rgba(255,249,245,0.97) 0%, rgba(255,244,240,0.93) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,180,200,0.5);
    border-radius: 24px 28px 22px 26px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255,180,200,0.15), 0 8px 30px rgba(220,200,240,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: cardCloudFloat 6s ease-in-out infinite;
}

/* 卡片每6秒轻微膨胀收缩，如云朵呼吸 */
@keyframes cardCloudFloat {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(255,180,200,0.15), 0 8px 30px rgba(220,200,240,0.12);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 34px rgba(255,180,200,0.22), 0 10px 34px rgba(220,200,240,0.18);
    }
}

.game-card:hover,
.related-game:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 48px rgba(255,180,200,0.3), 0 16px 48px rgba(220,200,240,0.25);
    border-color: rgba(255,180,200,0.75);
}

.game-card:hover img,
.related-game:hover img {
    transform: scale(1.08);
}

/* 触摸反馈 - 霓虹柔光晕开 + 薄雾渐变扫过 */
.game-card:active,
.related-game:active {
    border-color: #FFB4C8;
    box-shadow: 0 0 0 2px #FFB4C8, 0 12px 36px rgba(255,180,200,0.35), 0 12px 36px rgba(220,200,240,0.28), inset 0 0 30px rgba(255,249,245,0.9);
}

.game-card:active::before,
.related-game:active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,180,200,0.5) 0%, rgba(220,200,240,0.4) 40%, transparent 70%);
    z-index: 10;
    animation: neonMistRipple 0.7s ease-out forwards;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
}

@keyframes neonMistRipple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

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;
    }
}

button {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255,200,210,0.35) 0%, rgba(220,200,240,0.28) 100%);
    border: 1px solid rgba(255,180,200,0.6);
    color: #3D3540;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255,180,200,0.4);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

::selection {
    background: rgba(255, 180, 200, 0.35);
    color: #3D3540;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255,244,240,0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(255,180,200,0.7), rgba(220,200,240,0.7));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(220,200,240,0.8), rgba(170,210,250,0.7));
}