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

:root {
	--bg-primary: #0a0a0a;
	--bg-secondary: #1a1a1a;
	--bg-card: #252525;
	--text-primary: #ffffff;
	--text-secondary: #a0a0a0;
	--accent-primary: #ffd700;
	--accent-secondary: #ff4444;
	--border-color: #333333;
	--gradient-gold: linear-gradient(135deg, #8b6914 0%, #d4af37 50%, #8b6914 100%);
}

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

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

/* Header */

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background-color: var(--bg-secondary);
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	padding: 0 20px;
	z-index: 1000;
}

.header .logo {
	margin: 0px 0px 0px 20px;
}

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

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

.logo img {
	height: 40px;
}

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

.lang-btn {
	background: none;
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	transition: all 0.3s;
	text-decoration: none;
}

/* Added styles for flag image */

.flag-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	object-fit: cover;
}

.lang-btn:hover {
	border-color: var(--accent-primary);
}

.btn-secondary {
	background: none;
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s;
	text-decoration: none;
}

.btn-secondary:hover {
	background-color: var(--bg-card);
}

.btn-primary {
	background: var(--gradient-gold);
	border: none;
	color: var(--bg-primary);
	padding: 10px 24px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s;
	text-decoration: none;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Sidebar */

.sidebar {
	position: fixed;
	top: 0;
	left: -320px;
	width: 320px;
	height: 100vh;
	background: linear-gradient(180deg, var(--bg-secondary) 0%, #3a2a1a 100%);
	z-index: 2000;
	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: var(--text-primary);
	font-size: 32px;
	cursor: pointer;
	line-height: 1;
}

.sidebar-logo img {
	height: 35px;
}

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

.sidebar-search input {
	width: 100%;
	padding: 12px;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--text-primary);
	font-size: 14px;
}

.sidebar-search input::placeholder {
	color: var(--text-secondary);
}

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

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	text-decoration: none;
	color: var(--text-primary);
	font-weight: 500;
	transition: all 0.3s;
	position: relative;
}

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

.nav-item.featured {
	background: var(--gradient-gold);
	color: var(--bg-primary);
}

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

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

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

.badge.hot {
	background-color: var(--accent-secondary);
	color: white;
}

.badge.new {
	background-color: #9945ff;
	color: white;
}

.sidebar-footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

.lang-btn-sidebar {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	padding: 12px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

/* Overlay */

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1500;
	display: none;
}

.overlay.active {
	display: block;
}

/* Main Content */

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

/* Category Navigation */

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

.category-nav::-webkit-scrollbar {
	height: 6px;
}

.category-nav::-webkit-scrollbar-track {
	background: var(--bg-secondary);
	border-radius: 3px;
}

.category-nav::-webkit-scrollbar-thumb {
	background: var(--border-color);
	border-radius: 3px;
}

.category-btn {
	background-color: var(--bg-card);
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	padding: 10px 20px;
	border-radius: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
	transition: all 0.3s;
	text-decoration: none;
}

.category-btn.active,
.category-btn:hover {
	background: var(--gradient-gold);
	border-color: var(--accent-primary);
	color: var(--bg-primary);
}

/* 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: 700;
	display: flex;
	align-items: center;
	gap: 10px;
}

.nav-arrows {
	display: flex;
	gap: 10px;
}

.arrow-btn {
	width: 40px;
	height: 40px;
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	transition: all 0.3s;
}

.arrow-btn:hover {
	background-color: var(--accent-primary);
	border-color: var(--accent-primary);
}

.arrow-btn.next {
	background: url('../images/arrow-right.png') no-repeat center / 60% var(--bg-card)
}

.arrow-btn.prev {
	background: url('../images/arrow-left.png') no-repeat center / 60% var(--bg-card);
}

.games-slider {
	display: flex;
	gap: 15px;
	overflow-x: hidden;
	scroll-behavior: smooth;
	padding: 5px 0;
}

.game-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s;
	flex: 0 0 160px;
	height: 213px;
	text-decoration: none;
	display: block;
}

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

.game-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	border: 2px solid var(--border-color);
}

.game-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s;
	border-radius: 12px;
}

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

.play-btn {
	background: var(--gradient-gold);
	border: none;
	color: var(--bg-primary);
	padding: 12px 28px;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s;
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.play-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
}

.game-info {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	justify-content: center;
	z-index: 10;
}

.players {
	background-color: rgba(0, 0, 0, 0.8);
	color: #4ade80;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}

.players::before {
	content: "●";
	color: #4ade80;
	font-size: 10px;
}

/* Text Section */

