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

:root {
	--primary-color: #8b5cf6;
	--primary-dark: #6d28d9;
	--secondary-color: #ec4899;
	--accent-color: #f59e0b;
	--background: #0f0a1f;
	--background-light: #1a1333;
	--background-card: #241b3e;
	--text-primary: #ffffff;
	--text-secondary: #a78bfa;
	--text-muted: #9ca3af;
	--border-color: #3b2f5c;
	--sidebar-width: 280px;
	--header-height: 70px;

	--spacing-xs: clamp(0.5rem, 2vw, 0.75rem);
	--spacing-sm: clamp(0.75rem, 3vw, 1rem);
	--spacing-md: clamp(1rem, 4vw, 1.5rem);
	--spacing-lg: clamp(1.5rem, 5vw, 2.5rem);
	--spacing-xl: clamp(2rem, 6vw, 4rem);

	--font-size-sm: clamp(0.875rem, 2vw, 1rem);
	--font-size-base: clamp(1rem, 2.5vw, 1.125rem);
	--font-size-lg: clamp(1.125rem, 3vw, 1.25rem);
	--font-size-xl: clamp(1.25rem, 3.5vw, 1.5rem);
	--font-size-2xl: clamp(1.5rem, 4vw, 2rem);
	--font-size-3xl: clamp(2rem, 5vw, 3rem);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	background: linear-gradient(135deg, #0f0a1f 0%, #1a0b2e 50%, #16001e 100%);
	color: var(--text-primary);
	min-height: 100vh;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html {
	scroll-behavior: smooth;
}

*:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background: var(--background-light);
	border-right: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	z-index: 1000;
	transition: transform 0.3s ease;

	will-change: transform;
}

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

	min-height: 80px;
}

.logo img {
	height: 60px;
	object-fit: contain;

	max-width: 100%;
}

.close-btn {
	display: none;
	background: transparent;
	border: none;
	color: var(--text-primary);
	cursor: pointer;
	padding: 8px;
}

.close-btn:hover {
	color: var(--primary-color);
}

.sidebar-nav {
	flex: 1;
	overflow-y: auto;
	padding: 20px 0;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	color: var(--text-muted);
	text-decoration: none;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}

.nav-item:hover {
	background: rgba(139, 92, 246, 0.1);
	color: var(--text-primary);
	border-left-color: var(--primary-color);
}

.nav-item.active {
	background: rgba(139, 92, 246, 0.15);
	color: var(--primary-color);
	border-left-color: var(--primary-color);
}

