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

:root {
	--bg-primary: #0f1322;
	--bg-secondary: #1a1f3a;
	--bg-card: #252b4a;
	--bg-card-hover: #2d3352;
	--accent-primary: #ff4267;
	--accent-hover: #ff5a7d;
	--text-primary: #ffffff;
	--text-secondary: #a5a8c5;
	--text-muted: #6b6e8a;
	--border-color: #2a2f4a;
}

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

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: 260px;
	height: 100vh;

	background-color: var(--bg-secondary);
	border-right: 1px solid var(--border-color);
	z-index: 1000;
	overflow-y: auto;
	transition: transform 0.3s ease;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

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

	z-index: 1001;
}

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

.menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	margin: 4px 12px;
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.2s;
	font-size: 15px;
	border-radius: 8px;
}

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

.nav-item.has-dropdown {
	padding-right: 40px;
}

.nav-item svg {
	flex-shrink: 0;
	opacity: 0.8;
	width: 20px;
	height: 20px;
}

.nav-item .dropdown-arrow {
	position: absolute;
	right: 20px;
	width: 16px;
	height: 16px;
	opacity: 0.6;
	transition: transform 0.3s;
}

.nav-item.active .dropdown-arrow {
	transform: rotate(180deg);
}

.dropdown-menu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.dropdown-menu.active {
	max-height: 300px;
}

.dropdown-item {
	display: block;
	padding: 12px 20px 12px 52px;
	margin: 2px 12px;
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	border-radius: 6px;
	transition: all 0.2s;
}

.dropdown-item:hover {
	background-color: var(--bg-card);
	color: var(--text-secondary);
}

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

.top-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 32px;
	background-color: var(--bg-secondary);
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	top: 0;
	z-index: 100;

	overflow-x: hidden;
}

.header-actions {
	display: flex;
	gap: 24px;
}

.nav-link {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 15px;
	transition: color 0.2s;
}

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

.auth-buttons {
	display: flex;
	gap: 12px;
}

.btn-login {
	padding: 10px 24px;
	color: var(--text-primary);
	text-decoration: none;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	transition: all 0.2s;
	font-size: 14px;
	font-weight: 500;
}

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

.btn-signup {
	padding: 10px 24px;
	background: linear-gradient(135deg, var(--accent-primary), #ff6b8a);
	color: var(--text-primary);
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.2s;
	font-size: 14px;
	font-weight: 600;
}

.btn-signup:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 66, 103, 0.3);
}

.hero-section {
	padding: 0;
	position: relative;
}

.carousel {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;

	max-width: 100%;
}

.carousel-track {
	display: flex;
	height: 100%;
	transition: transform 0.5s ease;
}

.carousel-slide {
	min-width: 100%;
	height: 100%;
	display: flex;
	align-items: center;

	background-size: cover;
	background-position: center;
}

.slide-content {
	display: flex;
	align-items: center;

	justify-content: center;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 60px;
}

.slide-text {
	flex: 1;
	max-width: 800px;
	text-align: center;
}

.hero-title {
	font-size: 48px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 32px;
	color: var(--text-primary);

	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-primary {
	display: inline-block;
	padding: 18px 40px;
	background: linear-gradient(135deg, var(--accent-primary), #ff6b8a);
	color: var(--text-primary);
	text-decoration: none;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 600;
	transition: all 0.3s;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 66, 103, 0.4);
}

.carousel-indicators {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
}

.indicator {
	width: 40px;
	height: 4px;
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.3s;
}

.indicator.active {
	background-color: var(--accent-primary);
}

.carousel-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
	pointer-events: none;
}

.carousel-prev,
.carousel-next {
	width: 48px;
	height: 48px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 32px;
	color: var(--text-primary);
	transition: all 0.3s;
	pointer-events: all;
	backdrop-filter: blur(10px);
}

.carousel-prev:hover,
.carousel-next:hover {
	background-color: rgba(255, 66, 103, 0.8);
	transform: scale(1.1);
}

.games-section {
	padding: 60px 32px;

	max-width: 100%;
	overflow-x: hidden;
}

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

.section-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--text-primary);
}

.see-all {
	color: var(--accent-primary);
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: opacity 0.2s;
}

.see-all:hover {
	opacity: 0.8;
}

.games-filters {
	display: flex;
	gap: 12px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 12px 20px;
	background-color: var(--bg-card);
	color: var(--text-secondary);
	text-decoration: none;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
	white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
	background-color: var(--accent-primary);
	color: var(--text-primary);
}

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

	max-width: 100%;
}

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

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

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

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

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

.play-btn {
	padding: 12px 32px;
	background-color: var(--accent-primary);
	color: var(--text-primary);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
}

.content-section {
	padding: 60px 32px;
	background-color: var(--bg-secondary);

	max-width: 100%;
	overflow-x: hidden;
}

.content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

.text-content {
	line-height: 1.8;
}

.text-content h1 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 24px;
	color: var(--text-primary);
}

.text-content h2 {
	font-size: 24px;
	font-weight: 600;
	margin-top: 40px;
	margin-bottom: 16px;
	color: var(--text-primary);
}
.text-content :is(ul, ol, li) {
	list-style-position: inside;
}

.text-content h3 {
	font-size: 20px;
	font-weight: 600;
	margin-top: 32px;
	margin-bottom: 12px;
	color: var(--text-primary);
}

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

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

