/* ============================================
   DR-FEATURES.CSS — All new features styling
   ============================================ */

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */
[data-theme="light"] {
  --bg: #f5f3ff;
  --surface: rgba(255,255,255,0.95);
  --surface-2: rgba(245,243,255,0.9);
  --text: #1f1535;
  --muted: #6b5b8a;
  --border: rgba(124,58,237,0.15);
  --accent: #7c3aed;
  --accent-soft: #a78bfa;
}
[data-theme="light"] body {
  background: #f0ecff;
  color: #1f1535;
}
[data-theme="light"] .nav,
[data-theme="light"] .info-bar {
  background: rgba(255,255,255,0.95);
  border-color: rgba(124,58,237,0.12);
}
[data-theme="light"] .nav-brand span,
[data-theme="light"] .nav-links a { color: #1f1535; }

/* Botones de acción del nav (favoritos, carrito, tema) en modo claro */
[data-theme="light"] .nav-action-btn {
  color: #4c3d6b;
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.2);
}
[data-theme="light"] .nav-action-btn:hover {
  color: #7c3aed;
  background: rgba(124,58,237,0.15);
}
[data-theme="light"] .catalog-card {
  background: rgba(255,255,255,0.9);
  border-color: rgba(124,58,237,0.15);
}
[data-theme="light"] .catalog-card::after {
  background: rgba(255,255,255,0.95);
}
[data-theme="light"] .card-title,
[data-theme="light"] .card-title-link { color: #1f1535; }
[data-theme="light"] .hero { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
[data-theme="light"] .hero-title { color: #1f1535; }
[data-theme="light"] .hero-subtitle { color: #4c3d6b; }
[data-theme="light"] .footer { background: rgba(255,255,255,0.9); border-color: rgba(124,58,237,0.12); }
[data-theme="light"] .team-inner,
[data-theme="light"] .comunidad-inner { background: rgba(255,255,255,0.95); }
[data-theme="light"] .filter-pill { background: rgba(124,58,237,0.08); color: #4c3d6b; border-color: rgba(124,58,237,0.15); }
[data-theme="light"] .filter-pill.active { background: #7c3aed; color: white; }
[data-theme="light"] .card-content { background: rgba(124,58,237,0.03); }
[data-theme="light"] .skeleton-pulse { background: linear-gradient(90deg, #e8e0ff 25%, #f0ecff 50%, #e8e0ff 75%); }

/* ── Elementos con texto blanco hard-coded → fix modo claro ── */
[data-theme="light"] .team-inner,
[data-theme="light"] .team-card { background: rgba(255,255,255,0.95); border-color: rgba(124,58,237,0.15); }
[data-theme="light"] .team-name { color: #1f1535; }
[data-theme="light"] .team-role-tag { color: #4c3d6b; }
[data-theme="light"] .team-socials a { color: #7c3aed; }

[data-theme="light"] .btn-favorite,
[data-theme="light"] .btn-card-action,
[data-theme="light"] .btn-compare-card {
  background: rgba(124,58,237,0.12);
  color: #4c3d6b;
}
[data-theme="light"] .card-downloads-badge {
  background: rgba(124,58,237,0.15);
  color: #1f1535;
}
[data-theme="light"] .btn-quick-view {
  background: rgba(124,58,237,0.85);
  color: #fff;
}
[data-theme="light"] .qv-close,
[data-theme="light"] .qv-zoom-hint { color: #4c3d6b; }
[data-theme="light"] .share-btn { color: #4c3d6b; background: rgba(124,58,237,0.1); }
[data-theme="light"] .compare-go-btn { color: #fff; }

/* Info bar (ticker superior) */
[data-theme="light"] .info-bar,
[data-theme="light"] .info-bar span,
[data-theme="light"] .info-bar a { color: #4c3d6b; }

/* Sección estadísticas hero */
[data-theme="light"] .stat-number,
[data-theme="light"] .stat-label { color: #1f1535; }

/* Comunidad / CTA */
[data-theme="light"] .comunidad-inner h2,
[data-theme="light"] .comunidad-inner p { color: #1f1535; }

/* ============================================
   CARD ACTION BUTTONS (Fav, Share, Compare)
   ============================================ */
.card-actions-top {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  display: flex;
  gap: 4px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}
.catalog-card:hover .card-actions-top {
  opacity: 1;
  transform: translateY(0);
}
.btn-favorite,
.btn-card-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.75rem;
}
.btn-favorite:hover { background: rgba(255,71,87,0.8); color: #fff; }
.btn-favorite.is-favorite { background: rgba(255,71,87,0.9); color: #fff; }
.btn-card-action:hover { background: rgba(124,58,237,0.8); color: #fff; }
.btn-compare-card.is-comparing { background: rgba(59,130,246,0.8); color: #fff; }

/* ============================================
   DOWNLOAD COUNTER BADGE
   ============================================ */
.card-downloads-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 5;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  pointer-events: none;
}
.card-downloads-badge i { font-size: 0.6rem; }

/* ============================================
   QUICK VIEW BUTTON (on hover)
   ============================================ */
.btn-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 8px;
  background: rgba(124,58,237,0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}
.catalog-card:hover .btn-quick-view {
  opacity: 1;
  transform: translateY(0);
}
.btn-quick-view:hover {
  background: rgba(124,58,237,1);
}
.card-image { position: relative; overflow: hidden; }
.catalog-card:hover .card-downloads-badge {
  opacity: 0;
  transition: opacity 0.2s;
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.qv-overlay {
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  padding: 1rem;
}
.qv-overlay.is-open { opacity: 1; pointer-events: all; }
.qv-modal {
  background: linear-gradient(145deg, #1e0b37, #0d0618);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 24px;
  max-width: 900px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 80px rgba(124,58,237,0.15), 0 0 0 1px rgba(124,58,237,0.1);
}
.qv-overlay.is-open .qv-modal { transform: scale(1) translateY(0); }
.qv-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qv-close:hover { background: rgba(255,71,87,0.8); border-color: transparent; transform: rotate(90deg); }
.qv-body { display: flex; gap: 0; }

/* Image column */
.qv-image-col {
  flex: 0 0 50%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
}
.qv-image-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(124,58,237,0.15);
}
.qv-image-container img {
  width: 100%;
  display: block;
  transition: transform 0.15s ease-out;
  transform-origin: center center;
}
.qv-zoom-hint {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.6);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  pointer-events: none;
  transition: opacity 0.2s;
}
.qv-image-container:hover .qv-zoom-hint { opacity: 0; }

/* Info column */
.qv-info {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 2rem 2rem 0.5rem;
  justify-content: center;
}
.qv-header { display: flex; align-items: flex-start; gap: 0.6rem; flex-wrap: wrap; }
.qv-info h2 {
  font-size: 1.5rem;
  color: #f9f5ff;
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
}
.qv-meta {
  display: flex; flex-direction: column;
  gap: 0.35rem;
}
.qv-meta-item {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(200,180,240,0.7);
  font-size: 0.85rem;
}
.qv-meta-item i {
  width: 16px;
  text-align: center;
  color: #a78bfa;
  font-size: 0.75rem;
}
.qv-badge {
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.qv-badge-premium { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.qv-badge-free { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.25); }
.qv-price-row {
  padding: 0.5rem 0;
  border-top: 1px solid rgba(124,58,237,0.1);
  border-bottom: 1px solid rgba(124,58,237,0.1);
}
.qv-price { font-size: 1.6rem; font-weight: 800; }
.qv-price-premium { color: #fbbf24; }
.qv-price-free { color: #10b981; }
.qv-format-tag {
  display: inline-block;
  padding: 2px 8px; border-radius: 6px; font-size: 0.65rem;
  background: rgba(124,58,237,0.12); color: #a78bfa;
  font-weight: 700; letter-spacing: 0.3px;
  margin-right: 4px;
}
.qv-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.qv-btn {
  padding: 0.6rem 1.2rem; border-radius: 12px; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; border: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: all 0.2s; text-decoration: none;
}
.qv-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.qv-btn-primary:hover { background: linear-gradient(135deg, #8b5cf6, #7c3aed); transform: translateY(-1px); }
.qv-btn-download {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.qv-btn-download:hover { background: linear-gradient(135deg, #34d399, #10b981); transform: translateY(-1px); }
.qv-btn-outline {
  background: rgba(124,58,237,0.08); color: #a78bfa;
  border: 1px solid rgba(124,58,237,0.2);
  padding: 0.6rem;
  width: 40px; height: 40px;
  justify-content: center;
}
.qv-btn-outline:hover { background: rgba(124,58,237,0.2); transform: translateY(-1px); }
.qv-btn-outline.is-fav { background: rgba(255,71,87,0.2); color: #ff4757; border-color: rgba(255,71,87,0.3); }

/* QV scrollbar */
.qv-modal::-webkit-scrollbar { width: 6px; }
.qv-modal::-webkit-scrollbar-track { background: transparent; }
.qv-modal::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 3px; }

@media (max-width: 640px) {
  .qv-body { flex-direction: column; }
  .qv-image-col { flex: none; padding: 1rem 1rem 0; }
  .qv-info { padding: 1rem 1.25rem 1.5rem; }
  .qv-info h2 { font-size: 1.2rem; }
  .qv-price { font-size: 1.3rem; }
}

/* ============================================
   SHARE MODAL
   ============================================ */
.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.share-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 1rem 0.5rem; border-radius: 12px; font-size: 0.8rem;
  font-weight: 600; text-decoration: none; color: #fff;
  transition: all 0.2s; cursor: pointer; border: none;
}
.share-btn i { font-size: 1.4rem; }
.share-whatsapp { background: rgba(37,211,102,0.2); }
.share-whatsapp:hover { background: rgba(37,211,102,0.4); }
.share-facebook { background: rgba(59,89,152,0.2); }
.share-facebook:hover { background: rgba(59,89,152,0.4); }
.share-twitter { background: rgba(29,161,242,0.2); }
.share-twitter:hover { background: rgba(29,161,242,0.4); }
.share-telegram { background: rgba(0,136,204,0.2); }
.share-telegram:hover { background: rgba(0,136,204,0.4); }
.share-copy { background: rgba(124,58,237,0.2); }
.share-copy:hover { background: rgba(124,58,237,0.4); }

@media (max-width: 480px) {
  .share-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   COMPARE BAR
   ============================================ */
.compare-bar {
  position: fixed; bottom: -80px; left: 50%;
  transform: translateX(-50%);
  z-index: 9990;
  transition: bottom 0.3s ease;
}
.compare-bar.is-visible { bottom: 20px; }
.compare-bar-inner {
  display: flex; align-items: center; gap: 0.75rem;
  background: linear-gradient(145deg, #1a0a2e, #0d0618);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 16px;
  padding: 0.6rem 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.compare-label {
  color: #a78bfa; font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
}
.compare-thumbs { display: flex; gap: 0.4rem; }
.compare-thumb {
  position: relative; width: 48px; height: 48px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid rgba(124,58,237,0.3);
}
.compare-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compare-remove {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #ff4757; border: none; color: #fff;
  font-size: 0.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.compare-go-btn {
  padding: 0.4rem 0.8rem; border-radius: 8px;
  background: #7c3aed; color: #fff; border: none;
  font-size: 0.75rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.compare-go-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.compare-go-btn:hover:not(:disabled) { background: #6d28d9; }
.compare-clear-btn {
  padding: 0.4rem; border-radius: 8px;
  background: rgba(255,71,87,0.2); color: #ff4757;
  border: none; cursor: pointer; font-size: 0.8rem;
  transition: background 0.2s;
}
.compare-clear-btn:hover { background: rgba(255,71,87,0.4); }
.compare-modal-grid {
  display: flex; gap: 1rem; padding: 0.5rem 0;
  justify-content: center;
}
.compare-col {
  flex: 1; text-align: center;
  background: rgba(124,58,237,0.08); border-radius: 12px;
  padding: 1rem; min-width: 0;
}
.compare-col-img {
  width: 100%; border-radius: 8px;
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .compare-bar-inner { flex-wrap: wrap; justify-content: center; }
}

/* ============================================
   SORT SELECT
   ============================================ */
.sort-container {
  display: flex; align-items: center; gap: 0.5rem;
}
.sort-container label {
  font-size: 0.8rem; color: var(--muted, #9b8ec4);
  white-space: nowrap;
}
#sortSelect {
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--text, #e2d9f3);
  font-size: 0.78rem;
  cursor: pointer;
  outline: none;
}
#sortSelect:focus { border-color: #7c3aed; }
#sortSelect option { background: #1a0a2e; color: #e2d9f3; }

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
#themeToggleBtn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.2);
  color: #a78bfa;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
#themeToggleBtn:hover {
  background: rgba(124,58,237,0.3);
  transform: rotate(30deg);
}

/* ============================================
   NAV ACTION BUTTONS (fav, cart, theme)
   ============================================ */
.nav-actions {
  display: flex; align-items: center; gap: 0.4rem;
  margin-left: 0.3rem;
}
.nav-action-btn {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(138,11,210,0.12);
  border: 1px solid rgba(138,11,210,0.22);
  color: #b44bf0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  font-size: 0.9rem;
}
.nav-action-btn:hover { background: rgba(124,58,237,0.25); color: #fff; }
.nav-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  background: #ff4757;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ============================================
   SKELETON CARDS
   ============================================ */
.skeleton-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15,5,30,0.5);
  border: 1px solid rgba(124,58,237,0.08);
}
.skeleton-img {
  width: 100%;
  padding-bottom: 100%;
  border-radius: 0;
}
.skeleton-body { padding: 0.8rem; }
.skeleton-line {
  height: 12px; border-radius: 6px;
  margin-bottom: 0.5rem;
}
.skeleton-btn {
  height: 36px; border-radius: 999px;
  margin-top: 0.5rem;
}
.skeleton-pulse {
  background: linear-gradient(90deg, rgba(124,58,237,0.05) 25%, rgba(124,58,237,0.12) 50%, rgba(124,58,237,0.05) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   DESIGN OF THE DAY
   ============================================ */
#designOfDay { display: none; margin: 1rem auto; width: 95%; max-width: 1600px; }
.dotd-inner {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(251,191,36,0.08));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.dotd-badge {
  position: absolute; top: 0; right: 0;
  padding: 0.4rem 1rem 0.4rem 1.5rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a0a2e; font-size: 0.75rem; font-weight: 700;
  border-radius: 0 16px 0 16px;
}
.dotd-content { display: flex; align-items: center; gap: 1.2rem; }
.dotd-img {
  width: 140px; height: 140px;
  object-fit: cover; border-radius: 12px;
  border: 2px solid rgba(251,191,36,0.3);
}
.dotd-info h3 { margin: 0 0 0.3rem; color: #f9f5ff; font-size: 1.1rem; }
.dotd-info p { margin: 0 0 0.6rem; color: #a78bfa; font-size: 0.85rem; }
.dotd-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem; border-radius: 10px;
  background: #7c3aed; color: #fff; text-decoration: none;
  font-size: 0.8rem; font-weight: 600;
  transition: background 0.2s;
}
.dotd-btn:hover { background: #6d28d9; }

@media (max-width: 600px) {
  .dotd-content { flex-direction: column; text-align: center; }
  .dotd-img { width: 100px; height: 100px; }
}

/* ============================================
   PUSH NOTIFICATION BANNER
   ============================================ */
.push-permission-banner {
  position: fixed; bottom: -100px; left: 50%;
  transform: translateX(-50%);
  z-index: 9995;
  transition: bottom 0.4s ease;
}
.push-permission-banner.is-visible { bottom: 90px; }
.push-banner-inner {
  display: flex; align-items: center; gap: 0.75rem;
  background: linear-gradient(145deg, #1a0a2e, #0d0618);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.push-banner-icon { font-size: 1.5rem; color: #fbbf24; }
.push-banner-text { display: flex; flex-direction: column; }
.push-banner-text strong { color: #f9f5ff; font-size: 0.85rem; }
.push-banner-text small { color: #a78bfa; font-size: 0.73rem; }
.push-banner-yes {
  padding: 0.4rem 0.8rem; border-radius: 8px;
  background: #7c3aed; color: #fff; border: none;
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
}
.push-banner-yes:hover { background: #6d28d9; }
.push-banner-no {
  padding: 0.4rem 0.6rem; border-radius: 8px;
  background: transparent; color: #6b5b8a; border: none;
  font-size: 0.75rem; cursor: pointer;
}

@media (max-width: 600px) {
  .push-banner-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
}


/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
  margin: 3rem auto;
  padding: 0 0.5rem;
  animation: fadeUp 0.6s ease 0.15s both;
}

.reviews-titulo {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.reviews-titulo::before,
.reviews-titulo::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.4), transparent);
}
.reviews-titulo i { color: #fbbf24; font-size: 1rem; }

.reviews-avg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.reviews-avg-num {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.reviews-avg-stars { font-size: 1.3rem; }
.reviews-avg-count { color: #a78bfa; font-size: 0.9rem; }

/* Form */
.review-form-inner {
  background: rgba(15,5,30,0.5);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.review-form-inner h4 {
  margin: 0 0 0.8rem;
  color: #f9f5ff;
  font-size: 1rem;
  font-weight: 600;
}
.review-stars-input {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.star-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #4c3d6b;
  cursor: pointer;
  transition: transform 0.15s, color 0.15s;
  padding: 0;
}
.star-btn:hover { transform: scale(1.25); }
.star-btn .fas.fa-star { color: #fbbf24; }
#reviewComment {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 12px;
  color: #e2d9f3;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  outline: none;
  margin-bottom: 0.8rem;
  min-height: 80px;
  transition: border-color 0.2s;
}
#reviewComment:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.review-submit-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.review-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124,58,237,0.4);
}

/* Review items */
.review-item {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(124,58,237,0.04);
  border: 1px solid rgba(124,58,237,0.08);
  margin-bottom: 0.8rem;
  transition: border-color 0.2s;
}
.review-item:hover { border-color: rgba(124,58,237,0.2); }
.review-item:last-child { margin-bottom: 0; }
.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.review-user {
  font-weight: 600;
  color: #c4b5fd;
  font-size: 0.9rem;
}
.review-user i { margin-right: 0.3rem; color: #a78bfa; }
.review-stars { font-size: 0.85rem; }
.review-date { color: #6b5b8a; font-size: 0.8rem; margin-left: auto; }
.review-text {
  margin: 0.4rem 0 0;
  color: #c4b5fd;
  font-size: 0.9rem;
  line-height: 1.6;
}
.reviews-empty {
  text-align: center;
  color: #6b5b8a;
  font-style: italic;
  font-size: 0.9rem;
  padding: 1rem 0;
}
