:root {
	--primary-color: #00ad35;
	--primary-dark: #00962d;
	--primary-light: #4dd879;
	--accent-color: #ff6b35;
	--success-color: #00ad35;
	--text-dark: #1f1f1f;
	--text-light: #5c5c5c;
	--text-muted: #8c8c8c;
	--bg-light: #f8f9fa;
	--bg-white: #ffffff;
	--border-color: #e8e8e8;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
	--shadow-md: 0 2px 8px rgba(0,0,0,0.1);
	--shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
	--border-radius: 6px;
	--transition: all 0.2s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	overflow-x: hidden;
	width: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
	background: var(--bg-light);
	color: var(--text-dark);
	line-height: 1.6;
	min-height: 100vh;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-dark);
}

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	min-height: calc(100vh - 200px);
}

.site-header {
	background: var(--bg-white);
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-top {
	border-bottom: 1px solid var(--border-color);
	position: relative;
}

.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.logo a {
	display: flex;
	align-items: center;
}

.logo img {
	height: 40px;
}

.header-search {
	flex: 1;
	max-width: 500px;
}

.header-search form {
	display: flex;
	background: var(--bg-light);
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.header-search input {
	flex: 1;
	padding: 10px 16px;
	border: none;
	background: transparent;
	font-size: 14px;
	outline: none;
}

.header-search button {
	width: 44px;
	background: var(--primary-color);
	border: none;
	color: #fff;
	cursor: pointer;
	transition: var(--transition);
}

.header-search button:hover {
	background: var(--primary-dark);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.auth-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.auth-buttons a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	transition: var(--transition);
}

.auth-buttons .btn-login {
	background: var(--bg-light);
	color: var(--text-dark);
	border: 1px solid var(--border-color);
}

.auth-buttons .btn-login:hover {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}

.auth-buttons .btn-register {
	background: var(--primary-color);
	color: #fff;
	border: 1px solid var(--primary-color);
}

.auth-buttons .btn-register:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
}

.user-avatar {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-dark);
	font-size: 14px;
}

.user-avatar img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
}

.mobile-menu-toggle .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text-dark);
	border-radius: 1px;
	margin: 5px 0;
	transition: var(--transition);
}

.main-nav {
	background: var(--primary-color);
}

.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.main-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.main-nav a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 18px;
	color: rgba(255,255,255,0.95);
	font-size: 14px;
	font-weight: 500;
	transition: var(--transition);
}

.main-nav a:hover,
.main-nav li.active a {
	background: rgba(255,255,255,0.15);
	color: #fff;
}

.main-nav a i {
	font-size: 12px;
}

.breadcrumb {
	background: var(--bg-white);
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color);
}

.breadcrumb-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
	flex-wrap: wrap;
}

.breadcrumb a {
	color: var(--text-light);
}

.breadcrumb a:hover {
	color: var(--primary-color);
}

.breadcrumb .separator {
	color: var(--text-muted);
}

.hero-section {
	position: relative;
	background: linear-gradient(135deg, var(--primary-color) 0%, #00c853 100%);
	padding: 60px 20px;
	text-align: center;
	color: #fff;
	margin-bottom: 0;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
	opacity: 0.3;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
}

.hero-content h1 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 12px;
}

.hero-content p {
	font-size: 16px;
	opacity: 0.9;
	margin-bottom: 24px;
}

.hero-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.hero-tags-label {
	color: rgba(255,255,255,0.8);
	font-size: 14px;
}

.hero-tag {
	padding: 8px 18px;
	background: rgba(255,255,255,0.2);
	color: #fff;
	border-radius: 20px;
	font-size: 13px;
	transition: var(--transition);
	border: 1px solid rgba(255,255,255,0.3);
}

.hero-tag:hover {
	background: #fff;
	color: var(--primary-color);
}

.hero-search {
	display: flex;
	background: #fff;
	border-radius: 30px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-search input {
	flex: 1;
	padding: 14px 24px;
	border: none;
	font-size: 15px;
	outline: none;
}

.hero-search button {
	width: 50px;
	background: var(--primary-color);
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	transition: var(--transition);
}

.hero-search button:hover {
	background: var(--primary-dark);
}

.main-wrapper {
	background: var(--bg-light);
	padding: 30px 0;
	min-height: calc(100vh - 300px);
}

.main-wrapper .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.home-layout {
	display: block;
}

.home-main {
	min-width: 0;
}

.feature-section {
	background: var(--bg-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	padding: 20px;
	margin-bottom: 24px;
	overflow: hidden;
}

.section-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--bg-light);
}

