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

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

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

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

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

.header {
  background: linear-gradient(180deg,#f8d56b,#e5b93c);
  padding: 14px 0;
  border-bottom: 1px solid #d4a933;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand */

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

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

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

.brand img {
  height: 80px;     /* регулируй под дизайн */
  width: auto;
  display: block;
  transition: 0.2s ease;
}

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

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

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

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

.btn-primary {
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  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: transparent;  
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  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;
}

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

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

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

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

/* ================================
   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: #ffffff;
}

/* ================================
   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;
}

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

@media (max-width: 768px) {

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

  .hero-banner {
    width: 100%;
  }

  /* 🔥 HEADER FIX */
  .nav {
    flex-direction: row;            /* вместо column */
    justify-content: space-between;
    align-items: center;
  }

  .nav-actions {
    display: flex;
    gap: 8px;
  }

  /* уменьшаем логотип на мобилке */
  .brand img {
    height: 48px;
  }

  /* уменьшаем высоту хедера */
  .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;
}

/* ================================
   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;
}