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

:root {
	--blue-900: #0a1628;
	--blue-800: #0d1d3a;
	--blue-700: #1a2f5a;
	--blue-600: #2541a8;
	--blue-500: #3b5fdb;
	--blue-400: #4c7cf5;
	--gold-500: #fbbf24;
	--gold-600: #f59e0b;
	--white: #ffffff;
	--gray-100: #f3f4f6;
	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-700: #374151;
	--gray-800: #1f2937;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	background: linear-gradient(
		135deg,
		var(--blue-900) 0%,
		var(--blue-800) 50%,
		var(--blue-900) 100%
	);
	color: var(--white);
	line-height: 1.6;
	min-height: 100vh;
}

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 60px;
	background: var(--blue-800);
	z-index: 1000;
	transition: width 0.3s ease;
	overflow: hidden;
}

.sidebar:hover {
	width: 220px;
}

.sidebar-header {
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-toggle {
	display: none;
	width: 28px;
	height: 28px;
	background: none;
	border: none;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
	align-items: center;
}

.sidebar-toggle span {
	width: 18px;
	height: 2px;
	background: var(--white);
	transition: all 0.3s ease;
}

.logo {
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: 700;
	font-size: 20px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sidebar:hover .logo {
	opacity: 1;
}

.logo-text {
	color: var(--white);
}

.logo-highlight {
	color: var(--gold-500);
}

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

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	color: var(--white);
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.nav-item:hover {
	background: rgba(255, 255, 255, 0.1);
}

.nav-icon {
	font-size: 20px;
	min-width: 24px;
	text-align: center;
}

.nav-label {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sidebar:hover .nav-label {
	opacity: 1;
}

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

.header {
	background: rgba(10, 22, 40, 0.8);
	backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 900;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mobile-menu-btn {
	display: none;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	align-items: center;
}

.mobile-menu-btn span {
	width: 22px;
	height: 2px;
	background: var(--white);
	transition: all 0.3s ease;
}

.logo-mobile {
	font-weight: 700;
	font-size: 20px;
	gap: 4px;
}

.header-right {
	display: flex;
	gap: 12px;
}

.btn {
	padding: 10px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	display: inline-block;
	text-align: center;
	border: none;
	cursor: pointer;
}

.btn-primary {
	background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
	color: var(--white);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: transparent;
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
}

.btn-large {
	padding: 14px 32px;
	font-size: 16px;
}

.btn-outline {
	background: transparent;
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 8px 20px;
	font-size: 14px;
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

.hero {
	padding: 32px 0;
}

.carousel {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

.carousel-track {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
}

.carousel-slide {
	display: none;
	background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
	border-radius: 16px;
	padding: 48px;
	min-height: 400px;
}

.carousel-slide.active {
	display: block;
}

.carousel-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	max-width: 1200px;
	margin: 0 auto;
}

.carousel-text {
	flex: 1;
}

.carousel-title {
	display: block;
	font-size: 42px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 16px;
	color: var(--white);
}

.carousel-subtitle {
	font-size: 20px;
	margin-bottom: 32px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
}

.carousel-image {
	flex: 0 0 400px;
}

.carousel-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.carousel-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
}

.carousel-arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--white);
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.carousel-arrow:hover {
	background: rgba(255, 255, 255, 0.2);
}

.carousel-dots {
	display: flex;
	gap: 8px;
}

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

.carousel-dot.active {
	background: var(--gold-500);
	width: 24px;
	border-radius: 5px;
}

.stats {
	padding: 32px 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.stat-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	transition: all 0.3s ease;
}

.stat-card:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-4px);
}

.stat-value {
	font-size: 32px;
	font-weight: 800;
	color: var(--gold-500);
	margin-bottom: 8px;
}

.stat-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 12px;
}

.stat-badge {
	display: inline-block;
	background: var(--blue-600);
	color: var(--white);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
}

.stat-rating {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.stars {
	color: var(--gold-500);
	font-size: 24px;
}

.half-star {
	opacity: 0.5;
}

.rating-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--white);
}

.search-section {
	padding: 24px 0;
}

.search-box {
	max-width: 800px;
	margin: 0 auto;
}

.search-input {
	width: 100%;
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	color: var(--white);
	font-size: 16px;
	transition: all 0.3s ease;
}

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

.search-input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--blue-500);
}

.categories {
	padding: 24px 0;
}

.categories-scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.categories-scroll::-webkit-scrollbar {
	height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.categories-scroll::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.category-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	color: var(--white);
	text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.category-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.category-btn.active {
	background: var(--blue-600);
	border-color: var(--blue-500);
}

.category-icon {
	font-size: 18px;
}

.games-section {
	padding: 48px 0;
}

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

.section-title-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.section-icon {
	font-size: 28px;
}

.section-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--white);
}

.section-nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

.section-arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--white);
	font-size: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.section-arrow:hover {
	background: rgba(255, 255, 255, 0.2);
}

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

.game-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	text-decoration: none;
	color: var(--white);
}

.game-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	background: rgba(255, 255, 255, 0.08);
}

.game-image {
	position: relative;
	padding-bottom: 100%;
	overflow: hidden;
	background: var(--blue-700);
}

