* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--color-primary: #d32f2f;
	--color-primary-hover: #b71c1c;
	--color-background: #1a1f2e;
	--color-surface: #252b3d;
	--color-surface-light: #2d3548;
	--color-text: #ffffff;
	--color-text-secondary: #8b92a8;
	--color-border: #353d52;
	--sidebar-width: 60px;
	--header-height: 70px;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	background-color: var(--color-background);
	color: var(--color-text);
	line-height: 1.6;
	overflow-x: hidden;
}

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background-color: var(--color-surface);
	display: flex;
	flex-direction: column;
	z-index: 1000;
	transition: transform 0.3s ease;
}

.sidebar-header {
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #d32f2f, #ff5252);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-text {
	font-size: 24px;
	font-weight: 700;
	color: white;
}

.sidebar-nav {
	flex: 1;
	padding: 10px 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.nav-item {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.2s ease;
	position: relative;
}

.nav-icon {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}

.nav-item[data-icon='arrow'] .nav-icon {
	background-color: #3d4556;
	color: #8b92a8;
}

.nav-item[data-icon='casino'] .nav-icon {
	background: linear-gradient(135deg, #00c9a7, #00b894);
	color: white;
}

.nav-item[data-icon='slots'] .nav-icon {
	background: linear-gradient(135deg, #fdcb6e, #f39c12);
	color: white;
}

.nav-item[data-icon='gift'] .nav-icon {
	background: linear-gradient(135deg, #00b4d8, #0096c7);
	color: white;
}

.nav-item[data-icon='trophy'] .nav-icon {
	background: linear-gradient(135deg, #00d2ff, #3a7bd5);
	color: white;
}

.nav-item[data-icon='home'] .nav-icon {
	background-color: #3d4556;
	color: #8b92a8;
}

.nav-item[data-icon='signal'] .nav-icon {
	background-color: #3d4556;
	color: #8b92a8;
}

.nav-item[data-icon='rocket'] .nav-icon {
	background-color: #3d4556;
	color: #8b92a8;
}

.nav-item[data-icon='telegram'] .nav-icon {
	background: linear-gradient(135deg, #0088cc, #0077b5);
	color: white;
}

.nav-item[data-icon='link'] .nav-icon {
	background-color: #3d4556;
	color: #8b92a8;
}

.nav-item[data-icon='trophy2'] .nav-icon {
	background: linear-gradient(135deg, #ffd700, #ffb700);
	color: white;
}

.nav-item[data-icon='trophy3'] .nav-icon {
	background: linear-gradient(135deg, #ffd700, #ffb700);
	color: white;
}

.nav-item:hover .nav-icon {
	transform: scale(1.05);
}

.nav-item.active::before {
	content: '';
	position: absolute;
	left: -10px;
	width: 3px;
	height: 24px;
	background-color: #ffd700;
	border-radius: 0 2px 2px 0;
}

.nav-divider {
	width: 100%;
	padding: 8px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-divider span {
	font-size: 10px;
	color: #5a6175;
	font-weight: 600;
	letter-spacing: 1px;
}

.sidebar-footer {
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lang-flag {
	width: 40px;
	height: 30px;
	border-radius: 4px;
	overflow: hidden;
	display: block;
	transition: transform 0.2s ease;
}

.lang-flag:hover {
	transform: scale(1.05);
}

.main-content {
	margin-left: var(--sidebar-width);
	min-height: 100vh;
}

.header {
	position: sticky;
	top: 0;
	background-color: var(--color-surface);
	z-index: 100;
	height: var(--header-height);
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	height: 100%;
	max-width: 1600px;
	margin: 0 auto;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.burger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 22px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
	transition: all 0.3s ease;
}

.burger-menu span {
	width: 100%;
	height: 3px;
	background-color: var(--color-text);
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
	transform: translateY(9.5px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
	opacity: 0;
	transform: translateX(-20px);
}

.burger-menu.active span:nth-child(3) {
	transform: translateY(-9.5px) rotate(-45deg);
}

.header-logo-mobile {
	display: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	transition: all 0.2s ease;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-primary {
	background-color: var(--color-primary);
	color: white;
}

.btn-primary:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-1px);
}

.btn-secondary {
	background-color: transparent;
	color: var(--color-text);
	border: 2px solid var(--color-border);
}

.btn-secondary:hover {
	border-color: var(--color-text);
}

.hero-carousel {
	position: relative;
	padding: 20px 0;
}

.carousel-container {
	position: relative;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 30px;
	overflow: hidden;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease;
	width: 100%;
}

.carousel-slide {
	min-width: 100%;
	max-width: 100%;
	flex-shrink: 0;
	flex-grow: 0;
}

.slide-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 40px 60px;
	border-radius: 16px;
	min-height: 320px;
	overflow: hidden;
	position: relative;
	isolation: isolate;
	margin: 0 10px;
}

.slide-drops {
	background: linear-gradient(135deg, #4a1942 0%, #8b2f7d 50%, #d32f2f 100%);
}

.slide-telegram {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.slide-text {
	flex: 1;
	z-index: 2;
	width: 100%;
}

.slide-amount {
	font-size: 56px;
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 1;
}

.slide-title {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 1.2;
}

.slide-subtitle {
	font-size: 18px;
	margin-bottom: 28px;
	opacity: 0.95;
	line-height: 1.4;
}

.slide-btn {
	display: inline-block;
	padding: 14px 36px;
	background-color: var(--color-primary);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.slide-btn:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-2px);
}

.slide-image {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.75;
}

.slide-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	border: none;
	color: white;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 10;
}

.carousel-btn:hover {
	background-color: rgba(0, 0, 0, 0.6);
}

.carousel-btn-prev {
	left: 40px;
}

.carousel-btn-next {
	right: 40px;
}

.games-filter {
	padding: 16px 0;
	background-color: var(--color-surface);
	position: sticky;
	top: var(--header-height);
	z-index: 90;
}

.container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 30px;
}

.filter-tabs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
	display: none;
}

.filter-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background-color: transparent;
	color: var(--color-text-secondary);
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.filter-tab:hover {
	background-color: var(--color-surface-light);
	color: var(--color-text);
}

.filter-providers {
	background-color: var(--color-surface-light);
}

.new-badge {
	background-color: #00c9a7;
	color: white;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	margin-right: 4px;
}

.top-section,
.winners-section,
.providers-section {
	padding: 40px 0;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.section-title {
	font-size: 28px;
	font-weight: 700;
}

.section-controls {
	display: flex;
	gap: 8px;
}

.control-btn {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background-color: var(--color-surface-light);
	border: none;
	color: var(--color-text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.control-btn:hover {
	background-color: var(--color-border);
}

.top-carousel {
	overflow: hidden;
}

.top-track {
	display: flex;
	gap: 16px;
	transition: transform 0.3s ease;
}

.top-card {
	flex: 0 0 280px;
	background-color: var(--color-surface);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.3s ease;
}

.top-card:hover {
	transform: translateY(-4px);
}

.top-card-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--color-surface-light);
}

.top-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.top-card:hover .top-card-image img {
	transform: scale(1.05);
}

.top-card-info {
	padding: 16px;
}

.top-card-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 4px;
}

.top-card-provider {
	font-size: 13px;
	color: var(--color-text-secondary);
}

.winners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.winner-card {
	background-color: var(--color-surface);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
}

.winner-card:hover {
	background-color: var(--color-surface-light);
}

.winner-image {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background-color: var(--color-surface-light);
}

.winner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.winner-info {
	flex: 1;
	min-width: 0;
}

.winner-game {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.winner-user {
	font-size: 12px;
	color: var(--color-text-secondary);
}

.winner-amount {
	font-size: 15px;
	font-weight: 700;
	color: #00c9a7;
	flex-shrink: 0;
}

.providers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 16px;
}

.provider-card {
	background-color: var(--color-surface);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
	min-height: 80px;
}

.provider-card:hover {
	transform: translateY(-4px);
	background-color: var(--color-surface-light);
}

.provider-card img {
	max-width: 100%;
	height: auto;
	filter: brightness(0.9);
	transition: filter 0.3s ease;
}

.provider-card:hover img {
	filter: brightness(1);
}

.footer {
	background-color: var(--color-surface);
	padding: 60px 0 30px;
	margin-top: 60px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-heading {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--color-text);
}

.footer-text {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: 1.6;
	margin-bottom: 12px;
}

.footer-link {
	display: block;
	color: var(--color-text-secondary);
	text-decoration: none;
	font-size: 14px;
	margin-bottom: 10px;
	transition: color 0.2s ease;
}

.footer-link:hover {
	color: var(--color-primary);
}

.footer-disclaimer {
	padding: 30px;
	background-color: rgba(211, 47, 47, 0.1);
	border: 1px solid rgba(211, 47, 47, 0.2);
	border-radius: 12px;
	margin-bottom: 30px;
}

.footer-disclaimer p {
	font-size: 13px;
	color: var(--color-text-secondary);
	line-height: 1.6;
	margin-bottom: 8px;
}

.footer-age {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-primary);
	text-align: center;
	margin-top: 16px;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid var(--color-border);
}

.footer-bottom p {
	font-size: 13px;
	color: var(--color-text-secondary);
}

.sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 1024px) {
	.burger-menu {
		display: flex;
	}

	.header-logo-mobile {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		background: linear-gradient(135deg, #d32f2f, #ff5252);
		border-radius: 8px;
	}

	.header-logo-mobile .logo-text {
		font-size: 20px;
		font-weight: 700;
		color: white;
	}

	.sidebar {
		transform: translateX(-100%);
	}

	.sidebar.active {
		transform: translateX(0);
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
	}

	.main-content {
		margin-left: 0;
	}

	.header-logo-mobile {
		display: block;
	}

	.slide-content {
		flex-direction: column;
		padding: 30px;
		min-height: 400px;
		margin: 0 8px;
	}

	.slide-amount,
	.slide-title {
		font-size: 36px;
	}

	.slide-subtitle {
		font-size: 16px;
	}

	.winners-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 20px;
	}

	.carousel-container {
		padding: 0 20px;
	}

	.slide-content {
		padding: 24px;
		margin: 0 5px;
	}

	.slide-amount,
	.slide-title {
		font-size: 28px;
	}

	.slide-subtitle {
		font-size: 14px;
		margin-bottom: 20px;
	}

	.section-title {
		font-size: 22px;
	}

	.top-section,
	.winners-section,
	.providers-section {
		padding: 30px 0;
	}

	.top-card {
		flex: 0 0 220px;
	}

	.winners-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.btn {
		padding: 10px 20px;
		font-size: 12px;
	}

	.carousel-btn {
		width: 36px;
		height: 36px;
	}

	.carousel-btn-prev {
		left: 30px;
	}

	.carousel-btn-next {
		right: 30px;
	}

	.header-content {
		padding: 0 20px;
	}

	.btn-text {
		display: none;
	}

	.btn-primary svg {
		margin: 0;
	}

	.btn {
		padding: 10px 16px;
	}
}

@media (max-width: 480px) {
	.slide-amount,
	.slide-title {
		font-size: 24px;
	}

	.slide-subtitle {
		font-size: 13px;
	}

	.filter-tabs {
		gap: 6px;
	}

	.filter-tab {
		padding: 8px 14px;
		font-size: 13px;
	}

	.providers-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.provider-card {
		padding: 16px;
	}

	.header-actions {
		gap: 8px;
	}

	.btn {
		padding: 8px 12px;
		font-size: 11px;
	}

	.btn-secondary {
		padding: 8px 16px;
	}
}

@media (min-width: 1200px) {
	.carousel-slide {
		min-width: 50%;
		max-width: 50%;
	}

	.slide-content {
		margin: 0 8px;
	}
}
.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: #000;
	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;
	display: inline-block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

.text-wrapper th,
.text-wrapper td {
	padding: 0.75em 1em;
	border: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
}

.text-wrapper th {
	font-weight: 600;
}

.text-wrapper .success {
	background-color: rgba(0, 255, 0, 0.2);
}
.text-wrapper .error {
	background-color: rgba(255, 0, 0, 0.2);
}
.text-wrapper :is(.success, .error) {
	padding: 1rem 2rem;
	margin: 1rem 0;
}
.text-wrapper :is(.success, .error) > :first-child {
	margin-top: 0;
}
.text-wrapper :is(.success, .error) > :last-child {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.text-wrapper table {
		white-space: nowrap;
	}
}
@media (max-width: 768px) {
	.text-wrapper {
		margin: 60px 0;
	}

	.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;
	}
}
.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: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-header h3 {
	margin: 0 !important;
}
.accordion-body *:last-child {
	margin-bottom: 0 !important;
}

.accordion-content.active {
	max-height: 2000px;
}

.accordion-body {
	padding: 16px 20px;
	color: inherit;
	line-height: 1.6;
	border-top: 1px solid #d0d0d0;
}
