*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #080808;
    color: #fff;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    
    
}
html, body {
  max-width: 100%;
  overflow-x: hidden;  /* Убираем горизонтальный скролл */
}
h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}
header {
    background-image: url(../imgs/Header5.png);
    background-size: cover; /* Заполняем весь экран */
    background-position: center; /* Центрируем */
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh ; /* Гарантированная высота */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0px 10px; /* Добавляем отступы */
    z-index: 10; /* Делаем меню поверх */
}

nav .container{
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;

}
nav .container .nav-navigate{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
}
nav .container .logo img {
    width: 200px;
}

nav .container .button-navigate {
    display: flex;
    align-items: center;
}

nav .container .button-navigate button {
    background: none;
    border: none;
    font-size: 30px;
    color: #F59E0B;
    cursor: pointer;
}
nav .container .menu {
    position: fixed;
    background-color: #080808;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    top: -300px;
    left: 0;    
    z-index: 1000;
    padding-top: 20px;
    padding-bottom: 20px;
    
    opacity: 0; /* Скрываем */
    visibility: hidden; /* Убираем из потока */
    transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

nav .container .menu.active {
    top: 0;
    opacity: 1; /* Делаем видимым */
    visibility: visible; /* Возвращаем в поток */
}

nav .container .menu .exit{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #F59E0B;
    cursor: pointer;
}
nav .container .menu .logo-menu{
    margin-top: -15px;
    width: 200px;
}
nav .container .menu .logo-menu img{
    width: 100%;
    height: 100%;
}
nav .container .menu ul{
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: 22px;
}
nav .container .menu ul li{
    list-style: none;
}
nav .container .menu ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}
nav .container .menu .buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
}
nav .container .menu .buttons button{
    border: 2px solid #F59E0B;
    background-color: rgba(8, 8, 8, 1);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 7px;
    box-shadow: 0 0 10px #F59E0B;

}
nav .container .menu .buttons button:nth-child(2){  
    background-color: #F59E0B;
    box-shadow: 0 0 10px #F59E0B;

    color: #000;
}
.hero {
    padding: 0 10px;
    background-size: cover;
    background-position: center;
    width: 90%;
    min-height: 60vh;    
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.hero .container h1 { 
    font-size: 26px;
    font-weight: bold;
    color: #F59E0B;
    text-shadow: 0 0 10px #F59E0B;
    margin-bottom: 10px;
} 

.hero .container h1 span {
    color: #fff;
    text-shadow: 0 0 10px #F59E0B;
  
}

.hero .container p {  
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px #F59E0B;
}

.hero .container p span {
    color: #F59E0B;
    text-shadow: 0 0 10px #F59E0B;
}

.hero .container .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    margin-top: 20px;
}

.hero .container .buttons button {
    border: 2px solid #F59E0B;
    background-color: #F59E0B;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 7px;
    box-shadow: 0 0 10px #F59E0B;
}


/* section benefits */
.benefits {
    padding: 20px;
}

.benefits h2 {
    font-size: 26px;
    font-weight: bold;
}

.benefits h2 span {
    color: #F59E0B;
}

/* Карточки */
.benefit-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.card {
    width: 100%;
    background: #000000;
    border: 2px solid #F59E0B;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-in-out;
    font-size: 17px;
    text-align: center;
    
}
.card p{
    text-align: left;
    width: 100%;
}

.card img {
    width: 100px;
    height: 100px;
}

/* Анимация появления */
.card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Кнопка */
.start-btn {
    background-color: #F59E0B;
    color: black;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    padding: 12px 24px;
    margin-top: 20px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.start-btn:hover {
    transform: scale(1.05);
}

/* Hot Games */
.hot-games-section {
  text-align: center;
  color: white;
  padding: 20px;
}

h2 {
  font-size: 28px;
  font-weight: bold;
}

h2 span {
  color: #f9a825; /* Оранжевый акцент */
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    border-radius: 50px;
    padding: 10px 40px;
    position: relative;
    color: #ff9800;
    text-align: center;
    box-shadow: 7.22px 9.02px 16.33px 0px #00000099;
    box-shadow: -0.9px -0.9px 0.81px 0px #F59E0B inset;
    margin-bottom: 20px;
    margin-top: -15px;
  }
  

    
  .badge-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.1;
  }
  
  .badge-text strong {
    font-size: 20px;
    color: #fff;
  }
  
  

.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.game-card {
  width: 100px;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}
.game-card.visible {
  opacity: 1;
  opacity: 1;
    transform: translateY(0);
}

/* how it works */

.how-it-works {
    text-align: center;
    color: white;
    padding: 20px;
  }
  
  h2 {
    font-size: 24px;
    font-weight: bold;
  }
  
  h2 span {
    color: #f9a825; /* Оранжевый цвет */
  }
  
  .steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }
  
  .step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: black;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f9a825;
  }
  
  .step img {
    width: 50px;
    height: 50px;
  }
  
  .step p {
    flex: 1;
    font-size: 14px;
    text-align: left;
  }
  /* cta-section */

  .cta-section {
    text-align: center;
    color: white;
    padding: 40px 20px;
    background-image: url(../imgs/Section4.svg);
    background-size: cover;
    background-position: center;
    background-color: #080808;
  }
  
  h2 {
    font-size: 24px;
    font-weight: bold;
    max-width: 80%;
    margin: 0 auto 20px;
  }
  
  h2 span {
    color: #f9a825; /* Оранжевый цвет */
  }
  
  .cta-button {
    background: #f9a825;
    color: black;
    font-weight: bold;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
  }
  
  .cta-button:hover {
    background: #e08e00;
  }
  
/* footer */

footer {
    background-color: #080808;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
  }
  
.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 30px;
  }
  
.footer-links li {
    display: inline;
    margin: 0 10px;
    margin-bottom: 10px;
  }
  
.footer-links a {
    color: white;
    text-decoration: none;
  }
  
.footer-links a:hover {
    text-decoration: underline;
  }
  
.age-restriction {
    color: gray;
    margin-top: 15px;
    margin-bottom: 20px;
  }
  
.company-info {
    color: gray;
    max-width: 600px;
    margin: 10px auto 0;
    font-size: 12px;
    line-height: 1.4;
  }
  
  /* Preloader */
  /* Фон прелоадера */
/* Скрываем прелоадер по умолчанию */
/* Прелоадер */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-in-out;
}

/* Анимация неонового текста */
.loading-text {
  font-size: 24px;
  color: #ff0;
  font-weight: bold;
  text-shadow: 0 0 10px #ff0, 0 0 20px #ff8000, 0 0 30px #ff0;
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  0% { opacity: 0.8; text-shadow: 0 0 5px #ff0, 0 0 10px #ff8000; }
  100% { opacity: 1; text-shadow: 0 0 15px #ff0, 0 0 30px #ff8000; }
}

/* Слот-машина */
.slot-machine {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 50px;
  background: #222;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px #ff0;
}

/* Вращающиеся барабаны */
.reel {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 50px;
  animation: spin 0.5s infinite alternate ease-in-out;
}

@keyframes spin {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(20px); }
}


.hidden {
  display: none !important;
}
/* Медиа-запросы */

@media (max-width: 380px) {
  h1 {
    font-size: 1.44rem !important;
  }

  .hero{
    height: 70vh !important;
  }
}

@media (max-width: 420px) {
  .hero{
    height: 65vh !important;
    transform: scale(1.1);
    }
  
}
@media (max-width: 500px) {
  .hero{
    height: 60vh !important;
    transform: scale(1.1);
    }
}

