:root {
	--primary-color: #667eea;
	--primary-dark: #764ba2;
	--primary-light: #8b9cf7;
	--accent-color: #ffd700;
	--text-dark: #333333;
	--text-light: #666666;
	--text-muted: #999999;
	--bg-light: #f5f7fa;
	--bg-white: #ffffff;
	--border-color: #e8e8e8;
	--shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
	--shadow-md: 0 4px 20px rgba(0,0,0,0.12);
	--shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
	--border-radius: 8px;
	--transition: all 0.3s 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: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
	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);
}

.game-container {
	max-width: 1400px;
	margin: 0 auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 0;
	box-shadow: var(--shadow-md);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
}

.logo a i {
	font-size: 24px;
	color: var(--accent-color);
}

.mobile-menu-toggle {
	display: none;
}

.main-nav ul {
	list-style: none;
	display: flex;
	gap: 5px;
	align-items: center;
}

.main-nav a {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 8px 15px;
	color: rgba(255,255,255,0.9);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: var(--border-radius);
	transition: var(--transition);
}

.main-nav a:hover,
.main-nav li.active a {
	background: rgba(255,255,255,0.2);
	color: #fff;
}

.main-nav a i {
	font-size: 12px;
	color: var(--accent-color);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.btn-login, .btn-register {
	padding: 6px 15px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 5px;
}

.btn-login {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.5);
	color: #fff;
}

.btn-login:hover {
	background: rgba(255,255,255,0.1);
	border-color: #fff;
}

.btn-register {
	background: var(--accent-color);
	color: var(--primary-dark);
}

.btn-register:hover {
	background: #ffed4a;
}

.user-menu {
	position: relative;
}

.user-avatar {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	padding: 5px 10px;
	border-radius: 20px;
	background: rgba(255,255,255,0.1);
	cursor: pointer;
}

.user-avatar img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.user-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 8px;
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-lg);
	min-width: 150px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: var(--transition);
	z-index: 100;
}

.user-menu:hover .user-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.user-dropdown a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 15px;
	color: var(--text-dark);
	font-size: 13px;
}

.user-dropdown a:hover {
	background: var(--bg-light);
	color: var(--primary-color);
}

.user-dropdown a i {
	font-size: 12px;
	color: var(--primary-color);
}

.breadcrumb {
	background: #fff;
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color);
}

.breadcrumb-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
}

.breadcrumb a {
	color: var(--text-light);
}

.breadcrumb a:hover {
	color: var(--primary-color);
}

.breadcrumb .separator {
	color: var(--text-muted);
}

.game-content {
	display: flex;
	gap: 30px;
	padding: 30px;
	flex: 1;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

.game-main {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
}

.game-detail {
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--shadow-md);
	overflow: hidden;
	max-width: 100%;
	width: 100%;
	min-width: 0;
}

.game-hero {
	display: flex;
	gap: 30px;
	padding: 30px;
	background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
	border-bottom: 3px solid var(--primary-color);
}

.game-cover-large {
	width: 200px;
	flex-shrink: 0;
}

.game-cover-large img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: var(--shadow-md);
}

.game-hero-info {
	flex: 1;
	min-width: 0;
}

.game-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 15px;
	line-height: 1.3;
}

.game-meta-info {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 15px;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--text-light);
}

.meta-item i {
	color: var(--primary-color);
	font-size: 13px;
}

.meta-item a {
	color: var(--text-light);
}

.meta-item a:hover {
	color: var(--primary-color);
}

.game-brief {
	font-size: 15px;
	color: var(--text-light);
	line-height: 1.8;
	padding: 15px;
	background: var(--bg-light);
	border-radius: var(--border-radius);
	border-left: 3px solid var(--primary-color);
}

.m-center-tab {
	display: flex;
	background: #fff;
	border-radius: 12px;
	padding: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	gap: 5px;
	overflow-x: auto;
}

.m-center-tab li {
	flex: 1;
	min-width: 100px;
	text-align: center;
	padding: 12px 15px;
	cursor: pointer;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #666;
	transition: all 0.3s ease;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.m-center-tab li i {
	font-size: 14px;
}

.m-center-tab li:hover {
	background: #f5f5f5;
	color: var(--primary-color);
}

.m-center-tab li.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.m-center-content {
	position: relative;
}

.m-content-panel {
	display: block;
}

.m-content-panel.hidden {
	display: none;
}

.m-content-panel.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.game-download-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 18px 30px;
	position: relative;
	overflow: hidden;
}

