* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #D9D3C1;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  color: #0B261A;
}

.header {
  background-color: #000D06;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}

.logo {
    display: flex;
    justify-content: flex-end;
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #D9D3C1;
  text-decoration: none;
  display: flex;
  align-items: center;
  text-wrap: nowrap;
}

.logo img {
  width: 50px;
  margin-right: 10px;
}

.nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.nav ul li a {
  font-size: 1rem;
  color: #D9D3C1;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.nav ul li a:hover {
  background-color: #D9D3C1;
  color: #0B261A;
}

.menu-toggle {
  display: none;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: #D9D3C1;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  .header {
    grid-template-columns: 1fr auto;
  }
  .logo {
    justify-content: flex-start;
  }
  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    height: calc(100% - 70px);
    background-color: #000D06;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  .nav ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .burger {
    display: block;
  }
  .menu-toggle:checked ~ .nav {
    transform: translateX(0);
  }
  .menu-toggle:checked ~ .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked ~ .burger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
.hero-banner {
  width: 100%;
  height: 40vh;
  background: url("/assets/img/cardscasino.webp") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 13, 6, 0.5);
  z-index: 1;
}

.hero-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 13, 6, 0) 0%, #D9D3C1 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #D9D3C1;
}

.hero-content span {
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .hero-banner {
    height: 50vh;
  }
  .hero-content span {
    font-size: 2rem;
  }
}
.review-section {
  display: flex;
  justify-content: center;
  padding: 30px;
  background-color: #D9D3C1;
}

.review-card {
  display: grid;
  grid-template-columns: 0.01fr 1fr auto;
  gap: 20px;
  align-items: center;
  background-color: #19402E;
  border: 3px solid #012611;
  border-radius: 12px;
  padding: 20px;
  max-width: 1300px;
  width: 100%;
  color: #D9D3C1;
}

.review-logo img {
  width: 90px;
  height: auto;
  border-radius: 6px;
}

.review-info {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
}

.review-title {
  font-size: 1.8rem;
  margin: 0;
  color: #D9D3C1;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-badge {
  background-color: #D9D3C1;
  color: #012611;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
}

.review-stars {
  color: #D9D3C1;
  font-size: 1.2rem;
}

.review-bonus {
  font-size: 1rem;
  font-weight: 500;
  color: #D9D3C1;
}

.review-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #D9D3C1;
}

.review-features li {
  display: flex;
  align-items: center;
}

.review-features li::before {
  content: "✔";
  color: #D9D3C1;
  margin-right: 8px;
}

.review-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-play,
.btn-details {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.btn-play {
  background-color: #0B261A;
  color: #D9D3C1;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.btn-play:hover {
  background-color: #D9D3C1;
  color: #19402E;
  transform: scale(1.05);
}

.btn-details {
  background-color: #0B261A;
  color: #D9D3C1;
  transition: background-color 0.3s, color 0.3s;
}

.btn-details:hover {
  background-color: #012611;
  color: #D9D3C1;
}
@media (max-width: 768px) {
    .review-card {
      grid-template-columns: 1fr;
      gap: 15px;
      text-align: center;
    }
    .review-info {
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }
    .review-actions {
      flex-direction: row;
      justify-content: center;
      gap: 15px;
    }

    .review-actions {
        flex-direction: column;
        gap: 10px;
      }
}

.site-content {
  max-width: 1300px;
  margin: 30px auto;
  padding: 30px;
  background-color: #19402E;  /* Фон карточки, как в обзоре */
  border: 2px solid #012611;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  color: #D9D3C1;           /* Светлый текст для темного фона */
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.site-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #D9D3C1;
  padding-bottom: 10px;
  color: #D9D3C1;
}

.site-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  text-align: center;
  border-bottom: 1px solid #012611;
  padding-bottom: 8px;
  color: #D9D3C1;
}

.site-content h3 {
  font-size: 1.6rem;
  margin: 1.5rem 0 1rem;
  text-align: left;
  color: #D9D3C1;
}

.site-content p {
  margin-bottom: 1rem;
  text-align: justify;
  color: #D9D3C1;
}

.site-content img:first-of-type {
    width: 512px;
    height: 512px;
}

.site-content img:last-of-type {
    width: 512px;
    height: 512px;
}

.site-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border: 2px solid #012611;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.site-content ul {
  margin: 1rem 0;
  padding-left: 20px;
}

