/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-blue: #0a2540;
	--secondary-blue: #1a3a5c;
	--accent-yellow: #ffc107;
	--accent-red: #e31e24;
	--dark-red: #5c1417;
	--text-dark: #1a1a1a;
	--text-gray: #666;
	--text-light: #999;
	--bg-gray: #f5f5f5;
	--bg-light: #e8e8e8;
	--white: #ffffff;
	--black: #000000;
	--border-color: #ddd;
}

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

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

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Buttons */
.btn {
	padding: 12px 32px;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-primary {
	background-color: var(--accent-yellow);
	color: var(--black);
}

.btn-primary:hover {
	background-color: #ffb300;
	transform: translateY(-2px);
}

.btn-outline {
	background-color: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.btn-outline:hover {
	background-color: var(--white);
	color: var(--primary-blue);
}

.btn-danger {
	background-color: var(--accent-red);
	color: var(--white);
	font-size: 18px;
	padding: 14px 40px;
}

.btn-danger:hover {
	background-color: #c41a1f;
	transform: translateY(-2px);
}

/* Header */
.header {
	background-color: var(--primary-blue);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-top {
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo img {
	height: 40px;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
}

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

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

.language-selector {
	position: relative;
}

.language-btn {
	background: none;
	border: none;
	color: var(--white);
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	font-size: 14px;
}

.language-btn i {
	font-size: 18px;
}

/* Main Navigation */
.main-nav {
	background-color: var(--bg-light);
}

.nav-list {
	display: flex;
	list-style: none;
	justify-content: space-between;
	gap: 10px;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 18px 20px;
	color: var(--text-dark);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
	color: var(--accent-red);
	border-bottom-color: var(--accent-red);
}

.nav-link i {
	font-size: 20px;
}

/* Top Slider */
.top-slider {
	position: relative;
	height: 400px;
	overflow: hidden;
	background-color: var(--black);
}

.slider-container {
	position: relative;
	height: 100%;
}

.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.slide.active {
	opacity: 1;
}

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

.slide-content {
	position: absolute;
	left: 10%;
	top: 50%;
	transform: translateY(-50%);
	color: var(--white);
	max-width: 800px;
}

.slide-content .heading {
	color: var(--white);
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 15px;
}

.slide-content p {
	color: var(--white);
	font-size: 24px;
	margin-bottom: 30px;
}

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

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

.dot.active {
	background-color: var(--accent-red);
	width: 30px;
	border-radius: 6px;
}

/* Main Content */
.main-content {
	padding: 40px 0;
}

/* Slots Section */
.slots-section .heading {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 30px;
	color: var(--text-dark);
}

.games-filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	gap: 20px;
	flex-wrap: wrap;
}

.filter-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.filter-tab {
	padding: 12px 20px;
	background-color: var(--white);
	border: 2px solid var(--border-color);
	color:var(--black);
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	text-decoration: none;
}

.filter-tab:hover,
.filter-tab.active {
	background-color: var(--primary-blue);
	color: var(--white);
	border-color: var(--primary-blue);
}

.filter-tab i {
	font-size: 18px;
}

.search-filter {
	display: flex;
	gap: 10px;
}

.search-box {
	position: relative;
}

.search-input {
	padding: 12px 45px 12px 15px;
	border: 2px solid var(--border-color);
	border-radius: 8px;
	font-size: 14px;
	min-width: 250px;
}

.search-box i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-gray);
}

.sort-btn {
	padding: 12px 20px;
	background-color: var(--white);
	border: 2px solid var(--border-color);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.sort-btn:hover {
	border-color: var(--primary-blue);
	color: var(--primary-blue);
}

/* Games Grid */
.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.game-card {
	background-color: var(--white);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	text-decoration: none;
}

.game-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.game-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

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

.game-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

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

.play-btn {
	background-color: var(--accent-red);
	color: var(--white);
	padding: 12px 40px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.play-btn:hover {
	background-color: #c41a1f;
	transform: scale(1.05);
}

.game-info {
	padding: 15px;
}

.game-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 5px;
	color: var(--text-dark);
}

.game-provider {
	font-size: 13px;
	color: var(--text-gray);
	margin-bottom: 8px;
}

.game-players {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--text-light);
	font-size: 13px;
}

.game-players i {
	color: #4caf50;
}

.load-more {
	display: block;
	margin: 0 auto;
	max-width: 200px;
	text-align: center;
}

/* Tournaments Section */
.tournaments-section {
	margin: 60px 0;
}

section > .heading {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 30px;
}

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

.tournament-card {
	background-color: var(--white);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.tournament-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tournament-card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.tournament-info {
	padding: 20px;
}

.tournament-info .heading {
	font-size: 20px;
	font-weight: bold;
	margin: 0px 0px 15px 0px;
}

.tournament-prize {
	background-color: var(--accent-yellow);
	color: var(--black);
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 24px;
	font-weight: 700;
	display: inline-block;
	vertical-align: top;
	text-decoration: none;
}

/* Promotions Section */
.promotions-section {
	margin: 60px 0;
}

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

.promotion-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	height: 200px;
	transition: all 0.3s ease;
}

.promotion-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.promotion-content {
	position: absolute;
	left: 30px;
	bottom: 0px;
	color: var(--white);
}

.promotion-content h3 {
	color: var(--white);
	font-size: 16px;
	font-weight: 700;
	margin:0px;
	text-transform: uppercase;
	text-shadow: 0px 0px 3px var(--white);
}

.promotion-content p {
	font-size: 22px;
	font-weight: 700;
	line-height: 30px;
	color: var(--accent-yellow);
	text-shadow: 0px 0px 3px var(--black);
}

/* Text Section */
.text-section {
	background-color: var(--white);
	padding: 40px;
	border-radius: 12px;
	margin: 60px 0;
}

h2 {
	font-size: 28px;
	margin-bottom: 20px;
	color: var(--text-dark);
}

h3 {
	font-size: 24px;
	margin: 30px 0 15px;
	color: var(--text-dark);
}

p {
	margin-bottom: 20px;
	line-height: 1.8;
	color: var(--text-gray);
}

blockquote {
	background-color: var(--bg-gray);
	border-left: 4px solid var(--accent-red);
	padding: 20px 30px;
	margin: 30px 0;
	font-style: italic;
	color: var(--text-dark);
}

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

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

.pros h4,
.cons h4 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	margin-bottom: 15px;
}

