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

:root {
	--color-bg: #0a0a0a;
	--color-bg-secondary: #1a1a1a;
	--color-bg-tertiary: #252525;
	--color-text: #ffffff;
	--color-text-secondary: #a0a0a0;
	--color-primary: #ff0000;
	--color-primary-hover: #cc0000;
	--color-border: #2a2a2a;
	--sidebar-width: 240px;
}

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

a {
	color: inherit;
	text-decoration: none;
}

.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background-color: var(--color-bg-secondary);
	border-right: 1px solid var(--color-border);
	padding: 20px;
	overflow-y: auto;
	z-index: 1000;
	transition: transform 0.3s ease;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 24px;
	font-weight: 700;
	color: var(--color-text);
}
.logo img {
	height: 30px;
	object-fit: contain;
}

.sidebar-close {
	display: none;
	background: none;
	border: none;
	color: var(--color-text);
	cursor: pointer;
	padding: 5px;
}

.sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 8px;
	color: var(--color-text-secondary);
	transition: all 0.2s;
}

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

.nav-item.vip {
	box-shadow: rgba(243, 203, 76, 0.55) 0px 0px 0.5px,
		rgba(243, 203, 76, 0.5) 0px 0px 10.9px inset !important;
	color: #fff;
	font-weight: 600;
	margin-top: 20px;
	background-image: linear-gradient(rgb(14, 12, 12), rgb(14, 12, 12)),
		linear-gradient(
			135deg,
			rgb(140, 66, 29) 0%,
			rgb(251, 230, 123) 25%,
			rgb(252, 251, 231) 50%,
			rgb(247, 209, 78) 75%,
			rgb(212, 160, 65) 100%
		);
}
.nav-item.vip:hover {
	filter: brightness(1.15);
	box-shadow: rgba(243, 203, 76, 0.55) 0px 0px 0.5px,
		rgba(243, 203, 76, 0.5) 0px 0px 10.9px inset !important;
}

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

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

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

.mobile-logo {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	font-weight: 700;
}
.mobile-logo img {
	height: 30px;
	object-fit: contain;
}

.mobile-auth {
	display: flex;
	gap: 10px;
}

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

.top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 40px;
	background-color: var(--color-bg-secondary);
	border-bottom: 1px solid var(--color-border);
}

.btn-race {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background-color: var(--color-bg-tertiary);
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.2s;
}

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

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

.btn-login {
	padding: 10px 24px;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.2s;
}

.btn-login:hover {
	background-color: var(--color-bg-tertiary);
}

.btn-register {
	padding: 10px 24px;
	background-color: var(--color-primary);
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.2s;
}

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

.hero-carousel {
	position: relative;
	padding: 40px;
}

.carousel-container {
	position: relative;
	overflow: hidden;
	background-color: transparent;
}

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

.carousel-slide {
	min-width: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	padding: 60px 80px;
	border-radius: 24px;
	margin: 0 20px;
	overflow: hidden;
}

.slide-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	width: 100%;
}

.slide-badge {
	display: inline-block;
	padding: 8px 20px;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 24px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 24px;
	color: rgba(255, 255, 255, 0.95);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	backdrop-filter: blur(10px);
}

.slide-title {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
	color: #ffffff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.slide-prize {
	font-size: 36px;
	font-weight: 700;
	color: #ffd700;
	margin-bottom: 36px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.slide-btn {
	display: inline-block;
	padding: 18px 48px;
	background-color: var(--color-primary);
	border-radius: 12px;
	font-size: 18px;
	font-weight: 600;
	transition: all 0.2s;
}

.slide-btn:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.card-image {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	z-index: 1;
}

.card-image img {
	max-width: 100%;
	height: auto;
	max-height: 350px;
	object-fit: contain;
	filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.1);
	border: none;
	color: var(--color-text);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	z-index: 3;
	backdrop-filter: blur(10px);
}

.carousel-btn:hover {
	background-color: rgba(255, 0, 0, 0.8);
}

.carousel-prev {
	left: 20px;
}

.carousel-next {
	right: 20px;
}

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

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

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

.bonuses {
	padding: 40px;
}

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

.section-title-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

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

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

.section-count {
	padding: 4px 12px;
	background-color: var(--color-primary);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
}

.section-nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

.section-link {
	color: var(--color-primary);
	font-weight: 600;
	transition: color 0.2s;
}

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