.download-header {
	margin-bottom: 10px;
}

.download-title {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.download-title i {
	font-size: 18px;
	color: var(--accent-color);
}

.download-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.download-buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--primary-color);
	padding: 10px 30px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: var(--transition);
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	min-width: 140px;
}

.download-buttons a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.download-buttons .no-download {
	color: rgba(255,255,255,0.8);
	font-size: 14px;
	padding: 15px;
}

.game-description {
	padding: 30px;
	background: #fff;
}

.section-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--border-color);
}

.section-title i {
	color: var(--primary-color);
	font-size: 16px;
}

.game-message {
	color: var(--text-dark);
	line-height: 1.9;
	font-size: 15px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}

.game-message p {
	margin-bottom: 15px;
}

.game-message img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 15px 0;
}

.game-message h2, .game-message h3 {
	margin: 20px 0 10px;
}

.game-message ul, .game-message ol {
	margin: 15px 0;
	padding-left: 25px;
}

.game-message a {
	color: var(--primary-color);
}

.game-tags {
	padding: 25px 30px;
	background: #fff;
	border-top: 1px solid var(--border-color);
}

.tags-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tags-title i {
	color: var(--primary-color);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-list a {
	padding: 6px 15px;
	background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	font-size: 13px;
	color: var(--text-light);
	transition: var(--transition);
}

.tag-list a:hover {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}

.related-games {
	padding: 30px;
	background: #fff;
	border-top: 1px solid var(--border-color);
}

.related-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 20px;
}

.related-game-item {
	text-align: center;
}

.related-game-item img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 10px;
	transition: var(--transition);
}

.related-game-item:hover img {
	transform: scale(1.05);
}

.related-game-item h3 {
	font-size: 13px;
	font-weight: 500;
}

.related-game-item h3 a {
	color: var(--text-dark);
}

.related-game-item h3 a:hover {
	color: var(--primary-color);
}

.game-comments {
	padding: 30px;
	background: #fff;
	border-top: 1px solid var(--border-color);
}

.game-sidebar {
	width: 300px;
	flex-shrink: 0;
}

.widget-box {
	background: #fff;
	border-radius: var(--border-radius);
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.widget-header {
	padding: 12px 15px;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
}

.widget-header i {
	font-size: 13px;
	color: var(--accent-color);
}

.widget-body {
	padding: 15px;
}

.search-box {
	display: flex;
	gap: 8px;
}

.search-box input {
	flex: 1;
	padding: 8px 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: 36px;
	height: 36px;
	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);
}

.widget-list {
	list-style: none;
}

.widget-list li {
	padding: 10px 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 li:nth-child(1) .num {
	background: #ff6b6b;
	color: #fff;
}

.widget-list li:nth-child(2) .num {
	background: #ffa94d;
	color: #fff;
}

.widget-list li:nth-child(3) .num {
	background: #ffd43b;
	color: #fff;
}

.widget-list img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 6px;
}

.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: 15px;
	font-size: 12px;
	color: var(--text-light);
	transition: var(--transition);
}

.hot-tags a:hover {
	background: var(--primary-color);
	color: #fff;
}

.stats-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stats-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	background: var(--bg-light);
	border-radius: var(--border-radius);
}

.stats-label {
	font-size: 13px;
	color: var(--text-light);
}

.stats-value {
	font-size: 16px;
	font-weight: 600;
	color: var(--primary-color);
}

.site-footer {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: rgba(255,255,255,0.9);
	padding-top: 40px;
	margin-top: auto;
}

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