.pros h4 {
	color: #4caf50;
}

.cons h4 {
	color: var(--accent-red);
}

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

.pros li,
.cons li {
	padding: 8px 0;
	padding-left: 25px;
	position: relative;
}

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

.cons li:before {
	content: "✗";
	position: absolute;
	left: 0;
	color: var(--accent-red);
	font-weight: bold;
}

/* Table */
.table-wrapper {
	width: 100%;
	overflow-x: auto;
	margin: 30px 0;
	-webkit-overflow-scrolling: touch;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	min-width: 500px;
}

table th,
table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
	white-space: nowrap;
}

table th {
	background-color: var(--primary-blue);
	color: var(--white);
	font-weight: 600;
}

table tr:hover {
	background-color: var(--bg-gray);
}

/* FAQ Section */
.faq-section {
	background-color: var(--bg-gray);
	padding: 0; /* Fully removed all padding from FAQ section */
	border-radius: 0;
	margin: 60px 0 0 0;
}

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

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* Updated FAQ styling to match screenshot with white cards and borders */
.faq-item {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
	width: 100%;
	padding: 24px 28px;
	background-color: transparent;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	outline: none; /* Added: removed focus outline */
}

.faq-question:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	color: var(--text-dark);
	padding-right: 20px;
	line-height: 1.4;
}

.faq-question i {
	font-size: 20px;
	transition: transform 0.3s ease;
	color: var(--text-gray);
	flex-shrink: 0;
}

.faq-item.active .faq-question i {
	transform: rotate(180deg);
	color: var(--primary-blue);
}

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

