/* Общий сброс и шрифты */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
}

body {
background-color: #0a0a0a;
color: #fff;
min-height: 100vh;
margin: 0;
padding: 0;
overflow-x: hidden;
position: relative;
}

/* Левый огонь - от левого края экрана до левого края контейнера */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: calc(50vw - 490px);
height: 100%;
background-image: url('img/left_side_fire.jpg');
background-repeat: repeat-y;
background-size: auto 75%;
background-position: top right;
z-index: 1;
pointer-events: none;
}

/* Правый огонь - от правого края контейнера до правого края экрана */
body::after {
content: '';
position: fixed;
top: 0;
left: calc(50vw + 490px);
right: 0;
height: 100%;
background-image: url('img/right_side_fire.jpg');
background-repeat: repeat-y;
background-size: auto 75%;
background-position: top left;
z-index: 1;
pointer-events: none;
}

/* Основной контейнер сайта */
.main-container {
width: 980px;
max-width: calc(100% - 40px);
margin: 0 auto;
background-color: #000;
display: flex;
flex-direction: column;
position: relative;
box-shadow: 0 0 30px rgba(0,0,0,0.8);
z-index: 10;
}

/* Хедер */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 25px;
background: linear-gradient(to bottom, #120322, #010001);
border-bottom: 1px solid #333;
height: 103px;
}

.logo img {
height: 75px;
display: block;
}

.auth-buttons {
display: flex;
gap: 20px;
align-items: center;
}

.btn-reg, .btn-login {
display: block;
height: 39px;
border: none;
cursor: pointer;
font-size: 0;
color: transparent;
background-color: transparent;
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
padding: 0;
}
.btn-reg {
width: 178px;
background-image: url('img/registr_button.webp');
}
.btn-reg:hover {
background-image: url('img/regist_push.webp');
}
.btn-login {
width: 117px;
background-image: url('img/enter_button.webp');
}
.btn-login:hover {
background-image: url('img/enter_push.webp');
}

.btn {
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
text-transform: uppercase;
color: white;
}

/* Hero Баннер */
.hero-banner {
background: #0a0005;
height: 300px;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 50px;
padding-right: 0;
position: relative;
overflow: hidden;
text-decoration: none;
color: inherit;
}
a.hero-banner:hover { color: inherit; }
a.game-card { text-decoration: none; color: inherit; display: block; }
a.nav-item { text-decoration: none; color: inherit; }
a.provider-btn { text-decoration: none; color: inherit; }
a.btn-show-all { text-decoration: none; color: inherit; display: block; }
a.btn-reg, a.btn-login { text-decoration: none; color: inherit; }
a.side-support { text-decoration: none; color: inherit; }
.hero-content {
flex-shrink: 0;
z-index: 2;
}
.hero-banner-img {
height: 100%;
position: absolute;
right: 0;
top: 0;
z-index: 1;
}