.section-title h2 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-title h2 i {
	color: var(--primary-color);
}

.more-link {
	font-size: 13px;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 4px;
	transition: var(--transition);
}

.more-link:hover {
	color: var(--primary-color);
}

.feature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	overflow: hidden;
}

.feature-main {
	display: block;
	border-radius: var(--border-radius);
	overflow: hidden;
	transition: var(--transition);
}

.feature-main:hover {
	box-shadow: var(--shadow-md);
}

.feature-img {
	position: relative;
	padding-top: 60%;
	overflow: hidden;
}

.feature-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.feature-main:hover .feature-img img {
	transform: scale(1.05);
}

.feature-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--primary-color);
	color: #fff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
}

.feature-info {
	padding: 16px;
	background: var(--bg-light);
}

.feature-info h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	line-height: 1.4;
}

.feature-info p {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.feature-meta {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: var(--text-muted);
}

.feature-meta i {
	margin-right: 4px;
}

.feature-list {
	display: flex;
	flex-direction: column;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px dashed var(--border-color);
	transition: var(--transition);
}

.feature-item:last-child {
	border-bottom: none;
}

.feature-item:hover {
	padding-left: 8px;
}

.item-num {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted);
	background: var(--bg-light);
	border-radius: 4px;
	flex-shrink: 0;
}

.item-num.num-2 {
	background: #ffa94d;
	color: #fff;
}

.item-num.num-3 {
	background: #ffd43b;
	color: #fff;
}

.item-title {
	flex: 1;
	font-size: 14px;
	color: var(--text-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.item-date {
	font-size: 12px;
	color: var(--text-muted);
	flex-shrink: 0;
}

.latest-section {
	background: var(--bg-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	padding: 20px;
	margin-bottom: 24px;
}

.latest-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}

.latest-grid .game-card-item {
	padding: 10px;
}

.latest-grid .card-item-icon {
	width: 50px;
	height: 50px;
	border-radius: 8px;
}

.latest-grid .card-item-title {
	font-size: 12px;
	margin-bottom: 4px;
}

.latest-grid .card-item-tags span {
	font-size: 10px;
}

.latest-grid .card-item-desc {
	font-size: 10px;
	-webkit-line-clamp: 1;
	margin-bottom: 6px;
}

.latest-grid .btn-download {
	padding: 5px 14px;
	font-size: 11px;
}

.category-section {
	background: var(--bg-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	padding: 20px;
	margin-bottom: 24px;
	overflow: hidden;
}

.layout-left-right {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 20px;
	overflow: hidden;
}

.main-card {
	display: block;
	border-radius: var(--border-radius);
	overflow: hidden;
}

.main-img {
	position: relative;
	padding-top: 100%;
	overflow: hidden;
	border-radius: var(--border-radius);
}

.main-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.main-card:hover .main-img img {
	transform: scale(1.05);
}

.img-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 12px 12px;
	background: linear-gradient(transparent, rgba(0,0,0,0.7));
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.side-list {
	display: flex;
	flex-direction: column;
}

.list-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--border-color);
	transition: var(--transition);
}

.list-item:last-child {
	border-bottom: none;
}

.list-item:hover {
	padding-left: 6px;
}

.item-dot {
	width: 6px;
	height: 6px;
	background: var(--primary-color);
	border-radius: 50%;
	flex-shrink: 0;
}

.layout-top-bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.top-card {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 16px;
	padding: 16px;
	background: var(--bg-light);
	border-radius: var(--border-radius);
	transition: var(--transition);
}

.top-card:hover {
	box-shadow: var(--shadow-sm);
}

.top-img {
	position: relative;
	padding-top: 70%;
	overflow: hidden;
	border-radius: var(--border-radius);
}

.top-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.top-info h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	line-height: 1.4;
}

.top-info p {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.6;
}