.faq-item.active .faq-answer {
	max-height: 500px;
	padding: 0 28px 24px;
}

.faq-answer p {
	color: var(--text-gray);
	line-height: 1.8;
	margin: 0;
	font-size: 16px;
}

/* Footer */
.footer {
	background-color: var(--black);
	color: var(--white);
	padding: 50px 0 30px;
	margin-top: 0;
}

/* Updated footer layout to match screenshot with sections separated by borders */
.footer-top {
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 30px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
}

.footer-links a {
	color: var(--accent-yellow);
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 15px;
	font-weight: 500;
}

.footer-links a:hover {
	color: var(--white);
	text-decoration: underline;
}

.age-badge {
	background-color: var(--accent-red);
	padding: 6px 14px;
	border-radius: 50px;
	font-weight: 700;
	margin-left: auto;
	font-size: 14px;
}

/* Removed language selector section from footer */

.footer-contact {
	text-align: center;
	margin-bottom: 35px;
	padding-bottom: 35px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact p {
	margin: 12px 0;
	color: var(--text-light);
	font-size: 15px;
}

.footer-contact i {
	margin-right: 5px;
}

.footer-contact a {
	color: var(--accent-yellow);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-contact a:hover {
	color: var(--white);
	text-decoration: underline;
}

/* Updated badges styling - removed filter, centered horizontally and vertically */
.footer-badges {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 35px;
	padding-bottom: 35px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.badge {
	height: 50px;
	width: auto;
	object-fit: contain;
	opacity: 0.8;
	transition: all 0.3s ease;
}

.badge:hover {
	opacity: 1;
	transform: scale(1.05);
}

.footer-disclaimer {
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	margin-bottom: 25px;
	line-height: 1.6;
}

.footer-copyright {
	text-align: center;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.games-grid {
		display: block;
		white-space: nowrap;
		font-size: 0px;
		letter-spacing: -0.31em;
		overflow: auto;
	}

	.game-card {
		display: inline-flex;
		flex-direction: column;
		width: 80%;
		margin: 0px 0px 0px 10px;
	}

	main > .container {
		padding: 0px;
	}

	main > .container > section {
		padding: 0px;
		margin: 0px 10px 20px 10px;
	}

	.slots-section > .games-grid {
		margin: 0px -10px 20px -10px;
	}

	main > .container > .text-section {
		padding: 20px;
	}
}

@media (max-width: 768px) {
	.mobile-menu-btn {
		display: flex;
	}

	.main-nav {
		position: fixed;
		top: 77px;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.main-nav.active {
		max-height: 500px;
	}

	.nav-list {
		flex-direction: column;
		gap:0px;
	}

	.nav-link {
		border-bottom: 1px solid var(--border-color);
		border-left: 3px solid transparent;
		padding: 10px;
	}

	.nav-link:hover,
	.nav-link.active {
		border-bottom-color: var(--border-color);
		border-left-color: var(--accent-red);
	}

	.slide-content .heading {
		font-size: 32px;
	}

	.slide-content p {
		font-size: 18px;
	}

	.slots-section h1 {
		font-size: 28px;
	}

	.games-filters {
		flex-direction: column;
		align-items: stretch;
	}

	.search-filter {
		width: 100%;
	}

	.search-input {
		width: 100%;
	}

	.tournaments-grid {
		grid-template-columns: 1fr;
	}

	.promotions-grid {
		grid-template-columns: 1fr;
	}

	.pros-cons {
		grid-template-columns: 1fr;
	}

	.footer-links {
		flex-direction: column;
		align-items: flex-start;
	}

	.age-badge {
		margin-left: 0;
	}
}

@media (max-width: 480px) {
	.header-actions .btn {
		padding: 10px 20px;
		font-size: 14px;
	}

	.slide-content {
		left: 5%;
		max-width: 90%;
	}

	.slide-content .heading {
		font-size: 24px;
	}

	.slide-content p {
		font-size: 16px;
	}

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