.footer-main {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-section h4.footer-title {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 15px;
}

.footer-logo h3 {
	font-size: 20px;
	color: #fff;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-logo h3 i {
	color: var(--accent-color);
}

.footer-tagline {
	font-size: 13px;
	color: rgba(255,255,255,0.7);
	margin-bottom: 15px;
}

.footer-social {
	display: flex;
	gap: 10px;
}

.social-link {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	color: #fff;
	font-size: 16px;
	transition: var(--transition);
}

.social-link:hover {
	background: var(--accent-color);
	color: var(--primary-dark);
}

.footer-section .nav-list {
	list-style: none;
}

.footer-section .nav-list li {
	margin-bottom: 10px;
}

.footer-section .nav-list a {
	color: rgba(255,255,255,0.7);
	font-size: 13px;
}

.footer-section .nav-list a:hover {
	color: var(--accent-color);
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.contact-item i {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	color: var(--accent-color);
	font-size: 12px;
}

.footer-bottom {
	padding: 20px 0;
}

.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.footer-links-bar {
	display: flex;
	gap: 20px;
}

.footer-links-bar a {
	color: rgba(255,255,255,0.7);
	font-size: 13px;
}

.footer-links-bar a:hover {
	color: #fff;
}

.footer-stats {
	display: flex;
	gap: 25px;
}

.footer-stats .stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.footer-stats .stat-label {
	font-size: 12px;
	color: rgba(255,255,255,0.6);
}

.footer-stats .stat-value {
	font-size: 18px;
	font-weight: 600;
	color: var(--accent-color);
}

.footer-copyright {
	text-align: center;
	padding-top: 15px;
	border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright p {
	font-size: 13px;
	color: rgba(255,255,255,0.6);
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 45px;
	height: 45px;
	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);
}

@media (max-width: 1200px) {
	.game-content {
		padding: 20px;
	}
	
	.game-hero {
		gap: 20px;
		padding: 20px;
	}
	
	.game-cover-large {
		width: 180px;
	}
	
	.footer-main {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 992px) {
	.game-content {
		flex-direction: column;
	}
	
	.game-sidebar {
		width: 100%;
	}
	
	.game-hero {
		flex-direction: column;
	}
	
	.game-cover-large {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
	}
	
	.game-cover-large img {
		height: 250px;
	}
	
	.footer-main {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	
	.footer-bottom-content {
		flex-direction: column;
		gap: 15px;
	}
}

@media (max-width: 768px) {
	.header-inner {
		padding: 10px 15px;
		flex-wrap: wrap;
	}
	
	.mobile-menu-toggle {
		display: block;
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
		background: transparent;
		border: none;
		padding: 8px;
		cursor: pointer;
		z-index: 1001;
	}
	
	.mobile-menu-toggle .icon-bar {
		display: block;
		width: 22px;
		height: 2px;
		background: #fff;
		border-radius: 1px;
		margin: 4px 0;
		transition: var(--transition);
	}
	
	.mobile-menu-toggle.active .icon-bar:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	
	.mobile-menu-toggle.active .icon-bar:nth-child(2) {
		opacity: 0;
	}
	
	.mobile-menu-toggle.active .icon-bar:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}
	
	.main-nav {
		display: none;
		width: 100%;
		order: 3;
		margin-top: 10px;
	}
	
	.main-nav.active {
		display: block;
	}
	
	.main-nav ul {
		flex-direction: column;
		width: 100%;
	}
	
	.main-nav li {
		width: 100%;
	}
	
	.main-nav a {
		width: 100%;
		padding: 12px 15px;
		border-radius: 0;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	
	.header-actions {
		order: 2;
		margin-left: auto;
		margin-right: 50px;
	}
	
	.game-content {
		padding: 15px;
	}
	
	.game-title {
		font-size: 22px;
	}
	
	.game-meta-info {
		gap: 12px;
	}
	
	.download-buttons {
		flex-direction: column;
	}
	
	.download-buttons a {
		width: 100%;
	}
	
	.related-list {
		grid-template-columns: repeat(2, 1fr) !important;
		display: grid !important;
		gap: 15px !important;
		min-width: 0 !important;
	}
	
	.related-game-item.hide-mobile {
		display: none !important;
	}
	
	.related-game-item {
		display: block !important;
		min-width: 0 !important;
	}
	
	.related-games {
		padding: 20px 15px !important;
		display: block !important;
		visibility: visible !important;
		overflow: visible !important;
	}
	
	.related-game-item img {
		height: 100px;
	}
	
	.related-game-item h3 {
		font-size: 12px;
	}
	
	.m-center-tab {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 6px;
		margin-bottom: 15px;
	}
	
	.m-center-tab li {
		min-width: 80px;
		padding: 10px 12px;
		font-size: 13px;
		white-space: nowrap;
	}
	
	.m-center-tab li i {
		font-size: 12px;
	}
	
	.m-content-panel {
		display: block !important;
		visibility: visible !important;
		overflow: visible !important;
	}
	
	.m-content-panel.hidden {
		display: none !important;
	}
	
	.game-detail {
		overflow: visible !important;
	}
	
	.game-main {
		overflow: visible !important;
	}
}

.page-header {
	background: #fff;
	padding: 25px 30px;
	border-radius: var(--border-radius);
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm);
}

.page-header h1 {
	font-size: 24px;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.page-desc {
	color: var(--text-light);
	font-size: 14px;
	line-height: 1.6;
}

.game-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.game-item {
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	display: flex;
	gap: 20px;
	padding: 20px;
	transition: var(--transition);
}

.game-item:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.game-item .game-cover {
	width: 180px;
	flex-shrink: 0;
}

.game-item .game-cover img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 6px;
}

.game-item .game-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.game-item .game-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.4;
}

.game-item .game-title a {
	color: var(--text-dark);
}

.game-item .game-title a:hover {
	color: var(--primary-color);
}

.game-item .game-brief {
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.6;
	margin-bottom: 10px;
}

.game-item .game-meta {
	display: flex;
	gap: 15px;
	font-size: 13px;
	color: var(--text-muted);
}

.game-item .game-meta a {
	color: var(--text-muted);
}

.game-item .game-meta a:hover {
	color: var(--primary-color);
}

.game-item .game-meta i {
	margin-right: 4px;
}

.no-games {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border-radius: var(--border-radius);
	color: var(--text-muted);
}

.no-games i {
	font-size: 60px;
	margin-bottom: 20px;
	opacity: 0.3;
}

.no-games p {
	font-size: 16px;
	margin: 0;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 30px 0;
	padding: 20px;
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: var(--transition);
}

.pagination a {
	background: #f5f7fa;
	color: var(--text-dark);
	border: 1px solid var(--border-color);
}

.pagination a:hover {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}

.pagination span.active {
	background: var(--primary-color);
	color: #fff;
	border: 1px solid var(--primary-color);
}

.pagination span.disabled {
	background: #f5f7fa;
	color: var(--text-muted);
	border: 1px solid var(--border-color);
	cursor: not-allowed;
	opacity: 0.5;
}

@media (max-width: 768px) {
	.pagination {
		flex-wrap: wrap;
		gap: 6px;
	}
	
	.pagination a,
	.pagination span {
		min-width: 36px;
		height: 36px;
		font-size: 13px;
		padding: 0 10px;
	}
}

.game-screenshots {
	padding: 30px;
	background: #fff;
	border-top: 1px solid var(--border-color);
}

.m-previmg-box {
	position: relative;
	overflow: hidden;
}

.screenshot-list {
	display: flex;
	gap: 15px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 10px 0;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) var(--bg-light);
}

.screenshot-list::-webkit-scrollbar {
	height: 6px;
}

.screenshot-list::-webkit-scrollbar-track {
	background: var(--bg-light);
	border-radius: 3px;
}

.screenshot-list::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 3px;
}