.bottom-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.mini-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 10px;
	background: var(--bg-light);
	border-radius: var(--border-radius);
	transition: var(--transition);
	text-align: center;
}

.mini-card:hover {
	background: var(--primary-color);
	color: #fff;
}

.mini-card img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 6px;
}

.mini-card span {
	font-size: 12px;
	color: var(--text-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.mini-card:hover span {
	color: #fff;
}

.layout-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 8px;
	overflow: hidden;
}

.layout-grid .game-card-item {
	padding: 8px;
}

.layout-grid .card-item-header {
	gap: 8px;
	margin-bottom: 6px;
}

.layout-grid .card-item-icon {
	width: 42px;
	height: 42px;
	border-radius: 6px;
}

.layout-grid .card-item-title {
	font-size: 11px;
	margin-bottom: 2px;
	line-height: 1.3;
	-webkit-line-clamp: 1;
}

.layout-grid .card-item-tags {
	gap: 4px;
}

.layout-grid .card-item-tags span {
	font-size: 9px;
}

.layout-grid .card-item-desc {
	display: none;
}

.layout-grid .card-item-footer {
	padding-top: 4px;
}

.layout-grid .btn-download {
	padding: 4px 10px;
	font-size: 10px;
}

.game-card {
	display: block;
	border-radius: var(--border-radius);
	overflow: hidden;
	background: var(--bg-light);
	transition: var(--transition);
}

.game-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.card-img {
	position: relative;
	padding-top: 50%;
	overflow: hidden;
}

.card-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.game-card:hover .card-img img {
	transform: scale(1.05);
}

.card-content {
	padding: 8px;
}

.card-content h3 {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-dark);
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.card-meta {
	font-size: 10px;
	color: var(--text-muted);
	display: flex;
	gap: 8px;
}

.card-meta i {
	margin-right: 4px;
}

.tags-section {
	background: var(--bg-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	padding: 20px;
	margin-bottom: 24px;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-item {
	padding: 8px 16px;
	background: var(--bg-light);
	border-radius: 20px;
	font-size: 13px;
	color: var(--text-light);
	transition: var(--transition);
}

.tag-item:hover {
	background: var(--primary-color);
	color: #fff;
}

.page-header {
	background: var(--bg-white);
	border-radius: var(--border-radius);
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: var(--shadow-sm);
}

.page-header h1 {
	font-size: 22px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.page-desc {
	font-size: 14px;
	color: var(--text-light);
}

.game-grid-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	overflow: hidden;
}

.game-card-item {
	display: flex;
	flex-direction: column;
	padding: 15px;
	background: var(--bg-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	overflow: hidden;
	min-width: 0;
}

.game-card-item:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.card-item-header {
	display: flex;
	gap: 12px;
	margin-bottom: 10px;
}

.card-item-icon {
	width: 70px;
	height: 70px;
	flex-shrink: 0;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bg-light);
}

.card-item-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.game-card-item:hover .card-item-icon img {
	transform: scale(1.05);
}

.card-item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

.card-item-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 6px;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-break: break-word;
}

.card-item-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.card-item-tags span {
	font-size: 11px;
	color: var(--text-muted);
}

.card-item-tags i {
	margin-right: 3px;
	font-size: 10px;
}

.tag-version {
	color: var(--primary-color);
}

.card-item-desc {
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.5;
	margin-bottom: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.card-item-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 8px;
	border-top: 1px solid var(--border-color);
	margin-top: auto;
}

.btn-download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 24px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	transition: var(--transition);
}

.game-card-item:hover .btn-download {
	background: var(--primary-dark);
}

.no-games {
	text-align: center;
	padding: 60px 20px;
	background: var(--bg-white);
	border-radius: var(--border-radius);
	color: var(--text-muted);
}

.pagination-wrapper {
	margin-top: 24px;
	padding: 20px 0;
}

.pagination-wrapper .pagination {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pagination-wrapper .pagination li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pagination-wrapper .pagination .page-link,
.pagination-wrapper .pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-dark);
	transition: var(--transition);
	text-decoration: none;
}

.pagination-wrapper .pagination .page-item.active .page-link,
.pagination-wrapper .pagination span.active {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
}