.game-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-title {
	padding: 16px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.game-info {
	padding: 16px;
}

.game-info .game-title {
	padding: 0 0 8px 0;
	text-align: left;
}

.game-provider {
	font-size: 12px;
	color: var(--blue-400);
	font-weight: 600;
}

.content-section {
	padding: 48px 0;
	background: rgba(0, 0, 0, 0.2);
}

.content-block {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 48px;
}

.content-block h2 {
	display: block;
	font-size: 36px;
	font-weight: 800;
	margin-bottom: 24px;
	color: var(--white);
}

.content-block h3 {
	display: block;
	font-size: 24px;
	font-weight: 700;
	margin: 32px 0 16px;
	color: var(--white);
}

.content-block p {
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.8;
	font-size: 16px;
}

.content-block ul {
	margin: 20px 0;
	padding-left: 24px;
}

.content-block ul li {
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
}
.content-block ol,
.content-block ol li {
	list-style-position: inside;
}
.content-block ul li::marker {
	color: var(--gold-500);
}

/* Optimized table styling - flat structure with responsive design */
.content-block table {
	width: 100%;
	margin: 24px 0;
	border-collapse: collapse;
	background: rgba(10, 22, 40, 0.6);
	overflow: hidden;
	border: 1px solid rgba(59, 95, 219, 0.3);
}

.content-block thead {
	background: rgba(37, 65, 168, 0.4);
}

.content-block th {
	padding: 16px 20px;
	text-align: left;
	font-weight: 700;
	font-size: 15px;
	color: var(--white);
	border-bottom: 1px solid rgba(59, 95, 219, 0.3);
}

.content-block td {
	padding: 16px 20px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.content-block tbody tr:hover {
	background: rgba(59, 95, 219, 0.15);
}

.providers-section {
	padding: 48px 0;
}

.providers-section .section-title {
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 32px;
	text-align: center;
}

.providers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-top: 1rem;
}

.provider-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	min-height: 100px;
}

.provider-card:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-4px);
}

.provider-card img {
	max-width: 100%;
	height: auto;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.provider-card:hover img {
	opacity: 1;
}

.footer {
	background: rgba(0, 0, 0, 0.3);
	padding: 48px 0 24px;
	margin-top: 48px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}

.footer-column {
	color: rgba(255, 255, 255, 0.9);
}

.footer-heading {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--white);
}

.footer-column p {
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 16px;
}

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

.footer-badges img {
	height: 50px;
	width: auto;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--gold-500);
}

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

.footer-disclaimer {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 16px;
	line-height: 1.6;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

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

@media (max-width: 1024px) {
	.carousel-content {
		flex-direction: column;
		text-align: center;
	}

	.carousel-image {
		flex: 0 0 300px;
	}

	.carousel-title {
		font-size: 32px;
	}

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

@media (max-width: 768px) {
	.sidebar {
		width: 0;
		left: -220px;
	}

	.sidebar.active {
		left: 0;
		width: 220px;
	}

	.sidebar.active .logo,
	.sidebar.active .nav-label {
		opacity: 1;
	}

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

	.mobile-menu-btn {
		display: flex;
	}

	.logo-mobile {
		display: flex;
	}

	.header-right {
		gap: 8px;
	}

	.btn {
		padding: 8px 16px;
		font-size: 13px;
	}

	.carousel-slide {
		padding: 32px 24px;
		min-height: 300px;
	}

	.carousel-title {
		font-size: 24px;
	}

	.carousel-subtitle {
		font-size: 16px;
	}

	.carousel-image {
		flex: 0 0 250px;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.section-header {
		flex-direction: column;
		gap: 20px;
		align-items: flex-start;
	}

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

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

	.content-block {
		padding: 32px 24px;
	}

	.content-block h2 {
		font-size: 28px;
	}

	.content-block h3 {
		font-size: 20px;
	}

	/* Enhanced mobile table responsiveness */
	.content-block table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		font-size: 14px;
	}

	.content-block th,
	.content-block td {
		padding: 14px 16px;
		white-space: nowrap;
	}

	.content-block th {
		font-size: 14px;
	}

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

	.content-block table {
		font-size: 14px;
	}

	.content-block table th,
	.content-block table td {
		padding: 12px 8px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 16px;
	}

	.header-right {
		display: none;
	}

	.carousel {
		padding: 0 16px;
	}

	.btn-large {
		padding: 12px 24px;
		font-size: 14px;
	}

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

	.categories-scroll {
		gap: 8px;
	}

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

	/* Optimized table for small screens */
	.content-block table {
		font-size: 13px;
		margin: 20px -24px;
		width: calc(100% + 48px);
		border-radius: 0;
	}

	.content-block th,
	.content-block td {
		padding: 12px 16px;
	}

	.content-block th {
		font-size: 13px;
		left: 0;
		background: rgba(37, 65, 168, 0.6);
		z-index: 1;
	}

	.content-block tbody tr td:first-child {
		left: 0;
		background: rgba(10, 22, 40, 0.8);
		z-index: 1;
	}

	.content-block tbody tr:hover td:first-child {
		background: rgba(37, 65, 168, 0.3);
	}
}
