/* === CSS RESET === */
* , *::before , *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: #090f1e;
  line-height: 1.5;
  padding: 20px; /* Отступы по 20 пикселей по краям */
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  color: #1e90ff;
}

table {
  border-collapse: collapse;
  width: 100%;
}

main, header, footer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* header */
/* === Header: Общий стиль === */
.header {
  background: linear-gradient(92deg, #1e283f, rgba(20, 27, 46, 0.6));
  background-color: #090f1e;
  border-radius: 10px;
  padding: 10px;
  transition: border-radius 0.2s;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === Навигация === */
.header__nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-direction: row;
}

.header__nav ul li {
  position: relative;
}

/* === Кнопки в шапке === */
.header_buttons {
  display: flex;
  gap: 10px;
  flex-direction: row;
  flex-wrap: nowrap;
}

/* === Горизонтальное меню (мобильное) === */
.scrollable-menu {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  scroll-behavior: smooth;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.scrollable-menu li {
  white-space: nowrap;
  flex-shrink: 0;
}

/* === Кастомная полоса прокрутки (Chrome/Safari) === */
.scrollable-menu::-webkit-scrollbar {
  height: 6px;
}

.scrollable-menu::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.scrollable-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* === Мобильная версия header === */
.header__container-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header_buttons-mobile,
.header__button-register,
.header__button-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* === Media Queries === */
@media (max-width: 767px) {
  .header {
    display: none;
  }

  .scrollable-menu {
    padding-bottom: 20px; /* Увеличенный отступ снизу */
  }
}

@media (min-width: 768px) {
  .header_mobile {
    display: none;
  }
}



/* footer */
/* === Footer === */
.footer {
  margin-top: 60px;
}

/* === Линия с логотипом === */
.footer__logo-line {
  display: flex;
  align-items: center;
  padding-right: 20px;
  margin-bottom: 20px;
  position: relative;
}

.footer__logo-line::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  margin-left: 20px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

/* === Контейнер с блоками в подвале === */
.footer_block__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 767px) {
  .footer_block__content {
    gap: 20px;
  }
}

/* === Отдельный блок внутри футера === */
.box {
  width: 19%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .box {
    width: 45%;
    flex-wrap: wrap;
  }
}


/* блок и играми */
.block-box1__text {
	gap: 20px;
}
.block-box1__text  span {
	font-size: 18px;
	font-weight: 600;
	display: block;
	margin-bottom: 30px;
}

.block-box1__text p {
	font-size: 12px;
	line-height: 1.5;
	color: #8692aca6;
}

.block-box2 ul li a {
	font-size: 14px;
	line-height: 1.5;
	color: #8692aca6;
	transition: all .3s;
}
.block-box3 ul li a {
	font-size: 14px;
	line-height: 1.5;
	color: #fff;
	transition: all .3s;
}
.box span {
	display: block;
	margin-bottom: 30px;
	color: #8692aca6;
}
.footer_block__content {
.box span {
	margin-bottom: 20px;
}
}

.block-box ul li a {
	font-size: 14px;
	line-height: 1.5;
	color: #fff;
	transition: all .3s;
}
.footer_logo1, .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	width: 100%;
}
.footer_logo1 {
	margin-top: 30px;
	padding: 20px 0;
	border-top: 1px solid #fff3;
	border-bottom: 1px solid #fff3;
}
.footer_logo1__content {
	display: flex;
	flex-direction: row;
}
.footer_logo1__content ul {
	display: flex;
	flex-direction: row;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.footer_logo1__content img {
	width: 20px;
	height: 20px;
}

.footer_logo1_img ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 80px;
	justify-content: space-between;
}
@media (max-width: 1090px) {
   .footer_logo1_img ul {
        gap: 20px;
		  justify-content: flex-start;
}}
@media (max-width: 767px) {
   .footer_logo1, .container {
      flex-wrap: wrap;
		gap: 20px;
}}

