
@font-face {
  font-family: 'Ultra';
  src: url('/fonts/Ultra-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap; 
}

body {
  margin: 0px;
  background: var(--body-color);
  color: var(--latin-color);
}

h2, h3, h4, h5, h6 {
  font-family: 'Ultra', sans-serif;
  font-size: inherit;
  margin-bottom: 10px;
  text-align: center;
}

a {
  color: inherit;
}

header {
  height: 100px;
  display: flex;
  background: var(--header-color);
  background-size: cover;
  line-height: 1.3;
  align-items: center;
  flex-direction: row;
}

.logo-brand {
  margin-top: 5px;
  margin-left: 15px;
}

.sidebar-sticky {
  top: 20px;
  position: sticky;
}

.content-area {
  padding: 0px 0px;
  line-height: 1.5;
}

.games-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.game-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  border-radius: 5px;
  height: 187px;
  align-items: flex-end;
  flex-wrap: nowrap;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;
}

.game-card:before {
  content: '';
  background-image: url(/css/play-solid.svg);
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: center;
  font-weight: 900;
  position: absolute;
  top: 45%;
  left: 50%;
  padding-top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: rgba(255, 255, 255, 0);
  background-color: #fff;
  opacity: 0;
  transition: all 0.3s ease;
}

.game-card:hover:before {
  opacity: 0.9; /* сделать иконку видимой */
  color: white; /* белый цвет для иконки */
  background-color: #26262691; /* фоновый цвет */
  filter: drop-shadow(0px 10px 34px rgba(255, 58, 26, 0.42));
}

.game-title {
  filter: drop-shadow(0px 11px 8px rgba(0, 193, 160, 0.11));
  background: var(--button1-color);
  font-size: 13px;
  width: 100%;
  padding: 7px 0px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

img {
  width: 100%;
}

.sidebar-panel {
  width: 250px;
  margin-top: -75px;
}

.menu-block {
  border-radius: 20px;
  filter: drop-shadow(0 0 34px rgba(48, 46, 43, 0.13));
  background: var(--menu-color);
  padding: 30px;
  width: 100%;
}

li {
  margin-bottom: 5px;
}

.menu-list {
  padding: 10px 0;
}

.button-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 310px;
  padding-bottom: 35px;
}

/*кнопка вход*/
.button-group .action-btn:first-child {
  width: 45%;
  height: 45px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 2px solid hsl(0deg 0% 0% / 10%);
  background: var(--button1-color);
  display: flex;
  font-weight: bold;
  transition: .5s;
  align-items: center;
  justify-content: center;
}

/*кнопка регистрации*/
.button-group .action-btn:last-child {
  width: 45%;
  height: 45px;
  border-radius: 12px;
  background: var(--button2-color);
  display: flex;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  border: none;
  background-size: 500% 500%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: gradientshift 5s ease infinite, register-attract 3s ease-in-out infinite;
  will-change: transform, box-shadow;
  position: relative;
  z-index: 1;
  }
  
.button-group .action-btn:first-child:hover {
  transform: scale(1.1);
}

.button-group .action-btn:last-child:hover {
  filter: brightness(1.15);
  animation-play-state: paused;
}

/*таблицы*/
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
}

th, td {
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 200px;
}

.faq-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #525252;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  background: var(--header-color);
  width: 100%;
  color: #fff;
  padding: 5px;
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
  border: none;
  text-align: left;
}

.faq-answer {
  font-size: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0s ease;
}

.faq-answer.visible {
  max-height: 800px; /* достаточно для текста */
  padding: 10px;
}

