/* ── FEEDBACK VIDEOS SECTION ──────────────────────────
   All classes are prefixed with .fb- to avoid conflicts
   with mainStyle.css classes like .section-title, .video-card
─────────────────────────────────────────────────── */

#feedback-videos {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0d1033 100%);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

/* ── Header ─────────────────────────────────────── */
#feedback-videos .fb-header {
  text-align: center;
  margin-bottom: 56px;
}
#feedback-videos .fb-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f86f03;
  background: rgba(248,111,3,0.15);
  border: 1px solid rgba(248,111,3,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
#feedback-videos .fb-title {
  font-family: 'times new roman', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: #f0f0f8;
  margin-bottom: 14px;
}
#feedback-videos .fb-title span {
  color: #6b78f5;
}
#feedback-videos .fb-sub {
  font-size: 15px;
  color: #7a7a9a;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Grid ───────────────────────────────────────── */
#feedback-videos .fb-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 16px;
  justify-content: center;
  /* max-width: 1100px; */
  margin: 0 auto;
}

/* ── Video Card ─────────────────────────────────── */
#feedback-videos .fb-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
  cursor: pointer;
  max-width: 320px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  animation: fbFadeUp 0.6s ease both;
}
#feedback-videos .fb-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(248,111,3,0.3);
  border-color: rgba(248,111,3,0.35);
}
#feedback-videos .fb-card:nth-child(1) { animation-delay: 0.05s; }
#feedback-videos .fb-card:nth-child(2) { animation-delay: 0.10s; }
#feedback-videos .fb-card:nth-child(3) { animation-delay: 0.15s; }
#feedback-videos .fb-card:nth-child(4) { animation-delay: 0.20s; }
#feedback-videos .fb-card:nth-child(5) { animation-delay: 0.25s; }
#feedback-videos .fb-card:nth-child(6) { animation-delay: 0.30s; }
#feedback-videos .fb-card:nth-child(7) { animation-delay: 0.35s; }
#feedback-videos .fb-card:nth-child(8) { animation-delay: 0.40s; }

#feedback-videos .fb-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Overlays ───────────────────────────────────── */
#feedback-videos .fb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.3s;
}
#feedback-videos .fb-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
#feedback-videos .fb-play-circle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
#feedback-videos .fb-card:hover .fb-play-circle {
  background: #f86f03;
  border-color: #f86f03;
  transform: scale(1.12);
}
#feedback-videos .fb-play-circle svg {
  width: 20px; height: 20px;
  fill: #fff;
  margin-left: 3px;
}
#feedback-videos .fb-card.playing .fb-play-overlay { opacity: 0; pointer-events: none; }
#feedback-videos .fb-card.playing .fb-overlay      { opacity: 0.3; }

/* ── Bottom controls ────────────────────────────── */
#feedback-videos .fb-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  z-index: 2;
}
#feedback-videos .fb-ctrl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
#feedback-videos .fb-btn {
  background: none; border: none;
  cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.85;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.15s;
}
#feedback-videos .fb-btn:hover { opacity: 1; transform: scale(1.15); }
#feedback-videos .fb-btn svg { width: 16px; height: 16px; fill: #fff; }
#feedback-videos .fb-btn.fb-mute svg,
#feedback-videos .fb-btn.fb-fs   svg { width: 14px; height: 14px; }

#feedback-videos .fb-time {
  font-size: 11px;
  font-weight: 600;
  color: #f86f03;
  white-space: nowrap;
  flex-shrink: 0;
}
#feedback-videos .fb-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
#feedback-videos .fb-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #6b78f5, #f86f03);
  border-radius: 2px;
  pointer-events: none;
  transition: width 0.1s linear;
}
#feedback-videos .fb-progress input[type=range] {
  position: absolute;
  inset: -6px 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  height: 14px;
}

/* ── Placeholder ────────────────────────────────── */
#feedback-videos .fb-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a28, #0e0e18);
  display: flex; align-items: center; justify-content: center;
}
#feedback-videos .fb-placeholder svg { width: 36px; height: 36px; opacity: 0.2; }

/* ── Animation ──────────────────────────────────── */
@keyframes fbFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  #feedback-videos .fb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  #feedback-videos { padding: 60px 16px; }
  #feedback-videos .fb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #feedback-videos .fb-play-circle { width: 46px; height: 46px; }
}