.pagination-wrapper .pagination .page-item.disabled .page-link,
.pagination-wrapper .pagination span.disabled {
	color: var(--text-muted);
	cursor: not-allowed;
	opacity: 0.6;
}

.pagination-wrapper .pagination a:hover,
.pagination-wrapper .pagination .page-link:hover {
	border-color: var(--primary-color);
	color: var(--primary-color);
	background: var(--bg-white);
}

.list-sidebar,
.detail-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 300px;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.list-sidebar,
	.detail-sidebar {
		width: 100%;
	}
}

.widget-box {
	background: var(--bg-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.widget-header {
	padding: 12px 16px;
	background: var(--primary-color);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
}

.widget-header i {
	font-size: 12px;
	opacity: 0.9;
}

.widget-body {
	padding: 12px;
}

.widget-list {
	list-style: none;
}

.widget-list li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--border-color);
}

.widget-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.widget-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-dark);
	font-size: 13px;
}

.widget-list a:hover {
	color: var(--primary-color);
}

.widget-list .num {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-light);
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted);
}

.widget-list .num.top-1 {
	background: #ff6b6b;
	color: #fff;
}

.widget-list .num.top-2 {
	background: #ffa94d;
	color: #fff;
}

.widget-list .num.top-3 {
	background: #ffd43b;
	color: #fff;
}

.widget-list img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
	background: var(--bg-light);
}

.widget-list .game-name {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hot-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hot-tags a {
	padding: 5px 12px;
	background: var(--bg-light);
	border-radius: 14px;
	font-size: 12px;
	color: var(--text-light);
	transition: var(--transition);
}

.hot-tags a:hover {
	background: var(--primary-color);
	color: #fff;
}

.search-box {
	display: flex;
	gap: 8px;
}

.search-box input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	font-size: 13px;
}

.search-box input:focus {
	outline: none;
	border-color: var(--primary-color);
}

.search-box button {
	width: 40px;
	background: var(--primary-color);
	border: none;
	border-radius: var(--border-radius);
	color: #fff;
	cursor: pointer;
	transition: var(--transition);
}

.search-box button:hover {
	background: var(--primary-dark);
}

.detail-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	overflow: hidden;
}

@media (max-width: 768px) {
	.detail-content {
		grid-template-columns: 1fr;
	}
}

.detail-main {
	min-width: 0;
	overflow: hidden;
	width: 100%;
}

.game-article {
	background: var(--bg-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.article-header {
	display: flex;
	gap: 24px;
	padding: 24px;
	background: linear-gradient(135deg, #f0fff5 0%, #fff 100%);
	border-bottom: 3px solid var(--primary-color);
}

.article-cover {
	width: 180px;
	flex-shrink: 0;
}

.article-cover img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: var(--shadow-md);
	background: var(--bg-light);
}

.article-info {
	flex: 1;
	min-width: 0;
}

.article-info h1 {
	font-size: 24px;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 12px;
	line-height: 1.3;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 12px;
}

.article-meta .meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--text-light);
}

.article-meta .meta-item i {
	color: var(--primary-color);
	font-size: 12px;
}

.article-meta .meta-item a {
	color: var(--text-light);
}

.article-meta .meta-item a:hover {
	color: var(--primary-color);
}

.article-brief {
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.8;
	padding: 12px;
	background: var(--bg-light);
	border-radius: 6px;
	border-left: 3px solid var(--primary-color);
}

.article-body {
	padding: 24px;
	min-width: 0;
	overflow: hidden;
}

.download-box {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
	border-radius: var(--border-radius);
	padding: 20px;
	margin-bottom: 24px;
}

.download-box .download-header {
	margin-bottom: 16px;
}

.download-box h2 {
	font-size: 18px;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
}

.download-box h2 i {
	font-size: 16px;
	opacity: 0.9;
}

.download-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.download-btn {
	padding: 12px 28px;
	background: #fff;
	color: var(--primary-color);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	transition: var(--transition);
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.download-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.no-download {
	color: rgba(255,255,255,0.8);
	font-size: 14px;
}

.description-box {
	margin-bottom: 24px;
}

.description-box h2 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--border-color);
}

