* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg-primary: #0a0e1a;
	--bg-secondary: #141829;
	--bg-card: #1a1f35;
	--bg-hover: #242b45;
	--accent-primary: #00d9ff;
	--accent-secondary: #5865f2;
	--text-primary: #ffffff;
	--text-secondary: #a0a8c0;
	--border-color: #2a3150;
	--gradient-purple: linear-gradient(135deg, #5b3f8f 0%, #2d1b4e 100%);
	--gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
}

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: 240px;
	height: 100vh;
	background: var(--bg-secondary);
	border-right: 1px solid var(--border-color);
	overflow-y: auto;
	z-index: 1000;
	transition: transform 0.3s ease;
}

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

.logo-text {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 2px;
	background: linear-gradient(
		135deg,
		var(--accent-primary),
		var(--accent-secondary)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.close-menu {
	display: none;
	background: none;
	border: none;
	color: var(--text-primary);
	font-size: 24px;
	cursor: pointer;
	padding: 5px;
}

.sidebar-nav {
	padding: 20px 0;
}

.nav-section {
	margin-bottom: 30px;
}

.nav-title {
	padding: 0 20px;
	margin-bottom: 10px;
	font-size: 11px;
	text-transform: uppercase;
	color: var(--text-secondary);
	font-weight: 600;
	letter-spacing: 1px;
}

.nav-link {
	display: flex;
	align-items: center;
	padding: 12px 20px;
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.2s ease;
	font-size: 14px;
}

.nav-link:hover {
	background: var(--bg-hover);
	color: var(--text-primary);
}

.nav-link.active {
	background: var(--bg-hover);
	color: var(--accent-primary);
	border-left: 3px solid var(--accent-primary);
}

.nav-icon {
	margin-right: 12px;
	font-size: 18px;
}

.overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 999;
}

.main-content {
	margin-left: 240px;
	min-height: 100vh;
}

.header {
	position: sticky;
	top: 0;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border-color);
	padding: 15px 30px;
	display: flex;
	align-items: center;
	gap: 20px;
	z-index: 100;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.hamburger span {
	width: 24px;
	height: 2px;
	background: var(--text-primary);
	transition: all 0.3s ease;
}

.header-logo {
	display: none;
}

.header-actions {
	display: flex;
	gap: 12px;
	margin-left: auto;
}

.btn-login,
.btn-register {
	padding: 10px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.btn-login {
	background: transparent;
	color: var(--text-primary);
	border: 1px solid var(--border-color);
}

.btn-login:hover {
	background: var(--bg-hover);
}

.btn-register {
	background: var(--accent-primary);
	color: var(--bg-primary);
	border: 1px solid var(--accent-primary);
}

.btn-register:hover {
	background: #00b8d4;
}

.hero-carousel {
	padding: 30px;
}

.carousel-container {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
}

.carousel-track {
	display: flex;
	overflow: hidden;
	border-radius: 16px;
}

.carousel-slide {
	min-width: 100%;
	display: none;
	/* Using background image with positioning */
	background-image: linear-gradient(
		135deg,
		#6b3fa0 0%,
		#2d1b4e 50%,
		#1a0f33 100%
	);
	background-size: cover;
	background-position: center;
	padding: 50px 60px;
	position: relative;
	overflow: hidden;
}

/* Added specific background images for each slide */
.carousel-slide.slide-1 {
	background-image: linear-gradient(
			135deg,
			rgba(107, 63, 160, 0.3) 0%,
			rgba(45, 27, 78, 0.3) 50%,
			rgba(26, 15, 51, 0.3) 100%
		),
		url('img/Bonus-Store-scaled.webp');
	background-position: right center;
}

.carousel-slide.slide-2 {
	background-image: linear-gradient(
			135deg,
			rgba(107, 63, 160, 0.3) 0%,
			rgba(45, 27, 78, 0.3) 50%,
			rgba(26, 15, 51, 0.3) 100%
		),
		url('img/Lootboxes-scaled.webp');
	background-position: right center;
}

.carousel-slide.active {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 40px;
}
a {
	text-decoration: none;
}

.slide-content {
	flex: 1;
	z-index: 2;
	max-width: 500px;
}

.slide-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(0, 217, 255, 0.15);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 24px;
	color: var(--accent-primary);
	border: 1px solid rgba(0, 217, 255, 0.3);
}

.slide-text {
	margin-bottom: 32px;
}

.slide-small-title {
	font-size: 24px;
	font-weight: 400;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.9);
}

