
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "Roboto", sans-serif;
background: #1d4268;
color: #1d4268;
}


.mybtn {
border-radius: 20px;
background-color: #054588;
display: flex;
align-items: center;
padding: 10px 15px;
}


/* Header */
.header {
background: #205583;
padding: 8px 15px;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-left {
display: flex;
align-items: center;
gap: 20px;
justify-self: center;
}

.logo {
display: flex;
align-items: center;
text-decoration: none;
}

.logo-text img {
height: 30px;
}
@media (max-width: 767px) {
.logo-text img{
width: 100%;
height: 35px;
}}

.nav-menu {
display: flex;
gap: 25px;
list-style: none;
align-items: center;
}

.nav-menu a {
color: #fff;
text-decoration: none;
font-size: 14px;
font-weight: 400;
transition: color 0.3s;
white-space: nowrap;
text-transform: uppercase;
}

.nav-menu a:hover {
color: rgba(255, 255, 255, 0.4)
}

.nav-menu .aviator {
font-style: italic;
color: #ff6b00;
}

.bonus-buy {
background: rgba(255, 255, 255, 0.15);
padding: 8px 16px;
border-radius: 20px;
display: flex;
align-items: center;
gap: 5px;
}

.header-right {
display: flex;
gap: 12px;
align-items: center;
}

.btn {
padding: 10px 24px;
border-radius: 25px;
text-decoration: none;
font-size: 14px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all 0.3s;
text-transform: uppercase;
}

.btn-register {
background: #fa4d00;
color: #fff;
}

@media (max-width: 767px) {
    .btn-register, .btn-login {
        display: none;
}}

.btn-register2  {
padding: 10px 24px;
border-radius: 5px;
text-decoration: none;
font-size: 14px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all 0.3s;
text-transform: uppercase;
background:#7eac2f;
color: #fff;
}

.btn-login2 span i {
    font-size: 20px;
    color: #fff;
    /* opacity: 0.8; */
}

.btn-register2  span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 8px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0.15em;
    font-size: 10px;
    text-transform: none;
}

.btn-login2  span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 8px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0.15em;
    font-size: 10px;
    text-transform: none;
}

.btn-register:hover {
background: #ff8533;
transform: translateY(-2px);
}

.btn-login {
background: #428cdc;
color: #fff;
}

.btn-login:hover {
background: #fff;
color: #0a4a8a;
}

.menu-toggle {
display: none;
background: none;
border: none;
color: #fff;
font-size: 24px;
cursor: pointer;
padding: 5px;
}

@media (max-width: 767px) {
    .header-right{
        gap: 6px;
}}

/* Layout Container */
.layout-container {
display: flex;
max-width: 1920px;
margin: 0 auto;
}

/* Left Sidebar */
.left-sidebar {
width: 280px;
background: #fff;
height: calc(100vh - 63px);
overflow-y: auto;
position: sticky;
top: 63px;
box-shadow: 2px 0 5px rgba(0,0,0,0.1);
transition: transform 0.3s;
}

.left-sidebar.closed {
transform: translateX(-100%);
}

.sidebar-header {
padding: 15px;
background: #f5f5f5;
border-bottom: 1px solid #e0e0e0;
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
}

.sidebar-header:hover {
background: #ebebeb;
}

.sidebar-menu {
list-style: none;
}

.sidebar-menu li {
border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu a {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 15px;
color: #333;
text-decoration: none;
transition: all 0.3s;
font-size: 14px;
}

.sidebar-menu a:hover {
background: #f8f8f8;
color: #ff6b00;
}

.sidebar-icon {
width: 20px;
height: 20px;
font-size: 16px;
}

.sport-name {
flex: 1;
}

/* Main Content */
.main-content {
flex: 1;
padding: 20px;
min-width: 0;
}

/* Right Sidebar */
.right-sidebar {
width: 280px;
height: calc(100vh - 80px);
overflow-y: auto;
position: sticky;
top: 80px;
}



.coupon-empty {
color: #999;
padding: 30px 0;
}

.coupon-icon {
font-size: 48px;
margin-bottom: 10px;
opacity: 0.3;
}

.btn-register-coupon {
width: 100%;
background: #205583;
color: #fff;
padding: 18px;
border: none;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
}
.coupon-section {
display: grid;
gap: 10px;
}
.btn-register-coupon:hover {
background: #2367a3;
}



.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}