.description-box h2 i {
	color: var(--primary-color);
	font-size: 16px;
}

.description-content {
	font-size: 15px;
	color: var(--text-dark);
	line-height: 1.9;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.description-content p {
	margin-bottom: 16px;
}

.description-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 16px 0;
}

.description-content h2, .description-content h3 {
	margin: 20px 0 10px;
}

.description-content ul, .description-content ol {
	margin: 16px 0;
	padding-left: 24px;
}

.tags-box {
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	margin-bottom: 24px;
}

.tags-box h3 {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tags-box h3 i {
	color: var(--primary-color);
	font-size: 12px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-list a {
	padding: 6px 14px;
	background: var(--bg-light);
	border-radius: 16px;
	font-size: 13px;
	color: var(--text-light);
	transition: var(--transition);
}

.tag-list a:hover {
	background: var(--primary-color);
	color: #fff;
}

.screenshots-box {
	margin-bottom: 24px;
}

.screenshots-box h2 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--border-color);
}

.screenshots-box h2 i {
	color: var(--primary-color);
	font-size: 16px;
}

.screenshot-list {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 12px;
}

.screenshot-item {
	flex-shrink: 0;
}

.screenshot-item img {
	width: 200px;
	height: 120px;
	object-fit: cover;
	border-radius: 6px;
	cursor: pointer;
	transition: var(--transition);
}

.screenshot-item img:hover {
	transform: scale(1.02);
}

.screenshot-nav {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 12px;
}

.screenshot-nav button {
	width: 36px;
	height: 36px;
	border: 1px solid var(--border-color);
	background: var(--bg-white);
	border-radius: 50%;
	cursor: pointer;
	transition: var(--transition);
}

.screenshot-nav button:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
}

.related-box h2 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--border-color);
}

.related-box h2 i {
	color: var(--primary-color);
	font-size: 16px;
}

.related-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 12px;
}

.related-item {
	text-align: center;
	padding: 6px;
	background: var(--bg-light);
	border-radius: var(--border-radius);
	transition: var(--transition);
}

.related-item:hover {
	background: var(--bg-white);
	box-shadow: var(--shadow-sm);
}

.related-item img {
	width: 100%;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 6px;
	background: var(--bg-light);
}

.related-item h3 {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-footer {
	background: linear-gradient(135deg, var(--primary-color) 0%, #00c853 100%);
	color: #fff;
	margin-top: 40px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 25px 20px;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section .footer-title {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 10px;
}

.footer-logo h3 {
	font-size: 18px;
	color: #fff;
	margin-bottom: 6px;
}

.footer-tagline {
	font-size: 13px;
	color: rgba(255,255,255,0.8);
}

.footer-section .nav-list {
	list-style: none;
}

.footer-section .nav-list li {
	margin-bottom: 6px;
}

.footer-section .nav-list a {
	color: rgba(255,255,255,0.8);
	font-size: 13px;
}

.footer-section .nav-list a:hover {
	color: #fff;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.contact-item i {
	color: rgba(255,255,255,0.9);
}

.footer-bottom {
	padding-top: 15px;
}

.footer-copyright {
	text-align: center;
}

.footer-copyright p {
	font-size: 13px;
	color: rgba(255,255,255,0.7);
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 44px;
	height: 44px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
	box-shadow: var(--shadow-md);
	z-index: 999;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background: var(--primary-dark);
	transform: translateY(-3px);
}

.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
	z-index: 9999;
}

.lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 4px;
}

.lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.2);
	border: none;
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
}

.lightbox-prev {
	left: -60px;
}

.lightbox-next {
	right: -60px;
}

.lightbox-counter {
	text-align: center;
	color: #fff;
	margin-top: 10px;
	font-size: 14px;
}

.no-games {
	padding: 40px;
	text-align: center;
}

.m-center-tab {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	background: var(--bg-light);
	border-bottom: 2px solid var(--border-color);
}

.m-center-tab li {
	padding: 14px 24px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-light);
	cursor: pointer;
	transition: var(--transition);
	position: relative;
}

.m-center-tab li:hover {
	color: var(--primary-color);
	background: rgba(46, 204, 113, 0.05);
}

.m-center-tab li.active {
	color: var(--primary-color);
	background: var(--bg-white);
}