.sidebar-footer {
	padding: 20px;
	border-top: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sidebar-btn {
	padding: 12px 24px;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid var(--primary-color);
	color: var(--text-primary);
	background: transparent;
}

.sidebar-btn:hover {
	background: rgba(139, 92, 246, 0.1);
	transform: translateY(-2px);
}

.sidebar-btn.primary {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	border: none;
}

.sidebar-btn.primary:hover {
	box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 999;
}

.main-content {
	margin-left: var(--sidebar-width);
	min-height: 100vh;

	transition: margin-left 0.3s ease;
}

.hamburger {
	display: none;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 998;
	background: var(--background-card);
	border: 1px solid var(--border-color);
	padding: 12px;
	border-radius: 8px;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;

	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

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

.hero-carousel {
	padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-xl);
}

.carousel-container {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 16px;

	touch-action: pan-y;
}

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

.carousel-slide {
	min-width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.carousel-slide.active {
	opacity: 1;
}

.slide-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(
		135deg,
		rgba(139, 92, 246, 0.2),
		rgba(236, 72, 153, 0.2)
	);
	padding: clamp(30px, 5vw, 60px);
	border-radius: 16px;
	border: 1px solid var(--border-color);
	gap: clamp(20px, 4vw, 40px);

	flex-wrap: wrap;

	position: relative;
	isolation: isolate;
}

.slide-text {
	flex: 1;

	min-width: 280px;
}

.slide-title {
	font-size: var(--font-size-3xl);
	font-weight: 700;
	margin-bottom: 16px;
	background: linear-gradient(135deg, #ffffff, var(--text-secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;

	text-wrap: balance;
}

.slide-subtitle {
	font-size: var(--font-size-lg);
	color: var(--text-muted);
	margin-bottom: 32px;
	line-height: 1.6;

	text-wrap: pretty;
}

.cta-button {
	display: inline-block;
	padding: clamp(12px, 2vw, 16px) clamp(32px, 5vw, 48px);
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	color: var(--text-primary);
	text-decoration: none;
	border-radius: 12px;
	font-weight: 600;
	font-size: var(--font-size-lg);
	transition: all 0.3s ease;

	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.cta-button:active {
	transform: translateY(-1px);
}

.slide-image {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.5;
}

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

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(139, 92, 246, 0.9);
	border: none;
	color: var(--text-primary);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	opacity: 0.25;
}

.carousel-btn:hover {
	background: var(--primary-color);
	transform: translateY(-50%) scale(1.1);
	opacity: 1;
}

.carousel-btn.prev {
	left: 20px;
}

.carousel-btn.next {
	right: 20px;
}

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

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

.dot.active {
	background: var(--primary-color);
	width: 30px;
	border-radius: 5px;
}

.slots-section {
	padding: var(--spacing-xl) var(--spacing-lg);
	max-width: 1600px;
	margin: 0 auto;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--spacing-lg);

	flex-wrap: wrap;
	gap: var(--spacing-sm);
}

.section-title {
	font-size: var(--font-size-2xl);
	font-weight: 700;
}

.view-all {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
}

.view-all:hover {
	color: var(--secondary-color);
	transform: translateX(4px);
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	gap: clamp(16px, 3vw, 24px);
}

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

	will-change: transform;
}

@media (hover: hover) {
	.game-card:hover {
		transform: translateY(-8px);
		box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
		border-color: var(--primary-color);
	}

	.game-card:hover .game-image img {
		transform: scale(1.1);
	}
}

.game-card:active {
	transform: scale(0.98);
}

.game-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: linear-gradient(135deg, var(--secondary-color), #dc2626);
	color: var(--text-primary);
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
}

.game-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;

	background: var(--background-light);
}

.game-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.game-rtp {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.8);
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
}

.game-info {
	padding: 16px;
}

.game-provider {
	font-size: 12px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.game-name {
	font-size: 16px;
	font-weight: 600;
}

.providers-section {
	padding: var(--spacing-xl) var(--spacing-lg);
	max-width: 1600px;
	margin: 0 auto;
}

.providers-scroll {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 3vw, 20px);
}

.providers-row {
	display: grid;
	gap: clamp(16px, 3vw, 32px);
	grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
}

.provider-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(12px, 2vw, 16px) clamp(20px, 3vw, 24px);
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
	transition: all 0.3s ease;
	text-decoration: none;
	flex-shrink: 0;

	min-height: 44px;
}

@media (hover: hover) {
	.provider-logo:hover {
		background: rgba(139, 92, 246, 0.1);
		transform: translateY(-2px);
	}

	.provider-logo:hover img {
		filter: grayscale(0%) brightness(1.2);
	}
}

.provider-logo img {
	height: clamp(30px, 5vw, 40px);
	width: auto;
	filter: grayscale(100%) brightness(0.8);
	transition: filter 0.3s ease;

	max-width: 120px;
}

.footer {
	background: var(--background-light);
	border-top: 1px solid var(--border-color);
	padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md);
}

.footer-content {
	max-width: 1600px;
	margin: 0 auto;
	display: grid;

	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-lg);
}

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

.footer-title {
	font-size: var(--font-size-lg);
	font-weight: 700;
	color: var(--primary-color);
}

.footer-text {
	font-size: var(--font-size-sm);
	line-height: 1.6;
	color: var(--text-muted);
}

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

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

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