.section-title {
font-size: 14px;
font-weight: 600;
color: #0a4a8a;
}

.section-link {
font-size: 12px;
color: #0a4a8a;
text-decoration: none;
}

.casino-games {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}

.game-card {
border-radius: 8px;
overflow: hidden;
cursor: pointer;
transition: transform 0.3s;
}

.game-card:hover {
transform: scale(1.05);
}

.game-card img {
width: 100%;
height: auto;
display: block;
}

/* Hero Banner */
.hero-banner {
background: linear-gradient(135deg, #1565b8 0%, #0a4a8a 100%);
border-radius: 12px;
padding: 50px 40px;
margin-bottom: 20px;
position: relative;
overflow: hidden;
color: #fff;
background-image: url('img/hero-bg.jpg');
background-size: cover;
background-position: center;
}

.hero-content {
position: relative;
z-index: 2;
max-width: 500px;
}

.hero-title {
font-size: 36px;
font-weight: bold;
margin-bottom: 15px;
}

.hero-subtitle {
font-size: 18px;
margin-bottom: 25px;
opacity: 0.95;
}

.btn-hero {
background: #ff6b00;
color: #fff;
padding: 14px 35px;
border-radius: 30px;
font-size: 16px;
font-weight: 700;
display: inline-block;
text-decoration: none;
transition: all 0.3s;
}

.btn-hero:hover {
background: #ff8533;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}


/* Sports Icons */
.sports-icons {
display: flex;
gap: 8px;
padding: 15px 20px;
background: transparent;
/* border-radius: 12px; */
margin-bottom: 15px;
overflow-x: auto;
/* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
}

.sport-icon-btn {
min-width: 50px;
background: transparent;
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s;
font-size: 20px;
}

.sport-icon-btn img {
filter: brightness(0) saturate(100%) invert(38%) sepia(97%) saturate(1289%) hue-rotate(179deg) brightness(94%) contrast(90%);
}

.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
z-index: 998;
}

.overlay.active {
display: block;
}

/* Responsive */
@media (max-width: 1200px) {
.right-sidebar {
display: none;
}
}

@media (max-width: 968px) {
.left-sidebar {
position: fixed;
z-index: 999;
transform: translateX(-106%);
}

.left-sidebar.open {
transform: translateX(0);
}

.menu-toggle {
display: none;
}

.nav-menu {
display: none;
}

.main-content {
padding: 15px 0;
}
}

@media (max-width: 768px) {

.header {
padding: 10px;
}

.btn {
padding: 8px 16px;
font-size: 12px;
}

.hero-banner {
padding: 30px 20px;
}

.hero-title {
font-size: 24px;
}

.hero-subtitle {
font-size: 14px;
}

.odds-container {
flex-direction: column;
}
}

/* Custom Scrollbar */
.left-sidebar::-webkit-scrollbar,
.right-sidebar::-webkit-scrollbar {
width: 6px;
}

.left-sidebar::-webkit-scrollbar-track,
.right-sidebar::-webkit-scrollbar-track {
background: #f1f1f1;
}

.left-sidebar::-webkit-scrollbar-thumb,
.right-sidebar::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 3px;
}

.left-sidebar::-webkit-scrollbar-thumb:hover,
.right-sidebar::-webkit-scrollbar-thumb:hover {
background: #999;
}

@media (min-width: 767px) {
.header-right-mobile {
display: none;
gap:5px;
}}

/* Dual Slider Container */
.dual-slider-container {
max-width: 1400px;
margin: 0 auto;
display: flex;
gap: 20px;
margin-bottom: 40px;
}

/* Hero Slider */
.hero-slider {
position: relative;
border-radius: 12px;
overflow: hidden;
flex: 1;
height: 300px;
box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.slider-container {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}

@media (max-width: 767px) {
.slider-container {
height: 260px;
}
}

.slider-wrapper {
display: flex;
transition: transform 0.5s ease-in-out;
height: 100%;
}

@media (max-width: 767px) {
.dual-slider-container {
margin-bottom: 20px;
}}

.slide {
min-width: 100%;
height: 100%;
position: relative;
background-size: cover;
background-position: center;
}

.slide-content {
position: relative;
z-index: 2;
padding: 40px 30px;
max-width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}

.slide-title {
font-size: 28px;
font-weight: bold;
margin-bottom: 12px;
color: #fff;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
line-height: 1.2;
}

.slide-subtitle {
font-size: 15px;
margin-bottom: 20px;
color: #fff;
opacity: 0.95;
text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
line-height: 1.4;
}

.btn-slide {
background: #ff6b00;
color: #fff;
padding: 12px 28px;
border-radius: 30px;
font-size: 14px;
font-weight: 700;
display: inline-block;
text-decoration: none;
transition: all 0.3s;
border: none;
cursor: pointer;
width: fit-content;
text-transform: uppercase;
}

.btn-slide:hover {
background: #ff8533;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

/* Slide Backgrounds - Slider 1 */
.slider-1 .slide-1 {
background:  url('img/6b1e5390c4ebad209f8c410d35b317ae.jpg') no-repeat center/cover;
}

.slider-1 .slide-2 {
background:  url('img/bc08d1f8d90c85ce53c94bcf6bd6d975.webp') no-repeat center/cover;
}

.slider-1 .slide-3 {
background: url('img/ba3933c56b6105362c4c8dd73bd7b01f1024x248D.webp') no-repeat center/cover;
}


@media (max-width: 767px) {
.slider-2 {
display: none;
}}


/* Slider Navigation Dots */
.slider-nav {
position: absolute;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
z-index: 10;
}

.slider-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: all 0.3s;
border: none;
}

.slider-dot:hover {
background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
background: #fff;
width: 25px;
border-radius: 5px;
}

/* Slider Navigation Arrows */
.slider-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.3);
color: #fff;
border: none;
width: 35px;
height: 35px;
border-radius: 50%;
cursor: pointer;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
z-index: 10;
user-select: none;
}

.slider-arrow:hover {
background: rgba(255, 255, 255, 0.5);
}

.slider-arrow-left {
left: 15px;
}

.slider-arrow-right {
right: 15px;
}

/* Responsive */
@media (max-width: 968px) {
.dual-slider-container {
flex-direction: column;
}

.hero-slider {
width: 100%;
height: 250px;
}

.slide-content {
padding: 30px 20px;
}

.slide-title {
font-size: 24px;
}

.slide-subtitle {
font-size: 14px;
}

.btn-slide {
display: none;
}

.slider-arrow {
width: 32px;
height: 32px;
font-size: 16px;
}

.slider-arrow-left {
left: 10px;
}

.slider-arrow-right {
right: 10px;
}
}

@media (max-width: 768px) {
body {
padding: 15px;
}

.dual-slider-container {
gap: 15px;
}

.hero-slider {
height: 220px;
border-radius: 8px;
}

.slide-content {
padding: 25px 15px;
}

.slide-title {
font-size: 20px;
margin-bottom: 10px;
}

.slide-subtitle {
font-size: 13px;
margin-bottom: 15px;
}

.btn-slide {
padding: 9px 20px;
font-size: 12px;
}

.slider-nav {
bottom: 12px;
}

.slider-dot {
width: 8px;
height: 8px;
}

.slider-dot.active {
width: 20px;
}

.slider-arrow {
width: 28px;
height: 28px;
font-size: 14px;
}
}

@media (max-width: 480px) {
body {
padding: 10px;
}

.dual-slider-container {
gap: 10px;
}

.hero-slider {
height: 200px;
}

.slide-content {
padding: 20px 12px;
}

.slide-title {
font-size: 18px;
}

.slide-subtitle {
font-size: 12px;
}

.btn-slide {
padding: 8px 16px;
font-size: 11px;
}

.slider-arrow {
display: none;
}
}
.sport-icon-btn span {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
font-weight: 400;
color: #fff;
background: transparent;
}
.sport-icon-btn .menu-item-icon {
font-size: 24px;
color: white;
}

@media (max-width: 767px) {
.sport-icon-btn span {
flex-direction: column;
font-size: 10px;
}}

a {
text-decoration: none;
color: inherit;
}

.menu-buttons {
display: flex;
gap: 10px;
background: #fff;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
}

.menu-btn {
flex: 1; /* Каждая кнопка занимает равную ширину */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 8px;
background: #f5f5f5;
border: 1px solid #e0e0e0;
border-radius: 8px;
text-decoration: none;
color: #333;
font-size: 12px;
text-align: center;
transition: all 0.3s;
cursor: pointer;
}

.menu-btn:hover {
background: #e8f4ff;
border-color: #0a4a8a;
color: #0a4a8a;
transform: translateY(-2px);
}

.menu-btn img {
width: 24px;
height: 24px;
}

.menu-btn span {
font-weight: 600;
line-height: 1.2;
}

/* Адаптив */
@media (max-width: 968px) {
.menu-buttons {
overflow-x: auto;
gap: 8px;
}

.menu-btn {
min-width: 100px;
flex: 0 0 auto;
}
}

@media (max-width: 768px) {
.menu-btn {
min-width: 80px;
font-size: 11px;
padding: 10px 6px;
}

.menu-btn img {
width: 20px;
height: 20px;
}
}

.sport-icon-btn a {
width: 100%;
}

/* Sports Icons */
.sports-icons {
display: flex;
gap: 4px;
overflow-x: auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE и Edge */
}

.sport-icon-btn {
flex: 1; /* ← ЭТО ГЛАВНОЕ! Растягивает кнопки на всю ширину */
min-width: 100px;
display: flex;
flex-direction: column; /* ← Иконка сверху, текст снизу */
align-items: center;
justify-content: center;
gap: 8px;
cursor: pointer;
transition: all 0.3s;
text-decoration: none;
color: #000;
font-size: 12px;
text-align: center;
}


.sport-icon-btn img {
width: 24px;
height: 24px;
}

.sport-icon-btn span {
line-height: 1.2;
}

/* Адаптив */
@media (max-width: 968px) {
.sports-icons {
overflow-x: auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE и Edge */
gap: 8px;
}

.sport-icon-btn {
min-width: 100px;
flex: 0 0 auto; /* На мобильных не растягивать */
}
}

@media (max-width: 768px) {
.sport-icon-btn {
min-width: 80px;
font-size: 11px;
padding: 10px 6px;
}

.sport-icon-btn img {
width: 20px;
height: 20px;
}
}

.spart-text {
padding: 15px 20px;
background: #fff;
border-radius: 12px;
margin-bottom: 15px;
overflow-x: auto;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.spart-text h1 {
font-size: 24px;
margin-bottom: 10px;
color: #000;
}

.spart-text p {
font-size: 14px;
line-height: 1.6;
color: #333;
margin-bottom: 10px;
}


.icon-panel {
display: flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, #2e5d8a 0%, #1e4d6d 100%);
padding: 8px 12px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: fit-content;
}

.icon-item {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.15);
border-radius: 6px;
color: white;
font-size: 18px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}
.icon-item img {
width: 25px;
height: 25px;
}

.icon-item:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
}

