* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'inter', sans-serif;
  background: #001b52;
  color: #FFD700;
}

main {
    color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
    line-height: 1.6;
}

h2, h3 {
  color: #FFD700;
  font-size: 24px;
  margin-top: 30px;
}

p {
  margin: 15px 0;
}

ul {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0 20px 0;
}

li {
  margin-bottom: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  margin-bottom: 30px;
}

th, td {
  border: 1px solid #FFD70055;
  padding: 10px;
  text-align: left;
}

thead {
  background-color: #002060;
  color: #FFD700;
}

main img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}


main img {
  max-height: 400px;
  width: auto;
}

main img {
  max-width: 100%;
  height: auto;
}

.header {
  background-color: #002060;
  padding: 0;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.quick-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 10px;
  background-color: #002060;
  flex-wrap: wrap;
}

.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #FFD700;
  font-size: 10px;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.quick-nav-item img {
    margin-top: 0;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}

.quick-nav-item:hover {
  transform: scale(1.08);
}


.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 70px;
  height: auto;
  width: auto;
  display: block;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
    border-radius: 4px;
  width: 25px;
  height: 3px;
  background-color: #FFD700;
  display: block;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons a {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #FFD700;
  background: none;
  color: #FFD700;
  transition: background 0.3s ease;
}

.auth-buttons .register {
  background-color: #FFD700;
  color: #002060;
  border: none;
}

.auth-buttons .btn:hover {
  background-color: #FFD700;
  color: #002060;
}

.menu-list li {
  padding: 0;
  margin: 0;
}

.menu-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #FFD700;
  text-decoration: none;
  padding: 12px 10px;
  transition: background 0.2s ease;
  width: 100%;
}

.menu-list li a:hover {
  background-color: #002060;
}

.lang-switch .lang.active {
  background-color: #FFD700;
  color: #002060;
}



.btn:hover {
  background-color: #FFD700;
  color: #002060;
}

.register {
  background-color: #FFD700;
  color: #002060;
  border: none;
}

/* Бічне меню */
.side-menu {
  position: fixed;
  top: 0;
  left: -310px;
  width: 280px;
  height: 100vh;
  background-color: #001b52;
  z-index: 1000;
  transition: left 0.3s ease;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.side-menu.active {
  left: 0;
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 28px;
  color: #FFD700;
  cursor: pointer;
}


.sloto-bot-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #002060 0%, #0c2f7d 100%);
  padding: 10px 14px;
  border-bottom: 1px solid #FFD70022;
}

.sloto-bot-text {
  display: flex;
  flex-direction: column;
  color: #FFD700;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.sloto-bot-text strong {
  font-size: 16px;
  font-weight: 700;
}

.tg {
  width: 51px;
  height: 32px;
}


.menu-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #FFD700;
  border-bottom: 1px solid #FFD70022;
  padding-bottom: 5px;
}

.menu-list img {
  height: 22px;
}

/* Оверлей */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.welcome-section {
  text-align: center;
  background-color: #001b52;
  padding: 20px 10px;
}

.main-title {
  font-size: 32px;
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 20px;
  margin-top: 5px;
}

.welcome-banner {
  width: 100%;
  height: auto;
  max-width: 1920px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.slots-nav {
  background-color: #002060;
  padding: 10px 0;
  overflow-x: auto;
}

.slots-nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  padding: 0 10px;
  flex-wrap: wrap;
}

.slots-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #B0B7C3;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease, color 0.2s ease;
}

.slots-nav-item img {
  width: 32px;
  height: 29px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.slots-nav-item:hover {
  transform: scale(1.05);
  color: #FFD700;
}

.bonus-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 30px 20px;
  background-color: #001b52;
}

.bonus-card {
  background: linear-gradient(180deg, #001b52 0%, #0a1f55 100%);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 430px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 0 20px #00000033;
}

.bonus-img img {
  max-width: 100%;
  max-height: 200px; /* ограничим высоту */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.bonus-card h3 {
  color: #FFD700;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.bonus-amount {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin: 0;
}

.slots-preview {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.slots-preview img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

.bonus-btn {
  background-color: #FFD700;
  color: #002060;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.bonus-btn.outline {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.bonus-btn:hover {
  transform: scale(1.05);
}

footer {
  background-color: #001339;
  color: #B0B7C3;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto 30px auto;
}

.footer-top > div:first-child {
  max-width: 260px;
}

.footer-top img {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-top p {
  margin: 10px 0;
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  padding: 4px;
  border: 2px solid #FFD700;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFD700;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: #B0B7C3;
}

/* Scroll to top button */
#scrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  color: #002060;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 999;
}

#scrollTop:hover {
  background-color: #ffc800;
}



/* Адаптивність */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-top > div:first-child {
    align-items: center;
  }
      .bonus-section {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }
  .logo {
    font-size: 20px;
  }
  .quick-nav{
display: none;
  }
  .logo img{
    max-height: 50px;
  }
  .main-title {
font-size: 27px;
  }
}

@media (max-width: 550px) {
.login{
    display: none;
}
.auth-buttons a{
    padding: 5px 10px;
}
  .main-title {
font-size: 25px;
  }
}

@media (max-width: 430px) {
table{
    display: none;
}
}

@media (max-width: 400px) {
  .bonus-img img {
    max-height: 150px;
  }
}