.slide-main-title {
	font-size: 48px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -1px;
}

.slide-cta {
	display: inline-block;
	padding: 14px 40px;
	background: var(--accent-primary);
	color: var(--bg-primary);
	text-decoration: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.2s ease;
}

.slide-cta:hover {
	background: #00b8d4;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 217, 255, 0.4);
}

.slide-image {
	/* Removed slide-image as it's now in the background */
	display: none;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--text-primary);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 3;
	opacity: 0.5;
}

.carousel-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
	opacity: 1;
}

.carousel-btn.prev {
	left: 20px;
}

.carousel-btn.next {
	right: 20px;
}

.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.carousel-dot.active {
	background: var(--accent-primary);
	width: 24px;
	border-radius: 4px;
}

.game-categories {
	padding: 0 30px 20px;
}

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

.category-tabs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
	display: none;
}

.category-tab {
	padding: 12px 24px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.category-tab:hover {
	background: var(--bg-hover);
	color: var(--text-primary);
}

.category-tab.active {
	background: var(--accent-primary);
	color: var(--bg-primary);
	border-color: var(--accent-primary);
}

.games-section {
	padding: 30px;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.section-title-text {
	font-size: 28px;
	font-weight: 700;
}

.section-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.games-count {
	color: var(--text-secondary);
	font-size: 14px;
}

.nav-arrow {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	font-size: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nav-arrow:hover {
	background: var(--bg-hover);
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.game-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

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

.game-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
	opacity: 1;
}

.game-card:hover {
	transform: translateY(-4px);
}

.play-btn {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--accent-primary);
	color: var(--bg-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.game-provider {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.8);
	padding: 6px;
	border-radius: 6px;
	font-size: 10px;
	text-align: center;
	color: var(--text-secondary);
	font-weight: 600;
}

.text-content {
	padding: 60px 30px;
	background: var(--bg-secondary);
}

.content-title-text {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 40px;
	text-align: center;
}

.text-block {
	max-width: 900px;
	margin: 0 auto;
}

.text-block h2 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--accent-primary);
}

.text-block h3 {
	font-size: 22px;
	font-weight: 700;
	margin: 30px 0 15px;
}

.text-block p {
	font-size: 16px;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 20px;
}

.text-block ul {
	margin: 20px 0;
	list-style: none;
}

.text-block li {
	font-size: 16px;
	line-height: 1.8;
	color: var(--text-secondary);
	padding: 10px 0;
	border-bottom: 1px solid var(--border-color);
}

.text-block li:last-child {
	border-bottom: none;
}

/* Added table styles for text-block */
.text-block table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	background: var(--bg-card);
	border-radius: 8px;
	overflow: hidden;
}

.text-block thead {
	background: var(--bg-hover);
}

.text-block th {
	padding: 12px 16px;
	text-align: left;
	font-weight: 700;
	font-size: 14px;
	color: var(--accent-primary);
	border-bottom: 2px solid var(--border-color);
}

.text-block td {
	padding: 12px 16px;
	font-size: 15px;
	color: var(--text-secondary);
	border-bottom: 1px solid var(--border-color);
}

.text-block tr:last-child td {
	border-bottom: none;
}

.text-block tbody tr {
	transition: background 0.2s ease;
}

.text-block tbody tr:hover {
	background: var(--bg-hover);
}

