/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #ff3d3d; /* Ярко-красный (основной акцент) */
	--primary-dark: #e62e2e; /* Темнее красный */
	--secondary: #1fffc2; /* Бирюзовый/мятный (вторичный акцент) */
	--secondary-dark: #00e5a8; /* Темнее бирюзовый */
	--accent: #ff4757; /* Коралловый красный */
	--gold: #ffc700; /* Теплый золотой */
	--dark: #0a0a12; /* Очень темный фон */
	--dark-light: #141420; /* Немного светлее */
	--dark-lighter: #1e1e2e; /* Еще светлее для карточек */
	--text: #ffffff; /* Белый текст */
	--text-secondary: #9b9bac; /* Серый для второстепенного текста */
	--border: rgba(255, 255, 255, 0.08); /* Тонкие границы */
	--shadow: rgba(0, 0, 0, 0.5); /* Более глубокие тени */
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	background-color: var(--dark);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 32px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	white-space: nowrap;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: var(--text);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 0, 110, 0.4);
}

.btn-secondary {
	background: transparent;
	color: var(--text);
	border: 2px solid var(--primary);
}

.btn-secondary:hover {
	background: var(--primary);
	transform: translateY(-2px);
}

.btn-hero {
	padding: 16px 48px;
	font-size: 18px;
	background: var(--gold);
	color: var(--dark);
	font-weight: 700;
}

.btn-hero:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 214, 10, 0.5);
}

.btn-play {
	padding: 10px 24px;
	font-size: 14px;
}

.btn-large {
	padding: 16px 48px;
	font-size: 18px;
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(15, 15, 30, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	border-bottom: 1px solid var(--border);
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	gap: 20px;
}

.logo {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.logo img {
	height: 25px;
}
.logo-text {
	font-size: 28px;
	font-weight: 900;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.logo-subtitle {
	font-size: 12px;
	color: var(--text-secondary);
	letter-spacing: 2px;
}

.nav {
	display: flex;
	gap: 32px;
}

.nav-link {
	color: var(--text-secondary);
	font-weight: 500;
	position: relative;
}

.nav-link:hover {
	color: var(--text);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

.header-actions {
	display: flex;
	gap: 12px;
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.burger span {
	width: 25px;
	height: 3px;
	background: var(--text);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
	opacity: 0;
}

.burger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
	margin-top: 70px;
	position: relative;
	overflow: hidden;
}

.hero-carousel {
	position: relative;
	height: 600px;
}

.carousel-track {
	position: relative;
	height: 100%;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.carousel-slide.active {
	opacity: 1;
	pointer-events: auto;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-color: linear-gradient(
		135deg,
		var(--primary-dark) 0%,
		var(--secondary-dark) 100%
	);
	background-repeat: no-repeat;
	background-position: right;
	background-size: contain;
}
.hero-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: url('img/35.webp');
	opacity: 0.5;
}

.hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	padding: 40px 20px;
}

.hero-title {
	font-size: 56px;
	font-weight: 900;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 24px;
	margin-bottom: 40px;
	color: var(--text-secondary);
}

.highlight {
	color: var(--gold);
	font-weight: 700;
}

.hero-features {
	display: flex;
	gap: 40px;
	margin-bottom: 40px;
	flex-wrap: wrap;
	justify-content: center;
}

.feature-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.feature-icon {
	font-size: 40px;
}

.feature-text {
	font-size: 16px;
	font-weight: 600;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	color: var(--text);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
}

.carousel-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
	left: 20px;
}

.carousel-btn-next {
	right: 20px;
}

.carousel-dots {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
}

.carousel-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}

.carousel-dot.active {
	background: var(--gold);
	width: 32px;
	border-radius: 6px;
}

/* Sections */
.section-title {
	font-size: 42px;
	font-weight: 900;
	text-align: center;
	margin-bottom: 16px;
}

.section-subtitle {
	font-size: 18px;
	text-align: center;
	color: var(--text-secondary);
	margin-bottom: 60px;
}

.section-cta {
	text-align: center;
	margin-top: 60px;
}

/* Slots Section */
.slots {
	padding: 100px 0;
	background: var(--dark-light);
}

.slots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
}

.slot-card {
	background: var(--dark-lighter);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid var(--border);
}

.slot-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px var(--shadow);
	border-color: var(--primary);
}

.slot-image {
	position: relative;
	aspect-ratio: 5 / 6;
	overflow: hidden;
}

.slot-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slot-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.slot-card:hover .slot-overlay {
	opacity: 1;
}

.slot-info {
	padding: 16px;
}

.slot-name {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
}

.slot-meta {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: var(--text-secondary);
}

.slot-provider {
	color: var(--primary);
}

.slot-rtp {
	color: var(--gold);
}

/* Providers Section */
.providers {
	padding: 100px 0;
	background: var(--dark);
}

.providers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
}

.provider-card {
	background: var(--dark-lighter);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	transition: all 0.3s ease;
}

.provider-card:hover {
	transform: translateY(-4px);
	border-color: var(--primary);
	box-shadow: 0 8px 20px var(--shadow);
}