.screenshot-item {
	flex-shrink: 0;
	width: 200px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	cursor: pointer;
}

.screenshot-item:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.screenshot-item img {
	width: 100%;
	height: 175px;
	object-fit: cover;
	display: block;
	transition: var(--transition);
}

.screenshot-item:hover img {
	transform: scale(1.02);
}

.screenshot-link {
	display: block;
	position: relative;
}

.screenshot-link::after {
	content: '\f00e';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	background: rgba(102, 126, 234, 0.9);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	opacity: 0;
	transition: var(--transition);
}

.screenshot-item:hover .screenshot-link::after {
	opacity: 1;
}

.screenshot-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 5px;
	pointer-events: none;
}

.screenshot-nav button {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.95);
	border: none;
	border-radius: 50%;
	color: var(--primary-color);
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-md);
	pointer-events: auto;
	opacity: 0;
}

.game-screenshots:hover .screenshot-nav button {
	opacity: 1;
}

.screenshot-nav button:hover {
	background: var(--primary-color);
	color: #fff;
	transform: scale(1.1);
}

.screenshot-nav button:active {
	transform: scale(0.95);
}

.lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

.lightbox-overlay.active {
	display: flex;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 8px;
}

.lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}

.lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
	left: -70px;
}

.lightbox-next {
	right: -70px;
}

