/* 手游风格主色调 */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --text-color: #2d3436;
    --border-radius: 16px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --gradient-secondary: linear-gradient(135deg, #fd79a8, #e84393);
    --gradient-accent: linear-gradient(135deg, #00b894, #00cec9);
    --gradient-dark: linear-gradient(135deg, #2d3436, #636e72);
    --game-card-bg: rgba(255, 255, 255, 0.95);
    --section-bg: rgba(255, 255, 255, 0.9);
    --header-bg: rgba(108, 92, 231, 0.95);
}

/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 整体页面样式 */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-color);
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
}

/* 悬浮按钮容器 */
.coupon-float-btn {
    position: fixed;
    right: 20px;
    top: 310px;
    z-index: 9999;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    animation: float 3s ease-in-out infinite;
}

/* 鼠标悬停效果 */
.coupon-float-btn:hover {
    transform: translateX(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.5);
}

/* 悬浮动画 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 霓虹灯流光效果 */
@keyframes neon-glow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 滚动动画 */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* LOGO样式 */
.coupon-logo {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 文字样式 */
.coupon-text {
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .coupon-float-btn {
        right: 12px;
        padding: 10px 15px;
    }
    .coupon-logo {
        width: 30px;
        height: 30px;
    }
    .coupon-text {
        font-size: 13px;
    }
}
.kf_box {
    overflow: hidden;
    width: 100%;
}
body {
max-width: 600px !important;
width: 100% !important;
margin: 0 auto !important;
padding: 0 0px !important;
box-sizing: border-box !important;
overflow-x: hidden !important;
background-color: #f5f5f5;
font-family: 'Arial', 'Microsoft YaHei', sans-serif;
}

/* 关键：给body下的直接子容器（.cate-title）加限制，避免内容溢出 */
body > .cate-title {
width: 100% !important;
margin: 0 auto !important;
box-sizing: border-box !important;
}

.kf_box div {
    float: left;
    width: 50%;
    height: 22px;
    text-align: center;
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

.kf_box div span {
    color: var(--primary-color);
}

.kf_box img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.noshow {
    display: none;
}

.xq_head_b1 {
    padding: 15px;
    margin-top: 15px;
    background: #fff;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 68, 0, 0.1);
}

.discount {
    background: rgba(252, 77, 95, 0.1);
    border-radius: var(--border-radius);
    padding: 10px;
    border-left: 4px solid rgba(252, 77, 95, 1);
}

.discount span:nth-child(1) {
    font-size: 1.5rem;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: var(--border-radius);
    background: rgba(252, 77, 95, 1);
    color: #fff;
    box-shadow: 0 2px 8px rgba(252, 77, 95, 0.3);
}

.discount span:nth-child(2) {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(252, 77, 95, 1);
    margin-left: 10%;
}


.discount span:nth-child(3) {
    font-size: 1.5rem;
    color: rgba(252, 77, 95, 1);
    margin-left: 10%;
}

.discount span {
    line-height: 40px;
}

.gamexq_box .xq_head_b1 a {
    display: block;
    position: absolute;
    right: 15px;
    top: 14px;
    background: var(--gradient-primary);
    width: 80px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 68, 0, 0.3);
    transition: all 0.3s ease;
}

.gamexq_box .xq_head_b1 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 0, 0.4);
}

.weixin-tip {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    filter: alpha(opacity=80);
    height: 100%;
    width: 100%;
    z-index: 10001;
}

