/* Основные стили для страницы обзора */
h1, h2, h3 {
    font-family: "Play";
    font-weight: 700;
    color: #EBEBEB;	
}

h1 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    opacity: 0.84;
    width: 100%;
	margin-top: 30px;
	margin-bottom: 30px;
}

h2 {
    font-size: 32px;
    line-height: 37px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    opacity: 0.84;
    width: 100%;
	margin-top: 24px;
	margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-top: 18px;
	margin-bottom: 18px;
}


ul, ol {
    margin: 1em 0;
    padding-left: 1.5em;
    list-style-position: outside;
    list-style-type: disc;
    font-size: 1rem;
    line-height: 1.6;
}

ol {
    list-style-type: decimal;
}

.review-page {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  padding: 20px;
	max-width: 1470px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.taxonomy-page {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  padding: 20px;
	max-width: 1470px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.review-page .hero {
	text-align: center;
	margin-bottom: 10px;
	padding: 0;
    border-radius: 8px;
    background-image: url(../../assets/image/cards/background-blue.png);
	background-repeat: no-repeat;
    background-size: 100% 100%;

}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-logo img {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 0 6px #CCCCFF);
}

.hero-cta {
  flex: 1;
  text-align: center;
}

.hero-cta h1 {
  margin-bottom: 1rem;
  margin-top: 0;
}

.rating-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 320px;
  font-size: 14.5px; 
  margin-bottom: 12px;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ccc;
  line-height: 1.3;
}

.rating-line .label {
  flex: 0 0 150px;
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
}

.bar-wrap {
  flex: 1;
  display: flex;
}

.bar-bg {
  background: #2a2a2a;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  min-width: 100px;
  max-width: 100%;
}

.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00ff86, #01d370);
  transition: width 0.7s ease-out;
  border-radius: 4px;
}

.score {
  flex: 0 0 44px;
  font-weight: 600;
  color: #ddd;
}