.text-block a {
	color: var(--accent-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

.text-block a:hover {
	color: #00b8d4;
	text-decoration: underline;
}

.text-block strong,
.text-block b {
	color: var(--text-primary);
	font-weight: 700;
}

.text-block em,
.text-block i {
	font-style: italic;
	color: var(--text-secondary);
}

.text-block code {
	background: var(--bg-card);
	padding: 2px 6px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	color: var(--accent-primary);
}

.text-block blockquote {
	margin: 20px 0;
	padding: 15px 20px;
	border-left: 4px solid var(--accent-primary);
	background: var(--bg-card);
	border-radius: 4px;
	font-style: italic;
	color: var(--text-secondary);
}

.text-block ol {
	margin: 20px 0;
	padding-left: 20px;
	list-style: decimal;
}

.text-block ol li {
	padding: 8px 0;
	border-bottom: 1px solid var(--border-color);
}

.text-block ol li:last-child {
	border-bottom: none;
}

.providers-section {
	padding: 60px 30px;
}

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

.provider-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	cursor: pointer;
}

.provider-card:hover {
	background: var(--bg-hover);
	transform: translateY(-2px);
}

.provider-card img {
	max-width: 100%;
	height: auto;
	filter: grayscale(100%) brightness(1.5);
	transition: filter 0.2s ease;
}

.provider-card:hover img {
	filter: grayscale(0%) brightness(1);
}

.footer {
	background: var(--bg-secondary);
	border-top: 1px solid var(--border-color);
	padding: 60px 30px 30px;
}

.footer-top {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 60px;
	margin-bottom: 40px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.partner-btn {
	display: inline-block;
	padding: 12px 24px;
	background: var(--accent-primary);
	color: var(--bg-primary);
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	text-align: center;
	transition: all 0.2s ease;
}

.partner-btn:hover {
	background: #00b8d4;
}

.footer-badges {
	display: flex;
	gap: 15px;
	align-items: center;
}

.badge {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bg-card);
	border: 2px solid var(--accent-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 12px;
}

.license-badge {
	height: 40px;
}

.social-icon {
	font-size: 24px;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

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

.footer-column a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s ease;
}

.footer-column a:hover {
	color: var(--accent-primary);
}

.payment-methods {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: center;
	justify-content: center;
	padding: 30px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 30px;
}

.payment-methods svg {
	height: 30px;
	width: min-content;
	filter: grayscale(100%) brightness(1.5);
	transition: filter 0.2s ease;
}

.payment-methods img:hover {
	filter: grayscale(0%) brightness(1);
}

.footer-disclaimer {
	text-align: center;
	color: var(--text-secondary);
	font-size: 14px;
	margin-bottom: 20px;
	line-height: 1.8;
}

.footer-legal {
	text-align: center;
	color: var(--text-secondary);
	font-size: 11px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.footer-copyright {
	text-align: center;
	color: var(--text-secondary);
	font-size: 12px;
}

@media (max-width: 1024px) {
	.sidebar {
		transform: translateX(-100%);
	}

	.sidebar.active {
		transform: translateX(0);
	}

	.close-menu {
		display: block;
	}

	.overlay.active {
		display: block;
	}

	.main-content {
		margin-left: 0;
	}

	.hamburger {
		display: flex;
	}

	.header-logo {
		display: block;
	}

	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-links {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.header {
		padding: 15px 20px;
	}

	.header-actions {
		display: none;
	}

	.hero-carousel {
		padding: 20px;
	}

	.carousel-slide {
		padding: 40px 30px;
		flex-direction: column;
		text-align: center;
		/* Adjusted background position for mobile */
		background-position: center right;
	}

	.slide-content {
		max-width: none;
	}

	.slide-small-title {
		font-size: 20px;
	}

	.slide-main-title {
		font-size: 36px;
	}

	.slide-image {
		/* Ensure slide-image stays hidden on mobile */
		display: none;
	}

	.carousel-btn {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.game-categories {
		padding: 0 20px 20px;
	}

	.games-section,
	.providers-section {
		padding: 30px 20px;
	}

	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 12px;
	}

	.section-title-text,
	.content-title-text {
		font-size: 24px;
	}

	.text-content {
		padding: 40px 20px;
	}

	.text-block .text-block-title {
		font-size: 22px;
	}

	.text-block .text-block-subtitle {
		font-size: 18px;
	}

	/* Made tables responsive */
	.text-block table {
		font-size: 13px;
	}

	.text-block th,
	.text-block td {
		padding: 10px 12px;
	}

	.providers-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	}

	.footer {
		padding: 40px 20px 20px;
	}
}

@media (max-width: 480px) {
	.category-tabs {
		gap: 8px;
	}

	.category-tab {
		padding: 10px 16px;
		font-size: 13px;
	}

	.games-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
