/* /feedback: reviews page, accent #9177fb */
html { scroll-behavior: smooth; }
body {
  --accent: #9177fb;
  --accent-soft: rgba(145, 119, 251, 0.15);
  background: #0e0e10;
  color: #fff;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#navbar {
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(14, 14, 16, 0.75);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.btn-primary {
  background: #9177fb;
  color: #fff;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #a48fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(145, 119, 251, 0.25);
}
.brand-name {
  font-weight: 800 !important;
  letter-spacing: -0.03em;
}
.accent-glow {
  color: #9177fb;
  text-shadow: 0 0 12px rgba(145, 119, 251, 0.45), 0 0 28px rgba(145, 119, 251, 0.25);
}
.nav-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }
.card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fb-hero {
  position: relative;
  padding: 8rem 0 3rem;
  text-align: center;
  overflow: hidden;
}
.fb-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.fb-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.28;
  filter: saturate(0.85) brightness(0.55);
}
.fb-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,14,16,0.55) 0%, rgba(14,14,16,0.35) 35%, rgba(14,14,16,0.75) 70%, #0e0e10 100%),
    radial-gradient(ellipse 70% 55% at 50% 20%, rgba(145, 119, 251, 0.14), transparent 60%);
}
.fb-hero h1 {
  position: relative;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}
.fb-hero p {
  position: relative;
  margin-top: 0.75rem;
  color: #a1a1aa;
  font-size: 1rem;
}

.stats-card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}
.stats-avg {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: #a1a1aa;
}
.bar-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #9177fb;
  transition: width 0.4s ease;
}

.fb-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.fb-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
}
.fb-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.875rem;
  width: 100%;
}
.fb-search input::placeholder { color: #52525b; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  color: #a1a1aa;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: rgba(255, 255, 255, 0.15); color: #fff; }
.chip.is-active {
  background: #9177fb;
  border-color: #9177fb;
  color: #fff;
}

.review-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.35rem 0;
}
.review-item:last-child { border-bottom: none; }
#stats-stars {
  display: flex;
  align-items: center;
}
.star-row {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.star-svg {
  width: 14px;
  height: 14px;
  display: inline-block !important;
  flex-shrink: 0;
  vertical-align: middle;
}
.star-on { color: #9177fb; }
.star-off { color: rgba(255, 255, 255, 0.14); }

.bar-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: 2rem;
  justify-content: flex-end;
  font-size: 0.75rem;
  color: #a1a1aa;
}

.chip-star {
  width: 11px;
  height: 11px;
  margin-left: 3px;
  fill: currentColor;
  opacity: 0.9;
  display: inline-block;
  vertical-align: -1px;
}
.chip.is-active .chip-star { opacity: 1; }

.stats-recommend {
  margin-top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #34d399;
  letter-spacing: 0.01em;
}
.stats-recommend .rec-icon {
  display: inline-flex;
  color: #34d399;
  flex-shrink: 0;
}
.stats-recommend .rec-icon svg {
  display: block;
}

.bar-star {
  width: 11px;
  height: 11px;
  fill: currentColor;
  opacity: 0.7;
  margin-left: 2px;
  vertical-align: -1px;
}

.page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  color: #a1a1aa;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.page-btn:hover:not(:disabled) { color: #fff; background: rgba(255, 255, 255, 0.06); }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.page-btn.is-active {
  background: #9177fb;
  border-color: #9177fb;
  color: #fff;
}

.legit-card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
}
.legit-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
}
.legit-card p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #a1a1aa;
}
.legit-card p:last-child { margin-bottom: 0; }

.fb-sort-wrap {
  position: relative;
  margin-left: auto;
}
.fb-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #e4e4e7;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  line-height: 1.25;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}
.fb-sort-btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.fb-sort-wrap.is-open .fb-sort-btn {
  border-color: rgba(145, 119, 251, 0.55);
  box-shadow: 0 0 0 3px rgba(145, 119, 251, 0.15);
  color: #fff;
}
.fb-sort-chevron {
  opacity: 0.7;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.fb-sort-wrap.is-open .fb-sort-chevron {
  transform: rotate(180deg);
}
.fb-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: max(100%, 10.5rem);
  padding: 0.35rem;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 40;
}
.fb-sort-menu[hidden] {
  display: none !important;
}
.fb-sort-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0.55rem;
  color: #a1a1aa;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.fb-sort-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.fb-sort-menu button.is-active {
  background: rgba(145, 119, 251, 0.15);
  color: #c4b5fd;
}
