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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
	background: #0a0a0a;
	color: #ffffff;
	line-height: 1.6;
}

img {
	border: 0px;
	vertical-align: top;
}

/* Header Styles */

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	z-index: 1000;
	border-bottom: 1px solid #2a2a2a;
}

.menu-toggle {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px;
}

.menu-toggle span {
	width: 24px;
	height: 2px;
	background: #ffffff;
	display: block;
	transition: 0.3s;
}

.logo img {
	width: 160px;
}

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

.lang-btn {
	background: #2a2a2a;
	border: none;
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lang-flag {
	width: 20px;
	height: 20px;
	margin: 0px 5px 0px 0px;
}

.btn-secondary {
	background: #2a2a2a;
	border: none;
	color: #ffffff;
	padding: 10px 24px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.btn-primary {
	background: #2196f3;
	border: none;
	color: #ffffff;
	padding: 10px 24px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: background 0.3s;
	text-decoration: none;
}

.btn-primary:hover {
	background: #1976d2;
}

/* Sidebar Styles */

.sidebar {
	position: fixed;
	top: 0;
	left: -300px;
	width: 300px;
	height: 100vh;
	background: #1a1a1a;
	z-index: 1001;
	transition: left 0.3s;
	overflow-y: auto;
	padding: 20px;
}

.sidebar.active {
	left: 0;
}

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

.sidebar-close {
	background: none;
	border: none;
	color: #ffffff;
	font-size: 24px;
	cursor: pointer;
}

.sidebar-search {
	margin-bottom: 20px;
}

.sidebar-search input {
	width: 100%;
	padding: 12px;
	background: #2a2a2a;
	border: 1px solid #3a3a3a;
	border-radius: 6px;
	color: #ffffff;
	font-size: 14px;
}

.sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: #2a2a2a;
	border-radius: 8px;
	color: #ffffff;
	text-decoration: none;
	transition: background 0.3s;
	position: relative;
}

.nav-item:hover {
	background: #3a3a3a;
}

.nav-item .icon {
	font-size: 20px;
}

.nav-item .dropdown-icon {
	margin-left: auto;
	font-size: 20px;
}

.badge {
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	margin-left: auto;
}

.badge.hot {
	background: #f44336;
}

.badge.new {
	background: #2196f3;
}

.sidebar-footer {
	margin-top: auto;
	padding-top: 20px;
}

/* Main Content */

.main-content {
	margin-top: 60px;
	padding: 20px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

section > .heading,
section > .section-header > .heading {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #2196f3;
}

/* Top Slider */

.top-slider {
	margin-bottom: 30px;
	border-radius: 12px;
	overflow: hidden;
}

.slider-container {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.slider-track {
	display: flex;
	transition: transform 0.5s ease;
}

.slide {
	min-width: 100%;
	position: relative;
}

.slide img {
	width: 100%;
	height: auto;
	display: block;
}

.slide-content {
	position: absolute;
	top: 50%;
	left: 60px;
	transform: translateY(-50%);
	color: #ffffff;
	max-width: 500px;
}

.slide-badge {
	display: inline-block;
	background: rgba(0, 0, 0, 0.6);
	padding: 6px 16px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
}

.slide-content h2 {
	font-size: 48px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 12px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.slide-content p {
	font-size: 18px;
	margin-bottom: 24px;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.slide-content .btn-primary {
	padding: 14px 36px;
	font-size: 16px;
	font-weight: 600;
}

.slider-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}

.slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	cursor: pointer;
	padding: 0;
}

.slider-dot.active {
	background: #ffffff;
}

/* Game Navigation */

.game-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 30px;
	overflow-x: auto;
	padding-bottom: 10px;
}

.game-nav::-webkit-scrollbar {
	height: 4px;
}

.game-nav::-webkit-scrollbar-thumb {
	background: #3a3a3a;
	border-radius: 4px;
}

.game-nav-btn {
	background: #202531;
	border: 2px solid #202531;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 20px;
	cursor: pointer;
	white-space: nowrap;
	font-size: 14px;
	transition: all 0.3s;
	text-decoration: none;
}

.game-nav-btn:hover,
.game-nav-btn.active {
	background: #2d3548;
	border-color: #1a81ff;
}

/* Games Section */

.games-section {
	margin-bottom: 40px;
}

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

.section-header h2 {
	font-size: 24px;
	font-weight: 600;
}

.section-nav {
	display: flex;
}

.nav-arrow {
	background: #2a2a2a;
	border: 1px solid #667085;
	color: #ffffff;
	width: 40px;
	height: 32px;
	cursor: pointer;
	font-size: 18px;
	transition: background 0.3s;
}

.nav-arrow:hover {
	background: #3a3a3a;
}

.nav-arrow:first-child {
	border-radius: 18px 0px 0px 18px;
}

.nav-arrow:last-child {
	border-radius: 0px 18px 18px 0px;
}

/* Modified games-grid and providers-grid to use horizontal scrolling with single row */

.games-grid {
	display: flex;
	gap: 5px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Firefox */
}

.games-grid::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.game-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s;
	flex: 0 0 165px;
	/* Fixed width for horizontal layout */
}

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

.game-card img {
	width: 100%;
	height: auto;
	display: block;
}

.game-status {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.7);
	padding: 6px 10px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: white;
}