/* Accents for Overall */
.rating-line.highlight .label {
  color: #00ff86;
  font-weight: 700;
}
.rating-line.highlight .score {
  color: #00ffcc;
}
.rating-line.highlight .bar-fill {
  background: linear-gradient(90deg, #00ffcc, #00ff99);
}

.review-logo {
  max-width: 200px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.review-rating {
  font-weight: bold;
  margin: 0.5rem 0;
}

/* Кнопка */
.btn.btn-primary {
	display: inline-block;
    align-items: center;
    font-family: "Play";
    font-size: 20px;
    line-height: 19px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    width: fit-content;
    text-decoration: none;
    transition: background-image 0.3s ease;
    position: relative;
    background-image: linear-gradient(93.47deg, rgba(131, 88, 255, 0.84) -0.05%, rgba(103, 70, 201, 0.84) 72.07%, rgba(59, 161, 255, 0.84) 137.33%);
    box-shadow: 0px 2px 0px #4F34A0, inset 0px 2px 0px #9779F0;
    border-radius: 12px;
    padding: 11px 24px;
    color: #EBEBEB;
	margin: 18px auto;
    font-weight: bold;
}

.btn.btn-primary:hover {
  background-image: linear-gradient(93.47deg, #8358FF -0.05%, #6746C9 72.07%, #3BA1FF 137.33%);
}

/* Секция "Short Info" */
.review-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.review-main {
  flex: 1 1 65%;
  min-width: 0;
}

.review-sidebar {
  flex: 1 1 30%;
  min-width: 260px;
 }

.short-info {
  margin-bottom: 40px;
  position: sticky;
  top: 170px;
}

.general-info, .payment-info, .geo-info, .contacts {
  margin-top: 30px;
}

.payment-info ul, .geo-info ul, .contacts ul {
  list-style-type: none;
  padding-left: 0;
}

.payment-info li, .geo-info li, .contacts li {
  margin-bottom: 10px;
}

.payment-info a, .geo-info a {
  text-decoration: none;
  color: #0073e6;
}

.payment-info a:hover, .geo-info a:hover {
  text-decoration: underline;
}

.contacts strong {
  font-weight: bold;
}

.tabs {
  border-radius: 5px;
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.tab-buttons li {
  flex: 1 1 auto;
  display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: "Play";
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    width: fit-content;
    text-decoration: none;
    transition: background-image 0.3s ease;
    position: relative;
	background-image: linear-gradient(93.47deg, rgba(131, 88, 255, 0.84) -0.05%, rgba(103, 70, 201, 0.84) 72.07%, rgba(59, 161, 255, 0.84) 137.33%);
    box-shadow: 0px 2px 0px #4F34A0, inset 0px 2px 0px #9779F0;
    border-radius: 12px;
    padding: 11px 24px;
    color: #EBEBEB;
}

.tab-buttons li.active {
background: linear-gradient(92.94deg, rgba(114, 240, 55, 0.84) -0.05%, rgba(114, 240, 55, 0.84) 51.09%, rgba(216, 255, 143, 0.84) 96.43%);
}

.tab-buttons li:hover {
background-image: linear-gradient(93.47deg, #8358FF -0.05%, #6746C9 72.07%, #3BA1FF 137.33%);
}

.tab-buttons li.active:hover {
    background-image: linear-gradient(92.94deg, #72F037 -0.05%, #72F037 51.09%, #D8FF8F 96.43%);
}

.tab-buttons {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.tab-buttons li {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-right: 1px solid #473480;
  font-weight: bold;
}

.tab-content .tab {
  display: none;
}

.tab-content .tab.active {
	display: block;
	background-image: url(../../assets/image/cards/background-brown.png);
	background-repeat: no-repeat;
    background-size: 100% 100%;
	padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab ul {
	margin:0;
}

/* Секция "Rating" */
.rating ul {
  list-style-type: none;
  padding-left: 0;
}

.rating li {
  margin-bottom: 10px;
}

.rating li:last-child {
  margin-bottom: 0;
}

/* Секция "Pros & Cons" */
.pros-cons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.pros, .cons {
  width: 48%;
  flex: 1 1 300px;
}

.pros h3, .cons h3 {
  font-size: 24px;
}

.pros h3 {
  color: #2e7d32; /* зелёный */
}

.cons h3 {
  color: #c62828; /* красный */
}

.pros ul, .cons ul {
  list-style-type: none;
  padding-left: 0;
}

.pros li, .cons li {
  margin-bottom: 10px;
}

.pros li:last-child, .cons li:last-child {
  margin-bottom: 0;
}

.pros ul, .cons ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pros li::before {
  content: "✔";
  color: #2e7d32;
  margin-right: 0.5rem;
  font-weight: bold;
}

.cons li::before {
  content: "✖";
  color: #c62828;
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Секция "Gallery" */
.gallery {
  margin-top: 40px;
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-items img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Секция "Alternatives" */
.alternatives {
  margin-top: 40px;
}

.alternatives ul {
  list-style-type: none;
  padding-left: 0;
}

.alternatives li {
  margin-bottom: 10px;
}

.alternatives a {
  text-decoration: none;
  color: #0073e6;
}

.alternatives a:hover {
  text-decoration: underline;
}

/* Блоки персон */
.person-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
	background-image: url(../../assets/image/cards/background-blue.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.person-block img {
  border-radius: 50%;
  max-width: 80px;
  height: auto;
}

.comments-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #ccc;
}

.review-gallery {
  margin: 2rem 0;
}

.gallery-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.gallery-item {
  display: inline-block;
  flex-shrink: 0;
  width: 150px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.comments-section {
  background-color: #1c1c1c;
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  color: #ddd;
}

.comments-title {
  font-size: 24px;
  color: #8358ff;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.comments-wrap .comment {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.comment-author {
  font-weight: bold;
  color: #fff;
}

.comment-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

.comment-content {
  font-size: 15px;
  line-height: 1.5;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #8358ff;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

.no-comments-msg {
  color: #aaa;
  font-style: italic;
}

/* Стиль формы комментариев */
#respond {
  margin-top: 30px;
}

#reply-title {
  font-size: 20px;
  color: #8358ff;
  margin-bottom: 15px;
}

#commentform input,
#commentform textarea {
  width: 100%;
  background: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
}

#commentform input:focus,
#commentform textarea:focus {
  border-color: #8358ff;
  outline: none;
}

#commentform input[type="submit"] {
  background-color: #8358ff;
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s;
}

#commentform input[type="submit"]:hover {
  background-color: #6e43e8;
}


/* Мобильные стили */
@media (max-width: 768px) {
  .pros-cons {
    flex-direction: column;
  }

  .pros, .cons {
    width: 100%;
    margin-bottom: 20px;
  }

  .gallery-items {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
	.review-layout {
    flex-direction: column;
  }
  .review-sidebar {
    order: -1; /* Показать сайдбар первым */
  }
}

/* Основная таблица промо-кодов */
.promo-codes-table {
  background-color: #111;
  padding: 2rem;
  border-radius: 8px;
  color: #fff;
  overflow-x: auto;
}

.promo-codes {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #fff;
}

.promo-codes thead {
  background-color: transparent;
  border-bottom: 2px solid #444;
}

.promo-codes th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  color: #ccc;
}

.promo-codes td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #222;
}

.promo-codes tr:hover {
  background-color: #1a1a1a;
}

/* Кнопка */
.promo-codes a.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, #7155ff, #a151ff);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.promo-codes a.btn:hover {
  background: linear-gradient(to right, #8b68ff, #c165ff);
}

/* Mobile-friendly */
@media (max-width: 768px) {
  .promo-codes thead {
    display: none;
  }

  .promo-codes, .promo-codes tbody, .promo-codes tr, .promo-codes td {
    display: block;
    width: 100%;
  }

  .promo-codes tr {
    margin-bottom: 1rem;
    border-bottom: 2px solid #222;
  }

  .promo-codes td {
    padding: 0.5rem 1rem;
    text-align: left;
    position: relative;
  }

  .promo-codes td::before {
    content: attr(data-label);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
    color: #888;
  }
}

.tab-buttons li a {
  color: #fff !important;
  text-decoration: none !important;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}

.tab-buttons li.active a {
  font-weight: bold;
}

.highlight-bonuses {
    background: linear-gradient(92.94deg, #72F037 -0.05%, #72F037 51.09%, #D8FF8F 96.43%);
    color: #0f0f0f;
    font-weight: bold;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(145, 71, 255, 0.5);
    font-size: 1.2rem;
    margin: 10px auto;
}