/* 链接状态优化（遵循LVHA顺序）[5](@ref) */
a {
    text-decoration: none;
    color: inherit;
}

body,
h1,
h2,
h5,
h3,
h4,
li,
ol,
p,
ul {
    margin: 0;
    padding: 0;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    background-color: #0F172A;
    font-family: 'Inter', system-ui, sans-serif;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: #1E293B;
}

/* 游戏卡片图片比例固定，优化密度 */
.game-img-container {
    aspect-ratio: 16/9;
}

.detail-banner-ad {
    text-align: center;
    margin: 10px 0;
    font-size: 12px;
    color: #124068;
    opacity: .7;
    font: 400 9px/2 Arial, sans-serif;
}



/* 页脚响应式设计 */
.footer_main {
    width: 100%;
    font-size: 1rem;
    padding: 20px 0;
}

.footer_content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.foot_pd {
    padding: 0.8rem 1rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.foot_pd:hover {
    color: #D1FE17;
}

/* 移动端页脚调整 */
@media (max-width: 768px) {
    .footer_content {
        gap: 10px;
    }

    .foot_pd {
        padding: 0.4rem 0.8rem;
    }
}

.play_game {
    width: 100%;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    background-color: #cccccc;
    z-index: 9999;
}

.left_back {
    width: 65px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    position: fixed;
    border-radius: 0 50% 50% 0;
    top: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
}

.left_back_image {
    width: 50px;
    height: 50px;
    margin-right: -20%;
    border-radius: 50%;
}