.game-status::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #4caf50;
	border-radius: 50%;
	display: inline-block;
}

/* Tournaments Section */

.tournaments-section {
	margin-bottom: 40px;
}

.tournaments-section h2 {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 20px;
}

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

.tournament-card {
	border-radius: 12px;
	overflow: hidden;
}

.tournament-card.t-1 .tournament-image {
	background: url("../images/tournaments/tournament-1.jpg") center / cover;
}

.tournament-card.t-2 .tournament-image {
	background: url("../images/tournaments/tournament-2.jpg") center / cover;
}

.tournament-card.t-3 .tournament-image {
	background: url("../images/tournaments/tournament-3.jpg") center / cover;
}

.tournament-image {
	padding: 40px 30px;
	text-align: center;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}

.tournament-image::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 0;
}

.tournament-image > * {
	position: relative;
	z-index: 1;
}

.tournament-icon {
	font-size: 48px;
	margin-bottom: 20px;
}

.tournament-image h3 {
	font-size: 18px;
	margin-bottom: 16px;
}

.tournament-prize {
	font-size: 36px;
	font-weight: 700;
	color: #ffd700;
	margin-bottom: 12px;
	visibility: hidden;
}

.tournament-dates {
	font-size: 14px;
	color: #aaaaaa;
	margin-bottom: 24px;
	visibility: hidden;
}

/* Text Section */

.text-section {
	/* Removed max-width: 900px to allow full width */
	margin: 40px auto;
	padding: 30px;
	background: #1a1a1a;
	border-radius: 12px;
}

.text-section h2 {
	font-size: 32px;
	margin-bottom: 20px;
	color: #2196f3;
}

.text-section h3 {
	font-size: 24px;
	margin: 30px 0 16px;
	color: #ffffff;
}

.text-section p {
	margin-bottom: 16px;
	color: #cccccc;
	line-height: 1.8;
}

.text-section ol,
.text-section ul {
	margin: 16px 0;
	padding-left: 24px;
	color: #cccccc;
}

.text-section li {
	margin-bottom: 8px;
}

/* Pros & Cons */

.pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 24px 0;
}

.pros,
.cons {
	padding: 20px;
	background: #2a2a2a;
	border-radius: 8px;
}

.pros h4 {
	color: #4caf50;
	font-size: 18px;
	margin-bottom: 12px;
}

.cons h4 {
	color: #f44336;
	font-size: 18px;
	margin-bottom: 12px;
}

.pros ul,
.cons ul {
	list-style: none;
	padding: 0;
}

.pros li::before {
	content: "✓ ";
	color: #4caf50;
	font-weight: bold;
}

.cons li::before {
	content: "✗ ";
	color: #f44336;
	font-weight: bold;
}

/* Table */

table {
	width: 100%;
	margin: 24px 0;
	border-collapse: collapse;
	background: #2a2a2a;
	border-radius: 8px;
	overflow: hidden;
}

table thead {
	background: #3a3a3a;
}

table th,
table td {
	padding: 16px;
	text-align: left;
	border-bottom: 1px solid #3a3a3a;
}

table th {
	font-weight: 600;
	color: #2196f3;
}

table td {
	color: #cccccc;
}

table tbody tr:last-child td {
	border-bottom: none;
}

/* Blockquote */

blockquote {
	margin: 30px 0;
	padding: 24px;
	background: #2a2a2a;
	border-left: 4px solid #2196f3;
	border-radius: 8px;
	font-style: italic;
	color: #cccccc;
}

