/* =========================================
   RESET
========================================= */

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(circle at top, #111 0%, #000 60%);
  color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 50px 0;
}
.slots-section {
  padding-top: 10px;
}


section h2 {
  font-size: 28px;
  margin-bottom: 25px;
}

section p {
  opacity: 0.85;
  margin-bottom: 15px;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  background: linear-gradient(90deg, #000, #0c0c0c);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
}

/* ВАЖНО: делаем «контейнер» прямо в header-inner */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a {
  margin: 0;               /* убираем margin, заменяем на gap */
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
  transition: 0.3s;
  white-space: nowrap;
}

.header-nav a:hover {
  opacity: 1;
  color: #ff2d75;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* Мобилка */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  .header-nav {
    display: none;
  }

  .logo img {
    height: 36px;
  }

  .header-actions {
    gap: 10px;
  }
}


/* =========================================
   BUTTONS
========================================= */

.btn-primary {
  background: linear-gradient(90deg, #ff2d75, #ff0055);
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.7);
}

.btn-outline {
  border: 2px solid #fff;
  padding: 8px 22px;
  border-radius: 40px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}


/* =========================================
   HERO
========================================= */

/* =========================================
   HERO — Главная
========================================= */

.hero-home {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-home h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-home p {
  max-width: 750px;
  margin: 0 auto 30px;
  font-size: 18px;
  opacity: 0.9;
}


/* =========================================
   HERO — Внутренние страницы (spēles)
========================================= */

.hero-inner {
  padding: 40px 0 20px;
  text-align: center;
}

.hero-inner .container {
  max-width: 780px;
  margin: 0 auto;
}

.hero-inner h1 {
  font-size: 34px;
  margin-bottom: 15px;
}

.hero-inner p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 680px;
  margin: 0 auto;
}

/* =========================================
   SLOTS GRID
========================================= */

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.slot-card {
  background: rgba(255,255,255,0.03);
  padding: 15px;
  border-radius: 18px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
}

.slot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 85, 0.2);
  border-color: rgba(255, 0, 85, 0.3);
}

.slot-card img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.slot-title {
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
}


/* =========================================
   TABLES (UNIFIED STYLE)
========================================= */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

table th {
  background: linear-gradient(90deg, #1a1a1a, #222);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.06);
}

table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}

table th:last-child,
table td:last-child {
  border-right: none;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background: rgba(255, 0, 85, 0.08);
  transition: 0.3s ease;
}


/* =========================================
   TOC
========================================= */

.toc-section {
  padding: 30px 0 10px;
}

.toc-box {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}

.toc-header {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #111, #1a1a1a);
  transition: 0.3s ease;
}

.toc-header:hover {
  background: linear-gradient(90deg, #1a1a1a, #222);
}

.toc-content {
  display: none;
  padding: 18px 22px;
}

.toc-content ul {
  list-style: none;
}

.toc-content li {
  margin-bottom: 12px;
}

.toc-content a {
  opacity: 0.85;
  transition: 0.2s ease;
}

.toc-content a:hover {
  color: #ff2e6a;
  opacity: 1;
}


/* =========================================
   REVIEWS
========================================= */

.reviews h2 {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 85, 0.15);
}

.stars {
  color: #ffcc00;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.review-author {
  font-weight: 600;
  font-size: 14px;
  opacity: 0.7;
}


/* =========================================
   FAQ
========================================= */

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  transition: 0.3s;
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  opacity: 0.85;
  transition: 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px 20px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  margin-top: 80px;
  padding: 60px 0 30px;
  background: linear-gradient(180deg, #0b0b0f 0%, #050507 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
  color: #aaa;
}

.footer-col ul li a:hover {
  color: #ff2d75;
}

.footer-text {
  font-size: 14px;
  color: #aaa;
  max-width: 320px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 13px;
  color: #666;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .header-nav {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;          /* расстояние между кнопками */
  margin-top: 25px;
  flex-wrap: wrap;    /* чтобы красиво ломались на мобиле */
}
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
  }
}