.scrollDiv {
    margin: 0.5em;
    padding-left: 45px;
    height: 30px;
line-height: 30px;
overflow: hidden;
    background: url(https://a0ai.marscode.cn/api/ide/v1/text_to_image?prompt=game%20notification%20icon%20red%20alert%20badge&image_size=square) no-repeat center left;
    background-size: 30px 30px;
    background-position: 5px center;
    border-radius: 15px;
    background-color: rgba(255, 68, 0, 0.1);
    padding-right: 15px;
}

.scrollDiv li {
height: 30px;
padding-left: 10px;
}

.scrollDiv li a{
font-weight: bold;
color: var(--primary-color);
text-decoration: none;
font-size: 14px;
}

.label[data-v-d077d592] {
font-size: 10px;
border-top-right-radius: 8px;
border-bottom-left-radius: 8px;
color: #fff;
background: var(--gradient-primary);
padding: 4px 8px;
display: inline-block !important;
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
word-break: keep-all !important;
word-wrap: normal !important;
width: 65px !important;
max-width: 75px !important;
min-width: 75px !important;
line-height: 1.4 !important;
vertical-align: middle !important;
flex-shrink: 0 !important;
box-sizing: content-box !important;
box-shadow: 0 2px 5px rgba(255, 68, 0, 0.2);
}

/* 额外：直接给父容器添加样式，避免父元素干扰（如果知道父容器类名，替换为实际类名） */
.label[data-v-d077d592]::parent {
    white-space: nowrap !important;
    overflow: visible !important;
}

.gamexq_box .xq_xh ul {
    display: flex;
    margin-top: 20px;
    padding: 0 12px;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 12px;
    --column-width: calc((100% - 3 * 12px) / 4);
    gap: 18px;
}

/* Chrome/Safari 隐藏滚动条（WebKit 内核专属） */
.gamexq_box .xq_xh ul::-webkit-scrollbar {
    display: none;
}

.gamexq_box .xq_wz{
line-height: 26px;
font-size: 16px;
color: var(--text-color);
height: 120px;
padding: 15px;
overflow: hidden;
background-color: #fff;
border-radius: var(--border-radius);
box-shadow: var(--shadow);
border-left: 4px solid var(--primary-color);
margin: 15px 0;
}

/* 底部下载按钮 */
    .download-bar {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        max-width: 600px;
        width: 100%;
        background: #ffffff;
        padding: 1rem 1.25rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 68, 0, 0.1);
        z-index: 99;
        text-align: center;
    }

    .download-btn-main {
        width: 95%;
        background: var(--gradient-primary);
        color: #ffffff;
        border: none;
        border-radius: 30px;
        padding: 1rem;
        font-size: 1.125rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(255, 68, 0, 0.3);
    }

    .download-btn-main:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255, 68, 0, 0.4);
    }
    
    .download-bar {
            padding: 1rem;
        }
        
        .download-btn-split-left {
        flex: 1;
        margin-right: 0.75rem;
        background: var(--gradient-secondary);
        background-position: center;
        color: #ffffff;
        border: none;
        border-radius: 25px;
        padding: 1rem;
        font-size: 1.425rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        line-height: 21px;
        height: 55px;
        box-shadow: 0 4px 15px rgba(110, 177, 255, 0.3);
	}
	
	.download-btn-split-left:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(110, 177, 255, 0.4);
    }
	
	.download-btn-split-right {
        flex: 1;
        margin-left: 0.75rem;
        background: var(--gradient-accent);
        background-size: cover;
        background-position: center;
        color: #ffffff;
        border: none;
        border-radius: 25px;
        padding: 1rem;
        font-size: 1.425rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        line-height: 21px;
        height: 55px;
        box-shadow: 0 4px 15px rgba(51, 232, 66, 0.3);
	}
	
	.download-btn-split-right:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(51, 232, 66, 0.4);
    }
	
.gamexq_box .xq_wz {
    line-height: 26px;
    font-size: 16px;
    color: var(--text-color);
    padding: 15px;
    overflow: hidden;
    border: 1px solid rgba(110, 177, 255, 0.1);
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: var(--shadow);
    margin: 15px 0;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 235, 0.9));
}	
	
	