.text-content li {
	margin-bottom: 12px;
	color: var(--text-secondary);
}

.text-content .table-wrapper {
	width: 100%;
	overflow-x: auto;
	margin: 32px 0;
	-webkit-overflow-scrolling: touch;
}

.text-content table {
	width: 100%;
	min-width: 500px;
	border-collapse: collapse;
	background-color: var(--bg-card);
	border-radius: 8px;
	overflow: hidden;

	display: table;
}

.text-content thead {
	background-color: var(--accent-primary);
}

.text-content th {
	padding: 16px;
	text-align: left;
	font-weight: 600;
	color: var(--text-primary);
}

.text-content td {
	padding: 16px;
	border-top: 1px solid var(--border-color);
	color: var(--text-secondary);
}

.text-content tbody tr:hover {
	background-color: var(--bg-secondary);
}

.providers-section {
	padding: 60px 32px;

	max-width: 100%;
}

.providers-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	max-width: 1400px;
	margin: 0 auto;
}

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

.provider-card:hover {
	border-color: var(--accent-primary);
	box-shadow: 0 4px 12px rgba(255, 66, 103, 0.2);
}

.provider-card img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: brightness(0.9);
}

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

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

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

.footer-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-primary);
}

.footer-section p {
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.6;
}

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

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

.footer-bottom {
	max-width: 1400px;
	margin: 0 auto;
	padding-top: 32px;
	border-top: 1px solid var(--border-color);
}

.disclaimer {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.6;
	margin-bottom: 16px;
	padding: 20px;
	background-color: var(--bg-card);
	border-radius: 8px;
	border-left: 3px solid var(--accent-primary);
}

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

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

	.sidebar.active {
		transform: translateX(0);
		box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
	}

	.sidebar-header {
		padding: 16px 20px;
	}

	.menu-toggle {
		display: flex;
	}

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

	.top-header {
		padding: 12px 20px;

		gap: 12px;
	}

	#mobileMenuToggle {
		order: -1;
		margin-right: auto;
	}

	.header-actions {
		display: none;
	}

	.auth-buttons {
		margin-left: auto;
	}

	.slide-content {
		flex-direction: column;
		padding: 40px 20px;
		text-align: center;
		max-width: 100%;
	}

	.slide-text {
		max-width: 100%;
	}

	.hero-title {
		font-size: 28px;
		line-height: 1.3;
	}

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

	.games-section {
		padding: 40px 20px;
	}

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

	.providers-grid {
		gap: 16px;
	}

	.provider-card {
		width: calc(50% - 8px);
		min-width: 140px;
	}

	.providers-section {
		padding: 40px 20px;
	}

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

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

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

	.text-content h1 {
		font-size: 32px;
	}

	.text-content h2 {
		font-size: 22px;
	}

	.text-content h3 {
		font-size: 18px;
	}

	.text-content p {
		font-size: 15px;
	}
}

@media (max-width: 640px) {
	.carousel {
		height: 450px;
	}

	.hero-title {
		font-size: 22px;
		margin-bottom: 20px;
		line-height: 1.4;
	}

	.btn-primary {
		padding: 14px 28px;
		font-size: 15px;
	}

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

	.games-filters {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;

		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.games-filters::-webkit-scrollbar {
		display: none;
	}

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

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

	.text-content h1 {
		font-size: 24px;
		line-height: 1.3;
	}

	.text-content h2 {
		font-size: 18px;
		line-height: 1.3;
	}

	.text-content h3 {
		font-size: 16px;
		line-height: 1.3;
	}

	.text-content p {
		font-size: 14px;
		line-height: 1.7;
	}

	.text-content li {
		font-size: 14px;
	}

	.providers-track {
		gap: 16px;
	}

	.provider-card {
		width: calc(50% - 8px);
		min-width: unset;
		height: 80px;
	}

	.auth-buttons {
		flex-direction: row;
		gap: 8px;
	}

	.btn-login,
	.btn-signup {
		padding: 8px 16px;
		font-size: 13px;
		white-space: nowrap;
	}

	.footer-section {
		gap: 12px;
	}

	.footer-title {
		font-size: 16px;
	}

	.footer-section p,
	.footer-link {
		font-size: 13px;
	}

	.disclaimer {
		font-size: 12px;
		padding: 16px;
	}

	.copyright {
		font-size: 12px;
	}
}

@media (max-width: 375px) {
	.hero-title {
		font-size: 20px;
	}

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

	.carousel {
		height: 400px;
	}

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

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

.sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
	display: block;
	opacity: 1;
}

@media (max-width: 1024px) {
	.sidebar-overlay.active {
		display: block;
	}
}
hr {
	margin: 2rem 0;
}
.accordion-item {
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	margin-bottom: 10px;
	overflow: hidden;
}

.accordion-header {
	padding: 16px 20px;
	cursor: pointer;
	font-weight: 600;
	color: inherit;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: border-color 0.3s ease;
	background: transparent;
}
.accordion-header h3 {
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

.accordion-header:hover {
	background: transparent;
}

.accordion-header.active {
}

.accordion-icon {
	font-size: 18px;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 12px;
}

.accordion-header.active .accordion-icon {
	transform: rotate(180deg);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background: transparent;
}

.accordion-content.active {
	max-height: 2000px;
}

.accordion-body {
	padding: 16px 20px;
	color: inherit;
	line-height: 1.6;
	border-top: 1px solid #d0d0d0;
}
