* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: #fff;
}

/* ================= TOP BAR ================= */
.top-bar {
  background: #2c2c1f;
  color: #bbb;
  padding: 5px 15px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 14px;
  transition: opacity 0.4s ease, visibility 0.4s ease, height 0.4s ease;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.cookie-btn {
  border: 1px solid #FFD700;
  background: transparent;
  color: #FFD700;
  padding: 3px 10px;
  border-radius: 5px;
  cursor: pointer;
}
.top-bar.hide {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  overflow: hidden;
}

/* ================= HEADER ================= */
#main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  transition: top 0.4s ease;
}

.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #2c2c1f;
  padding: 10px 20px;
}

.nav-logo img {
  height: 40px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.bonus {
  color: #FFD700;
  font-size: 14px;
  text-align: right;
}
.bonus span {
  font-size: 12px;
  color: #ccc;
}

/* ================= BURGER ================= */
.burger {
  font-size: 24px;
  background: none;
  border: 2px solid #FFD700;
  border-radius: 6px;
  padding: 4px 8px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.burger:hover {
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* ================= NAV MENU ================= */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-menu a {
  position: relative;
  text-decoration: none;
  color: #FFD700;
  font-weight: bold;
  font-size: 16px;
  padding: 6px 12px;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #FFD700;
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: #000;
  background: #FFD700;
  border-color: #FFD700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}


/* ================= SIDE MENU ================= */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #1c1c1c;
  box-shadow: 2px 0 10px rgba(0,0,0,0.7);
  transition: left 0.4s ease;
  z-index: 1000;
  padding: 15px;
  overflow-y: auto;
}
.side-menu.active {
  left: 0;
}
.close-btn {
  font-size: 28px;
  background: none;
  border: none;
  color: #FFD700;
  cursor: pointer;
  display: block;
  margin-left: auto;
}

.menu-banner {
  background: #333;
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  border-radius: 20px;
}
.menu-banner img {
  width: 100%;
  border-radius: 8px;
}

/* ================= MENU LIST ================= */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-list li {
  margin: 12px 0;
}
.menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #FFD700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.menu-list a:hover {
  background: rgba(255, 215, 0, 0.15);
  color: #fff;
  transform: translateX(5px);
  box-shadow: inset 2px 0 0 #FFD700;
}
.menu-list i {
  width: 20px;
  text-align: center;
}

/* ================= BUTTONS ================= */
.btn-reg, .btn-login, .btn-reg-big {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

/* Регистрация */
.btn-reg, .btn-reg-big {
  background: #FFD700;
  color: #000;
  border: 2px solid #FFD700;
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.btn-reg:hover, .btn-reg-big:hover {
  background: #ffea4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}
.btn-reg:active, .btn-reg-big:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Вход */
.btn-login {
  background: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 25px;
}
.btn-login:hover {
  background: #FFD700;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}
.btn-login:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Большая кнопка */
.btn-reg-big {
  width: 100%;
  margin-top: 10px;
  border-radius: 6px;
  font-size: 16px;
  padding: 12px;
}

/* ================= OVERLAY ================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out; /* плавность */
}

.slide {
  min-width: 100%;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.slide img:hover {
  transform: scale(1.02);
}

/* Стрелки */
.slider-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44,44,31,0.8);
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
  z-index: 10;
}
.slider-controls button:hover {
  background: #FFD700;
  color: #000;
}
.prev { left: 20px; }
.next { right: 20px; }

/* Точки */
.dots {
  text-align: center;
  margin: 15px 0;
}
.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.dots .active {
  background: #FFD700;
}

/* Sub menu под слайдером */
.sub-menu {
  background: #1c1c1c;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid rgba(255,215,0,0.2);
  border-bottom: 1px solid rgba(255,215,0,0.2);
    text-align: center;
}
.sub-menu::-webkit-scrollbar {
  height: 6px;
}
.sub-menu::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 10px;
}
.sub-menu ul {
  display: inline-flex;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.sub-menu li {
  flex: 0 0 auto;
}
.sub-menu a {
  display: inline-block;
  padding: 12px 18px;
  color: #ddd;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
  border-right: 1px solid rgba(255,215,0,0.1);
}
.sub-menu a:hover {
  background: rgba(255,215,0,0.15);
  color: #FFD700;
}
.sub-menu i {
  font-size: 16px;
}

/* Сетка слотов */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}


.slot-card {
  background: #2c2c1f;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 260px;
}

.slot-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #fff;
}

.slot-card img {
  width: 100%;
  height: 200px;              /* фиксированная высота картинки */
  object-fit: cover;          /* чтобы не искажалась */
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

.slot-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  font-size: 14px;
  font-weight: bold;
  background: #1c1c1c;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;

  white-space: nowrap;        /* чтобы текст не переносился */
  overflow: hidden;
  text-overflow: ellipsis;    /* троеточие если не влезает */
}

/* Эффект при наведении */
.slot-card:hover img {
  filter: blur(2px) brightness(0.9);
  transform: scale(1.03);
}

.slot-card:hover {
  border: 2px solid orange;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 165, 0, 0.4);
}

.all-games-btn {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.all-games-btn a {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid #FFD700;
  border-radius: 25px;
  background: transparent;
  color: #FFD700;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.all-games-btn a:hover {
  background: #FFD700;
  color: #000;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}

.promo-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.promo-card {
  background: #2c2c1f;
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.promo-card h3 {
  color: #FFD700;
  margin-bottom: 10px;
  font-size: 20px;
}

.promo-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.promo-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.countdown {
  font-size: 14px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 12px;
}

.promo-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid #FFD700;
  border-radius: 20px;
  text-decoration: none;
  color: #FFD700;
  font-weight: bold;
  transition: all 0.3s ease;
}

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

.footer {
  background: #111;
  padding: 40px 20px 20px;
  color: #ccc;
  font-size: 14px;
  border-top: 2px solid rgba(255, 215, 0, 0.2);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  color: #FFD700;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin: 6px 0;
  transition: color 0.3s, transform 0.2s;
}

.footer-col a:hover {
  color: #FFD700;
  transform: translateX(3px);
}

.footer-badge {
  display: inline-block;
  margin: 5px 0;
  padding: 5px 10px;
  background: #2c2c1f;
  border: 1px solid #FFD700;
  border-radius: 5px;
  color: #FFD700;
  font-weight: bold;
  font-size: 13px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  font-size: 12px;
  color: #777;
}

.hero-title {
  text-align: center;
  margin: 40px auto 20px;
  padding: 10px 20px;
}

.hero-title h1 {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(90deg, #FFD700, #ffae00, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 
               0 0 20px rgba(255, 140, 0, 0.6), 
               0 0 40px rgba(255, 215, 0, 0.8);
  position: relative;
  display: inline-block;
}

.text-block {
  max-width: 1100px;
  margin: 60px auto;
  padding: 30px;
  background: #1b1b1b;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
  color: #ddd;
  line-height: 1.6;
}

.text-block h2, 
.text-block h3 {
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.text-block table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.text-block th, 
.text-block td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.text-block th {
  background: #2c2c1f;
  color: #FFD700;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}

.text-block td {
  color: #eee;
  font-size: 15px;
}

.text-block tr:hover td {
  background: rgba(255, 215, 0, 0.05);
}

.faq-block {
  margin: 40px auto;
  max-width: 900px;
  padding: 20px;
  background: #1c1c1c;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.faq-block h2 {
  text-align: center;
  color: #FFD700;
  margin-bottom: 25px;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 14px 18px;
  background: #2c2c1f;
  border: none;
  color: #FFD700;
  font-weight: bold;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 215, 0, 0.15);
}

.faq-answer {
  display: none;
  padding: 14px 18px;
  background: #111;
  color: #ddd;
  font-size: 15px;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Адаптив */
@media (max-width: 600px) {
  .faq-question {
    font-size: 14px;
    padding: 12px;
  }
  .faq-answer {
    font-size: 14px;
  }
}

main .text-block img{
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;   /* центрируем */
  margin-right: auto;  /* центрируем */
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease,
              filter 0.3s ease,
              box-shadow 0.3s ease;
}

main .text-block img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}


#scrollToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: #2c2c1f;
  border: 2px solid #FFD700;
  color: #FFD700;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 9999;
}

#scrollToTop:hover {
  background: #FFD700;
  color: #000;
  box-shadow: 0 0 12px rgba(255,215,0,0.7);
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* адаптив */
@media (max-width: 600px) {
  .text-block table, 
  .text-block thead, 
  .text-block tbody, 
  .text-block th, 
  .text-block td, 
  .text-block tr {
    display: block;
    width: 100%;
  }

  .text-block tr {
    margin-bottom: 12px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  }

  .text-block td {
    padding: 10px;
    text-align: right;
    position: relative;
  }

  .text-block td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    color: #FFD700;
    font-weight: bold;
    text-transform: uppercase;
  }
}


.text-block p {
  margin-bottom: 15px;
  font-size: 16px;
}

.text-block ul {
  list-style: none;
  padding-left: 0;
}

.text-block ul li {
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.text-block ul li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 14px;
}


.hero-title h1::after {
  content: "";
  display: block;
  height: 4px;
  width: 80%;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}
  
/* адаптив */
@media (max-width: 768px) {
  .hero-title h1 {
    font-size: 28px;
  }
}


/* --- Мобилка --- */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: auto;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
  }
}

/* ================= ADAPTIVE ================= */
@media (max-width: 768px) {
      .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  .slot-card {
    height: 220px;
  }
  .slot-card img {
    height: 160px;
  }
  .slot-title {
    font-size: 13px;
  }
  .navbar {
    padding: 10px;
  }
  .nav-logo img {
    height: 32px;
  }
  .nav-menu {
    display: none;
  }
  .btn-reg, .btn-login {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 20px;
  }
  .burger {
    font-size: 26px;
    margin-right: 5px;
  }
  .side-menu {
    width: 85%;
    max-width: 320px;
    left: -100%;
  }
  .side-menu.active {
    left: 0;
  }
  .btn-reg-big {
    font-size: 15px;
    padding: 10px;
  }
  .menu-list a {
    font-size: 15px;
    padding: 10px;
  }
  .overlay.active {
    backdrop-filter: blur(3px);
  }
    .slider {
    border-radius: 6px;
  }
  .slide img {
    border-radius: 6px;
  }
  .slider-controls button {
    padding: 6px 10px;
    font-size: 18px;
  }
  .dots span {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .slots-grid {
    grid-template-columns: repeat(2, 1fr); /* ровно 2 в ряд */
  }
  .slot-card {
    height: 200px;
  }
  .slot-card img {
    height: 140px;
  }
  .slot-title {
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .bonus {
    display: none;
  }
  .nav-right {
    gap: 5px;
  }
    .slider-controls button {
    padding: 5px 8px;
    font-size: 16px;
  }
  .dots span {
    width: 16px;
    height: 16px;
  }
}