.nav-arrow {
	background-color: var(--color-bg-tertiary);
	border: none;
	color: var(--color-text);
	width: 36px;
	height: 36px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.nav-arrow:hover {
	background-color: var(--color-primary);
}

.bonuses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.bonus-card {
	position: relative;
	height: 280px;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(135deg, #ff0000 0%, #8b0000 100%);
}

.bonus-content {
	position: relative;
	z-index: 2;
	padding: 30px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.bonus-badge {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.bonus-offer {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.3;
}

.bonus-btn {
	display: inline-block;
	padding: 12px 24px;
	background-color: var(--color-primary);
	border-radius: 8px;
	font-weight: 600;
	text-align: center;
	transition: all 0.2s;
	align-self: flex-start;
}

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

.bonus-image {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.bonus-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.games {
	padding: 40px;
}

.games-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.game-card {
	flex: 0 0 180px;
}

.game-link {
	display: block;
}

.game-image {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 12px;
	aspect-ratio: 9/10;
}

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

.game-link:hover .game-image img {
	transform: scale(1.05);
}

.game-rtp {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 8px;
	background-color: var(--color-primary);
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
}

.game-info {
	padding: 0 4px;
}

.game-title-text {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

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

.providers {
	padding: 40px;
	background-color: var(--color-bg-secondary);
}

.providers-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.provider-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background-color: var(--color-bg-tertiary);
	border-radius: 12px;
	transition: all 0.2s;
	height: 80px;
	flex: 0 0 150px;
}

.provider-item:hover {
	background-color: var(--color-bg);
	transform: translateY(-4px);
}

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

.provider-item:hover img {
	filter: brightness(1.1);
}

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

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

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

.footer-title-text {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
}

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

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

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

.footer-disclaimer {
	padding: 20px;
	background-color: var(--color-bg-tertiary);
	border-radius: 12px;
	margin-bottom: 20px;
}

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

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
}

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

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

@media (max-width: 1024px) {
	.main-content {
		margin-left: 0;
	}

	.mobile-header {
		display: flex;
	}

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

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

	.sidebar-close {
		display: block;
	}

	.overlay.active {
		display: block;
	}

	.top-bar {
		margin-top: 60px;
		padding: 15px 20px;
	}

	.carousel-slide {
		padding: 50px 40px;
		min-height: 400px;
		margin: 0 10px;
		background-position: center;
	}

	.carousel-slide::before {
		background: linear-gradient(
			90deg,
			rgba(10, 10, 20, 0.9) 0%,
			rgba(10, 10, 20, 0.6) 100%
		);
	}

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

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

	.slide-prize {
		font-size: 28px;
	}

	.carousel-slide {
		padding: 20px;
	}

	.carousel-card {
		flex-direction: column;
		padding: 40px 30px;
		text-align: center;
	}

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

	.card-title {
		font-size: 32px;
	}

	.card-prize {
		font-size: 24px;
	}

	.card-image {
		margin-top: 30px;
		justify-content: center;
	}

	.bonuses {
		padding: 30px 20px;
	}

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

	.games {
		padding: 30px 20px;
	}

	.games-grid {
		justify-content: center;
	}

	.providers {
		padding: 30px 20px;
	}

	.providers-grid {
		justify-content: center;
	}

	.provider-item {
		flex: 0 0 120px;
	}

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

@media (max-width: 640px) {
	.mobile-auth .btn-login {
		display: none;
	}

	.btn-register {
		padding: 8px 16px;
		font-size: 14px;
	}

	.auth-buttons {
		display: none;
	}

	.carousel-slide {
		padding: 40px 30px;
		min-height: 350px;
	}

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

	.slide-prize {
		font-size: 22px;
	}

	.slide-btn {
		padding: 14px 36px;
		font-size: 16px;
	}

	.carousel-slide {
		padding: 15px;
	}

	.carousel-card {
		padding: 30px 20px;
	}

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

	.card-prize {
		font-size: 20px;
	}

	.card-btn {
		padding: 12px 30px;
		font-size: 16px;
	}

	.card-image img {
		max-height: 200px;
	}

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

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

	.providers-grid {
		gap: 12px;
	}

	.provider-item {
		height: 60px;
		padding: 15px;
		flex: 0 0 100px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}
@media (max-width: 480px) {
	.mobile-auth {
		display: none;
	}
}
.text-wrapper {
	padding: 40px;
	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;
	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;
}
@media (max-width: 1024px) {
	.text-wrapper {
		padding: 30px 20px;
	}
}
@media (max-width: 991px) {
	.text-wrapper table {
		white-space: nowrap;
	}
}
@media (max-width: 768px) {
	.text-wrapper li {
		list-style-position: inside;
	}

	.text-wrapper blockquote {
		border-left-width: 3px;
		padding: 0.7em 1em;
	}
}
.text-wrapper a {
	padding: 10px 24px;
	background-color: var(--color-primary);
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.2s;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	margin: 2rem 0 0.5rem;
}
.text-wrapper a:hover {
	background-color: var(--color-primary-hover);
}
.text-wrapper .error {
	background-color: rgba(178, 34, 34, 0.5);
}
.text-wrapper .warning {
	background-color: rgba(178, 168, 34, 0.5);
}
.text-wrapper .success {
	background-color: rgba(34, 178, 34, 0.5);
}
.text-wrapper :is(.error, .warning, .success) {
	width: max-content;
	max-width: 100%;
	padding: 1rem;
}
.text-wrapper :is(.error, .warning, .success) > :first-child {
	margin-top: 0;
	padding-top: 0;
}
.text-wrapper :is(.error, .warning, .success) > :last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}
.accordion-item {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: 10px;
	overflow: hidden;
}
.accordion-header {
	background: #f8f9fa;
	padding: 16px 20px;
	cursor: pointer;
	font-weight: bold;
	color: #333;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
}
.accordion-header:hover {
	background: #e9ecef;
}
.accordion-header.active {
}
.accordion-icon {
	font-size: 18px;
	transition: transform 0.3s ease;
}
.accordion-header.active .accordion-icon {
	transform: rotate(180deg);
}
.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background: white;
}
.accordion-content.active {
	max-height: 300px;
}
.accordion-body {
	padding: 16px 20px;
	color: #555;
	line-height: 1.6;
}