footer {
  height: auto;
  background-color: #000;
  border-top: 1px solid #a6a6a6;
  color: #a6a6a6;
  display: flex;
  padding: 20px 0px 20px;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: 'Ultra', sans-serif;
  margin-top: 35px;
  font-size: 25px;
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-copyright {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/*планшеты и моб */
@media (max-width: 1024px) {
  .footer-copyright {
    display: flex;
    flex-direction: column;
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
}

.review-card {
  background: var(--menu-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translatey(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.reviewer-name {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--button2-color);
}

.review-text {
  font-size: 16px;
  color: #ffff;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.promo-banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-size: 20px;
  max-width: 50%;
  padding: 75px;
  font-weight: bold;
  align-items: center;
}

.banner-logo {
  max-width: 150px;
  height: auto;
  padding: 75px;
}

@media (max-width: 768px) {
  .promo-banner {
    display: flex;
    justify-content: center;
  }
  
  .banner-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .banner-content {
    display: flex;
    justify-content: center;
  }
  
  .banner-text {
    display: flex;
    gap: 30px;
    padding: 0px;
    max-width: 100%;
    align-items: center;
  }
  
  .promo-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
  }
  
  .logo-bonus {
    display: none;
  }
}

/*кнопка*/
.cta-button {
  position: relative;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: var(--button2-color);
  background-size: 300% 300%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: gradientshift 5s ease infinite, register-attract 3s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.cta-button:hover {
  filter: brightness(1.15);
  animation-play-state: paused;
}

/* градиентная анимация */
@keyframes gradientshift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
  
  /* эффектная анимация для кнопок регистрации - психология выигрыша */
  @keyframes register-attract {
  0%, 92%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 215, 0, 0);
    filter: brightness(1);
  }
  94% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(227, 227, 227, 0.6), 0 0 40px rgba(235, 234, 233, 0.3);
    filter: brightness(1.2);
  }
  96% {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 30px rgba(207, 207, 203, 0.8), 0 0 60prgba(255, 255, 255, 0.4)4), 0 0 80px rgba(255, 215, 0, 0.2);
    filter: brightness(1.25) saturate(1.2);
  }
  98% {
    transform: scale(1.04);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(255, 215, 0, 0.4);
    filter: brightness(1.1);
  }
  }
  
  
  
  .promo-button:hover {
  filter: brightness(1.15);
  animation-play-state: paused;
  }      /*  ниже не исселдовано*/ /*  ниже не исселдовано*/ /*  ниже не исселдовано*/ /*  ниже не исселдовано*/        

.menu-close {
  display: none !important;
}

.menu-toggle {
  cursor: pointer;
}

.menu-register {
  display: none;
}

@media not all and (max-width:1200px) {
  @media screen {
    body, html {
      height: auto;
    }
  }
}

/* Десктопные стили */
.content-area .game-card img {
  margin: 0px;
}

header .menu-block,
.menu-toggle {
  display: none;
}

.footer-text {
  padding-left: 50px;
  font-size: 14px;
}

.footer-main {
  display: flex;
  align-items: center;
}

header .container {
  flex-direction: column;
  align-items: baseline;
  padding: 60px 0px;
}

.container {
  width: 1300px;
  margin: auto;
  display: flex;
}

.inline-image {
  max-width: 50%;
  height: auto;
  border-radius: 10px;
}

a {
  text-decoration: none;
}

.content-area img {
  margin: 10px 0px 25px 0px;
}

.custom-button {
  width: 265px;
  height: 66px;
  border-radius: 5px;
  background-color: #f60522;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
}

.heading {
  margin-top: 20px;
  font-size: 28px;
}

.content-column {
  width: 980px;
  margin-right: 20px;
}

.promo-info {
  margin: 30px 0px;
}

.promo-item {
  height: 42px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.promo-item div {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #ff3a1a;
}

.banner-box {
  border-radius: 10px;
  background: url(/image/ma-na-in1.png) no-repeat;
  position: relative;
  padding: 27px;
  background-size: cover;
  margin-top: 50px;
  margin-bottom: 40px;
  margin-left: 40px;
}

strong {
  display: block;
  margin-top: 40px;
  font-size: 20px;
}

.sidebar-heading {
  line-height: 1;
  font-size: 26px;
  color: #ffffff;
}

img {
  /* max-width:100%; */
}

@media screen and (max-width: 1450px) {
  .button-group.menu-toggle {
    display: none;
  }
  
  header {
    font-size: 30px;
  }
}

@media screen and (max-width: 1000px) {
  .inline-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

@media screen and (max-width: 1024px) {
    /* липкий хедер для мобильной версии */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    /* компенсация отступа для контента */
    .content-area {
      padding-top: 115px !important;
    }
    
    /* отступ для первого элемента */
    .promo-banner {
      margin-top: 0 !important;
    }
    
    #main_s2 br {
      display: none;
    }
    
    .footer img {
      display: none;
    }
    
    .button-group .action-btn {
      height: 40px !important;
      font-size: 4vw !important;
    }
    
    .button-group.menu-toggle {
      display: flex;
      position: absolute;
      z-index: 0;
      right: 5vw;
      top: 130px;
      margin-top: -15px;
      width: 90vw;
    }
    
    .container {
      width: 90vw;
      margin: auto;
      display: flex;
      margin-bottom: 1px;
    }
    
    .sidebar-panel {
      display: none;
    }
    
    .content-column {
      width: auto;
      margin-right: 0px;
      margin-top: 50px;
    }
    
    h1 br {
      display: none;
    }
    
    h1 {
      margin-top: 0px;
      padding-top: 20px;
      font-size: 23px;
    }
    
    header .container {
      flex-direction: column;
      align-items: baseline;
      padding: 10px 0px;
    }
    
    .footer-text {
      padding-left: 0px;
      font-size: 14px;
      line-height: 1.4;
      padding: 30px 0px;
    }
    
    footer {
      height: auto;
    }
    
    body, html {
      position: relative;
      overflow-x: hidden;
      height: 100%;
    }
    
    header .menu-block {
      position: fixed;
      left: 0;
      height: auto;
      width: 100vw;
      display: block;
      box-sizing: border-box;
      background: var(--menu-color);
      z-index: 999;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
      opacity: 0;
      border-radius: 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .menu-list {
      margin: 0;
      padding: 0;
      font-style: normal;
      text-transform: none;
    }
    
    .menu-list a {
      display: block;
      padding: 18px 25px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      transition: background-color 0.3s ease, padding-left 0.3s ease;
    }
    
    .menu-list a:last-child {
      border-bottom: none;
    }
    
    .menu-list a:hover {
      background: rgba(255, 255, 255, 0.05);
      padding-left: 35px;
    }
    
    .menu-list div {
      color: #fff;
      font-size: 16px;
      font-weight: 500;
    }
    
    header .menu-block.open {
      max-height: 1000px;
      opacity: 1;
      padding: 20px 0;
    }
    
    .menu-toggle {
      display: block;
      position: absolute;
      z-index: 1000;
      right: 25px;
    }
    
    .menu-toggle.menu-close {
      display: none !important;
    }
    
    .menu-toggle.menu-close.active {
      display: block !important;
    }
    
    /* скрываем бургер когда меню открыто */
    #burgerIcon.hide {
      display: none !important;
    }
    
    /* кнопка регистрации в мобильном меню */
    .menu-register {
      display: flex;
      justify-content: center;
      padding: 25px 25px 10px;
      margin-top: 15px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-register .action-btn {
      width: 100%;
      max-width: 300px;
      height: 50px;
      border-radius: 12px;
      background: var(--button2-color);
      display: flex;
      font-weight: bold;
      align-items: center;
      justify-content: center;
      border: none;
      background-size: 500% 500%;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      animation: gradientshift 5s ease infinite, register-attract 3s ease-in-out infinite;
      will-change: transform, box-shadow;
      position: relative;
      z-index: 1;
      font-size: 16px;
    }
    
    .menu-register .action-btn:hover {
      filter: brightness(1.15);
      animation-play-state: paused;
    }
}

.promo-item {
  position: relative;
  border: #ff3a1a 2px solid;
  padding: 20px;
  width: 350px;
  max-width: 100%;
}

body, html {
  -webkit-overflow-scrolling: touch; /* для поддержки ios */
  font-family: 'poppins', sans-serif;
}

/* медиа-запрос для экранов, если ширина меньше или равна 1000px */
@media not all and (max-width: 1000px) {
  body, html {
    height: auto;
  }
}
