/* ============================================================
   WALL OF LOVE — Dedicated stylesheet
   Premium dark "Wall of Love" testimonials
   3-column auto-scroll · Container-aligned · Full responsive
   ============================================================ */

/* Keyframes removed — scroll is JS-driven via RAF for
   full compatibility with prefers-reduced-motion environments.
   See js/main.js initWallOfLove() */

/* ─── Section Shell ──────────────────────────────────────── */
.wall-of-love {
  background: #0b1426;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Top/bottom gradient mask — cards fade into background */
.wall-of-love::before,
.wall-of-love::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 10;
  pointer-events: none;
}
.wall-of-love::before {
  top: 0;
  background: linear-gradient(to bottom, #0b1426 0%, transparent 100%);
}
.wall-of-love::after {
  bottom: 0;
  background: linear-gradient(to top, #0b1426 0%, transparent 100%);
}

/* Keep header above gradient masks */
.wall-of-love .container {
  position: relative;
  z-index: 20;
}

/* ─── Header ─────────────────────────────────────────────── */
.wol__header {
  text-align: center;
  margin-bottom: 56px;
}

.wol__title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.06;
  color: #ffffff;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.wol__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 32px;
}

/* ─── Rating Strip ───────────────────────────────────────── */
.wol__rating-strip {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9999px;
  padding: 14px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.wol__rating-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wol__rating-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 3px;
  line-height: 1;
}

.wol__rating-meta strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.wol__rating-meta span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
  letter-spacing: 0;
}

.wol__rating-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ─── Masonry Wrapper ────────────────────────────────────── */
.wol__masonry {
  /* Match site container: 1200px max + 40px side padding on each side */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

/* ─── Columns ────────────────────────────────────────────── */
.wol__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* will-change hints browser to composite on GPU */
  will-change: transform;
  /* JS sets transform directly; no CSS animation needed */
}

/* ─── Cards ───────────────────────────────────────────────── */
.wol-card {
  background: rgba(255,255,255,0.048);
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 18px;
  padding: 22px 22px 18px;
  flex-shrink: 0;
  cursor: default;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.wol-card:hover {
  background: rgba(255,255,255,0.085);
  border-color: rgba(255,255,255,0.13);
  transform: scale(1.018);
}

/* Red accent variant */
.wol-card--accent {
  background: rgba(220,38,38,0.07);
  border-color: rgba(220,38,38,0.15);
}
.wol-card--accent:hover {
  background: rgba(220,38,38,0.11);
  border-color: rgba(220,38,38,0.22);
}

/* Highlight variant */
.wol-card--highlight {
  background: linear-gradient(145deg, rgba(220,38,38,0.1) 0%, rgba(15,29,56,0.15) 100%);
  border-color: rgba(220,38,38,0.2);
}
.wol-card--highlight:hover {
  background: linear-gradient(145deg, rgba(220,38,38,0.15) 0%, rgba(15,29,56,0.2) 100%);
}

/* Card top row: avatar + name + verified */
.wol-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wol-card__author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wol-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.14);
  flex-shrink: 0;
  display: block;
  background: rgba(255,255,255,0.06);
}

.wol-card__info strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.wol-card__info span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
  line-height: 1.4;
}

/* Verified badge */
.wol-card__verified {
  flex-shrink: 0;
}

.wol-card__verified .material-symbols-outlined {
  font-size: 17px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
  color: #60a5fa;
  display: block;
  line-height: 1;
}

/* Stars */
.wol-card__stars {
  color: #f59e0b;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  line-height: 1;
  margin-bottom: 10px;
}

/* Quote text */
.wol-card__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.78;
  margin: 0 0 14px;
  font-style: normal;
}

/* Tag chip */
.wol-card__tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.075);
  padding: 4px 10px;
  border-radius: 9999px;
}

.wol-card--accent .wol-card__tag {
  color: rgba(220,38,38,0.75);
  background: rgba(220,38,38,0.07);
  border-color: rgba(220,38,38,0.13);
}

/* ─── Footer CTA ──────────────────────────────────────────── */
.wol__footer {
  display: flex;
  justify-content: center;
  padding-top: 52px;
  position: relative;
  z-index: 20;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wol__masonry {
    grid-template-columns: repeat(2, 1fr);
    height: 680px;
    padding: 0 24px;
  }
  .wol__col:nth-child(3) { display: none; }
}

@media (max-width: 768px) {
  .wall-of-love {
    padding: 72px 0 64px;
  }
  .wol__masonry {
    grid-template-columns: 1fr;
    height: 560px;
    padding: 0 16px;
  }
  .wol__col:nth-child(2),
  .wol__col:nth-child(3) { display: none; }

  .wol__rating-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-radius: 20px;
    padding: 18px 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .wol__rating-divider { display: none; }
  .wol__title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .wol__title { font-size: 1.75rem; }
  .wol__masonry { height: 480px; }
  .wol__header { margin-bottom: 36px; }
}