.game-detail .game-menu {
	display: flex;
	padding: 15px;
	margin: 20px 10px;
	gap: 15px;
	border-radius: var(--border-radius);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--shadow);
}
.game-detail .game-menu .item {
	padding: 15px;
	border-radius: var(--border-radius);
	flex: 1;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	position: relative;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.game-detail .game-menu .item:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.game-detail .game-menu .item .head {
	display: flex;
	align-items: center;
}
.game-detail .game-menu .item .head .icon img {
	display: block;
	height: 20px;
}
.game-detail .game-menu .item .head .text {
	font-weight: 700;
	font-size: 14px;
	color: #000;
}
.game-detail .game-menu .item .head .badge {
	background-color: red;
	padding: 2px 8px;
	font-size: 12px;
	line-height: 1.2;
	color: #fff;
	border-radius: 12px;
	margin-left: 8px;
}
.game-detail .game-menu .item .body {
	margin-top: 10px;
	color: #999;
	font-size: 12px;
}
.game-detail .game-menu .article-item .body {
	color: #fff;
}
.game-detail .game-menu .voucher-item {
	flex: 1;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	text-align: center;
}
.game-detail .game-menu .voucher-item .head {
	justify-content: center;
}
.game-detail .game-menu .voucher-item .head .icon img {
	height: 24px;
}
.game-detail .game-menu .voucher-item .head .badge {
	padding: 2px 8px;
	margin-left: 10px;
	position: absolute;
	margin-top: -5px;
}
.game-detail .game-menu .voucher-item .body {
	color: #282828;
}
.game-detail .game-imgs {
	margin: 20px 10px;
	white-space: nowrap;
	overflow: hidden;
	overflow-x: scroll;
	-webkit-backface-visibility: hidden;
	-webkit-overflow-scrolling: touch;
	text-align: justify;
	display: flex;
	gap: 15px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}
.game-detail .game-imgs img {
	width: 33.333%;
	border-radius: var(--border-radius);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}
.game-detail .game-imgs img:hover {
	transform: scale(1.02);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
/* 底部导航栏样式 */
#bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 65px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid rgba(108, 92, 231, 0.2) !important;
    display: flex !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.1) !important;
    border-radius: 25px 25px 0 0 !important;
    backdrop-filter: blur(10px) !important;
}

#bottom-nav a {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #666666 !important;
    font-size: 12px !important;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    flex: 1 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

#bottom-nav a:hover {
    transform: translateY(-3px) !important;
    color: var(--primary-color) !important;
}

#bottom-nav a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 3px !important;
    background: var(--gradient-primary) !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
}

#bottom-nav a:hover::after {
    width: 30px !important;
}

/* 中间按钮特殊处理 - 游戏风格渐变背景 */
#bottom-nav a:nth-child(3) {
    flex: 1.4 !important;
    margin-top: -25px !important;
    padding-top: 20px !important;
}

#bottom-nav a:nth-child(3)::before {
    content: '' !important;
    position: absolute !important;
    width: 85px !important;
    height: 85px !important;
    background: var(--gradient-primary) !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4) !important;
    z-index: -1 !important;
    transition: all 0.3s ease !important;
    animation: pulse 2s infinite !important;
}

#bottom-nav a:nth-child(3):hover::before {
    transform: scale(1.1) !important;
    box-shadow: 0 12px 35px rgba(108, 92, 231, 0.5) !important;
}

#bottom-nav a img {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 4px !important;
    object-fit: contain !important;
    border: none !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: all 0.3s ease !important;
    filter: grayscale(30%) !important;
}

#bottom-nav a:hover img {
    transform: scale(1.15) !important;
    filter: grayscale(0%) drop-shadow(0 0 5px rgba(108, 92, 231, 0.5)) !important;
}

#bottom-nav a img {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 4px !important;
    object-fit: contain !important;
    border: none !important;
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: all 0.3s ease !important;
    filter: grayscale(30%) !important;
}

#bottom-nav a:hover img {
    transform: scale(1.15) !important;
    filter: grayscale(0%) drop-shadow(0 0 5px rgba(108, 92, 231, 0.5)) !important;
}

#bottom-nav a:nth-child(3) img {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 3px !important;
    filter: grayscale(0%) !important;
}

#bottom-nav a:nth-child(3) span {
    display: block !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

#bottom-nav a.active:not(:nth-child(3)) {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

#bottom-nav a.active:not(:nth-child(3)) img {
    filter: drop-shadow(0 0 3px rgba(255, 107, 53, 0.5)) !important;
}

#bottom-nav a:nth-child(3).active {
    color: #fff !important;
}

@media (min-width: 768px) {
    #bottom-nav {
        max-width: 540px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 20px 20px 0 0 !important;
        margin-bottom: 10px !important;
    }
}

