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

body {
	font-family: "Microsoft YaHei", Arial, sans-serif;
	background: #0a0a0a;
	color: #fff;
	overflow-x: hidden;
	min-height: 100vh;
	background: #17181d;
}

img {
	max-width: 100%;
	display: block;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

button {
	border: none;
	background: none;
	cursor: pointer;
	font-family: inherit;
}

/* 顶部背景 */
.top-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
	z-index: 998;
	pointer-events: none;
}

/* 导航栏 */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	padding: 15px 0;
}

.navbar .container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo img {
	width: 150px;
}

.nav-menu {
	display: flex;
	gap: 40px;
}

.nav-menu li a {
	color: #fff;
	font-size: 16px;
	transition: color 0.3s;
	position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
	color: #ffd700;
}

.nav-menu li a.active::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #ffd700;
}

/* 左侧边栏1 */
.left-sidebar-1 {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 900;
	width: 80px;
	transition: transform 0.3s;
}

.left-sidebar-1 img {
	width: 100%;
	height: auto;
}

/* 左侧边栏2 */
.left-sidebar-2 {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 901;
	width: 220px;
	/* background: rgba(0, 0, 0, 0.7); */
	border-radius: 0 10px 10px 0;
	/* padding: 20px 10px; */
	padding: 0;
}

.left-sidebar-2 .sidebar-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
}

.qr-section {
	text-align: center;
}

.wechat-login {
	position: relative;
	width: 218px;
	height: 282px;
	background: url(images/left2.png) left no-repeat;
	background-size: 100% 100%;
}

.qr-code {
	width: 220px;
	/* height: 80px; */
	margin: 0 auto 10px;
}

.qr-section p {
	font-size: 12px;
	color: #ccc;
}

.wechat-login-ewm {
	position: absolute;
	left: 0;
	right: 0;
	text-align: -webkit-center;
	bottom: 15px;
}

.wechat-login img {
	width: 180px;
	height: auto;
}

/* 右侧边栏 */
.right-sidebar {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 901;
}

.right-sidebar .sidebar-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.wechat-login-right {
	width: 189px;
	height: 252px;
	background: url(images/qrbackground.png) no-repeat center;
	background-size: 100% 100%;
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
}

.wechat-login-right img:first-child {
	margin-top: 10px;
	width: 107px;

}

.wechat-login-right img {
	width: 114px;
	margin-top: 10px;

}

