/* =========================================================
   Custom Layout Override — bright, clean & modern
   ========================================================= */

body {
	background: #faf5ff !important;
	background-image: none !important;
	color: #1e1b4b;
	font-family: 'Poppins', 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	min-height: 100vh;
}

/* ===== Header / Top Nav ===== */
header.main {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
	border-bottom: 4px solid #14b8a6;
	position: sticky !important;
	top: 0 !important;
	z-index: 50;
	box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

header.main .main-section {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 14px 25px !important;
	min-height: 70px;
}

header.main .menuHolder {
	position: relative !important;
	left: auto !important;
	top: auto !important;
}

header.main .menuHolder label[for="navigationTrigger"] {
	background: rgba(255, 255, 255, 0.2) !important;
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.25s ease;
}

header.main .menuHolder label[for="navigationTrigger"]:hover {
	background: rgba(255, 255, 255, 0.35) !important;
	transform: scale(1.05);
}

header.main .menuHolder nav.main {
	background: #ffffff !important;
	border: 1px solid #e9d5ff;
	margin-top: 0 !important;
	min-height: 0 !important;
	width: 240px !important;
	padding: 18px !important;
	box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
}

header.main .menuHolder nav.main ul > li a {
	color: #6d28d9 !important;
	border-bottom: 1px solid #f3e8ff !important;
	font-weight: 500;
	transition: all 0.2s ease;
}

header.main .menuHolder nav.main ul > li a:hover {
	color: #14b8a6 !important;
	padding-left: 6px;
}

/* ===== Hero banner ===== */
.hero-banner {
	background: linear-gradient(135deg, #8b5cf6 0%, #14b8a6 100%);
	border-radius: 20px;
	padding: 48px 40px;
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.hero-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 350px;
	height: 350px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hero-banner h1 {
	color: #fff !important;
	font-size: 2.8em !important;
	font-weight: 800 !important;
	text-align: left !important;
	margin-bottom: 12px !important;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-banner p {
	color: rgba(255, 255, 255, 0.95);
	font-size: 1.05em;
	text-align: left;
	margin: 0;
	max-width: 600px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* ===== Main content / sections ===== */
.content {
	background: transparent !important;
}

.content .main-section {
	background: #ffffff !important;
	border: 1px solid #ede9fe;
	border-radius: 20px;
	padding: 30px 25px !important;
	margin-top: 24px !important;
	margin-bottom: 24px !important;
	box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
}

/* ===== Section titles ===== */
h2.h1, .main-section h2.h1 {
	text-align: left !important;
	color: #1e1b4b !important;
	font-size: 1.6em !important;
	font-weight: 700 !important;
	margin-bottom: 22px !important;
	padding-bottom: 12px;
	border-bottom: 3px solid #14b8a6;
	display: flex;
	align-items: center;
	gap: 10px;
}

h2.h1 a, .main-section h2.h1 a {
	color: #1e1b4b !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

h2.h1 img, .main-section h2.h1 img {
	height: 22px !important;
	opacity: 0.95;
}

/* ===== Game grid — keep original float layout to preserve .clamp hack ===== */
ul.games {
	margin-left: -16px !important;
	margin-top: -16px !important;
	margin-bottom: 16px !important;
}

ul.games li {
	margin-top: 16px !important;
	padding-left: 16px !important;
}

ul.games li .icon {
	border: 3px solid #ffffff !important;
	border-radius: 14px !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	overflow: hidden !important;
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15) !important;
	background: #ede9fe;
}

ul.games li .icon .clamp {
	margin-bottom: 100% !important;
}

ul.games li .icon img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.4s ease;
}

ul.games li a:hover .icon {
	transform: translateY(-6px);
	border-color: #14b8a6 !important;
	box-shadow: 0 16px 32px rgba(20, 184, 166, 0.3) !important;
}

ul.games li a:hover .icon img {
	transform: scale(1.08);
}

ul.games li .name-container {
	height: auto !important;
	padding: 10px 4px 0 !important;
}

ul.games li .name {
	color: #1e1b4b !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
}

/* ===== Show all button ===== */
.btn-container {
	margin: 30px 0 10px !important;
	text-align: center !important;
}

.btn-container .btn-primary {
	background: #8b5cf6 !important;
	border-radius: 50px !important;
	padding: 14px 50px !important;
	font-weight: 600 !important;
	box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35) !important;
	transition: all 0.3s ease !important;
	color: #fff !important;
	text-decoration: none;
	display: inline-block;
}

.btn-container .btn-primary:hover {
	background: #14b8a6 !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4) !important;
}

/* ===== Footer ===== */
footer.main {
	background: #ede9fe !important;
	border-top: 3px solid #8b5cf6;
	margin-top: 50px !important;
	padding: 40px 0 !important;
}

footer.main .footer-content {
	max-width: 1100px !important;
}

footer.main .footer-content section.tags nav.main ul {
	gap: 8px;
}

footer.main .footer-content section.tags nav.main ul li a {
	background: #ffffff !important;
	border: 1px solid #d8b4fe !important;
	color: #6d28d9 !important;
	font-weight: 500 !important;
	transition: all 0.25s ease;
	padding: 10px 18px !important;
}

footer.main .footer-content section.tags nav.main ul li a:hover {
	background: #8b5cf6 !important;
	color: #fff !important;
	border-color: #8b5cf6 !important;
	transform: translateY(-2px);
}

footer.main .copyright {
	color: #6d28d9;
	font-size: 14px;
}

footer.main .copyright a {
	color: #6d28d9 !important;
	text-decoration: none;
	font-weight: 600;
}

footer.main .copyright a:hover {
	color: #14b8a6 !important;
}

/* ===== Back to top ===== */
.backToTop {
	background: #8b5cf6 !important;
	border-radius: 50% !important;
	width: 50px !important;
	height: 50px !important;
	box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4) !important;
	transition: all 0.3s ease !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.backToTop:hover {
	background: #14b8a6 !important;
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(20, 184, 166, 0.5) !important;
}

/* ===== Responsive ===== */
@media only screen and (max-width: 1000px) {
	.hero-banner {
		padding: 35px 25px;
	}
	.hero-banner h1 {
		font-size: 2.2em !important;
	}
}

@media only screen and (max-width: 750px) {
	header.main .main-section {
		padding: 12px 16px !important;
	}
	.content .main-section {
		padding: 20px 16px !important;
		border-radius: 16px;
	}
	.hero-banner {
		padding: 28px 20px;
	}
	.hero-banner h1 {
		font-size: 1.8em !important;
	}
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track {
	background: #f3e8ff;
}
::-webkit-scrollbar-thumb {
	background: #8b5cf6;
	border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
	background: #7c3aed;
}