.footer-disclaimer {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px;
	background: rgba(139, 92, 246, 0.1);
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-muted);
	text-align: center;
}

.footer-bottom {
	max-width: 1600px;
	margin: 20px auto 0;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	text-align: center;
	font-size: 14px;
	color: var(--text-muted);
}

.content-section {
	padding: var(--spacing-xl) var(--spacing-lg);
	max-width: 1200px;
	margin: 0 auto;
}

.content-wrapper {
	background: var(--background-card);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: clamp(24px, 5vw, 48px);
	width: 100%;
	overflow: hidden;
}

.content-wrapper h1 {
	font-size: var(--font-size-3xl);
	font-weight: 700;
	margin-bottom: var(--spacing-md);
	color: var(--text-primary);
	line-height: 1.3;
	text-wrap: balance;
}

.content-wrapper h2 {
	font-size: var(--font-size-2xl);
	font-weight: 700;
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-md);
	color: var(--primary-color);
	line-height: 1.4;
	text-wrap: balance;
}

.content-wrapper h3 {
	font-size: var(--font-size-xl);
	font-weight: 600;
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-sm);
	color: var(--text-secondary);
	line-height: 1.4;
	text-wrap: balance;
}

.content-wrapper p {
	font-size: var(--font-size-base);
	line-height: 1.8;
	margin-bottom: var(--spacing-md);
	color: var(--text-muted);
	text-wrap: pretty;
}

.content-wrapper ul,
.content-wrapper ol {
	margin: 24px 0;
	padding-left: 32px;
}

.content-wrapper li {
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 12px;
	color: var(--text-muted);
}

.content-wrapper ul li {
	list-style-type: disc;
}

.content-wrapper ol li {
	list-style-type: decimal;
}

.content-wrapper strong {
	color: var(--text-primary);
	font-weight: 600;
}

.content-wrapper em {
	color: var(--text-secondary);
	font-style: italic;
}

.content-wrapper blockquote {
	margin: 32px 0;
	padding: 24px;
	border-left: 4px solid var(--primary-color);
	background: rgba(139, 92, 246, 0.1);
	border-radius: 8px;
}

.content-wrapper blockquote p {
	margin: 0;
	font-size: 18px;
	font-style: italic;
	color: var(--text-primary);
}

.content-wrapper table {
	width: 100%;
	margin: var(--spacing-lg) 0;
	border-collapse: collapse;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border-color);

	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.content-wrapper thead {
	background: linear-gradient(
		135deg,
		rgba(139, 92, 246, 0.2),
		rgba(236, 72, 153, 0.2)
	);
}

.content-wrapper th {
	padding: clamp(12px, 2vw, 16px);
	text-align: left;
	font-weight: 700;
	font-size: var(--font-size-sm);
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid var(--border-color);

	white-space: nowrap;
}

.content-wrapper td {
	padding: clamp(12px, 2vw, 16px);
	font-size: var(--font-size-sm);
	color: var(--text-muted);
	border-bottom: 1px solid var(--border-color);
}

.content-wrapper tbody tr {
	transition: background 0.3s ease;
}

.content-wrapper tbody tr:hover {
	background: rgba(139, 92, 246, 0.05);
}

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

.content-wrapper hr {
	margin: 40px 0;
	border: none;
	border-top: 1px solid var(--border-color);
}

.content-wrapper a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.content-wrapper a:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}

.content-wrapper code {
	padding: 2px 8px;
	background: rgba(139, 92, 246, 0.15);
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	color: var(--primary-color);
}

.content-wrapper pre {
	margin: 24px 0;
	padding: 20px;
	background: var(--background-light);
	border-radius: 8px;
	border: 1px solid var(--border-color);
	overflow-x: auto;
}

.content-wrapper pre code {
	padding: 0;
	background: none;
	font-size: 14px;
}

.content-wrapper :is(.cta-button, .cta-button:hover) {
	text-decoration: none;
	color: var(--text-primary);
	transition: all 0.3s ease;
}

