* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #d8d8d8;
	font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #fff;
}

.page {
	max-width: 480px;
	margin: 0 auto;
	min-height: 100vh;
	padding: 12px;
	background-image: url("../img/bg.png");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

.img-box {
	overflow: hidden;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 6px;
	border: none;
	background: transparent;
}

.img-fill {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===== 顶部导航 ===== */
.topbar {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.logo-img {
	flex: 1;
	height: 52px;
}

.intro-img {
	flex: 1.8;
	height: 52px;
}

/* ===== 大横幅 ===== */
.banner-img {
	height: 260px;
	margin-bottom: 12px;
	border: none;
	background: transparent;
}

/* ===== 公告 ===== */
.notice {
	overflow: hidden;
	white-space: nowrap;
	background: rgba(255, 255, 255, .15);
	border-radius: 999px;
	height: 40px;
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	position: relative;
}

.notice-icon {
	width: 35px;
	height: 22px;
	object-fit: contain;
	flex-shrink: 0;
	margin-right: 8px;
	position: relative;
	z-index: 10;
}

.notice-content {
	flex: 1;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
}

.notice-text {
	display: inline-block;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ===== 一行游戏图标 ===== */
.icon-row {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.gicon {
	flex: 1;
	height: 56px;
	border-radius: 0px;
}

/* ===== 优势点横幅 ===== */
.advantage-img {
	height: 64px;
	margin-bottom: 12px;
}

/* ===== 游戏卡片 ===== */
.card {
	background: url(../img/bg3.png) no-repeat;
	/* 透明，透出页面背景图 */
	border-radius: 25px;
	background-size: 100% 100%;
	padding: 12px;
	margin-bottom: 12px;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
}

.card-main {
	display: flex;
	gap: 8px;
}

.big-icon {
	width: 108px;
	height: 108px;
	flex-shrink: 0;
	border-radius: 20px;
	margin-top: 6px;
}

.card-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.card-top {
	display: flex;
	gap: 8px;
}

.name-box {
	margin-top: -5px;
	flex: 1;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #f5e1c7;
	font-weight: 600;
	transform: translateX(-40px);
}

.act-icon {
	width: 120px;
	height: 60px;
	border-radius: 6px;
}

.intro-box {
	font-weight: 200;
	color: #f5e1c7;
	height: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transform: translate(-60px, -27px);
}

.highlights {
	width: 100%;
	overflow: hidden;
	margin-top: -20px;
}

.highlights img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.hl {
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.card-btns {
	display: flex;
	gap: 12px;
}

.card-btns .btn {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	isplay: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding-bottom: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.card-btns .btn-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
	display: block;
}

.card-btns .btn:nth-child(1) {
	background: url("../img/bg2.png") center / 100% 100% no-repeat;
}

.card-btns .btn:nth-child(2) {
	background: url("../img/bg2.png") center / 100% 100% no-repeat;
}

.btn {
	flex: 1;
	height: 52px;
	color: #fff;
	font-size: 20px;
	letter-spacing: 1px;
	cursor: pointer;
}


/* 下载弹窗遮罩层 */
.download-overlay {
	display: none !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 999999 !important;

	background: rgba(0, 0, 0, 0.55);

	align-items: center;
	justify-content: center;

	padding: 15px;
}

/* 弹窗显示 */
.download-overlay.show {
	display: flex !important;
}

/* iframe 外层 */
.download-frame-box {
	width: 100%;
	max-width: 440px;
	height: 430px;
	position: relative;
	background: transparent;
}

/* 下载页面 iframe */
.download-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
}

/* 外部关闭按钮 */
.download-close {
	position: absolute;
	top: -12px;
	right: -8px;
	z-index: 100;

	width: 36px;
	height: 36px;

	border-radius: 50%;
	border: 1px solid #c5a66f;

	background: #21190f;
	color: #fff;

	font-size: 25px;
	cursor: pointer;
}

/* 在线客服弹窗遮罩 */
.service-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;

    background: rgba(0, 0, 0, .55);

    align-items: center;
    justify-content: center;
    padding: 15px;
}

.service-overlay.show {
    display: flex;
}

/* iframe容器 */
.service-frame-box {
    width: 100%;
    max-width: 440px;
    height: 330px;
    position: relative;
    background: transparent;
}

/* iframe */
.service-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

/* 关闭按钮 */
.service-close {
    position: absolute;
    top: -12px;
    right: -8px;
    z-index: 10;

    width: 42px;
    height: 42px;

    border: 2px solid #c5a66f;
    border-radius: 50%;

    background: linear-gradient(145deg, #393126, #080706);
    color: #fff;

    font-size: 30px;
    cursor: pointer;
}