.lightbox-counter {
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}

@media (max-width: 768px) {
	.game-screenshots {
		padding: 20px 15px;
	}
	
	.screenshot-item {
		width: 160px;
	}
	
	.screenshot-item img {
		height: 140px;
	}
	
	.screenshot-nav button {
		width: 32px;
		height: 32px;
		font-size: 12px;
		opacity: 1;
	}
	
	.lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	
	.lightbox-prev {
		left: 10px;
	}
	
	.lightbox-next {
		right: 10px;
	}
}

.category-nav {
	background: #fff;
	border-radius: 12px;
	padding: 15px 20px;
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm);
}

.category-nav-inner {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.category-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: var(--bg-light);
	border-radius: 20px;
	font-size: 13px;
	color: var(--text-light);
	transition: var(--transition);
}

.category-item:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.category-item.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.category-item i {
	font-size: 12px;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-header h2 i {
	color: #ff6b6b;
	font-size: 16px;
}

.game-count {
	font-size: 13px;
	color: var(--text-muted);
}

.index-content {
	padding: 20px;
	max-width: 100%;
}

.index-section {
	background: #fff;
	border-radius: 10px;
	padding: 15px 20px;
	margin-bottom: 15px;
	box-shadow: var(--shadow-sm);
}

.section-title-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border-color);
}

.section-title-bar h2 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 6px;
}

.section-title-bar h2 i {
	font-size: 14px;
	color: var(--primary-color);
}

.game-total {
	font-size: 12px;
	color: var(--text-muted);
}

.more-link {
	font-size: 13px;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 3px;
	transition: var(--transition);
}

.more-link:hover {
	color: var(--primary-color);
}

.more-link i {
	font-size: 12px;
}

.tab-menu {
	display: flex;
	gap: 5px;
}

.tab-item {
	padding: 4px 12px;
	font-size: 12px;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: 12px;
	transition: var(--transition);
}

.tab-item:hover {
	color: var(--primary-color);
	background: var(--bg-light);
}

.tab-item.active {
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tab-content {
	position: relative;
}

.tab-panel {
	display: none;
}

.tab-panel.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.category-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cat-tag {
	padding: 6px 14px;
	background: var(--bg-light);
	border-radius: 15px;
	font-size: 13px;
	color: var(--text-light);
	transition: var(--transition);
}

.cat-tag:hover {
	background: var(--primary-color);
	color: #fff;
}

.cat-tag.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.hot-tags-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-cloud-item {
	padding: 5px 12px;
	background: var(--bg-light);
	border-radius: 4px;
	font-size: 12px;
	color: var(--text-muted);
	transition: var(--transition);
}

.tag-cloud-item:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.index-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 10px;
}

.index-game-card {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: var(--transition);
	text-decoration: none;
	display: block;
	border: 1px solid #eee;
}

.index-game-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	border-color: var(--primary-color);
}

.index-card-cover {
	position: relative;
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
	background: var(--bg-light);
}

.index-card-cover img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.index-game-card:hover .index-card-cover img {
	transform: scale(1.05);
}

.index-card-info {
	padding: 6px;
}

.index-card-title {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-dark);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

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

.index-card-cat {
	font-size: 10px;
	color: var(--text-muted);
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 3px;
}

.index-no-games {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: var(--text-muted);
}

.index-no-games i {
	font-size: 48px;
	margin-bottom: 15px;
	opacity: 0.5;
}

.index-no-games p {
	font-size: 15px;
}

.pagination-wrapper {
	margin-top: 20px;
	text-align: center;
}

.hot-game-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hot-game-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	background: var(--bg-light);
	border-radius: 8px;
	transition: var(--transition);
	text-decoration: none;
}

.hot-game-item:hover {
	background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
	box-shadow: var(--shadow-sm);
}

.rank-num {
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	background: var(--border-color);
	color: var(--text-muted);
	flex-shrink: 0;
}

.rank-1 {
	background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
	color: #fff;
}

