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

:root {
	--bg-primary: #0f1419;
	--bg-secondary: #1a1f2e;
	--bg-tertiary: #252b3b;
	--bg-card: #1e2433;
	--accent-primary: #00ff87;
	--accent-secondary: #22c55e;
	--accent-danger: #ff4444;
	--accent-warning: #ff8800;
	--text-primary: #ffffff;
	--text-secondary: #a0a8b8;
	--text-muted: #6b7280;
	--border-color: #2d3548;
	--sidebar-width: 260px;
	--glow-primary: rgba(0, 255, 135, 0.4);
	--glow-danger: rgba(255, 68, 68, 0.4);
	--glow-warning: rgba(255, 136, 0, 0.4);
}

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

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background: var(--bg-secondary);
	border-right: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	z-index: 1000;
	transition: transform 0.3s ease;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text-primary);
	font-size: 24px;
	font-weight: 700;
	background: linear-gradient(
		135deg,
		var(--accent-primary) 0%,
		var(--accent-secondary) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: all 0.3s;
}
.logo img {
	height: 35px;
	object-fit: contain;
}

.logo:hover {
	filter: drop-shadow(0 0 8px var(--glow-primary));
}

.sidebar-close {
	display: none;
	cursor: pointer;
	color: var(--text-secondary);
}

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

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.2s;
	border-left: 3px solid transparent;
	position: relative;
	overflow: hidden;
}

.nav-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--glow-primary), transparent);
	transition: width 0.3s ease;
	z-index: -1;
}

.nav-item:hover::before {
	width: 100%;
}

.nav-item:hover {
	background: var(--bg-tertiary);
	color: var(--accent-primary);
	border-left-color: var(--accent-primary);
	box-shadow: inset 4px 0 12px var(--glow-primary);
	transform: translateX(0);
}

.nav-item.active {
	background: var(--bg-tertiary);
	color: var(--accent-primary);
	border-left-color: var(--accent-primary);
	box-shadow: inset 4px 0 12px var(--glow-primary);
}

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

.cta-button {
	display: block;
	padding: 12px 24px;
	background: linear-gradient(
		135deg,
		var(--accent-primary) 0%,
		var(--accent-secondary) 100%
	);
	color: var(--bg-primary);
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s;
	box-shadow: 0 4px 16px var(--glow-primary);
	position: relative;
	overflow: hidden;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	transition: left 0.5s;
}

.cta-button:hover::before {
	left: 100%;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--glow-primary);
}

.cta-button-secondary {
	display: block;
	padding: 12px 24px;
	background: transparent;
	color: var(--text-primary);
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	font-weight: 600;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.cta-button-secondary::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 8px;
	padding: 1px;
	background: linear-gradient(
		135deg,
		var(--accent-primary),
		var(--accent-secondary)
	);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.3s;
}

.cta-button-secondary:hover::before {
	opacity: 1;
}

.cta-button-secondary:hover {
	background: var(--bg-tertiary);
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 255, 135, 0.2);
}

.mobile-header {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border-color);
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	z-index: 999;
}

.mobile-menu-btn {
	cursor: pointer;
	color: var(--text-primary);
}

.mobile-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--text-primary);
	font-size: 20px;
	font-weight: 700;
}

.mobile-cta {
	padding: 8px 16px;
	background: var(--accent-primary);
	color: var(--bg-primary);
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
}

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

.hero-section {
	background: linear-gradient(
		135deg,
		var(--bg-secondary) 0%,
		var(--bg-tertiary) 100%
	);
	border-radius: 16px;
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border-color);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, var(--glow-danger) 0%, transparent 70%);
	border-radius: 50%;
	animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.5;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.8;
	}
}

.hero-slider {
	position: relative;
	width: 100%;
	height: 500px;
}

.hero-slide {
	position: absolute;
	inset: 0;
	padding: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.hero-content {
	flex: 1;
	z-index: 1;
}

.hero-badge {
	display: inline-block;
	padding: 8px 16px;
	background: var(--accent-danger);
	color: var(--text-primary);
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 16px;
	box-shadow: 0 4px 16px var(--glow-danger);
	animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-4px);
	}
}

.hero-title {
	font-size: 64px;
	font-weight: 800;
	margin-bottom: 16px;
	background: linear-gradient(
		135deg,
		var(--accent-primary) 0%,
		var(--accent-secondary) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 4px 12px var(--glow-primary));
}

.hero-subtitle {
	font-size: 20px;
	color: var(--text-secondary);
	margin-bottom: 32px;
}

.hero-cta {
	display: inline-block;
	padding: 16px 48px;
	background: linear-gradient(
		135deg,
		var(--accent-primary) 0%,
		var(--accent-secondary) 100%
	);
	color: var(--bg-primary);
	text-decoration: none;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 700;
	transition: all 0.3s;
	box-shadow: 0 8px 24px var(--glow-primary);
	position: relative;
	overflow: hidden;
}