.m-center-tab li.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--primary-color);
}

.article-body .tab-panel {
	display: none;
}

.article-body .tab-panel.active {
	display: block;
}

.detail-content,
.list-content,
.index-content {
	overflow: hidden;
}

.article-header {
	flex-wrap: wrap;
}

.article-cover {
	max-width: 100%;
}

@media (max-width: 768px) {
	.article-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.article-cover {
		width: 100%;
		max-width: 200px;
	}
	
	.article-cover img {
		height: 200px;
	}
	
	.m-center-tab {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	.m-center-tab li {
		padding: 12px 16px;
		white-space: nowrap;
	}
}

@media (max-width: 1024px) {
	.feature-grid {
		grid-template-columns: 1fr;
	}
	
	.latest-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.layout-left-right {
		grid-template-columns: 1fr;
	}
	
	.layout-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.bottom-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.top-card {
		grid-template-columns: 1fr;
	}
	
	.game-grid-list {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}
	
	.card-item-icon {
		width: 60px;
		height: 60px;
	}
	
	.card-item-title {
		font-size: 13px;
	}
	
	.card-item-tags span {
		font-size: 10px;
	}
	
	.card-item-desc {
		font-size: 11px;
	}
}

@media (max-width: 768px) {
	.header-inner {
		flex-wrap: wrap;
		padding: 10px 15px;
	}
	
	.header-search {
		order: 3;
		width: 100%;
		max-width: none;
		margin-top: 10px;
	}
	
	.mobile-menu-toggle {
		display: none;
	}
	
	.auth-buttons {
		gap: 6px;
	}
	
	.auth-buttons a {
		padding: 6px 12px;
		font-size: 12px;
	}
	
	.auth-buttons a i {
		display: none;
	}
	
	.main-nav {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	.main-nav ul {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 0;
	}
	
	.feature-section,
	.category-section {
		padding: 15px;
	}
	
	.feature-grid {
		gap: 15px;
	}
	
	.layout-left-right {
		gap: 15px;
	}
	
	.main-nav a {
		width: auto;
		padding: 12px 14px;
		white-space: nowrap;
		font-size: 13px;
	}
	
	.main-nav a i {
		font-size: 11px;
	}
	
	.hero-section {
		padding: 40px 15px;
	}
	
	.hero-content h1 {
		font-size: 24px;
	}
	
	.game-grid-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.card-item-icon {
		width: 70px;
		height: 70px;
	}
	
	.card-item-title {
		font-size: 14px;
	}
	
	.card-item-tags span {
		font-size: 11px;
	}
	
	.card-item-desc {
		font-size: 12px;
		-webkit-line-clamp: 2;
	}
	
	.btn-download {
		padding: 6px 20px;
		font-size: 12px;
	}
	
	.detail-content {
		grid-template-columns: 1fr;
	}
	
	.latest-grid,
	.layout-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.bottom-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.article-header {
		flex-direction: column;
	}
	
	.article-cover {
		width: 100%;
		max-width: 200px;
		margin: 0 auto;
	}
	
	.article-cover img {
		height: 200px;
	}
	
	.article-info h1 {
		font-size: 20px;
	}
	
	.related-list {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}
	
	.footer-main {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 15px;
	}
	
	.footer-about {
		grid-column: 1 / -1;
		text-align: center;
		padding-bottom: 10px;
		border-bottom: 1px solid rgba(255,255,255,0.2);
		margin-bottom: 5px;
	}
	
	.footer-nav,
	.footer-links,
	.footer-contact {
		text-align: center;
	}
	
	.footer-nav .nav-list,
	.footer-links .nav-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 12px;
	}
	
	.footer-nav .nav-list li,
	.footer-links .nav-list li {
		margin-bottom: 0;
	}
	
	.footer-section .footer-title {
		font-size: 13px;
		margin-bottom: 8px;
	}
	
	.footer-section .nav-list a {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.game-grid-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	
	.game-card-item {
		padding: 12px;
	}
	
	.card-item-header {
		gap: 10px;
	}
	
	.card-item-icon {
		width: 60px;
		height: 60px;
		border-radius: 10px;
	}
	
	.card-item-title {
		font-size: 13px;
		margin-bottom: 5px;
	}
	
	.card-item-tags {
		gap: 5px;
	}
	
	.card-item-tags span {
		font-size: 10px;
	}
	
	.card-item-desc {
		font-size: 11px;
		margin-bottom: 8px;
	}
	
	.card-item-footer {
		padding-top: 6px;
	}
	
	.btn-download {
		padding: 6px 18px;
		font-size: 11px;
	}
	
	.latest-grid,
	.layout-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.bottom-grid {
		grid-template-columns: 1fr;
	}
	
	.hero-section {
		padding: 30px 10px;
	}
	
	.hero-content h1 {
		font-size: 20px;
	}
	
	.hero-tags {
		gap: 8px;
	}
	
	.hero-tag {
		padding: 6px 14px;
		font-size: 12px;
	}
	
	.download-buttons {
		flex-direction: column;
	}
	
	.download-btn {
		width: 100%;
		text-align: center;
	}
}

.vip-hide-placeholder {
	position: relative;
	background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
	border: 2px dashed #ccc;
	border-radius: 8px;
	min-height: 150px;
	overflow: hidden;
	margin: 20px 0;
}

.vip-hide-mask {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(5px);
	text-align: center;
	padding: 20px;
}

.vip-hide-mask i {
	font-size: 48px;
	color: #ff6b35;
	margin-bottom: 16px;
}

.vip-hide-mask p {
	font-size: 16px;
	color: #666;
	margin-bottom: 16px;
	font-weight: 500;
}

.vip-hide-login-btn {
	display: inline-block;
	padding: 10px 24px;
	background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
	color: #fff;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.vip-hide-login-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
	color: #fff;
}

.vip-hide-content {
	position: relative;
}

.vip-hide-content::before {
	content: 'VIP专属';
	position: absolute;
	top: 0;
	right: 0;
	background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
	color: #fff;
	padding: 4px 12px;
	font-size: 12px;
	border-radius: 0 8px 0 8px;
	z-index: 1;
}

.vip-home-section {
	margin-top: 20px;
	padding: 25px;
	background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
	border-radius: 12px;
}

.vip-home-header {
	text-align: center;
	margin-bottom: 25px;
}

.vip-home-header h2 {
	font-size: 22px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.vip-home-header h2 i {
	color: #ff6b35;
}

.vip-home-header p {
	font-size: 14px;
	color: var(--text-muted);
}

.vip-home-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.vip-home-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	border: 2px solid transparent;
}

.vip-home-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}

.vip-card-header {
	padding: 20px 15px;
	text-align: center;
	color: #fff;
}

.vip-card-badge {
	display: inline-block;
	background: rgba(255,255,255,0.2);
	padding: 3px 12px;
	border-radius: 12px;
	font-size: 12px;
	margin-bottom: 8px;
}

.vip-card-name {
	font-size: 18px;
	font-weight: bold;
}

.vip-card-body {
	padding: 20px 15px;
}

.vip-card-price {
	text-align: center;
	margin-bottom: 15px;
}

.vip-card-price .currency {
	font-size: 16px;
	color: #ff6b6b;
}

.vip-card-price .amount {
	font-size: 36px;
	font-weight: bold;
	color: #ff6b6b;
}

.vip-card-price .period {
	color: var(--text-muted);
	font-size: 13px;
}

.vip-card-features {
	margin-bottom: 15px;
}

.vip-feature-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	font-size: 13px;
	color: var(--text-dark);
}

.vip-feature-item i {
	color: #52c41a;
}

.vip-feature-item.disabled {
	color: var(--text-muted);
}

.vip-feature-item.disabled i {
	color: #ccc;
}

.vip-card-btn {
	display: block;
	width: 100%;
	padding: 10px;
	background: linear-gradient(135deg, #00ad35 0%, #00962d 100%);
	color: #fff;
	text-align: center;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	transition: var(--transition);
}

.vip-card-btn:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

@media (max-width: 768px) {
	.vip-home-section {
		padding: 15px;
	}
	
	.vip-home-header h2 {
		font-size: 18px;
	}
	
	.vip-home-cards {
		grid-template-columns: 1fr;
	}
}
