/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
*/

/* =========================
   Reviews Container Setup
========================= */
.reviews-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  animation: scrollReviews 30s linear infinite;
  padding-bottom: 10px;
}

.reviews-track:hover {
  animation-play-state: paused;
}

/* =========================
   Retro Review Cards
========================= */
.retro-review-card {
  flex-shrink: 0;
  width: 320px;
  background: linear-gradient(135deg, rgba(88,28,135,0.35) 0%, rgba(168,85,247,0.22) 50%, rgba(236,72,153,0.3) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(168,85,247,0.5);
  border-radius: 1rem;
  padding: 1.8rem 2rem;
  min-height: 210px;
  color: #ddd;
  position: relative;
  user-select: none;
  transition: transform 0.3s ease;
}

.retro-review-card::before,
.retro-review-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

.retro-review-card::before {
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.85), transparent);
}

.retro-review-card::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(236,72,153,0.85), transparent);
}

/* Avatar Circle */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b4fff, #e64c88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.5rem;
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
  box-shadow: 0 0 10px rgba(168,85,247,0.7);
  border: 2px solid rgba(168,85,247,0.7);
  user-select: none;
}

/* Reviewer Name & Stars */
.reviewer-name {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
  user-select: text;
}

.stars {
  color: #ffd700;
  font-size: 1.1rem;
  user-select: none;
}

/* Review Text */
.review-text {
  font-style: italic;
  color: #ddd;
  font-size: 0.925rem;
  line-height: 1.5;
  user-select: text;
}

/* =========================
   Scroll Animation
========================= */
@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   Section Title Styling
========================= */
.section-title-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.section-title-container::before,
.section-title-container::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(202,202,202,0.1), rgba(202,202,202,0.5));
  max-width: 100px;
}

.section-title-container::before { margin-right: 1.5rem; }
.section-title-container::after { margin-left: 1.5rem; }

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  color: white;
  background: linear-gradient(to right, white, rgb(255,163,240));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-size: 1rem;
  color: rgba(244,244,245,0.6);
  line-height: 1.6;
}

/* =========================
   Animations for fade-in/slide-up
========================= */
.fade-in { opacity: 0; animation: fadeIn 0.8s ease forwards; }
.slide-up { opacity: 0; transform: translateY(20px); animation: slideUp 0.6s ease forwards; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .retro-review-card { width: 280px; min-height: 190px; padding: 1.2rem 1.5rem; }
  .avatar { width: 40px; height: 40px; font-size: 1.3rem; }
  .reviewer-name { font-size: 1.1rem; }
  .section-title { font-size: 2rem; }
  .section-title-container::before, .section-title-container::after { max-width: 60px; }
}

@media (max-width: 480px) {
  .retro-review-card { width: 240px; min-height: 170px; padding: 1rem 1.2rem; }
  .avatar { width: 36px; height: 36px; font-size: 1.1rem; }
  .reviewer-name { font-size: 1rem; }
  .section-title { font-size: 1.75rem; }
  .section-title-container::before, .section-title-container::after { max-width: 40px; }
}