.icon-item.active {
background: #7eac2f;
}

.icon-item i {
position: relative;
}

/* Бадж для уведомлений */
.icon-item .badge {
position: absolute;
top: -4px;
right: -4px;
background: #ff4757;
color: white;
font-size: 10px;
font-weight: bold;
padding: 2px 5px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}

/* Стрелка вниз для выпадающих меню */
.icon-item .arrow {
position: absolute;
bottom: 2px;
right: 2px;
font-size: 10px;
}

/* Скрыть на мобильных устройствах */
@media (max-width: 768px) {
.icon-panel {
display: none;
}
}

.sports-menu {
width: 280px;
background: #ffffff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Заголовок с табами */
.menu-header {
display: flex;
background: #1a4d7a;
color: white;
}

.menu-tab {
flex: 1;
padding: 12px 16px;
text-align: center;
font-size: 14px;
font-weight: 600;
cursor: pointer;
border-bottom: 3px solid transparent;
transition: all 0.3s;
}

.menu-tab.active {
background: #2a5d8a;
border-bottom-color: #4a9eff;
}

.menu-tab:hover:not(.active) {
background: #234d6d;
}

/* Счетчик всех событий */
.all-counter {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: #f8f9fa;
border-bottom: 1px solid #e0e0e0;
font-weight: 600;
color: #333;
}

.counter-left {
display: flex;
align-items: center;
gap: 8px;
}

.counter-badge {
background: #4a9eff;
color: white;
padding: 2px 8px;
border-radius: 12px;
font-size: 11px;
}

.info-icon {
color: #4a9eff;
font-size: 14px;
}

/* Контейнер меню с прокруткой */
.menu-content {
max-height: 100%;
overflow-y: auto;
}

.menu-content::-webkit-scrollbar {
width: 6px;
}

.menu-content::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 3px;
}