.text-section {
	background-color: var(--bg-secondary);
	padding: 40px;
	border-radius: 12px;
	margin-bottom: 40px;
	line-height: 1.8;
}

h2 {
	font-size: 32px;
	margin-bottom: 15px;
	color: var(--accent-primary);
}

h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: var(--text-primary);
}

p {
	margin-bottom: 15px;
	color: var(--text-secondary);
	font-size: 16px;
}

p:last-child {
	margin-bottom: 0px;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
	background-color: var(--bg-card);
	border-radius: 8px;
	overflow: hidden;
}

table thead {
	background: var(--gradient-gold);
}

table th {
	padding: 15px;
	text-align: left;
	font-weight: 600;
	color: var(--bg-primary);
}

table td {
	padding: 15px;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-secondary);
}

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

table tbody tr:hover {
	background-color: rgba(255, 255, 255, 0.02);
}

.pros-cons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.pros,
.cons {
	background-color: var(--bg-card);
	padding: 25px;
	border-radius: 8px;
}

.pros h4 {
	color: #4ade80;
	font-size: 20px;
	margin-bottom: 15px;
}

.cons h4 {
	color: #f87171;
	font-size: 20px;
	margin-bottom: 15px;
}

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

.pros li,
.cons li {
	padding: 8px 0;
	padding-left: 25px;
	position: relative;
	color: var(--text-secondary);
}

.pros li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #4ade80;
	font-weight: bold;
}

.cons li::before {
	content: "✗";
	position: absolute;
	left: 0;
	color: #f87171;
	font-weight: bold;
}

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

blockquote cite {
	display: block;
	margin-top: 15px;
	font-style: normal;
	color: var(--accent-primary);
	font-weight: 600;
}

/* FAQ Section */

.faq-section {
	background-color: var(--bg-secondary);
	padding: 40px;
	border-radius: 12px;
	margin-bottom: 40px;
}

.faq-section h2 {
	font-size: 32px;
	margin-bottom: 30px;
	color: var(--accent-primary);
	text-align: center;
}

.faq-item {
	background-color: var(--bg-card);
	padding: 25px;
	border-radius: 8px;
	margin-top: 15px;
	border: 1px solid var(--border-color);
	cursor: pointer;
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: var(--accent-primary);
}

.faq-item h3 {
	font-size: 18px;
	color: var(--text-primary);
	user-select: none;
	position: relative;
	padding-right: 30px;
	margin: 0px;
}

.faq-item h3::after {
	content: "▼";
	position: absolute;
	right: 0;
	top: 3px;
	font-size: 14px;
	color: var(--accent-primary);
	transition: transform 0.3s ease;
}

.faq-item.active h3::after {
	transform: rotate(180deg);
}

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

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

.faq-item p {
	color: var(--text-secondary);
	line-height: 1.8;
}

/* Providers Section */

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

.providers-slider {
	display: flex;
	gap: 20px;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

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

.provider-card:hover {
	border-color: var(--accent-primary);
	/* Removed transform: translateY(-3px) */
}

.provider-card img {
	max-width: 100%;
	height: 40px;
	object-fit: contain;
}

/* Footer */

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

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: start;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 30px;
}

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

.footer-links {
	display: flex;
	gap: 60px;
	flex-wrap: wrap;
}

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

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

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

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

.help-btn {
	background: none;
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	transition: all 0.3s;
	text-decoration: none;
}

.help-btn:hover {
	border-color: var(--accent-primary);
}

.footer-bottom {
	max-width: 1400px;
	margin: 0 auto;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.responsible-gaming {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-secondary);
	font-size: 14px;
}

.footer-bottom p {
	color: var(--text-secondary);
	font-size: 13px;
}

.license-btn {
	background: none;
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tbl-wrap {
	overflow: auto;
}

/* Responsive */

@media (max-width: 768px) {
	.tbl-wrap > table {
		width: 125vw;
	}
	.header-actions .lang-btn,
	.header-actions .btn-secondary {
		display: none;
	}
	.main-content {
		padding: 15px;
	}
	.game-card {
		flex: 0 0 120px;
		height: 160px;
	}
	.text-section {
		padding: 25px 20px;
	}
	.text-section h2 {
		font-size: 24px;
	}
	.text-section h3 {
		font-size: 20px;
	}
	.faq-section {
		padding: 25px 20px;
	}
	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-links {
		flex-direction: column;
		gap: 30px;
	}
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
	.category-nav {
		gap: 8px;
	}
	.category-btn {
		padding: 8px 16px;
		font-size: 13px;
	}
}