blockquote cite {
	display: block;
	margin-top: 12px;
	font-style: normal;
	color: #2196f3;
	font-size: 14px;
}

/* FAQ Section */

.faq-section {
	/* Removed max-width: 900px to allow full width */
	margin: 40px auto;
	padding: 30px;
	background: #1a1a1a;
	border-radius: 12px;
}

.faq-section h2 {
	font-size: 32px;
	margin-bottom: 30px;
	color: #2196f3;
}

.faq-item {
	margin-bottom: 16px;
	background: #2a2a2a;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #3a3a3a;
}

/* Made FAQ questions clickable with hover effect and arrow indicator */

.faq-question {
	font-size: 18px;
	margin: 0;
	padding: 20px;
	color: #ffffff;
	cursor: pointer;
	user-select: none;
	position: relative;
	transition: background 0.3s;
}

.faq-question:hover {
	background: #333333;
}

.faq-question::after {
	content: "";
	position: absolute;
	right: 25px;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 8px solid #ffffff;
	transform: translateY(-50%);
	transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
	transform: translateY(-50%) rotate(180deg);
}

/* Hide FAQ answers by default */

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 500px;
}

.faq-answer p {
	padding: 0 20px 20px;
	color: #cccccc;
	line-height: 1.6;
	margin: 0;
}

.providers-section {
	margin-bottom: 40px;
}

/* Modified providers-grid to use horizontal scrolling with single row */

.providers-grid {
	display: flex;
	gap: 5px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Firefox */
}

.providers-grid::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.provider-card {
	background: #2a2a2a;
	padding: 20px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid #3a3a3a;
	flex: 0 0 150px;
	/* Fixed width for horizontal layout */
	height: 60px;
}

.provider-card:hover {
	background: #3a3a3a;
	transform: translateY(-2px);
}

.provider-card img {
	max-width: 100%;
	height: auto;
}

/* Footer */

.footer {
	background: #1a1a1a;
	padding: 40px 20px 20px;
	margin-top: 60px;
	border-top: 1px solid #2a2a2a;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 40px;
	margin-bottom: 30px;
}

.footer-logo img {
	height: 40px;
}

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

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

.footer-column a {
	color: #aaaaaa;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
}

.footer-column a:hover {
	color: #2196f3;
}

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

.help-link {
	color: #aaaaaa;
	text-decoration: none;
	font-size: 14px;
	text-align: center;
}

.footer-bottom {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid #2a2a2a;
	max-width: 1400px;
	margin: 0 auto;
}

.age-restriction {
	width: 40px;
	height: 40px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	line-height: 40px;
}

.license-btn {
	background: none;
	border: none;
	color: #aaaaaa;
	cursor: pointer;
	font-size: 14px;
	text-decoration: none;
}

.tbl-wrap {
	overflow: auto;
	margin: 24px 0px;
}

.tbl-wrap > table {
	margin: 0px;
}

/* Responsive */

@media (max-width: 768px) {
	.header-actions .lang-btn {
		display: none;
	}
	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 12px;
	}
	.tbl-wrap > table {
		width: 125vw;
	}
	.tournaments-grid {
		grid-template-columns: 1fr;
	}
	.pros-cons {
		grid-template-columns: 1fr;
	}
	.footer-content {
		grid-template-columns: 1fr;
	}
	.footer-columns {
		grid-template-columns: 1fr;
	}
	.footer-column {
		align-items: center;
	}
	.footer-bottom {
		justify-content: center;
	}
	.slide-content {
		left: 20px;
		right: 20px;
		max-width: none;
	}
	.slide-badge {
		margin: 0px;
		display: none;
	}
	.slide-content .btn-primary {
		padding: 5px 15px;
		font-size: 12px;
	}
	.text-section,
	.faq-section {
		padding: 15px;
	}
	.faq-question {
		padding: 10px;
	}
	.faq-answer p {
		padding: 10px 10px 10px 10px;
	}
	.slide-content h2 {
		font-size: 12px;
	}
	.slide-content p {
		font-size: 14px;
		margin: 0px;
		display: none;
	}
	.footer-logo {
		text-align: center;
	}
	.header-actions .btn-secondary {
		display: none;
	}
}

@media (max-width: 480px) {
	.main-content {
		padding: 12px;
	}
	.game-nav {
		gap: 6px;
	}
	.game-nav-btn {
		padding: 8px 16px;
		font-size: 13px;
	}
}