/* Заголовок секции */
.menu-section-title {
padding: 12px 16px;
font-size: 13px;
font-weight: 600;
color: #666;
background: #f8f9fa;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}

/* Элемент меню */
.menu-item {
display: flex;
align-items: center;
padding: 10px 16px;
cursor: pointer;
transition: background 0.2s;
border-bottom: 1px solid #f0f0f0;
}

.menu-item:hover {
background: #f8f9fa;
}

.menu-item-icon {
width: 20px;
font-size: 14px;
color: #666;
margin-right: 10px;
}

.menu-item-text {
flex: 1;
font-size: 14px;
color: #333;
}

.menu-item-count {
color: #999;
font-size: 13px;
margin-right: 8px;
}

.menu-item-arrow {
color: #ccc;
font-size: 12px;
}

/* Подменю (скрыто по умолчанию) */
.submenu {
display: none;
background: #fafafa;
border-left: 3px solid #4a9eff;
}

.submenu .menu-item {
padding-left: 46px;
font-size: 13px;
}

.menu-item.expanded + .submenu {
display: block;
}

.menu-item.expanded .menu-item-arrow {
transform: rotate(180deg);
}
/* Tabs */
.tabs {
display: flex;
/* margin-bottom: 16px; */
/* margin-top: 20px; */
}

.tab {
flex: 1;
padding: 12px;
border: none;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s;
}

.tab:first-child {
background-color: #1d4ed8;
color: white;
border-radius: 8px 0 0 0;
}

.tab:last-child {
background-color: #1e3a8a;
color: white;
border-radius: 0 8px 0 0;
}

.tab:hover {
opacity: 0.9;
}

/* Main content block */
.content-block {
background-color: white;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
padding: 20px;
}

/* Header */
.header {
display: flex;
justify-content: space-between;
align-items: center;
}

.header h2 {
color: #fff;
font-size: 14px;
font-weight: 600;
}

.settings-icon {
width: 20px;
height: 20px;
cursor: pointer;
color: #9ca3af;
transition: color 0.3s;
}

.settings-icon:hover {
color: #4b5563;
}

/* Empty state */
.empty-state {
text-align: center;
padding: 32px 0;
}

.empty-state p {
color: #6b7280;
font-size: 14px;
line-height: 1.6;
margin-bottom: 32px;
}

/* Registration button */
.register-btn {
width: 100%;
background-color: #22c55e;
color: white;
border: none;
padding: 14px;
font-size: 16px;
font-weight: bold;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
margin-bottom: 16px;
}

.register-btn:hover {
background-color: #16a34a;
}

/* Save/Load link */
.save-link {
color: #2563eb;
font-size: 14px;
text-decoration: underline;
cursor: pointer;
transition: color 0.3s;
}

.save-link:hover {
color: #1d4ed8;
}

.modal {
max-width: 350px;
margin: 0 auto;
background-color: #2c5f9e;
border-radius: 8px;
overflow: hidden;
margin-top: 20px;
}

/* Header with tabs */
.header {
display: flex;
align-items: center;
background-color: #2c5f9e;
padding: 15px;
}

.tabs {
display: flex;
flex: 1;
margin-top: 20px;
}

.tab {
flex: 1;
padding: 12px 16px;
border: none;
background-color: transparent;
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}

.tab.active {
background-color: #4a7bb8;
color: white;
}

.tab:hover {
background-color: #3d6a9e;
}

.tab svg {
width: 18px;
height: 18px;
}

.close-btn {
padding: 12px 16px;
background-color: transparent;
border: none;
color: white;
font-size: 20px;
cursor: pointer;
transition: opacity 0.3s;
}

.close-btn:hover {
opacity: 0.7;
}

/* Content */
.content {
background-color: #e8f0f8;
padding: 24px;
text-align: center;
}

.phone-mockup {
background-color: white;
border-radius: 20px;
padding: 20px;
margin: 0 auto 20px;
max-width: 180px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.qr-code {
width: 140px;
height: 140px;
margin: 0 auto;
background-color: white;
border: 3px solid #ddd;
display: flex;
align-items: center;
justify-content: center;
}

.qr-code img {
width: 100%;
height: 100%;
object-fit: contain;
}

.app-info {
margin-bottom: 20px;
}

.logo {
color: #1d4ed8;
}

.app-title {
color: #4a7bb8;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.download-btn {
width: 100%;
padding: 14px;
background-color: #7cb342;
color: white;
border: none;
border-radius: 8px;
font-size: 15px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
text-decoration: none;
}

.download-btn:hover {
background-color: #689f38;
}

.download-btn svg {
width: 20px;
height: 20px;
}

.menu-item {
text-decoration: none; /* убирает подчеркивание ссылки */
color: inherit; /* наследует цвет текста */
display: flex; /* если нужен flex */
align-items: center;
}

.menu-item:hover {
background-color: #f0f0f0; /* или ваш цвет при наведении */
}

.games-container {

    position: relative;
}

.games-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 0px 10px 10px 10px;
    -webkit-overflow-scrolling: touch;
}

/* Скрываем полосу прокрутки */
.games-wrapper::-webkit-scrollbar {
    height: 8px;
}

.games-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.games-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.games-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.game-card {
    min-width: 160px;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    width: 160px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.game-name {
    color: white;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Кнопки навигации */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}

.nav-button svg {
    width: 20px;
    height: 20px;
    fill: #1e3a8a;
}

/* ===== Нижний мобильный сайдбар ===== */
/* ===== Нижний мобильный сайдбар (фикс safe-area) ===== */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;                 /* базовый низ */
  background: #2c5f9e;
  display: none;             /* по умолчанию скрыт */
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10000;
  /* учитываем вырезы/жестовую панель */
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
}

/* если браузер не поддерживает env(), это правило не навредит,
   а на iOS старых версий поможет: */
@supports (padding: max(0px)) {
  .bottom-bar {
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
}

.bottom-item {
  color: #fff;
  text-align: center;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 3px;
  transition: color 0.3s;
}

.bottom-item i { font-size: 18px; }

.bottom-item.active,
.bottom-item:hover { color: #ffd700; }

/* Центральная кнопка — чуть меньший подъём, чтобы не упиралась в край экрана */
.center-btn {
  /* background: #1d4268; */
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-16px);     /* было -22px */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 16px;
  color: #fff;
  transition: transform 0.3s, background 0.3s;
}
.center-btn:hover { transform: translateY(-20px); background: #ff8c1a; }

/* Показываем только на мобильных и добавляем запас контенту снизу */
@media (max-width: 767px) {
  .bottom-bar { display: flex; }

  /* запас под бар + safe-area, чтобы его не перекрывал контент */
  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}


/* === ACTIVE STATE === */
.nav-menu a.active,
.sidebar-menu a.active,
.bottom-bar a.active,
.menu-btn.active {
  color: #ff6b00;
  font-weight: 600;
}

.sidebar-menu a.active {
  background: rgba(255, 107, 0, 0.1);
  border-left: 3px solid #ff6b00;
}

.bottom-bar a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.menu-btn.active {
  background: #e8f4ff;
  border-color: #0a4a8a;
  color: #0a4a8a;
}
/* =========================
   1xBET "BLUEPRINT DASHBOARD" CONTENT
   Scope: .spart-text
   ========================= */

.spart-text{
  /* 1xBet UI-like palette (white + blue) */
  --xb-surface: #ffffff;
  --xb-surface2:#f5f8ff;
  --xb-ink: #0f1c2e;
  --xb-text: rgba(15,28,46,.86);
  --xb-muted: rgba(15,28,46,.62);

  --xb-blue: #1f62b6;
  --xb-blue2:#2f7dd8;
  --xb-line: rgba(31,98,182,.18);
  --xb-border: rgba(15,28,46,.10);

  --xb-radius: 18px;
  --xb-shadow: 0 18px 55px rgba(0,0,0,.18);
  --xb-shadow2: 0 10px 28px rgba(0,0,0,.12);

  max-width: 1120px;
  margin: 24px auto;
  padding: 0; /* padding будет у main */
}

/* MAIN как “панель” */
.spart-text > main{
  padding: 22px 20px 64px;
  background:
    linear-gradient(180deg, rgba(47,125,216,.08), rgba(47,125,216,0) 160px),
    var(--xb-surface);
  border: 1px solid var(--xb-border);
  border-radius: 22px;
  box-shadow: var(--xb-shadow);
  position: relative;
  overflow: hidden;
}

/* “blueprint grid” (еле заметно) */
.spart-text > main::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, rgba(31,98,182,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,98,182,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .22;
  pointer-events:none;
}

/* верхняя синяя “шапка” как в интерфейсе */
.spart-text > main::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 64px;
  background: linear-gradient(90deg, var(--xb-blue), var(--xb-blue2));
  opacity: .95;
  pointer-events:none;
}

/* чтобы контент не залезал под “шапку” */
.spart-text > main > *:first-child{
  margin-top: 54px;
}

/* -------------------------
   Typography
   ------------------------- */

.spart-text h1{
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(31,98,182,.18);
  background: linear-gradient(180deg, #ffffff, var(--xb-surface2));
  box-shadow: var(--xb-shadow2);

  color: var(--xb-ink);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.18;
  font-size: clamp(22px, 2.2vw, 34px);
  position: relative;
}

/* “ticket notch” — маленькая метка */
.spart-text h1::before{
  content:"1X";
  position:absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(90deg, var(--xb-blue), var(--xb-blue2));
}

.spart-text h2{
  margin: 22px 0 10px;
  padding: 12px 12px 12px 16px;
  border-left: 4px solid var(--xb-blue);
  border-radius: 12px;
  background: rgba(31,98,182,.06);

  color: var(--xb-ink);
  font-weight: 900;
  line-height: 1.2;
  font-size: clamp(17px, 1.55vw, 24px);
}

/* paragraphs */
.spart-text p{
  margin: 0 0 12px;
  color: var(--xb-text);
  line-height: 1.85;
  max-width: 96ch;
}

/* “bullet paragraphs” которые начинаются с тире — сделаем как список */
.spart-text p:nth-of-type(n){
  /* ничего не ломаем глобально */
}

/* strong — как UI label */
.spart-text strong{
  color: var(--xb-blue);
  font-weight: 900;
}

/* -------------------------
   WP columns blocks => cards
   ------------------------- */
.spart-text .wp-block-columns{
  margin: 16px 0 22px;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(31,98,182,.14);
  background: linear-gradient(180deg, rgba(31,98,182,.05), rgba(255,255,255,.95));
  box-shadow: var(--xb-shadow2);
}

/* -------------------------
   Lists
   ------------------------- */
.spart-text ul,
.spart-text ol{
  margin: 12px 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 100ch;
}

/* UL: “items” */
.spart-text ul li{
  list-style: none;
  padding: 12px 14px 12px 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,28,46,.10);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  position: relative;
}

.spart-text ul li::before{
  content:"";
  position:absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(31,98,182,.14);
  border: 1px solid rgba(31,98,182,.22);
}

/* OL: “steps” */
.spart-text ol{ counter-reset: xb; }
.spart-text ol li{
  list-style: none;
  counter-increment: xb;
  padding: 12px 14px 12px 52px;
  border-radius: 14px;
  border: 1px solid rgba(15,28,46,.10);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  position: relative;
}
.spart-text ol li::before{
  content: counter(xb);
  position:absolute;
  left: 14px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  background: linear-gradient(90deg, var(--xb-blue), var(--xb-blue2));
}

/* -------------------------
   Tables
   ------------------------- */
.spart-text table{
  width: 100%;
  margin: 14px 0 24px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(31,98,182,.16);
  box-shadow: var(--xb-shadow2);
}

.spart-text table thead th{
  padding: 14px;
  text-align: left;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, var(--xb-blue), var(--xb-blue2));
  white-space: nowrap;
}

.spart-text table td{
  padding: 14px;
  color: var(--xb-text);
  border-bottom: 1px solid rgba(15,28,46,.07);
  vertical-align: top;
}

.spart-text table tbody tr:nth-child(odd) td{
  background: rgba(31,98,182,.03);
}

.spart-text table tbody tr:hover td{
  background: rgba(31,98,182,.08);
}

.spart-text table tr:last-child td{
  border-bottom: 0;
}

/* -------------------------
   FAQ: твои p с <strong>1)...</strong><br>...
   Делаем карточками (уникальная подача)
   ------------------------- */
.spart-text h2 + p strong{
  /* не трогаем в целом, но для FAQ ниже будет отдельное правило */
}

.spart-text h2.wp-block-heading:where(.two) + p,
.spart-text h2 + p{
  /* не применяем глобально, чтобы не превратить всё в FAQ */
}

.spart-text h2 + p:has(strong){
  /* современные браузеры; если не поддерживается — просто пропустится */
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31,98,182,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(31,98,182,.04));
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* Вопрос — как заголовок внутри карточки */
.spart-text p:has(strong) strong{
  color: var(--xb-ink);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31,98,182,.10);
  border: 1px solid rgba(31,98,182,.16);
}

/* -------------------------
   Mobile
   ------------------------- */
@media (max-width: 860px){
  .spart-text > main{
    padding: 18px 12px 52px;
    border-radius: 18px;
  }

  .spart-text table{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .spart-text table th,
  .spart-text table td{
    min-width: 190px;
  }
}