.provider-logo {
	width: 100%;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.provider-logo img {
	max-height: 100%;
	width: auto;
	filter: brightness(0.9);
	transition: filter 0.3s ease;
}

.provider-card:hover .provider-logo img {
	filter: brightness(1.1);
}

.provider-name {
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

/* Advantages Section */
.advantages {
	padding: 100px 0;
	background: var(--dark-light);
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
}

.advantage-card {
	background: var(--dark-lighter);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 32px;
	text-align: center;
	transition: all 0.3s ease;
}

.advantage-card:hover {
	transform: translateY(-4px);
	border-color: var(--primary);
}

.advantage-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

.advantage-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
}

.advantage-text {
	color: var(--text-secondary);
	line-height: 1.6;
}

/* Footer */
.footer {
	background: var(--dark-light);
	padding: 80px 0 30px;
	border-top: 1px solid var(--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: 16px;
}

.footer-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 8px;
}

.footer-text {
	color: var(--text-secondary);
	line-height: 1.6;
	font-size: 14px;
}

.footer-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links a {
	color: var(--text-secondary);
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--primary);
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
}

.responsible-gaming {
	margin-top: 12px;
}

.age-restriction {
	display: inline-block;
	background: var(--primary);
	color: var(--text);
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 18px;
}

.footer-disclaimer {
	background: var(--dark-lighter);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 30px;
	text-align: center;
}

.footer-disclaimer p {
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.6;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 30px;
	border-top: 1px solid var(--border);
	flex-wrap: wrap;
	gap: 20px;
}

.footer-bottom p {
	color: var(--text-secondary);
	font-size: 14px;
}

.payment-methods {
	display: flex;
	gap: 16px;
	align-items: center;
}

.payment-methods img {
	height: 30px;
	width: auto;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.payment-methods img:hover {
	opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.hero-title {
		font-size: 42px;
	}

	.hero-subtitle {
		font-size: 20px;
	}

	.section-title {
		font-size: 36px;
	}

	.slots-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	}
}

@media (max-width: 768px) {
	.nav {
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		background: var(--dark-light);
		flex-direction: column;
		padding: 20px;
		gap: 20px;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		border-bottom: 1px solid var(--border);
	}

	.nav.active {
		transform: translateX(0);
	}

	.header-actions {
		display: none;
	}

	.burger {
		display: flex;
	}

	.hero-carousel {
		height: 500px;
	}

	.hero-title {
		font-size: 32px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.hero-features {
		gap: 20px;
	}

	.feature-icon {
		font-size: 32px;
	}

	.feature-text {
		font-size: 14px;
	}

	.carousel-btn {
		width: 40px;
		height: 40px;
	}

	.carousel-btn-prev {
		left: 10px;
	}

	.carousel-btn-next {
		right: 10px;
	}

	.section-title {
		font-size: 28px;
	}

	.section-subtitle {
		font-size: 16px;
		margin-bottom: 40px;
	}

	.slots-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 16px;
	}

	.providers-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 16px;
	}

	.provider-card {
		padding: 20px;
	}

	.advantages-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.hero-carousel {
		height: 450px;
	}

	.hero-title {
		font-size: 24px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.btn-hero {
		padding: 14px 32px;
		font-size: 16px;
	}

	.slots-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	}

	.slot-name {
		font-size: 16px;
	}

	.slot-meta {
		font-size: 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: var(--dark-light);
    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 var(--dark-lighter);
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.text-wrapper th { background: var(--dark); font-weight: 600; }
.text-wrapper tr:nth-child(even) td { background: var(--dark-light); }

@media (max-width: 767px) {
    .text-wrapper table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        border-radius: 6px;
    }

    .text-wrapper th,
    .text-wrapper td {
        white-space: normal;
        word-break: break-word;
    }

    .text-wrapper li { list-style-position: inside; }


.text-wrapper table.scrollable {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    border-radius: 6px;
}

.text-wrapper table.scrollable th,
.text-wrapper table.scrollable td {
    white-space: nowrap;
    word-break: normal;
}

.text-wrapper table.scrollable::-webkit-scrollbar {
    height: 6px;
}
.text-wrapper table.scrollable::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}
.text-wrapper table.scrollable::-webkit-scrollbar-track {
    background: transparent;
}
}
@media (max-width: 480px) {
    .text-wrapper { margin: 60px 0; }
    .text-wrapper blockquote { border-left-width: 3px; padding: 0.7em 1em; }
}

.accordion-item {  
 border: 1px solid var(--dark-light);  
 border-radius: 6px;  
 margin-bottom: 10px;  
 overflow: hidden;  
}  
.accordion-header {  
 background: var(--dark-light);  
 padding: 16px 20px;  
 cursor: pointer;  
 font-weight: bold;  
 color: var(--text-color);  
 display: flex;  
 justify-content: space-between;  
 align-items: center;  
 transition: background-color 0.3s ease;  
}  
.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: var(--dark-lighter);  
}  
.accordion-content.active {  
 max-height: 300px;  
}  
.accordion-body {  
 padding: 16px 20px;  
 color: var(--text-color);  
 line-height: 1.6;  
}