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

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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at 30% 20%, #4a0000, #1a0000 70%);
  color: #ffffff;
  line-height: 1.6;
}

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

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

.header {
  background: linear-gradient(180deg, #a00000, #6b0000);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.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 rgba(255,255,255,0.15);
  color: #ffffff;
  transition: 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: linear-gradient(90deg, #ffdd55, #ff9900, #cc7a00);
  color: #000;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

/* ================================
   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: 28px;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-content p {
  color: #d0f0e8;
  margin-bottom: 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: #ffd700;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
}

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

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(40,0,0,0.6);
  border: 1px solid rgba(255,215,0,0.15);
}

.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(120,0,0,0.6);
  color: #ffd700;
  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: linear-gradient(145deg, #3a0000, #1a0000);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.15);
  transition: 0.2s ease;
}

.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: linear-gradient(145deg, #3a0000, #1a0000);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,215,0,0.18);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: 0.25s ease;
}

details:hover {
  border-color: rgba(255,215,0,0.4);
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffd700;
  font-size: 15px;
  transition: 0.2s ease;
}

summary:hover {
  color: #ffffff;
}

details p {
  margin-top: 12px;
  color: #f5d8a8;
  line-height: 1.6;
}

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

.footer {
  background: #2b0000;
  padding: 25px 0;
  border-top: 1px solid rgba(255,215,0,0.2);
}

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

.footer-links a {
  margin-right: 15px;
  color: #ffcc33;              /* gold */
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255,215,0,0.8);
}

/* ================================
   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: #ffcc33;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00ffc8, #00aaff);
  transition: width 0.25s ease;
}
a::after {
  background: linear-gradient(90deg, #ffd700, #ff9900);
}
a:hover {
  color: #ffffff;
}

a:hover::after {
  width: 100%;
}
/* ================================
   TOC (Premium collapsible)
================================ */

.toc-box {
  background: rgba(80,0,0,0.7);
  border: 1px solid rgba(255,215,0,0.2);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.toc-box summary {
  color: #ffd700;
}

.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: #cffff5;
}

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

.review-card {
  background: linear-gradient(145deg, rgba(0,40,35,0.8), rgba(0,25,22,0.9));
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(0,255,200,0.15);
  transition: 0.3s ease;
  position: relative;
}

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

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


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

.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: rgba(255,255,255,0.6);
}

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

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

.breadcrumbs-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: 0.2s ease;
}

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

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