.hero-cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.3),
		transparent
	);
	transition: left 0.6s;
}

.hero-cta:hover::before {
	left: 100%;
}

.hero-cta:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 12px 32px var(--glow-primary);
}

.hero-image {
	flex: 0 0 400px;
	z-index: 1;
}

.hero-image img {
	width: 100%;
	height: auto;
}

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

.hero-arrow {
	width: 48px;
	height: 48px;
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid var(--border-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	pointer-events: all;
	backdrop-filter: blur(10px);
}

.hero-arrow:hover {
	background: var(--accent-primary);
	border-color: var(--accent-primary);
	box-shadow: 0 0 24px var(--glow-primary);
	transform: scale(1.1);
}

.hero-arrow svg {
	color: var(--text-primary);
}

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

.hero-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.3s;
}

.hero-dot:hover {
	background: rgba(255, 255, 255, 0.5);
	transform: scale(1.2);
}

.hero-dot.active {
	background: var(--accent-primary);
	border-color: var(--accent-primary);
	box-shadow: 0 0 16px var(--glow-primary);
	width: 32px;
	border-radius: 6px;
}

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

.categories-scroll {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	padding: 20px 0;
	scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
	display: none;
}

.category-item {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text-primary);
	transition: all 0.3s;
	cursor: pointer;
}

.category-item:hover {
	transform: translateY(-8px);
}
a {
	text-decoration: none;
}
.category-icon {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--bg-card);
	border: 3px solid var(--accent-danger);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}
.category-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.category-icon::before {
	content: '';
	position: absolute;
	inset: -50%;
	background: conic-gradient(
		from 0deg,
		transparent,
		var(--accent-primary),
		transparent
	);
	animation: rotate 3s linear infinite;
	opacity: 0;
	transition: opacity 0.3s;
}

@keyframes rotate {
	to {
		transform: rotate(360deg);
	}
}

.category-item:hover .category-icon::before {
	opacity: 1;
}

.category-item:hover .category-icon {
	border-color: var(--accent-primary);
	box-shadow: 0 0 32px var(--glow-primary), inset 0 0 16px var(--glow-primary);
	background: var(--bg-tertiary);
}

.category-item span {
	font-size: 14px;
	font-weight: 600;
}

.section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	line-height: 1;
}

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

.show-all {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
	position: relative;
}

.show-all::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--accent-primary),
		var(--accent-secondary)
	);
	transition: width 0.3s;
}

.show-all:hover::after {
	width: 100%;
}

.show-all:hover {
	gap: 12px;
	text-shadow: 0 0 12px var(--glow-primary);
}

.big-wins-section {
	margin-bottom: 60px;
}

.wins-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding: 20px 0;
	scrollbar-width: thin;
	scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

.wins-carousel::-webkit-scrollbar {
	height: 8px;
}

.wins-carousel::-webkit-scrollbar-track {
	background: var(--bg-secondary);
	border-radius: 4px;
}

.wins-carousel::-webkit-scrollbar-thumb {
	background: var(--accent-primary);
	border-radius: 4px;
}

.win-card {
	flex: 0 0 auto;
	width: 160px;
	background: var(--bg-card);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.win-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px var(--glow-primary);
	border-color: var(--accent-primary);
}

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

.win-info {
	padding: 12px;
}

.win-player {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.win-amount {
	font-size: 18px;
	font-weight: 700;
	color: var(--accent-primary);
	text-shadow: 0 0 12px var(--glow-primary);
}

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

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

.game-card {
	position: relative;
	background: var(--bg-card);
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 5 / 6;
	text-decoration: none;
	transition: all 0.3s;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px var(--glow-primary);
	border-color: var(--accent-primary);
}

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

.game-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 12px;
	background: #3b82f6;
	color: var(--text-primary);
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
	animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.game-jackpot {
	position: absolute;
	bottom: 12px;
	left: 12px;
	padding: 6px 12px;
	background: var(--accent-primary);
	color: var(--bg-primary);
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
	box-shadow: 0 4px 16px var(--glow-primary);
	animation: pulse 2s ease-in-out infinite;
}

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

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

.game-play {
	padding: 12px 32px;
	background: var(--accent-primary);
	color: var(--bg-primary);
	border-radius: 8px;
	font-weight: 700;
	box-shadow: 0 4px 16px var(--glow-primary);
	transition: all 0.3s;
}

.game-play:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 24px var(--glow-primary);
}

.hall-of-fame-section {
	margin-bottom: 60px;
}

.hall-tabs {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--border-color);
}

.hall-tab {
	padding: 12px 24px;
	cursor: pointer;
	color: var(--text-secondary);
	font-weight: 600;
	border-bottom: 2px solid transparent;
	transition: all 0.2s;
	position: relative;
}

