* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
}


/* ========== 新版游戏轮播Banner ========== */

.banner-wrap {
	width: 100%;
	padding: 20px 0;
	padding-top: 0;
}

.site-content {
	padding-bottom: 30px;
	padding-top: 20px;
}

.term-bar {
	display: none;
}


/*   .lang__4 {*/


/*	display: none;*/


/*}*/

.banner-carousel {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	height: 450px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.carousel-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.carousel-slide.active {
	opacity: 1;
	pointer-events: auto;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.slide-info {
	position: absolute;
	left: 40px;
	bottom: 30px;
	color: #fff;
	z-index: 2;
	max-width: 820px;
}

.slide-title {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 12px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	color: #fff;
}

.slide-desc {
	font-size: 15px;
	line-height: 1.2;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
	opacity: 0.95;
}

.game-sidebar {
	position: absolute;
	top: 0;
	right: 0;
	width: 330px;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	padding: 60px 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
}

.game-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 25px;
}

.game-item {
	padding: 15px 20px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.game-item:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.game-item.active {
	background: rgba(255, 255, 255, 0.18);
	color: #FFEB3B;
	font-weight: 500;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: all 0.2s ease;
	color: #fff;
}

.carousel-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
	left: 20px;
}

.carousel-btn.next {
	right: 350px;
}


/* ========== 滚动公告条 ========== */

.notice-bar {
	max-width: 1400px;
	margin: 0 auto 5px;
	height: 46px;
	background: linear-gradient(90deg, #303033, #3d3d42);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	position: relative;
	border: 1px solid #48484f;
	justify-content: flex-start;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 3px 10px rgba(0, 0, 0, 0.25);
}

.notice-bar::before {
	content: "📢 公告";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	padding: 0 22px;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	z-index: 3;
	border-radius: 12px 0 0 12px;
	box-shadow: 3px 0 12px rgba(99, 102, 241, 0.2);
}

.notice-content {
	white-space: nowrap;
	animation: noticeScroll 20s linear infinite;
	will-change: transform;
}

.notice-content span {
	display: inline-block;
	padding-right: 500px;
	color: #fff;
	font-size: 15px;
	letter-spacing: 0.6px;
	line-height: 46px;
}

.notice-bar::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 70px;
	height: 100%;
	background: linear-gradient(to left, #36363b, transparent);
	z-index: 2;
	pointer-events: none;
}

@keyframes noticeScroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.notice-bar:hover .notice-content {
	animation-play-state: paused;
}


/* 响应式适配 */

@media (max-width: 1200px) {
	.banner-carousel {
		height: 360px;
	}
	.game-sidebar {
		width: 240px;
	}
	.carousel-btn.next {
		right: 270px;
	}
	.slide-info {
		max-width: 400px;
		left: 30px;
	}
	.slide-title {
		font-size: 26px;
	}
}

@media (max-width: 768px) {
	.banner-carousel {
		height: 280px;
		border-radius: 12px;
	}
	.game-sidebar {
		display: none;
	}
	.carousel-btn.next {
		right: 20px;
	}
	.slide-info {
		left: 20px;
		bottom: 90px;
		max-width: 80%;
	}
	.slide-title {
		font-size: 20px;
		margin-bottom: 8px;
	}
	.slide-desc {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.banner-carousel {
		height: 200px;
	}
	.slide-desc {
		display: none;
	}
}

@media (min-width: 1536px) {
	.container {
		max-width: 1400px !important;
	}
}


/* 商品卡片样式 */

.products-section {
	padding: 10px 0px 10px 0px;
	width: 100%;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	max-width: 1400px;
	margin: 10px auto;
}

.product-card {
	border-radius: 5px;
	overflow: hidden;
	transition: transform 0.3s ease;
	background-color: transparent;
	position: relative;
	cursor: pointer;
}

.product-card:hover {
	transform: translateY(-4px);
}

.product-card a {
	display: block;
	text-decoration: none;
}

.product-card img {
	width: 100%;
	height: 152px;
	object-fit: cover;
	display: block;
	border-radius: 5px;
}

.product-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 5px;
	padding: 10px;
}

.product-title {
	color: white;
	font-size: 15px;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.3);
	padding: 5px 10px;
	border-radius: 4px;
	width: 100%;
}

.product-card:hover .product-overlay {
	opacity: 1;
}


/* 响应式卡片 */

@media (max-width: 1366px) {
	.products-grid {
		max-width: 100%;
		padding: 0 5px;
	}
}

@media (max-width: 1024px) {
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: 1fr;
	}
}


