/* ============================================================
   TRAPTOWN — Review Cards Styling
   ============================================================ */

/* ── Review Grid ──────────────────────────────────── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Review Card ──────────────────────────────────── */
.rv-card {
  background: linear-gradient(145deg, #111820 0%, #0d1218 100%);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 16px;
  padding: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: rv-fadeIn 0.4s ease forwards;
  opacity: 0;
}

.rv-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(212, 168, 67, 0.06);
}

@keyframes rv-fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger animation */
.rv-card:nth-child(1) { animation-delay: 0.02s; }
.rv-card:nth-child(2) { animation-delay: 0.04s; }
.rv-card:nth-child(3) { animation-delay: 0.06s; }
.rv-card:nth-child(4) { animation-delay: 0.08s; }
.rv-card:nth-child(5) { animation-delay: 0.10s; }
.rv-card:nth-child(6) { animation-delay: 0.12s; }
.rv-card:nth-child(7) { animation-delay: 0.14s; }
.rv-card:nth-child(8) { animation-delay: 0.16s; }
.rv-card:nth-child(9) { animation-delay: 0.18s; }
.rv-card:nth-child(10) { animation-delay: 0.20s; }
.rv-card:nth-child(11) { animation-delay: 0.22s; }
.rv-card:nth-child(12) { animation-delay: 0.24s; }

/* ── Header Row ───────────────────────────────────── */
.rv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 2px solid rgba(212, 168, 67, 0.4);
}

.rv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-meta {
  flex: 1;
  min-width: 0;
}

.rv-name {
  font-family: 'Kanit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rv-verified {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
  padding: 1px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.rv-location {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
}

.rv-date {
  font-size: 0.7rem;
  color: #6b7280;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}

/* ── Stars ────────────────────────────────────────── */
.rv-stars {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* ── Product Tag ──────────────────────────────────── */
.rv-product {
  font-size: 0.75rem;
  color: #a0a9b4;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 8px;
  width: fit-content;
}

.rv-product strong {
  color: #d4a843;
  font-weight: 600;
}

/* ── Review Text ──────────────────────────────────── */
.rv-text {
  color: #c8cfd8;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Footer Date ──────────────────────────────────── */
.rv-footer {
  font-size: 0.7rem;
  color: #4b5563;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Load More Button ─────────────────────────────── */
#load-more-btn {
  min-width: 260px;
  font-size: 1rem;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rv-card {
    padding: 18px;
  }

  .rv-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}