/* 底部空白 */
.bottom-space {
    height: 100px;
}

/* 客服提醒样式 */
.xq_head_b {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 68, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 68, 0, 0);
    }
}

/* 游戏推荐卡片悬停效果 */
.xq_xh li:hover {
    transform: translateY(-5px);
}

.xq_xh li:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 游戏推荐区域样式 */
.game-recommend-section {
    padding: 15px;
    margin: 15px 0;
}

.recommend-card {
    background: var(--section-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(108, 92, 231, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.recommend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.recommend-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommend-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    border-radius: 2px;
}

.recommend-title.exclusive::before {
    background: var(--gradient-primary);
}

.recommend-title.popular::before {
    background: var(--gradient-secondary);
}

.recommend-title.preview::before {
    background: var(--gradient-accent);
}

.recommend-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(108, 92, 231, 0.3), transparent);
    margin-left: 10px;
}

/* 游戏网格布局 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* 游戏卡片样式 */
.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 10px;
    background: var(--game-card-bg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.2);
}

.game-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.game-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-icon-wrapper::after {
    opacity: 1;
}

.game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.game-card:hover .game-icon {
    transform: scale(1.1);
}

.game-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    line-height: 1.3;
    margin: 0;
    padding: 0 4px;
    width: 100%;
    transition: all 0.3s ease;
    white-space: normal;
    overflow: visible;
    height: auto;
}

.game-card:hover .game-name {
    color: var(--primary-color);
}

.game-card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* 首服预告卡片特殊样式 */
.preview-card {
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.open-time-tag {
    font-size: 10px;
    font-weight: 600;
    color: #00b894;
    background: rgba(0, 184, 148, 0.1);
    padding: 2px 6px;
    border-radius: 8px;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.preview-card:hover .open-time-tag {
    background: rgba(0, 184, 148, 0.2);
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 整体布局调整 */
    body {
        font-size: 14px;
    }
    
    /* 头部导航调整 */
    .head {
        padding: 0 !important;
    }
    
    .scrollDiv {
        height: 28px !important;
        line-height: 28px !important;
    }
    
    .scrollDiv li a {
        font-size: 11px !important;
        padding: 3px 6px !important;
    }
    
    /* 游戏详情区域调整 */
    .xq_head {
        padding: 12px !important;
    }
    
    .xq_head_t {
        padding: 12px !important;
    }
    
    #pic1 {
        width: 70px !important;
        height: 70px !important;
    }
    
    #gamename {
        font-size: 16px !important;
    }
    
    #typeword {
        font-size: 12px !important;
    }
    
    /* 游戏推荐区域调整 */
    .game-recommend-section {
        padding: 12px;
        margin: 12px 0;
    }
    
    .recommend-card {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .recommend-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .game-card {
        padding: 8px;
    }
    
    .game-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 6px;
    }
    
    .game-name {
        font-size: 11px;
    }
    
    /* 底部导航调整 */
    #bottom-nav {
        height: 60px !important;
    }
    
    #bottom-nav a {
        font-size: 11px !important;
    }
    
    #bottom-nav a img {
        width: 26px !important;
        height: 26px !important;
    }
    
    #bottom-nav a:nth-child(3) {
        margin-top: -20px !important;
        padding-top: 15px !important;
    }
    
    #bottom-nav a:nth-child(3)::before {
        width: 80px !important;
        height: 80px !important;
    }
    
    #bottom-nav a:nth-child(3) img {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* 悬浮按钮调整 */
    .coupon-float-btn {
        right: 12px;
        top: 280px;
        padding: 10px 15px;
    }
    
    .coupon-logo {
        width: 30px;
        height: 30px;
    }
    
    .coupon-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
        gap: 8px;
    }
    
    .game-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .game-name {
        font-size: 10px;
    }
    
    .recommend-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media (min-width: 769px) {
    /* 桌面端优化 */
    /* 容器样式 */
    .container {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* 主内容容器 */
    .gamexq_box {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* 游戏推荐区域 */
    .game-recommend-section {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 15px;
    }
    
    .game-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .game-name {
        font-size: 13px;
    }
}