.footer_logo1_img {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.footer_logo1_img img {
	width: auto;
	height: 20px;
}
@media (max-width: 1090px) {
   .footer_logo1_img img {
	height: 14px;
}}
.footer_logo2_img ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
	justify-content: space-between;
}
@media (max-width: 1090px) {
   .footer_logo2_img ul {
	gap: 10px;
}}
.footer_logo2_img {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.footer_logo2_img img{
	width: auto;
	height: 20px;
	object-fit: contain;
}
@media (max-width: 1090px) {
   .footer_logo2_img img{
	height: 12px;
}}

.footer_logo2 {
	padding: 20px 0;
	border-bottom: 1px solid #fff3;
	 overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.footer_logo2_scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  width: max-content; /* ширина по содержимому */
}

.footer_logo2_scroll li {
  flex: 0 0 auto;
}

.footer_logo2_scroll img:hover {
  transform: scale(1.05);
}
.footer_logo3__content p {
	font-size: 12px;
	line-height: 1.5;
	color: #8692aca6;
	font-weight: 400;
}

/* home */
.main {
	padding: 40px 0;
}
.main__container {
	display: flex;
	flex-direction: row;
	gap: 20px;
}
.main_slider {
	width: 60%;
}

@media (max-width: 1241px) {
  .main_slider {
	width: 100%;
}}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  max-width: 100%;
  
}

.slide {
  background-size: cover;            /* Заполняет всю ширину и высоту */
  background-position: center;       /* Центрирует */
  background-repeat: no-repeat;      /* Без повторов */
  height: 320px;                     /* Или адаптивно через vh/auto */
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 30px;
  color: #fff;
}
@media (max-width: 1241px) {
.slide {
    height: 220px;
}}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px;
  color: #fff;
}

.slide-content {
  max-width: 50%;
}
@media (max-width: 1241px) {
.slide-content {
  max-width: 100%;
}}