@media (max-width: 1024px) {
	:root {
		--sidebar-width: 280px;
	}

	.slide-content {
		flex-direction: column;
		text-align: center;
	}

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

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

	.footer-content {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

@media (max-width: 768px) {
	:root {
		--sidebar-width: 280px;

		--spacing-xl: 2rem;
		--spacing-lg: 1.5rem;
	}

	.sidebar {
		transform: translateX(-100%);
	}

	.sidebar.active {
		transform: translateX(0);

		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
	}

	.close-btn {
		display: block;
	}

	.overlay.active {
		display: block;
	}

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

	.hamburger {
		display: flex;
	}

	.hero-carousel {
		padding: 80px var(--spacing-md) var(--spacing-lg);
	}

	.slide-content {
		padding: var(--spacing-lg) var(--spacing-md);
	}

	.carousel-btn {
		width: 36px;
		height: 36px;
		opacity: 0.8;
	}

	.carousel-btn.prev {
		left: 8px;
	}

	.carousel-btn.next {
		right: 8px;
	}

	.carousel-dots {
		bottom: 12px;
	}

	.dot {
		width: 8px;
		height: 8px;
	}

	.dot.active {
		width: 24px;
	}

	.slots-section {
		padding: 30px 20px;
	}

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

	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
		gap: clamp(12px, 3vw, 16px);
	}

	.game-info {
		padding: 12px;
	}

	.game-name {
		font-size: 14px;
	}

	.game-provider {
		font-size: 11px;
	}

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

	.providers-row {
		gap: 12px;

		justify-content: space-around;
	}

	.provider-logo {
		padding: 10px 16px;
	}

	.provider-logo img {
		height: 30px;
	}

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

	.footer-content {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

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

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

	.content-wrapper h1 {
		font-size: 28px;
	}

	.content-wrapper h2 {
		font-size: 24px;
		margin-top: 32px;
	}

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

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

	.content-wrapper th,
	.content-wrapper td {
		padding: 12px 8px;
		font-size: 13px;
	}

	.footer-disclaimer {
		font-size: 12px;
		padding: var(--spacing-md);
	}
}

@media (max-width: 480px) {
	.hamburger {
		top: 12px;
		right: 12px;
	}

	.hero-carousel {
		padding: 70px var(--spacing-sm) var(--spacing-md);
	}

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

	.slide-subtitle {
		font-size: 14px;
	}

	.cta-button {
		width: 100%;
		padding: 14px 24px;
	}

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

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

	.providers-row {
		gap: 8px;
	}

	.provider-logo {
		padding: 8px 12px;
	}

	.provider-logo img {
		height: 24px;
	}
}

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

	.slide-subtitle {
		font-size: 13px;
		margin-bottom: var(--spacing-md);
	}

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

	.game-card {
		max-width: 100%;
	}
}

@media (max-width: 768px) and (orientation: landscape) {
	.hero-carousel {
		padding: 60px var(--spacing-md) var(--spacing-md);
	}

	.slide-content {
		flex-direction: row;
		gap: var(--spacing-md);
	}

	.slide-image {
		max-width: 40%;
	}
}

@media (min-width: 1440px) {
	:root {
		--sidebar-width: 320px;
	}

	.slots-section,
	.providers-section,
	.footer-content,
	.footer-disclaimer,
	.footer-bottom {
		max-width: 1800px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (prefers-contrast: high) {
	:root {
		--border-color: #ffffff;
		--text-muted: #e5e5e5;
	}

	.game-card,
	.provider-logo,
	.content-wrapper {
		border-width: 2px;
	}
}

@media print {
	.sidebar,
	.hamburger,
	.carousel-btn,
	.carousel-dots,
	.footer {
		display: none !important;
	}

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

	body {
		background: white;
		color: black;
	}

	.game-card,
	.content-wrapper {
		break-inside: avoid;
	}
}
.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 !important;
	font-size: 1.2rem;
}

.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;
}