.hall-tab::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--accent-primary),
		var(--accent-secondary)
	);
	transition: all 0.3s;
	transform: translateX(-50%);
}

.hall-tab:hover::after {
	width: 100%;
}

.hall-tab:hover {
	color: var(--text-primary);
}

.hall-tab.active {
	color: var(--accent-primary);
	border-bottom-color: var(--accent-primary);
	text-shadow: 0 0 12px var(--glow-primary);
}

.hall-tab.active::after {
	width: 100%;
}

.hall-content {
	position: relative;
}

.hall-panel {
	display: none;
}

.hall-panel.active {
	display: block;
}

.top-games {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 32px;
}

.top-game-card {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	position: relative;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s;
}

.top-game-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px var(--glow-primary);
	border-color: var(--accent-primary);
}

.top-rank {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 32px;
	height: 32px;
	background: linear-gradient(
		135deg,
		var(--accent-primary) 0%,
		var(--accent-secondary) 100%
	);
	color: var(--bg-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	box-shadow: 0 4px 16px var(--glow-primary);
	animation: pulse 2s ease-in-out infinite;
}

.top-game-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 8px;
}

.top-game-info {
	text-align: center;
	width: 100%;
}

.top-game-player {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.top-game-amount {
	font-size: 24px;
	font-weight: 700;
	color: var(--accent-primary);
	text-shadow: 0 0 16px var(--glow-primary);
}

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

.small-game {
	background: var(--bg-card);
	border-radius: 8px;
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--border-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.3s;
}

.small-game:hover {
	transform: translateX(4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 16px var(--glow-primary);
	border-color: var(--accent-primary);
}

.small-game img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 6px;
}

.small-game-info {
	flex: 1;
}

.small-game-player {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.small-game-amount {
	font-size: 16px;
	font-weight: 700;
	color: var(--accent-primary);
	text-shadow: 0 0 12px var(--glow-primary);
}

.live-wins-table {
	background: var(--bg-card);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.table-header {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
	gap: 16px;
	padding: 16px 20px;
	background: var(--bg-tertiary);
	font-weight: 600;
	font-size: 14px;
	color: var(--text-secondary);
}

.table-body {
	max-height: 500px;
	overflow-y: auto;
}

.table-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
	transition: all 0.3s;
}

.table-row:hover {
	background: var(--bg-tertiary);
	transform: translateX(4px);
	box-shadow: inset 4px 0 0 var(--accent-primary);
}

.td {
	display: flex;
	align-items: center;
	font-size: 14px;
}

.game-cell {
	gap: 12px;
}

.game-cell img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
}

.win-amount {
	color: var(--accent-primary);
	font-weight: 700;
	text-shadow: 0 0 12px var(--glow-primary);
}

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

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

.provider-card {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.provider-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--glow-primary), transparent);
	opacity: 0;
	transition: opacity 0.3s;
}

.provider-card:hover::before {
	opacity: 0.1;
}

.provider-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px var(--glow-primary);
	border-color: var(--accent-primary);
}

.provider-card img {
	max-width: 100%;
	height: auto;
	filter: grayscale(100%) brightness(0.8);
	transition: filter 0.3s;
}

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

.footer {
	margin-top: 80px;
	margin-left: -40px;
	margin-right: -40px;
	padding: 0 40px;
	background: linear-gradient(
		180deg,
		var(--bg-secondary) 0%,
		var(--bg-primary) 100%
	);
	border-top: 1px solid var(--border-color);
	position: relative;
	overflow: hidden;
}
@media (max-width: 1024px) {
	.footer {
		margin-left: -24px;
		margin-right: -24px;
		padding: 0 24px;
	}
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--accent-primary),
		transparent
	);
	animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
	0%,
	100% {
		opacity: 0.3;
	}
	50% {
		opacity: 1;
	}
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 48px;
	padding: 60px 0 40px;
	border-bottom: 1px solid var(--border-color);
}

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

.footer-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
	background: linear-gradient(
		135deg,
		var(--accent-primary),
		var(--accent-secondary)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

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

.footer-section a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
	position: relative;
	width: fit-content;
}

.footer-section a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--accent-primary);
	transition: width 0.3s;
}

.footer-section a:hover {
	color: var(--accent-primary);
	transform: translateX(4px);
}

.footer-section a:hover::after {
	width: 100%;
}

.footer-logos {
	display: flex;
	gap: 16px;
	margin-top: 16px;
}

.footer-logos img {
	height: 40px;
	width: auto;
	opacity: 0.7;
	transition: opacity 0.3s;
}

.footer-logos img:hover {
	opacity: 1;
}

.footer-disclaimer {
	padding: 32px 0;
	border-bottom: 1px solid var(--border-color);
}

