/* ==========================================================================
   Videos Page Stylesheet (Luxury Executive Architecture)
   ========================================================================== */

.videos-hero-section {
  background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.05) 0%, transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(124, 58, 237, 0.04) 0%, transparent 45%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 34px 0 20px 0;
  border-bottom: 1px solid var(--border-light, #E2E8F0);
}

.videos-hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.videos-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0284C7;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.videos-pulse-dot {
  width: 7px;
  height: 7px;
  background: #0284C7;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5);
  animation: pulse 2s infinite;
}

.videos-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.0rem, 3.8vw, 3.0rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #0F172A;
  margin-bottom: 10px;
}

.videos-hero-subtitle {
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  color: #475569;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 20px auto;
}

.videos-authority-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.videos-authority-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
}

/* Category Filter Bar */
.videos-filter-section {
  background: #F8FAFC;
  padding: 24px 0 10px 0;
}

.videos-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}

.v-tab-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v-tab-btn:hover {
  border-color: #0284C7;
  color: #0284C7;
  background: #F0F9FF;
}

.v-tab-btn.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

/* Videos Grid */
.videos-grid-section {
  background: #F8FAFC;
  padding: 20px 0 60px 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-tile {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.video-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.player-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: linear-gradient(135deg, #0B1329 0%, #1E293B 100%);
  cursor: pointer;
  overflow: hidden;
}

.player-frame-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.brand-watermark {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.native-play-pill {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.9);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 24px rgba(2, 132, 199, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
  padding-left: 3px;
}

.player-frame-wrapper:hover .native-play-pill {
  transform: scale(1.1);
  background: #0284C7;
}

.duration-pill {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
}

.video-info {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.video-tag {
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0284C7;
  margin-bottom: 8px;
}

.video-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  margin-bottom: 8px;
}

.video-card-summary {
  font-size: 0.86rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 16px;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 600;
}

.speaker-credit {
  color: #0284C7;
  font-weight: 700;
}

/* Video Modal */
.video-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-backdrop.active {
  display: flex;
}

.video-modal-box {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  width: 100%;
  max-width: 880px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: modalScale 0.25s ease;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #1E293B;
  color: #FFFFFF;
}

.video-modal-title {
  font-size: 1.0rem;
  font-weight: 800;
  margin: 0;
}

.video-modal-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 4px;
}

.video-modal-close:hover {
  color: #FFFFFF;
}

.video-modal-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
}

.video-modal-player-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  padding: 24px;
}

.video-modal-footer {
  padding: 14px 20px;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94A3B8;
  font-size: 0.84rem;
}