.slide-content h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.slide-button {
  display: inline-block;
  background: white;
  color: black;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.slide-button:hover {
  background: #ddd;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  color: white;
  z-index: 10;
  border-radius: 4px;
}

.slide-nav.prev {
  left: 10px;
}

.slide-nav.next {
  right: 10px;
}

/* промо */
.main_cache {
	display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 40%;
}

.promo-card {
  position: relative;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: white;
}

.promo-content {
  text-align: left;
}

.promo-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.promo-btn {
  display: inline-block;
  background: white;
  color: black;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.promo-btn:hover {
  background: #eee;
}
.main__container {
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
}

@media (max-width: 1241px) {
  .main__container {
	flex-wrap: wrap;
}}


@media (max-width: 1241px) {
  .main_cache {
	display: none;
}}

/* промо блок */

.block_container {
	display: flex;
	flex-direction: row;
	gap: 10px;
}
.promo_card {
	background-image: linear-gradient(110deg, #1e283f, rgba(20, 27, 46, .6) 100%);
	 border-radius: 12px;
	 padding: 14px;
	 flex: 1 1 0%;
  min-width: 200px;
}

.scrollable-cards {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-behavior: smooth;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.scrollable-cards::-webkit-scrollbar {
  height: 6px;
}

.scrollable-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.promo_card__link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.promo_card__img img {
	width: 50px;
	height: 50px;
}
.promo_card__content {
	gap: 10px;
	color: #fff;
}
.promo_card__content span{
	font-size: 20px;
	text-transform: uppercase;
}
.promo_card__content p {
	font-size: 14px;
	line-height: 1.5;
	color: #8692aca6;
}

/* promo section */
.promo-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
  justify-content: space-between;
}

.promo-left, .promo-right {
  flex: 0 0 auto;
  background: #121425;
  border-radius: 16px;
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Заголовки с иконкой */
.promo-left h3,
.promo-right h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Список игр */
.promo-games-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  justify-content: space-between;
}

.game-card {
  flex: 0 0 auto;
  width: 150px;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.game-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* Правая карточка */
.promo-left {
	width: 49%;
}
.promo-right {
	width: 49%;
}

@media (max-width: 1040px) {
    .promo-left {
	width: 100%;
}
.promo-right {
	width: 100%;
}}
.promo-right p {
  font-size: 16px;
}

.btn-promo {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  width: max-content;
}

.promo-right-image {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-height: 240px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .promo-right-image {
  max-height: 100px;
}
}

@media (max-width: 768px) {
  .promo-section {
    flex-direction: column;
  }
}
.promo-right h3 {
	font-size: 22px;
	font-weight: 600;
}
.promo-left h3 {
	font-size: 22px;
	font-weight: 600;
}
.promo-left-img {
	width: 40px;
	height: 40px;
}
.promo-right-img {
	width: 40px;
	height: 40px;
}
.promo-left,
.promo-right {
  position: relative;
  padding-top: 20px;
  border-radius: 12px;
  background: #121425;
  overflow: hidden;
  min-height: 250px;
}

.promo-left::before,
.promo-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, #00c6ff, #0072ff);
}


/* sport */

.match-board {
  background: #eef3fe;
  border-radius: 12px;
  padding: 16px;
  font-family: Arial, sans-serif;
  max-width: 1400px;
  margin: 20px auto;
}

.match-header {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: ##090f1e;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.filter-btn.active {
  background: #000;
  color: #fff;
}

.match-category {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0;
  color: #090f1e;
}

.match-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.match-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  flex: 1 1 240px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.match-title {
  font-weight: 600;
  font-size: 14px;
  color: #222;
}

.match-sub {
  font-size: 12px;
  color: #888;
}

.match-players {
  font-size: 14px;
  line-height: 1.4;
   color: #090f1e;
}

.score {
  background: #e0eaff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  margin-left: 4px;
}

.match-odds {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.odds {
  background: #edf4ff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  color: #090f1e;
}

.viewers {
  background: #d0e6ff;
  color: #0077ff;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}

/* live game */
.game_left {
	width: 20%;
}

@media (max-width: 767px) {
    .game_left {
        display: none;
}}
.game_live {
	display: flex;
	gap: 20px;
	padding: 20px 0; 
}
.sidebar {
  width: auto;
  background: #0f111f;
  color: #fff;
  padding: 20px;
  font-family: Arial, sans-serif;
  border-radius: 12px;
  height: 100%;
  overflow-y: auto;
}

.search-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: #1a1d2f;
  color: #fff;
  margin-bottom: 20px;
  font-size: 14px;
}

.section-title {
  font-size: 10px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

    .category-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .category-list li a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      background: #1a1d2f;
      border-radius: 8px;
      text-decoration: none;
      color: white;
      font-size: 14px;
      transition: background 0.2s;
    }

    .category-list li a:hover {
      background: #2a2d40;
    }

    .category-list li.active a {
      background: #6e0ed1;
    }

    .category-list li a img {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
    }

    .category-list li .text {
      flex-grow: 1;
      white-space: nowrap;
    }

    .category-list li .count {
      font-size: 13px;
      font-weight: 600;
      color: #999;
    }

    .category-list li.active .count {
      color: white;
    }
.game_right {
	width: 80%;
}
@media (max-width: 767px) {
    .game_right {
        width: 100%;
}}

.promo-pair {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.promo1-left {
	width: 34%;
	background-color: #121425;
	padding: 20px;
}

@media (max-width: 767px) {
    .promo1-left {
        width: 100%;
}}

.promo2-right {
	width: 64%;
	padding: 20px;
}

@media (max-width: 767px) {
    .promo2-right{
        width: 100%;
}}
.promo-box {
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(20, 28, 46, 0) 10%, #141c2e 100%);
  justify-content: flex-end;
  background-size: cover;
  background-position: center center;
}

.promo-overlay {
  color: white;
  width: 100%;
  gap:10px;

}

.promo-label {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
}

.promo-title {
  font-size: 22px;
  font-weight: bold;
  margin: 5px 0;
}

.promo-provider {
  font-size: 12px;
  opacity: 0.7;
}

.promo-dark {
    align-items: flex-start;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.promo-text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  gap: 10px;
}

.promo-btn {
  margin-top: 16px;
  background: white;
  color: black;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.promo-btn:hover {
  background: #eee;
}
.game-promo-right {
	width: 100%;
}


/* === faq === */

.faq-full {
  width: 100%;
  max-width: 100%;
  padding-top: 40px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.faq-item {
  border-radius: 12px;
  background: #1a1d2f;
  margin-bottom: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  text-align: left;
  color: #00c6ff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .arrow {
  width: 20px;
  height: 20px;
  fill: #00c6ff;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 15px;
  color: #ccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 16px;
}

