.reviews-section {
  width: min(calc(100vw - 112px), 1480px);
  margin-top: clamp(30px, 4vw, 48px);
  margin-left: 50%;
  border-radius: 0;
  padding: clamp(24px, 3.2vw, 44px) clamp(24px, 3.2vw, 48px);
  background: transparent;
  color: #302b2c;
  box-shadow: none;
  transform: translateX(-50%);
}

.reviews-section + .home-game-section,
.reviews-section + .game-lists-promo,
.reviews-section + .home-difference {
  margin-top: clamp(21px, 3vw, 36px);
}

.reviews-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  border-bottom: 1px solid rgba(80, 68, 56, 0.2);
  padding-bottom: 12px;
}

.reviews-section__eyebrow {
  margin: 0 0 8px;
  color: #c65c7d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.reviews-section h2 {
  margin: 0;
  color: #302b2c;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.reviews-section__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.reviews-section__control {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(159, 143, 111, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  color: #302b2c;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.reviews-section__control:hover,
.reviews-section__control:focus-visible {
  border-color: #c65c7d;
  background: #fffaf0;
}

.reviews-section__control:active {
  transform: scale(0.96);
}

.reviews-section__control:focus-visible {
  outline: 3px solid rgba(198, 92, 125, 0.28);
  outline-offset: 3px;
}

.reviews-section__control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reviews-section__viewport {
  overflow: hidden;
  margin-top: clamp(20px, 2.8vw, 34px);
  touch-action: pan-y;
}

.reviews-section__track {
  display: flex;
  width: calc(100% * var(--reviews-slide-count));
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.reviews-section__slide {
  display: flex;
  width: calc(100% / var(--reviews-slide-count));
  flex: 0 0 calc(100% / var(--reviews-slide-count));
  min-height: clamp(190px, 17vw, 250px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 8px 8px;
}

.reviews-section__quote {
  position: relative;
  max-width: 1180px;
  margin: 0;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #e976a5 0%, #b6a5ee 100%) 1;
  padding: 0 0 0 clamp(18px, 2.8vw, 34px);
  color: #342f32;
  font-size: clamp(19px, 2.2vw, 30px);
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.reviews-section__quote::before {
  content: "«";
}

.reviews-section__quote::after {
  content: "»";
}

.reviews-section__author {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: clamp(16px, 2vw, 24px) 0 0 clamp(22px, 3vw, 40px);
  color: #847b7d;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.35;
}

.reviews-section__author cite {
  color: #302b2c;
  font-style: normal;
  font-weight: 850;
}

.reviews-section__author-dot {
  color: #d46088;
  font-weight: 900;
}

html[data-theme="dark"] .reviews-section {
  border: 0;
  background: transparent;
  color: var(--text);
}

html[data-theme="dark"] .reviews-section__header {
  border-bottom-color: var(--line);
}

html[data-theme="dark"] .reviews-section h2,
html[data-theme="dark"] .reviews-section__quote,
html[data-theme="dark"] .reviews-section__author cite,
html[data-theme="dark"] .reviews-section__control {
  color: var(--text);
}

html[data-theme="dark"] .reviews-section__author {
  color: var(--muted);
}

html[data-theme="dark"] .reviews-section__control {
  border-color: var(--line);
  background: var(--card);
}

html[data-theme="dark"] .reviews-section__control:hover,
html[data-theme="dark"] .reviews-section__control:focus-visible {
  border-color: var(--accent);
  background: var(--card-hover);
}

@media (max-width: 640px) {
  .reviews-section {
    width: 100%;
    margin-left: 0;
    border-radius: 0;
    padding: 22px 16px 28px;
    transform: none;
  }

  .reviews-section__header {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .reviews-section__controls {
    justify-content: flex-end;
  }

  .reviews-section h2 {
    font-size: clamp(26px, 7.5vw, 32px);
  }

  .reviews-section__viewport {
    margin-top: 20px;
  }

  .reviews-section__slide {
    min-height: 230px;
    padding: 8px 2px 6px;
  }

  .reviews-section__quote {
    border-left-width: 4px;
    padding-left: 17px;
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.36;
  }

  .reviews-section__author {
    margin-left: 21px;
  }
}

@media (max-width: 1020px) {
  .reviews-section + .home-game-section,
  .reviews-section + .game-lists-promo,
  .reviews-section + .home-difference {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-section__control {
    transition: none;
  }
}
