/* ================================
   GLOBAL
================================ */

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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f7f3;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

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

.header {
  background: linear-gradient(135deg,#052f24,#0a4b38);
  padding: 14px 0;
  border-bottom: 2px solid #d4a933;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================================
   BRAND (MINIMAL)
================================ */

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
  display: block;
  transition: 0.2s ease;
}

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

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
}

.site-menu a {
  color: #fff5cb;
  font-size: 15px;
  white-space: nowrap;
}

.site-menu a:hover {
  color: #ffd65a;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #d4a933;
  border-radius: 7px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: #ffd65a;
}
/* Buttons */

.nav-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #d4a933;
  color: #fff5cb;
  background: rgba(255,255,255,0.08);
  transition: 0.2s ease;
}

.btn:hover {
  background: rgba(255,255,255,0.6);
}

.btn-primary {
  background: linear-gradient(90deg, #ffd65a, #e8a514);
  color: #000;
  font-weight: 700;
  border: none;
}

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

.hero {
  display: flex;
  gap: 25px;
  padding: 40px 0;
  align-items: center;
}

/* ================================
   HERO BANNER IMAGE
================================ */

.hero-banner {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #062f24;
  box-shadow: 0 16px 38px rgba(0,47,35,.2);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner picture {
  display: block;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #222;
}

.hero-content p {
  color: #444;
  font-size: 15px;
}

main p + p {
  margin-top: 14px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.hero-buttons .btn {
  color: #684c00;
  background: #fff;
}

.hero-buttons .btn-primary {
  color: #101712;
  background: linear-gradient(90deg, #ffd65a, #e8a514);
}

/* ================================
   SECTIONS
================================ */

.section {
  padding: 32px 0;   /* было 40 */
}

.section h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #8b6500;
}

/* ================================
   TABLE
================================ */

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.info-table th,
.info-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.info-table th {
  width: 30%;
  background: rgba(255,255,255,0.05);
  color: #b88a1c;
  text-align: left;
}

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

/* ================================
   CARDS (REVIEWS / GAMES STYLE)
================================ */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

.review-card strong {
  display: block;
  margin-bottom: 8px;
  color: #222;
}

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

details {
  background: rgba(0,0,0,0.25);
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.07);
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: #e5b93c;
}

details {
  background: #ffffff;
  border: 1px solid #e6e6e6;
}

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

.footer {
  background: #ffffff;
  border-top: 2px solid #e5b93c;
  color: #666;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
}

.footer-links a {
  margin-right: 15px;
  color: #c3921c;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-page {
  max-width: 900px;
  padding-top: 22px;
  padding-bottom: 56px;
}

.legal-page h1 {
  margin: 24px 0 18px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.2;
}

.legal-page h2 {
  margin: 30px 0 10px;
  color: #8b6500;
}

.legal-page ul {
  margin: 12px 0 0 22px;
}

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

@media (max-width: 768px) {

  .container {
    width: calc(100% - 40px);
    max-width: 100%;
  }

  /* Hero остаётся колонкой */
  .hero {
    flex-direction: column;
    gap: 16px;
  }

  .hero > * {
    flex: none;
    min-width: 0;
    max-width: 100%;
  }

  .hero-banner {
    width: 100%;
  }

  .hero-banner img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

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

  .hero-content,
  .section,
  main p {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .info-table {
    display: block;
    overflow-x: auto;
  }

  /* 🔥 HEADER FIX */
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
  }

  .nav-actions {
    display: flex;
    gap: 5px;
    margin-left: auto;
  }

  .nav-actions .btn {
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 6px;
    order: 2;
  }

  .brand {
    order: 1;
    flex-shrink: 0;
  }

  .nav-actions {
    order: 3;
  }

  .site-menu {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid #d4a933;
    border-radius: 10px;
    background: #063c2d;
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
  }

  .brand img {
    height: 32px;
  }

  /* уменьшаем высоту хедера */
  .header {
    padding: 8px 0;
  }

  /* уменьшаем воздух между секциями */
  .section {
    padding: 24px 0;
  }

  /* футер колонкой оставляем */
  .footer-inner {
    flex-direction: column;
    gap: 10px;
  }
}

/* ================================
   LINKS (Premium style)
================================ */

a {
  color: #c3921c;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.2s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #d4a933;
  transition: width 0.25s ease;
}

a:hover {
  color: #c3921c;
}

a:hover::after {
  width: 100%;
}

/* ================================
   TOC (Premium collapsible)
================================ */

.toc-box {
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.toc-box summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #b88a1c;
}

.toc-box summary::-webkit-details-marker {
  display: none;
}

.toc-box summary::after {
  content: "▾";
  float: right;
  transition: 0.2s ease;
}

.toc-box[open] summary::after {
  transform: rotate(180deg);
}

.toc-box ol {
  margin-top: 15px;
  padding-left: 20px;
}

.toc-box li {
  margin-bottom: 8px;
  color: #444;
}

.keyword-list {
  padding-left: 20px;
  color: #444;
}

.keyword-list li {
  margin-bottom: 8px;
}

/* ================================
   REVIEW UPGRADE
================================ */

.review-card {
  background: linear-gradient(145deg, #ffffff, #f7f7f7);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  transition: 0.3s ease;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}


.review-meta {
  display: block;
  font-size: 12px;
  color: #c3921c;
}

.stars {
  color: #ffcc00;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
/* ================================
   BREADCRUMBS FIXED
================================ */

.breadcrumbs-list {
  list-style: none;        /* убираем цифры */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 10px 0;
  margin: 0;
  font-size: 14px;
  color: #777;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

/* separator автоматически */
.breadcrumbs-item + .breadcrumbs-item::before {
  content: "/";
  margin: 0 6px;
  opacity: 0.4;
}

.breadcrumbs-item a {
  color: #c3921c;
  text-decoration: none;
  transition: 0.2s ease;
}

.breadcrumbs-item a:hover {
  color: #c3921c;
}

.breadcrumbs-item.current {
  color: #222;
  font-weight: 500;
}
