* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #E8F8F0;
    color: #2A4A3A;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== 碧野·极光棱晶 - 动态极光牧场背景 ===== */
.meadow-aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #E8F8F0;
    overflow: hidden;
}

/* 翠绿光斑 */
.meadow-aurora-bg::before {
    content: '';
    position: absolute;
    top: -8%;
    left: 15%;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(100, 210, 170, 0.45) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    animation: meadowGreen 20s ease-in-out infinite;
}

/* 湖蓝光斑 */
.meadow-aurora-bg::after {
    content: '';
    position: absolute;
    bottom: -5%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(80, 190, 210, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(95px);
    animation: meadowBlue 24s ease-in-out infinite;
}

/* 淡金光斑（需额外元素） */
.meadow-aurora-bg .glow-gold {
    position: absolute;
    top: 30%;
    left: 55%;
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(250, 220, 140, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: meadowGold 22s ease-in-out infinite;
}

/* 浅粉光斑（需额外元素） */
.meadow-aurora-bg .glow-rose {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(250, 190, 190, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(85px);
    animation: meadowRose 26s ease-in-out infinite;
}

/* 金色网格细线 */
.meadow-aurora-bg .gold-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, rgba(200, 180, 120, 0.15) 0px, rgba(200, 180, 120, 0.15) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(-45deg, rgba(200, 180, 120, 0.1) 0px, rgba(200, 180, 120, 0.1) 1px, transparent 1px, transparent 40px);
    animation: meshFloat 14s ease-in-out infinite;
}

@keyframes meadowGreen {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 20px) scale(1.2); }
}

@keyframes meadowBlue {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -15px) scale(1.15); }
    66% { transform: translate(25px, -10px) scale(0.9); }
}

@keyframes meadowGold {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 25px) scale(1.1); }
}

@keyframes meadowRose {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.2); }
}

@keyframes meshFloat {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.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(240,250,245,0.97) 0%, rgba(232,248,240,0.93) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168,230,207,0.6);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(100,180,150,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: cardFloatSway 8s ease-in-out infinite;
}

/* 卡片每8秒轻微上下浮动并左右微晃，如叶片在微风中的摇摆 */
@keyframes cardFloatSway {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 8px 30px rgba(100,180,150,0.2);
    }
    33% {
        transform: translateY(-4px) rotate(0.5deg);
        box-shadow: 0 10px 34px rgba(100,180,150,0.28);
    }
    66% {
        transform: translateY(-2px) rotate(-0.3deg);
        box-shadow: 0 9px 32px rgba(110,185,155,0.24);
    }
}

.game-card:hover,
.related-game:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(100,180,150,0.35);
    border-color: rgba(168,230,207,0.9);
}

.game-card:hover img,
.related-game:hover img {
    transform: scale(1.08);
}

/* 触摸反馈 - 极光绿涟漪 + 金色描边闪过 */
.game-card:active,
.related-game:active {
    border-color: #A8E6CF;
    box-shadow: 0 0 0 2px #A8E6CF, 0 12px 36px rgba(168,230,207,0.4), inset 0 0 30px rgba(240,250,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(168,230,207,0.6) 0%, transparent 70%);
    z-index: 10;
    animation: auroraRipple 0.6s ease-out forwards;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
}

@keyframes auroraRipple {
    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(168,230,207,0.35) 0%, rgba(136,216,192,0.28) 100%);
    border: 1px solid rgba(168,230,207,0.6);
    color: #2A4A3A;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(168,230,207,0.4);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

::selection {
    background: rgba(168, 230, 207, 0.35);
    color: #2A4A3A;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(232,248,240,0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(168,230,207,0.7), rgba(136,216,192,0.7));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(136,216,192,0.8), rgba(80,190,210,0.7));
}