/* 分页样式 */

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	margin-bottom: 50px;
	gap: 5px;
	background: #fff;
	color: #ccc;
	padding: 15px 20px;
	border-radius: 6px;
	border: 1px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	font-size: 0.9rem;
}

.pagination-btn {
	padding: 8px 16px;
	border: 1px solid #ddd;
	background-color: white;
	color: #666;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s ease;
	font-size: 15px;
	margin: 0 2px;
}

.pagination-btn:hover:not(:disabled) {
	background-color: #007bff;
	color: white;
	border-color: #007bff;
}

.pagination-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.pagination-numbers {
	display: flex;
	gap: 0;
}

.pagination-number {
	padding: 10px 16px;
	border: 1px solid #ddd;
	background-color: #fff;
	color: #000;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.3s ease;
	font-size: 15px;
	margin: 0 5px;
}

.pagination-number:hover:not(.active) {
	background-color: #007bff;
	color: #fff;
}

.pagination-number.active {
	background-color: #007bff;
	color: white;
	border-color: #007bff;
}

.pagination-jump {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 10px;
	font-size: 15px;
}

.page-input {
	width: 55px !important;
	padding: 0 8px !important;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-align: center !important;
	font-size: 15px;
	background-color: #fff;
	color: #222;
	margin: 0 !important;
}

.page-input:focus {
	outline: none;
	border-color: #007bff;
}


/* 暗色分页 */

body.dark-theme .pagination {
	background: #191b1d;
	border: 1px solid #000;
}

body.dark-theme .pagination-btn {
	border: 1px solid #000;
	background-color: #222;
	color: #ccc;
}

body.dark-theme .pagination-number {
	border: 1px solid #000;
	background-color: #222;
	color: #666;
}

body.dark-theme .page-input {
	background-color: #fff;
}


/* 移动端分页 */

@media (max-width: 768px) {
	.pagination {
		flex-wrap: wrap;
		gap: 2px;
	}
	.pagination-btn,
	.pagination-number {
		padding: 6px 10px;
		font-size: 12px;
	}
	.pagination-jump {
		font-size: 12px;
		margin-left: 0;
		margin-top: 10px;
		width: 100%;
		justify-content: center;
	}
}


/* 弹窗样式 */

.jump-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
}

.jump-modal.show {
	display: flex;
}

.modal-content {
	width: 100%;
	max-width: 500px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-header {
	background: linear-gradient(90deg, #6378e8 0%, #6c5ce7 50%, #7c4dcc 100%);
	color: #fff;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.modal-icon {
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.modal-header h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 0;
}

.modal-close {
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 6px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
	flex-shrink: 0;
}

.modal-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.modal-body {
	padding: 28px 32px 32px;
}

.warning-tip {
	background: #fff7e6;
	border: 1px solid #ffe58f;
	color: #d48806;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.warning-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #faad14;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.target-address {
	margin-bottom: 24px;
}

.target-address label {
	display: block;
	font-size: 14px;
	color: #999;
	margin-bottom: 8px;
}

.address-text {
	background: #f5f7fa;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #1890ff;
	font-size: 15px;
	word-break: break-all;
}

.address-text svg {
	flex-shrink: 0;
	color: #1890ff;
}

.modal-buttons {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}

.btn-return,
.btn-confirm {
	flex: 1;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 15px;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
	font-weight: 500;
}

.btn-return {
	background: #f0f2f5;
	color: #666;
}

.btn-return:hover {
	background: #e6e8eb;
}

.btn-confirm {
	background: linear-gradient(90deg, #6378e8 0%, #7c4dcc 100%);
	color: #fff;
}

.btn-confirm:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.modal-tip {
	text-align: center;
	font-size: 13px;
	color: #999;
	margin: 0;
}


/* 暗色弹窗 */

body.dark-theme .modal-content {
	background: #1f2023;
}

body.dark-theme .warning-tip {
	background: rgba(250, 173, 20, 0.1);
	border-color: rgba(250, 173, 20, 0.3);
	color: #faad14;
}

body.dark-theme .target-address label {
	color: #888;
}

body.dark-theme .address-text {
	background: #2a2c30;
	border-color: #3a3d42;
}

body.dark-theme .btn-return {
	background: #2a2c30;
	color: #ccc;
}

body.dark-theme .btn-return:hover {
	background: #33363b;
}

body.dark-theme .modal-tip {
	color: #777;
}

/*移动端弹窗*/ @media (max-width: 480px) {
	.modal-body {
		padding: 20px;
	}
	.modal-header {
		padding: 18px 20px;
	}
	.modal-header h3 {
		font-size: 17px;
	}
	.modal-icon {
		width: 38px;
		height: 38px;
	}
	.modal-buttons {
		flex-direction: column;
		gap: 10px;
	}
}