.rank-2 {
	background: linear-gradient(135deg, #ffa94d, #ff922b);
	color: #fff;
}

.rank-3 {
	background: linear-gradient(135deg, #ffd43b, #fab005);
	color: #fff;
}

.hot-game-item img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.hot-game-info {
	flex: 1;
	min-width: 0;
}

.hot-game-name {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-dark);
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

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

.hot-game-views {
	font-size: 11px;
	color: var(--text-muted);
}

.hero-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 40px 30px;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.hero-bg-shapes {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	pointer-events: none;
}

.hero-bg-shapes .shape {
	position: absolute;
	border-radius: 50%;
	opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
	width: 400px;
	height: 400px;
	background: #fff;
	top: -100px;
	right: -100px;
	animation: float 8s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
	width: 300px;
	height: 300px;
	background: #fff;
	bottom: -50px;
	left: -50px;
	animation: float 6s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
	width: 200px;
	height: 200px;
	background: #fff;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes pulse {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
	50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.15; }
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-icon {
	width: 60px;
	height: 60px;
	background: rgba(255,255,255,0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
	backdrop-filter: blur(10px);
}

.hero-icon i {
	font-size: 24px;
	color: var(--accent-color);
}

.hero-section h1 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 10px;
}

.hero-subtitle {
	font-size: 14px;
	opacity: 0.9;
	margin-bottom: 20px;
}

.hero-search {
	max-width: 500px;
	margin: 0 auto;
}

.hero-search form {
	display: flex;
	gap: 10px;
	background: rgba(255,255,255,0.15);
	border-radius: 30px;
	padding: 5px;
	backdrop-filter: blur(10px);
}

.hero-search input {
	flex: 1;
	padding: 12px 20px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 14px;
}

.hero-search input::placeholder {
	color: rgba(255,255,255,0.7);
}

.hero-search input:focus {
	outline: none;
}

.hero-search button {
	padding: 12px 25px;
	background: var(--accent-color);
	color: var(--primary-dark);
	border: none;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 5px;
}

.hero-search button:hover {
	background: #ffed4a;
}

@media (max-width: 768px) {
	.index-content {
		padding: 15px;
	}
	
	.index-section {
		padding: 12px 15px;
	}
	
	.index-card-grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 8px;
	}
	
	.index-card-info {
		padding: 5px;
	}
	
	.index-card-title {
		font-size: 11px;
	}
	
	.section-title-bar h2 {
		font-size: 14px;
	}
	
	.cat-tag {
		padding: 5px 10px;
		font-size: 12px;
	}
	
	.tag-cloud-item {
		padding: 4px 10px;
		font-size: 11px;
	}
	
	.hero-section {
		padding: 25px 15px;
	}
	
	.hero-section h1 {
		font-size: 20px;
	}
	
	.hero-subtitle {
		font-size: 12px;
		margin-bottom: 15px;
	}
	
	.hero-search form {
		flex-direction: column;
		border-radius: 12px;
		padding: 8px;
	}
	
	.hero-search input {
		padding: 10px 15px;
		text-align: center;
	}
	
	.hero-search button {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.index-card-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 6px;
	}
	
	.index-game-card {
		border-radius: 4px;
	}
	
	.index-card-info {
		padding: 4px;
	}
	
	.index-card-title {
		font-size: 10px;
	}
	
	.index-card-cat {
		font-size: 9px;
	}
}

.section-header {
	margin-bottom: 12px;
}

.listtab-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--border-color);
}

.listtab-wrapper .listtab {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.more-link-right {
	position: absolute;
	right: 20px;
	top: 15px;
}

.section-header {
	position: relative;
}

.listtab {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--border-color);
}

.listtab-item {
	padding: 4px 12px;
	font-size: 12px;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: 12px;
	transition: var(--transition);
	background: var(--bg-light);
}

.listtab-item:hover {
	color: var(--primary-color);
	background: #e8ecff;
}