/* 主要内容 */
.main-content {
	/* padding-top: 80px; */
	max-width: 1400px;
	margin: 0 auto;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero Section */
.hero-section {
	margin-bottom: 60px;
}

.hero-banner {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	width: 620px;
	height: 240px;
	display: flex;
	position: absolute;
	bottom: 150px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: 10;
	background: rgba(0, 0, 0, 0.4);
	border-radius: 30px;
	padding: 20px;
	box-sizing: content-box;
}

.game-title {
	font-size: 72px;
	font-weight: bold;
	color: #ffd700;
	text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
	margin-bottom: 30px;
	letter-spacing: 5px;
}

.action-buttons-left {
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
}

.action-buttons-left img {
	width: 90%;
}

.action-buttons-right {
	position: relative;
	width: 70%;
	/* height: 190px; */
	background: url(images/memberbg.png) no-repeat center;
	background-size: 100%;
	display: flex;
	/* gap: 20px; */
	justify-content: center;
}

.action-buttons-right img {
	width: 240px;
	position: absolute;
	bottom: 40px;
	text-align: -webkit-center;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.btn {
	padding: 12px 35px;
	font-size: 16px;
	border-radius: 25px;
	transition: all 0.3s;
	font-weight: bold;
	border: 2px solid transparent;
}

.btn-primary {
	background: linear-gradient(135deg, #8b4513, #654321);
	color: #ffd700;
	border-color: #ffd700;
}

.btn-secondary {
	background: linear-gradient(135deg, #4a4a4a, #2a2a2a);
	color: #fff;
	border-color: #888;
}

.btn-tertiary {
	background: linear-gradient(135deg, #8b0000, #5a0000);
	color: #fff;
	border-color: #ff4444;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 会员中心 */
.member-section {
	margin-bottom: 60px;
}

.member-card {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	height: 250px;
}

.member-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.member-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	gap: 50px;
	width: 80%;
}

.member-info {
	display: flex;
	align-items: center;
	gap: 20px;
}

.avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #ffd700;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.user-info h3 {
	font-size: 24px;
	margin-bottom: 8px;
	color: #ffd700;
}

.user-info p {
	font-size: 14px;
	color: #ccc;
}

.user-info span {
	color: #ff6666;
}

.btn-login-large {
	padding: 0;
}

.btn-login-large img {
	height: 50px;
	width: auto;
	transition: transform 0.3s;
}

.btn-login-large:hover img {
	transform: scale(1.05);
}

/* 版本区域 */
.version-section,
.version-section-2 {
	margin-bottom: 80px;
}

.section-title1 {
	position: relative;
	height: 200px;
	    margin-top: -67px;
	background: url(images/vertitlebg.png) center no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin-bottom: 50px;
	font-size: 32px;
	color: #fff;
	/* text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); */
}
.section-title1 span {
	position: absolute;
	bottom: 40px;
}
.section-title {
	position: relative;
	height: 200px;
	    margin-top: -221px;
	background: url(images/vertitlebg.png) center no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin-bottom: 50px;
	font-size: 32px;
	color: #fff;
	/* text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); */
}
.section-title span {
	position: absolute;
	bottom: 40px;
}

.title-divider {
	width: 150px;
	height: 2px;
}

/* 版本网格 */
.version-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

.version-card {
	background: rgba(20, 20, 20, 0.8);
	border: 2px solid #444;
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s;
}

.version-card:hover {
	transform: translateY(-5px);
	border-color: #ffd700;
	box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.version-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.version-info {
	padding: 0px 5px;
	display: flex;
	flex-direction: column-reverse;
	gap: 0px;
	/*margin-top: 8px;*/
}

.version-info h3 {
	position: absolute;
	top: 22px;
	font-size: 13px;
	color: #dedede;
	text-align: center;
	background: #898980;
	padding: 5px 20px;
	margin: 0 auto;
	left: 0;
	right: 0;
	display: inline-table;
}

.server-list {
	margin-top: 5px;
	margin-bottom: 15px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.server-list li {
	font-size: 14px;
	font-weight: bold;
	/*color: #e1dfdf;*/
	margin: 0px 10px;
	margin-bottom: 8px;
	/*border-bottom: 1px dashed #aaa;*/
	padding-bottom: 15px;
	position: relative;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	/*background: url(images/addtb1.png) no-repeat;*/
	background-size: 20px 20px;
	padding-left: 25px;
}

.server-list li::before {
	/*   content: '●'; */
	position: absolute;
	left: 0;
	color: #ffd700;
}

.version-buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.btn-small {
	padding: 4px 12px;
	font-size: 15px;
	background: linear-gradient(135deg, #1c4759, #124256);
	color: #fff;
	border-radius: 5px;
	transition: all 0.3s;
}

.btn-small:hover {
	background: linear-gradient(135deg, #ffd700, #ffaa00);
	color: #000;
	border-color: #ffd700;
}

/* 版本图标 */
.version-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.icon-item {
	width: 60px;
	height: 60px;
	/* border: 2px solid #444; */
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s;
	cursor: pointer;
}

.icon-item:hover {
	border-color: #ffd700;
	transform: scale(1.1);
}

.icon-item img {
	object-fit: contain;
}


.addsearch {
	position: relative;
}

input#mysearch {
	background: url(images/searchbj.png);
	background-repeat: no-repeat;
	width: 250px;
	height: 64px;
	background-size: 100% 100%;
	color: white;
	border: none;
	padding: 00px 18px;
	font-size: 16px;
}


input#mysearch::placeholder {
	color: white;
	font-size: 14px;
}

input#mysearch:focus {
	outline: none;
}

input#mysubmit {
	background: url(images/searchbtn.png);
	width: 30px;
	height: 32px;
	background-size: 100% 100%;
margin-left: -50px;
	cursor: pointer;
	border: none;
}




/* 大版本网格 */
.version-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.version-card-large {
    position: relative;
    background: url(images/verbg.png) no-repeat center;
    background-size: 100% 100%;
    overflow: hidden;
    transition: all 0.3s;
    padding: 20px 13px 0px 13px;
    width: 100%;
    height: 317px; /* 固定总高度 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.version-card-large:hover {
    transform: translateY(-5px);
}

/* 关键：固定图片高度，确保所有卡片顶部图一致 */
.version-card-large img.myverpic {
    width: 100%;
    height: 144px; 
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: block;
    flex-shrink: 0;
}

/* 其他内容自动填充剩余空间 */
.version-card-large .myaddtu,
.version-card-large .version-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.version-card-large .myaddtu p {
    margin: 3px 0;
    font-weight: bold;
    text-align: center;
}

.version-card-large > img[src*="xian.png"] {
    width: 100%;
    height: auto;
    margin: 0;
}

/* —— 修复后的 server-list：支持最多2行自动换行，无省略号 —— */
.server-list {
    flex: 1;
    padding-left: 16px;
    overflow: hidden;
    max-height: 57px;       /* 精确控制最多2行 */
    line-height: 1.4em;
    font-size: 13px;
    word-break: break-word; /* 强制长词换行 */
    display: block;
    width: 100%;            /* 确保宽度占满可用空间 */
    color:white;
}

.server-list li {
    font-size: 15px;
    /*color: #555;*/
    white-space: normal;    /* 允许换行 */
    word-wrap: break-word;  /* 长单词断行 */
    margin: 0;
    padding: 0;
    display: list-item;     /* 默认列表项显示 */
    width: 100%;
}

/* 按钮容器：居中 + 与底部保持距离 */
.version-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 20px; /* 确保按钮不贴底 */
}

/* 按钮样式 */
.btn-small {
    padding: 9px 31px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: 2px solid #004a9c;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #0056b3, #003a7c);
}

/* 描述文字：白色、加粗、靠左对齐 */
.version-info p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #fff;
    text-align: left;
    line-height: 1.4;
    font-weight: bold;
    opacity: 0.9;
}

/* 分割线 */
.version-info > img[src*="xian.png"] {
    width: 100%;
    height: auto;
    margin: 0;
}



.myaddtu {
	position: absolute;
	z-index: 999;
	top: 18%;
	left: 13px;
}

.myaddtu img {
	max-width: 230px;
}

.myaddtu p {
	font-weight: bold;
	font-size: 30px;
	position: absolute;
	top: 8px;
	left: 3px;
}











.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1999;
}

.modal {
	background: url(images/tanchuangbj.png);
	background-size: 100% 100%;
	width: 359px;
	height: 346px;
	position: relative;
}

.tcewm {
	position: absolute;
	left: 0;
	right: 0;
	text-align: -webkit-center;
	margin: 0 auto;
	top: 30px;
}

.tcewm img {
	width: 180px;
}

.tcewm p {
	padding-top: 10px;
	font-size: 18px;
}


.close-btn {
	float: right;
	cursor: pointer;
	/*background: red;*/
	padding: 0px 8px;
	width: 30px;
	height: 30px;
	text-align: center;
	font-size: 20px;
	border-radius: 50%;
}

.qrcode {
	width: 200px;
	height: 200px;
	margin: 20px 0;
}








.addcontent {
	background: #2c2c2d;
	padding: 3%;
}

.addcontent p.ptitle {
	color: red;
	font-size: 22px;
}

.addcontent p {
	line-height: 40px;
}













/* 页脚 */
.footer {
	background: rgba(10, 10, 10, 0.95);
	border-top: 2px solid #333;
	padding: 40px 0;
	margin-top: 80px;
}

.footer .container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-content {
	display: flex;
	/* flex-direction: column; */
	align-items: center;
	gap: 20px;
}

.footer-logo h2 {
	font-size: 48px;
	color: #ffd700;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer-info {
	text-align: center;
}

.footer-info p {
	font-size: 12px;
	color: #888;
	line-height: 1.8;
	margin-bottom: 5px;
}

/* 响应式设计 - 平板 */
@media (max-width: 1200px) {

	.version-grid,
	.version-grid-large {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.left-sidebar-1,
	.left-sidebar-2,
	.right-sidebar {
		display: none;
	}

	.game-title {
		font-size: 56px;
	}
}

/* 响应式设计 - 移动端 */
@media (max-width: 1000px) {

	/* 隐藏侧边栏 */
	.left-sidebar-1,
	.left-sidebar-2,
	.right-sidebar {
		display: none;
	}

	/* 导航栏 */
	.navbar .container {
		flex-direction: column;
		gap: 15px;
	}

	.logo img {
		/*height: 40px;*/
		
	}

	.nav-menu {
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.nav-menu li a {
		font-size: 14px;
	}

	/* Hero区域 */
	.hero-banner {
		height: 400px;
	}

	.game-title {
		font-size: 36px;
		margin-bottom: 20px;
	}

	.action-buttons {
		flex-direction: column;
		gap: 10px;
	}

	.btn {
		padding: 10px 25px;
		font-size: 14px;
	}

	/* 会员卡片 */
	.member-card {
		height: auto;
		min-height: 200px;
	}

	.member-content {
		flex-direction: column;
		gap: 20px;
		width: 90%;
		padding: 20px 0;
	}

	.member-info {
		flex-direction: column;
		text-align: center;
	}

	.avatar {
		width: 60px;
		height: 60px;
	}

	.user-info h3 {
		font-size: 20px;
	}

	/* 版本区域 */
	.section-title {
		font-size: 24px;
		gap: 15px;
		margin-bottom: 30px;
	}

	.title-divider {
		width: 80px;
	}

	.version-grid,
	.version-grid-large {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.version-card img {
		height: 150px;
	}

	.version-info {
		padding: 15px;
	}

	.version-info h3 {
		font-size: 16px;
	}

	.server-list li {
		font-size: 11px;
	}

	.version-buttons {
		flex-wrap: wrap;
		gap: 5px;
	}

	.btn-small {
		padding: 6px 12px;
		font-size: 11px;
	}

	/* 版本图标 */
	.version-icons {
		gap: 10px;
	}

	.icon-item {
		width: 45px;
		height: 45px;
	}

	/* 页脚 */
	.footer {
		padding: 30px 0;
	}

	.footer-logo h2 {
		font-size: 36px;
	}

	.footer-info p {
		font-size: 10px;
	}
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 600px) {

	.version-grid,
	.version-grid-large {
		grid-template-columns: 1fr;
	}

	.hero-banner {
		height: 300px;
	}

	.game-title {
		font-size: 28px;
	}

	.section-title {
		font-size: 20px;
	}

	.nav-menu {
		gap: 15px;
	}

	.nav-menu li a {
		font-size: 12px;
	}
}

/* 2K分辨率优化 */
@media (min-width: 2000px) {

	.container,
	.main-content {
		max-width: 1800px;
	}

	.navbar .container {
		max-width: 1800px;
	}


	.game-title {
		font-size: 96px;
	}

	.btn {
		padding: 15px 45px;
		font-size: 18px;
	}

	.section-title {
		font-size: 42px;
	}

	.version-card img {
		height: 240px;
	}

	.version-info h3 {
		font-size: 22px;
	}

	.server-list li {
		font-size: 14px;
	}

	.btn-small {
		padding: 10px 20px;
		font-size: 14px;
	}

	.member-card {
		max-width: 1200px;
		height: 350px;
	}

	.avatar {
		width: 100px;
		height: 100px;
	}

	.user-info h3 {
		font-size: 28px;
	}

	.footer-logo h2 {
		font-size: 64px;
	}

	.footer-info p {
		font-size: 14px;
	}
}

#ph_html {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
    #login_ {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin: 20px auto;
    width: fit-content;
}