.site-content li {
  margin-bottom: 0.5rem;
  color: #D9D3C1;
}

.site-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: transparent; /* Таблица сливается с фоном контейнера */
}

.site-content td {
  border: 1px solid #012611; /* Тонкая рамка под общий стиль */
  padding: 12px 16px;
  vertical-align: top;
  color: #D9D3C1; /* Светлый текст */
}

/* Чередование фона строк для лучшей читаемости */
.site-content tr:nth-child(even) {
  background-color: rgba(11, 38, 26, 0.3); /* Лёгкое затемнение */
}

.site-content tr:nth-child(odd) {
  background-color: transparent;
}

/* Ссылки внутри таблицы */
.site-content td a {
  color: #D9D3C1;
  text-decoration: underline;
}

.site-content td a:hover {
  color: #ffffff;
}
.site-content reviews-block {
  display: block;
  margin-top: 40px;
  padding: 20px;
  background-color: #012611; /* Темнее, чем #19402E, но светлее, чем #000D06 */
  border: 2px solid #0B261A;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color: #D9D3C1;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.site-content reviews-block h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #19402E;
  padding-bottom: 10px;
  color: #D9D3C1;
}

.site-content reviews-block > div {
  margin-bottom: 20px;
  padding: 15px;
  background-color: rgba(25, 64, 46, 0.2); /* Лёгкое затемнение, чтобы выделить блок отзыва */
  border-radius: 6px;
}

.site-content reviews-block > div p:first-of-type {
  margin: 0;
  font-weight: bold;
  color: #D9D3C1;
}

.site-content reviews-block > div p + p {
  margin-top: 8px;
  color: #D9D3C1;
  text-align: justify;
}

.site-content reviews-block > div:last-child {
  margin-bottom: 0;
  text-align: center;
  background-color: transparent;
  padding: 0;
}

.site-content reviews-block > div:last-child a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #19402E;
  color: #D9D3C1;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.site-content reviews-block > div:last-child a:hover {
  background-color: #D9D3C1;
  color: #19402E;
}

.site-content faq-section {
  display: block;
  margin-top: 40px;
  padding: 20px;
  background-color: #19402E;
  border: 2px solid #012611;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  color: #D9D3C1;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.site-content faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #D9D3C1;
  padding-bottom: 10px;
  color: #D9D3C1;
}

.site-content faq-section details {
  background-color: #012611;
  border: 1px solid #0B261A;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 10px;
  transition: background-color 0.3s ease;
}

.site-content faq-section details[open] {
  background-color: #0B261A;
}

.site-content faq-section details summary {
  cursor: pointer;
  padding: 8px;
  font-weight: bold;
  color: #D9D3C1;
  position: relative;
}

.site-content faq-section details summary::after {
  content: "▼";
  position: absolute;
  right: 10px;
  font-size: 0.9rem;
  color: #D9D3C1;
  transition: transform 0.3s ease;
}

.site-content faq-section details[open] summary::after {
  transform: rotate(180deg);
}

.site-content faq-section details p {
  margin-top: 10px;
  padding: 0 8px;
  color: #D9D3C1;
  text-align: justify;
}

.site-content nav {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: #19402E;
  border: 2px solid #012611;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  color: #D9D3C1;
  font-family: "Inter", sans-serif;
}

.site-content nav h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #D9D3C1;
  border-bottom: 1px solid #012611;
  padding-bottom: 8px;
}

.site-content nav h2 ~ a {
  display: inline-block;
  margin: 5px 10px;
  padding: 8px 15px;
  background-color: #D9D3C1;
  border: 1px solid #012611;
  border-radius: 20px;
  color: #0B261A;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s, color 0.3s;
}

.site-content nav h2 ~ a:hover {
  background-color: #012611;
  color: #D9D3C1;
}

.site-footer {
  background-color: #000D06; /* Тёмный фон, как в header */
  color: #D9D3C1;           /* Светлый текст для контраста */
  padding: 30px 20px;
  font-family: "Inter", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  width: 100px;
  height: auto;
  border-radius: 6px;
}

.footer-info {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #D9D3C1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #19402E;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-info {
    margin: 10px 0;
  }

  .site-content img:first-of-type {
    width: 100%;
    height: auto;
  }
  .site-content img:last-of-type {
    width: 100%;
    height: auto;
  }

  .site-content td {
    padding: 11px 4px;
  }
    
}