.hero-content h1 { font-size: 40px; text-shadow: 0 0 10px #ff0000; margin-bottom: 10px; }
.hero-content p { font-size: 30px; margin-bottom: 20px; }
.btn-rules {
width: 250px;
height: 67px;
background: url('img/rules_button.webp') no-repeat center center;
background-size: 100% 100%;
border: none;
cursor: pointer;
font-size: 0;
color: transparent;
padding: 0;
border-radius: 0;
box-shadow: none;
}
.btn-rules:hover {
background-image: url('img/rules_button_push.webp');
}

/* Инфо-строка (Джекпот) */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

.jackpot-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
background: #000;
border-bottom: 1px solid #333;
}
.jackpot-section {
text-align: center;
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
}
.jackpot-title-img {
height: 52px;
margin-bottom: 5px;
width: 490px;
}
.jackpot-label-wrap {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
width: 100%;
justify-content: center;
}
.jackpot-label-line {
flex: 1;
height: 1px;
background: linear-gradient(90deg, transparent, #555, transparent);
}
.jackpot-label-img {
height: 50px;
}
.jackpot-amount {
display: flex;
align-items: flex-end;
gap: 0;
height: 50px;
}
/* SVG-спрайт цифры: original 24x400, 10 digits */
.d {
display: inline-block;
width: 24px;
height: 40px;
background: url('img/digits.svg') no-repeat;
background-size: 24px 400px;
}
.d0 { background-position: 0 0; }
.d1 { background-position: 0 -40px; }
.d2 { background-position: 0 -80px; }
.d3 { background-position: 0 -120px; }
.d4 { background-position: 0 -160px; }
.d5 { background-position: 0 -200px; }
.d6 { background-position: 0 -240px; }
.d7 { background-position: 0 -280px; }
.d8 { background-position: 0 -320px; }
.d9 { background-position: 0 -360px; }
/* Запятая, точка */
.sep {
display: inline-block;
width: 10px;
height: 40px;
line-height: 40px;
font-family: 'Russo One', sans-serif;
font-size: 32px;
background: linear-gradient(180deg, #00b3de 0%, #a8e8ff 15%, #f8fdfe 40%, #004ca2 44%, #42c6e7 75%, #fff 99%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
filter: drop-shadow(0 2px 2px rgba(0,0,0,0.9));
text-align: center;
}
/* Символ рубля из currency.svg (только ₽, первый символ) */
.currency-rub {
display: inline-block;
width: 31px;
height: 40px;
background: url('img/currency.svg') no-repeat;
background-size: 188px 40px;
background-position: 0 0;
margin: 0 3px;
}
.peak-icon {
display: inline-block;
width: 40px;
height: 42px;
background: url('img/peak_icon.svg') no-repeat center center;
background-size: contain;
margin: 0 4px;
}
.space { display: inline-block; width: 6px; }
.jackpot-divider {
width: 1px;
height: 80px;
background: linear-gradient(180deg, transparent, #444, transparent);
margin: 0 10px;
}

/* Навигация */
.nav-wrapper {
position: relative;
background: #0a0a0a;
}
.nav-menu {
display: flex;
background: #000;
padding: 8px 0;
position: relative;
gap: 0;
width: 903px;
margin: 0 auto;
}
.nav-item {
flex: 1;
height: 60px;
cursor: pointer;
display: block;
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
transition: background-image 0.15s ease;
font-size: 0;
color: transparent;
border: none;
position: relative;
}
/* Обычные состояния */
.nav-home { background-image: url('img/home_button.webp'); }
.nav-slot { background-image: url('img/slot_hall.webp'); }
.nav-bonuses { background-image: url('img/bonuses.webp'); }
.nav-promo { background-image: url('img/promo_button.webp'); }
.nav-prime { background-image: url('img/prime_button.webp'); }
/* Hover/push состояния */
.nav-home:hover, .nav-home.active { background-image: url('img/home_button.webp'); }
.nav-slot:hover, .nav-slot.active { background-image: url('img/slot_hall_push.webp'); }
.nav-bonuses:hover, .nav-bonuses.active { background-image: url('img/bonuses_push.webp'); }
.nav-promo:hover, .nav-promo.active { background-image: url('img/promo_button_push.webp'); }
.nav-prime:hover, .nav-prime.active { background-image: url('img/prime_button_push.webp'); }

/* Сетка игр */
.games-grid {
display: grid;
grid-template-columns: repeat(3, 291px);
justify-content: center;
gap: 15px;
padding: 20px;
background-color: #050505;
}

.game-card {
background-color: #1D0147;
border-radius: 4px;
overflow: hidden;
transition: transform 0.2s;
position: relative;
width: 291px;
height: 268px;
}
.game-card:hover { transform: translateY(-5px); z-index: 2; box-shadow: 0 0 15px #ff4500; }

.game-img-wrapper {
width: 100%;
height: auto;
overflow: hidden;
}

.game-img {
width: 100%;
height: auto;
display: block;
}

.game-info {
padding: 10px;
background-color: #1D0147;
}
.game-title { font-size: 16px; font-weight: bold; color: #fff; }
.game-provider { font-size: 14px; color: #888; margin-top: 4px; }

.btn-show-all {
display: block;
margin: 20px auto;
width: 227px;
height: 50px;
background: url('img/show_all.webp') no-repeat center center;
background-size: 100% 100%;
border: none;
cursor: pointer;
font-size: 0;
color: transparent;
padding: 0;
}
.btn-show-all:hover {
background-image: url('img/show_all_push.webp');
}

/* Провайдеры */
.providers-bar {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
padding: 15px 20px 25px;
background: #050505;
}
.provider-btn {
display: inline-block;
width: 160px;
height: 50px;
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
font-size: 0;
color: transparent;
border: none;
background-color: transparent;
}
.provider-btn.small {
width: 83px;
}
.prov-amusnet { background-image: url('img/amusnet.webp'); }
.prov-amusnet:hover { background-image: url('img/amusnet_push.webp'); }
.prov-amatic { background-image: url('img/amatic.webp'); }
.prov-amatic:hover { background-image: url('img/amatic_push.webp'); }
.prov-bgaming { background-image: url('img/bgaming.webp'); }
.prov-bgaming:hover { background-image: url('img/bgaming_push.webp'); }
.prov-evolution { background-image: url('img/evolution.webp'); }
.prov-evolution:hover { background-image: url('img/evolution_push.webp'); }
.prov-endorphina { background-image: url('img/endorphina.webp'); }
.prov-endorphina:hover { background-image: url('img/endorphina_push.webp'); }
.prov-right { background-image: url('img/last_right_button.webp'); }
.prov-right:hover { background-image: url('img/last_right_button_push.webp'); }

/* Футер */
footer {
background-color: #08020f;
padding: 40px 30px;
border-top: 1px solid #222;
}

.footer-links {
display: flex;
justify-content: space-between;
margin-bottom: 40px;
flex-wrap: wrap;
}
.footer-col h4 { color: #D2A3F8; margin-bottom: 5px; font-size: 12px; font-weight: bold; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0px; }
.footer-col ul li a { color: #A398B5; text-decoration: none; font-size: 10px; border-bottom: 1px solid #333; padding-bottom: 2px; }
.footer-col ul li a:hover { color: #fff; }

.payment-methods {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
padding: 25px 0;
border-top: 1px solid #222;
align-items: center;
}
.payment-methods img {
height: 35px;
opacity: 0.85;
}
.badge-18 {
border-top: 1px solid #222;
padding-top: 10px;
margin-top: 10px;
}
.badge-18 img {
height: 45px;
opacity: 0.7;
}

.seo-text {
color: #888;
font-size: 12px;
line-height: 1.6;
border-top: 1px solid #222;
padding-top: 20px;
}
.seo-text h1 { color: #ccc; font-size: 18px; margin-bottom: 10px; }
.seo-text h2 { color: #ccc; font-size: 16px; margin-bottom: 10px; margin-top: 20px; }

.copyright { text-align: center; color: #666; font-size: 12px; margin-top: 30px; }

/* Боковая кнопка Support */
.side-support {
position: fixed;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 160px;
background: url('img/help_button.webp') no-repeat center center;
background-size: 100% 100%;
cursor: pointer;
z-index: 1000;
font-size: 0;
color: transparent;
}
.side-support:hover {
background-image: url('img/help_button_push.webp');
}


/* Планшет */
@media (max-width: 1200px) {
body::before, body::after { display: none; }
.main-container {
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-shadow: none;
	overflow: hidden;
}
.nav-menu { width: 100% !important; box-sizing: border-box; }
.games-grid { grid-template-columns: repeat(3, 1fr) !important; width: 100% !important; box-sizing: border-box; }
.game-card { width: 100% !important; }
.jackpot-title-img { width: 100% !important; height: auto !important; }
.btn-show-all { max-width: 100%; }
}

/* Мобильные устройства */
@media (max-width: 768px) {
body { overflow-x: hidden; }
body::before, body::after { display: none !important; }
.main-container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
	box-sizing: border-box;
	overflow: hidden;
}

/* Хедер */
header {
	padding: 12px 15px;
	flex-direction: row;
	justify-content: space-between;
	height: auto;
	min-height: 0;
	box-sizing: border-box;
}
.logo img { height: 40px; }
.auth-buttons { gap: 8px; }
.btn-reg { width: 120px !important; height: 34px; }
.btn-login { width: 80px !important; height: 34px; }

/* Баннер */
.hero-banner { height: 220px; padding-left: 15px; }
.hero-content h1 { font-size: 20px; margin-bottom: 5px; }
.hero-content p { font-size: 13px; margin-bottom: 10px; }
.btn-rules { width: 130px; height: 38px; }
.hero-banner-img { height: 100%; }

/* ДЖЕКПОТ — горизонтальный как на оригинале */
.jackpot-bar {
	padding: 8px 5px;
	flex-direction: row;
	gap: 0;
	align-items: center;
}
.jackpot-section {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}
.jackpot-divider {
	width: 1px;
	height: 50px;
	margin: 0 3px;
	flex-shrink: 0;
}
.jackpot-title-img {
	height: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-bottom: 3px;
}
.jackpot-label-img { height: 14px !important; }
.jackpot-label-wrap {
	margin-bottom: 3px;
	gap: 3px;
}
/* Цифры джекпота — пропорция 3:5 как в оригинале */
.d { width: 12px; height: 20px; background-size: 12px 200px; }
.d0 { background-position: 0 0; }
.d1 { background-position: 0 -20px; }
.d2 { background-position: 0 -40px; }
.d3 { background-position: 0 -60px; }
.d4 { background-position: 0 -80px; }
.d5 { background-position: 0 -100px; }
.d6 { background-position: 0 -120px; }
.d7 { background-position: 0 -140px; }
.d8 { background-position: 0 -160px; }
.d9 { background-position: 0 -180px; }
.sep { width: 4px; height: 20px; line-height: 20px; font-size: 15px; }
.currency-rub { width: 15px; height: 20px; background-size: 94px 20px; }
.peak-icon { width: 15px; height: 20px; }
.jackpot-amount { height: 24px; justify-content: center; flex-wrap: nowrap; white-space: nowrap; }
.space { width: 2px; }

/* Навигация — 5 кнопок в ряд */
.nav-menu { width: 100% !important; padding: 5px 8px; gap: 3px; box-sizing: border-box; }
.nav-item { height: 34px; flex: 1; }

/* Игры — 3 колонки */
.games-grid {
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 8px;
	padding: 10px;
	width: 100% !important;
	box-sizing: border-box;
}
.game-card { width: 100% !important; height: auto; }
.game-info { padding: 6px 8px; }
.game-title { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-provider { font-size: 9px; }

/* Показать все */
.btn-show-all { width: 200px !important; height: 40px; margin: 15px auto; }

/* Провайдеры — горизонтальная прокрутка */
.providers-bar {
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 5px;
	padding: 10px 8px;
	-webkit-overflow-scrolling: touch;
}
.providers-bar::-webkit-scrollbar { display: none; }
.provider-btn { width: 120px; min-width: 120px; height: 36px; flex-shrink: 0; }
.provider-btn.small { width: 50px; min-width: 50px; height: 36px; flex-shrink: 0; }

/* Футер — все 4 колонки в ряд */
.footer-links {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 10px;
}
.footer-col { flex: 1; min-width: 0; }
footer { padding: 20px 10px; }
.footer-col h4 { font-size: 11px; margin-bottom: 8px; }
.footer-col ul li a { font-size: 9px; }
.footer-col ul li { margin-bottom: 3px; }
.payment-methods {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 5px;
	padding: 15px 10px;
	width: 100% !important;
	box-sizing: border-box;
}
.payment-methods img { height: 18px; max-width: 18%; }
.badge-18 img { height: 30px; }
.seo-text { font-size: 11px; }
.seo-text h1 { font-size: 16px; }
.seo-text h2 { font-size: 14px; }
.copyright { font-size: 10px; }

.side-support { left: 0; width: 25px; height: 120px; z-index: 30; }
}

/* Маленькие мобильные (≤430px) */
@media (max-width: 430px) {
header { padding: 10px 10px; }
.logo img { height: 35px; }
.btn-reg { width: 105px; height: 30px; }
.btn-login { width: 65px; height: 30px; }

.hero-banner { height: 180px; padding-left: 12px; }
.hero-content h1 { font-size: 18px; }
.hero-content p { font-size: 11px; }
.btn-rules { width: 110px; height: 34px; }

/* Цифры ещё меньше для маленьких экранов */
.d { width: 9px; height: 15px; background-size: 9px 150px; }
.d0 { background-position: 0 0; }
.d1 { background-position: 0 -15px; }
.d2 { background-position: 0 -30px; }
.d3 { background-position: 0 -45px; }
.d4 { background-position: 0 -60px; }
.d5 { background-position: 0 -75px; }
.d6 { background-position: 0 -90px; }
.d7 { background-position: 0 -105px; }
.d8 { background-position: 0 -120px; }
.d9 { background-position: 0 -135px; }
.sep { width: 3px; height: 15px; line-height: 15px; font-size: 11px; }
.currency-rub { width: 11px; height: 15px; background-size: 71px 15px; }
.peak-icon { width: 11px; height: 15px; }
.jackpot-amount { height: 18px; }

.nav-item { height: 30px; }
.games-grid { gap: 6px; padding: 8px; }
.game-info { padding: 5px 6px; }
.game-title { font-size: 10px; }
.game-provider { font-size: 8px; }

.provider-btn { width: 100px; min-width: 100px; height: 32px; }
.provider-btn.small { width: 45px; min-width: 45px; height: 32px; }

.footer-col h4 { font-size: 10px; }
.footer-col ul li a { font-size: 8px; }
.payment-methods img { height: 22px; }
}