.listtab-item.active {
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.forum-section.layout-vertical .forum-content {
	overflow: hidden;
}

.vertical-layout {
	display: flex;
	gap: 15px;
}

.vertical-main {
	flex: 0 0 45%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vertical-side {
	flex: 1;
	min-width: 0;
}

.vertical-featured {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	text-decoration: none;
	background: #fff;
	border: 1px solid #eee;
}

.vertical-featured:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	border-color: var(--primary-color);
}

.vertical-featured .featured-cover {
	position: relative;
	width: 100%;
	padding-top: 75%;
	overflow: hidden;
	background: var(--bg-light);
}

.vertical-featured .featured-cover img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.vertical-featured:hover .featured-cover img {
	transform: scale(1.05);
}

.vertical-featured .featured-info {
	padding: 10px;
}

.vertical-featured .featured-info h3 {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vertical-featured:hover .featured-info h3 {
	color: var(--primary-color);
}

.vertical-featured .featured-cat {
	font-size: 11px;
	color: var(--text-muted);
}

.vertical-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vertical-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	background: #fff;
	border-radius: 8px;
	transition: var(--transition);
	text-decoration: none;
	border: 1px solid #eee;
}

.vertical-item:hover {
	background: var(--bg-light);
	border-color: var(--primary-color);
}

.vertical-item .item-cover {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	border-radius: 6px;
	overflow: hidden;
	background: var(--bg-light);
}

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

.vertical-item .item-info {
	flex: 1;
	min-width: 0;
}

.vertical-item .item-info h4 {
	font-size: 13px;
	font-weight: 500;
	color: var(--text-dark);
	margin-bottom: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vertical-item:hover .item-info h4 {
	color: var(--primary-color);
}

.vertical-item .item-info span {
	font-size: 11px;
	color: var(--text-muted);
}

.small-grid {
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 8px;
}

.small-grid .index-game-card {
	border-radius: 4px;
}

.small-grid .index-card-info {
	padding: 5px;
}

.small-grid .index-card-title {
	font-size: 11px;
}

.small-grid .index-card-cat {
	font-size: 9px;
}

@media (max-width: 900px) {
	.vertical-layout {
		flex-direction: column;
	}
	
	.vertical-main {
		flex: none;
	}
	
	.vertical-featured {
		max-width: 300px;
		margin: 0 auto;
	}
	
	.vertical-list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
	}
	
	.vertical-item {
		flex: 1;
		min-width: 150px;
		max-width: calc(50% - 5px);
	}
}

@media (max-width: 600px) {
	.vertical-item {
		max-width: 100%;
	}
	
	.listtab {
		gap: 4px;
	}
	
	.listtab-item {
		padding: 3px 10px;
		font-size: 11px;
	}
}

.rank-sections {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-top: 15px;
	overflow: hidden;
}

.rank-box {
	background: #fff;
	border-radius: 10px;
	padding: 12px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.rank-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--primary-color);
}

.rank-header h3 {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 5px;
}

.rank-header h3 i {
	font-size: 13px;
	color: var(--primary-color);
}

.rank-more {
	font-size: 12px;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 2px;
}

.rank-more:hover {
	color: var(--primary-color);
}

.rank-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rank-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border-radius: 5px;
	transition: var(--transition);
	text-decoration: none;
}

.rank-item:hover {
	background: var(--bg-light);
}

.rank-num {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	background: var(--border-color);
	color: var(--text-muted);
	flex-shrink: 0;
}

.rank-top-1 {
	background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
	color: #fff;
}

.rank-top-2 {
	background: linear-gradient(135deg, #ffa94d, #ff922b);
	color: #fff;
}

.rank-top-3 {
	background: linear-gradient(135deg, #ffd43b, #fab005);
	color: #fff;
}

.rank-item img {
	width: 36px;
	height: 36px;
	border-radius: 5px;
	object-fit: cover;
	flex-shrink: 0;
	background: var(--bg-light);
}

.rank-info {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.rank-info h4 {
	font-size: 12px;
	font-weight: 500;
	color: var(--text-dark);
	margin-bottom: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rank-item:hover .rank-info h4 {
	color: var(--primary-color);
}

.rank-cat {
	font-size: 10px;
	color: var(--text-muted);
}

.rank-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.rank-tag-item {
	padding: 4px 10px;
	background: var(--bg-light);
	border-radius: 3px;
	font-size: 11px;
	color: var(--text-muted);
	transition: var(--transition);
}

.rank-tag-item:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

@media (max-width: 1200px) {
	.rank-sections {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.rank-sections {
		grid-template-columns: 1fr;
	}
	
	.rank-box {
		padding: 10px;
	}
	
	.rank-header h3 {
		font-size: 13px;
	}
	
	.rank-item img {
		width: 32px;
		height: 32px;
	}
	
	.rank-info h4 {
		font-size: 11px;
	}
}