.footer-disclaimer p {
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.footer-bottom {
	padding: 24px 0;
	text-align: center;
}

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

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

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

	.sidebar-close {
		display: block;
	}

	.mobile-header {
		display: flex;
	}

	.main-content {
		margin-left: 0;
		padding: 80px 24px 24px;
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}

	.hero-slider {
		height: 450px;
	}

	.hero-slide {
		padding: 40px 32px;
	}
}

@media (max-width: 768px) {
	.hero-slider {
		height: 600px;
	}

	.hero-slide {
		flex-direction: column;
		padding: 40px 24px;
		text-align: center;
	}

	.hero-title {
		font-size: 48px;
	}

	.hero-image {
		flex: 0 0 auto;
		width: 100%;
		max-width: 300px;
		margin-top: 32px;
	}

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

	.table-header,
	.table-row {
		grid-template-columns: 2fr 1fr 1fr;
	}

	.table-header .th:nth-child(3),
	.table-header .th:nth-child(4),
	.table-row .td:nth-child(3),
	.table-row .td:nth-child(4) {
		display: none;
	}

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

@media (max-width: 480px) {
	.hero-slider {
		height: 550px;
	}

	.hero-title {
		font-size: 36px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

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

	.category-icon {
		width: 72px;
		height: 72px;
	}

	.hero-arrow {
		width: 40px;
		height: 40px;
	}

	.hero-nav {
		padding: 0 12px;
	}
}
.text-wrapper {
	margin: 80px 0;
	padding: 0;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.text-wrapper p {
	margin: 0 0 1.2em;
	line-height: 1.6;
}

.text-wrapper strong,
.text-wrapper b {
	font-weight: 600;
}

.text-wrapper em,
.text-wrapper i {
	font-style: italic;
}

.text-wrapper mark {
	background: #fffb91;
	padding: 0 2px;
}

.text-wrapper del {
	text-decoration: line-through;
}

.text-wrapper sup {
	font-size: 0.8em;
	vertical-align: super;
}

.text-wrapper sub {
	font-size: 0.8em;
	vertical-align: sub;
}

.text-wrapper h2,
.text-wrapper h3,
.text-wrapper h4,
.text-wrapper h5,
.text-wrapper h6 {
	margin: 2em 0 1em;
	line-height: 1.3;
}

.text-wrapper ul,
.text-wrapper ol {
	margin: 0 0 1.2em;
	padding-left: 1.5em;
}

.text-wrapper li {
	margin-bottom: 0.4em;
	list-style-position: outside;
}

.text-wrapper dl {
	margin: 1.5em 0;
}

.text-wrapper dt {
	font-weight: 600;
}

.text-wrapper dd {
	margin: 0 0 1em 1.5em;
}

.text-wrapper a {
	text-decoration: underline;
	transition: all 0.2s;
}

.text-wrapper a:hover {
	font-weight: 600;
}

.text-wrapper code {
	background: #f5f5f5;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: Consolas, Monaco, monospace;
	font-size: 0.9em;
}

.text-wrapper pre {
	background: #272822;
	color: #f8f8f2;
	padding: 1em;
	overflow-x: auto;
	border-radius: 6px;
	margin: 1.5em 0;
}

.text-wrapper pre code {
	background: none;
	padding: 0;
	color: inherit;
}

.text-wrapper hr {
	margin: 2em 0;
	border: none;
	border-top: 1px solid #ddd;
}

.text-wrapper img,
.text-wrapper video,
.text-wrapper iframe {
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 1.5em 0;
	display: block;
	border-radius: 6px;
}

.text-wrapper figure {
	margin: 2em 0;
	text-align: center;
}

.text-wrapper figcaption {
	margin-top: 0.5em;
	font-style: italic;
	opacity: 0.8;
}

.text-wrapper blockquote {
	margin: 2em 0;
	padding: 1em 1.5em;
	border-left: 4px solid #ccc;
	background: #f9f9f9;
	border-radius: 4px;
}

.text-wrapper blockquote p:last-child {
	margin-bottom: 0;
}

.text-wrapper > *:last-child {
	margin-bottom: 0;
}

.text-wrapper table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 0.95em;
}

.text-wrapper th,
.text-wrapper td {
	padding: 0.75em 1em;
	border: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
}

.text-wrapper th {
	font-weight: bold;
	background-color: var(--bg-tertiary);
}

@media (max-width: 768px) {
	.text-wrapper {
		margin: 60px 0;
	}

	.text-wrapper table {
		display: inline-block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		max-width: 100%;
	}

	.text-wrapper li {
		list-style-position: inside;
	}

	.text-wrapper blockquote {
		border-left-width: 3px;
		padding: 0.7em 1em;
	}
}

@media (max-width: 480px) {
	.text-wrapper {
		margin: 40px 0;
	}
}
