/*
Theme Name: JioVaani Theme
Theme URI: https://jiovaani.com
Author: JioVaani Team
Author URI: https://jiovaani.com
Description: Next-generation dark OTT, Audiobook and Video streaming platform theme for WordPress, inspired by KukuFM and JioCinema with Cashfree payments and HLS streaming.
Version: 1.0.0
Text Domain: jiovaani-theme
*/

:root {
  --jv-bg: #0b0e17;
  --jv-panel: #131829;
  --jv-panel-hover: #1c233c;
  --jv-card: #151a2e;
  --jv-border: #232a42;
  --jv-accent: #ff7a30;
  --jv-accent-glow: rgba(255, 122, 48, 0.35);
  --jv-text: #eef0f6;
  --jv-muted: #9aa1b8;
  --jv-gold: #ffd700;
  --jv-red: #ff5c5c;
  --jv-green: #3ddc84;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--jv-bg);
  color: var(--jv-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* For mobile bottom bar */
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global Container */
.jv-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.jv-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 23, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(35, 42, 66, 0.6);
  padding: 14px 0;
}

.jv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.jv-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7a30, #ff4500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 4px 12px var(--jv-accent-glow);
}

.jv-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.jv-nav a {
  color: var(--jv-muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s;
}

.jv-nav a:hover, .jv-nav a.active {
  color: #fff;
}

.jv-nav a.jv-nav-vip {
  color: var(--jv-gold);
  display: flex;
  align-items: center;
  gap: 5px;
}

.jv-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jv-lang-selector {
  background: #14192b;
  border: 1px solid var(--jv-border);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.jv-search-trigger {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #14192b;
  border: 1px solid var(--jv-border);
  color: var(--jv-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.jv-search-trigger:hover {
  color: #fff;
  border-color: var(--jv-accent);
}

.jv-login-btn {
  padding: 8px 18px;
  background: #1c233c;
  border: 1px solid var(--jv-border);
  border-radius: 8px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s;
}

.jv-login-btn:hover {
  background: var(--jv-accent);
  color: #0b0e17;
  border-color: var(--jv-accent);
}

/* Hero Carousel Section */
.jv-hero-section {
  padding: 24px 0 10px;
}

.jv-hero-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 40px 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.jv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 23, 0.95) 0%, rgba(11, 14, 23, 0.65) 55%, rgba(11, 14, 23, 0.2) 100%);
}

.jv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.jv-hero-badge {
  display: inline-block;
  background: rgba(255, 122, 48, 0.18);
  border: 1px solid rgba(255, 122, 48, 0.4);
  color: var(--jv-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.jv-hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.jv-hero-meta {
  color: var(--jv-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.jv-hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #ff7a30, #ff5500);
  color: #0b0e17;
  font-weight: 700;
  font-size: 15px;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(255, 122, 48, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.jv-hero-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 48, 0.45);
}

/* Sections & Grids */
.jv-section {
  padding: 36px 0;
}

.jv-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.jv-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.jv-section-count {
  font-size: 13.5px;
  color: var(--jv-muted);
  font-weight: 500;
}

/* Cards Grid */
.jv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

.jv-card {
  background: var(--jv-card);
  border: 1px solid var(--jv-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.jv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 48, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.jv-card-poster-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0e1220;
  overflow: hidden;
}

.jv-card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jv-card:hover .jv-card-poster {
  transform: scale(1.05);
}

.jv-card-hover-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.jv-card:hover .jv-card-hover-play {
  opacity: 1;
}

.jv-card-play-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--jv-accent);
  color: #0b0e17;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.jv-card-body {
  padding: 14px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.jv-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jv-card-meta {
  font-size: 12px;
  color: var(--jv-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.jv-card-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--jv-muted);
}

/* Category Filter Pills */
.jv-cat-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.jv-cat-pills::-webkit-scrollbar {
  height: 4px;
}

.jv-cat-pills::-webkit-scrollbar-thumb {
  background: var(--jv-border);
  border-radius: 4px;
}

.jv-cat-pill {
  background: #14192b;
  border: 1px solid var(--jv-border);
  color: var(--jv-muted);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.jv-cat-pill:hover, .jv-cat-pill.active {
  background: var(--jv-accent);
  color: #0b0e17;
  border-color: var(--jv-accent);
}

/* ==========================================================================
   Watch / Listen Player Page Layout (Image 4 clone)
   ========================================================================== */
.jv-watch-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  padding: 30px 0 60px;
}

@media (max-width: 1024px) {
  .jv-watch-layout {
    grid-template-columns: 1fr;
  }
}

.jv-player-side {
  display: flex;
  flex-direction: column;
}

.jv-player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.jv-player-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--jv-muted);
  font-size: 14px;
  font-weight: 600;
}

.jv-player-back-btn:hover {
  color: #fff;
}

/* Media Player Wrapper */
.jv-media-frame {
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--jv-border);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jv-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jv-audio-player-view {
  display: none;
  width: 100%;
  min-height: 480px;
  background: radial-gradient(ellipse at 50% 30%, #1e284a 0%, #0c101d 70%, #070913 100%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  border-radius: 18px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.jv-audio-player-card {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.jv-audio-artwork-wrap {
  position: relative;
  margin-bottom: 22px;
}

.jv-audio-artwork {
  width: 190px;
  height: 190px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 122, 48, 0.2);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jv-audio-artwork.playing {
  animation: pulseAudioCover 3s infinite ease-in-out;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 122, 48, 0.35);
}

@keyframes pulseAudioCover {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.jv-audio-wave-anim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 14, 23, 0.85);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--jv-border);
  backdrop-filter: blur(8px);
}

.jv-audio-wave-anim span {
  width: 3px;
  height: 8px;
  background: var(--jv-accent);
  border-radius: 3px;
  transition: height 0.2s ease;
}

.jv-audio-wave-anim.playing span:nth-child(1) { animation: wave 1.2s infinite ease-in-out 0.1s; }
.jv-audio-wave-anim.playing span:nth-child(2) { animation: wave 1.2s infinite ease-in-out 0.3s; }
.jv-audio-wave-anim.playing span:nth-child(3) { animation: wave 1.2s infinite ease-in-out 0.2s; }
.jv-audio-wave-anim.playing span:nth-child(4) { animation: wave 1.2s infinite ease-in-out 0.4s; }
.jv-audio-wave-anim.playing span:nth-child(5) { animation: wave 1.2s infinite ease-in-out 0.15s; }

@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 18px; }
}

.jv-audio-info {
  margin-bottom: 20px;
  width: 100%;
}

.jv-audio-show-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.jv-audio-ep-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--jv-accent);
  margin: 0;
}

/* Seekbar Progress Bar */
.jv-audio-progress-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.jv-audio-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--jv-muted);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
}

.jv-audio-seekbar-container {
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.jv-audio-seekbar-track {
  width: 100%;
  height: 6px;
  background: #232b45;
  border-radius: 6px;
  position: relative;
  overflow: visible;
  transition: height 0.15s ease;
}

.jv-audio-seekbar-container:hover .jv-audio-seekbar-track {
  height: 8px;
}

.jv-audio-seekbar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff7a30, #ff4500);
  border-radius: 6px;
  position: relative;
}

.jv-audio-seekbar-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 10px var(--jv-accent);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.jv-audio-seekbar-container:hover .jv-audio-seekbar-thumb {
  transform: translate(-50%, -50%) scale(1);
}

/* Controller Buttons Row */
.jv-audio-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.jv-audio-btn-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a30, #ff4500);
  border: none;
  color: #111;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 122, 48, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jv-audio-btn-play:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(255, 122, 48, 0.6);
}

.jv-audio-btn-play:active {
  transform: scale(0.95);
}

.jv-audio-btn-ctrl {
  background: #182038;
  border: 1px solid var(--jv-border);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  position: relative;
  transition: all 0.2s ease;
}

.jv-audio-btn-ctrl .btn-sub-label {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}

.jv-audio-btn-ctrl:hover {
  background: #222d4f;
  border-color: var(--jv-accent);
  color: var(--jv-accent);
}

.jv-audio-btn-sub {
  background: #141a2e;
  border: 1px solid var(--jv-border);
  color: var(--jv-muted);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jv-audio-btn-sub:hover {
  color: #ffffff;
  border-color: var(--jv-accent);
}

.jv-audio-vol-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.jv-audio-vol-slider {
  width: 70px;
  height: 4px;
  accent-color: var(--jv-accent);
  cursor: pointer;
}

/* Custom overlay player controls */
.jv-player-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #111627;
  border-radius: 12px;
  border: 1px solid var(--jv-border);
  margin-top: 14px;
}

.jv-controls-left, .jv-controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jv-ctrl-btn {
  background: transparent;
  border: none;
  color: var(--jv-muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
}

.jv-ctrl-btn:hover {
  color: #fff;
}

/* Watch Page Details Side */
.jv-info-side {
  display: flex;
  flex-direction: column;
}

.jv-breadcrumbs {
  font-size: 12.5px;
  color: var(--jv-muted);
  margin-bottom: 12px;
}

.jv-breadcrumbs a {
  color: var(--jv-muted);
}

.jv-breadcrumbs a:hover {
  color: #fff;
}

.jv-show-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.jv-action-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.jv-action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #151a2e;
  border: 1px solid var(--jv-border);
  color: var(--jv-text);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.jv-action-pill-btn:hover {
  border-color: var(--jv-accent);
  color: #fff;
}

.jv-action-pill-btn.active {
  background: rgba(255, 122, 48, 0.15);
  border-color: var(--jv-accent);
  color: var(--jv-accent);
}

.jv-description {
  font-size: 13.5px;
  color: var(--jv-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.jv-tags-row {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.jv-tag {
  background: #151a2e;
  border: 1px solid var(--jv-border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--jv-muted);
}

/* Episodes Tabs & Grid (Image 4 right side) */
.jv-episodes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--jv-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.jv-ep-tab-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.jv-ep-range-pill {
  background: #ff5a00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
}

.jv-episodes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

@media (max-width: 480px) {
  .jv-episodes-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.jv-ep-grid-btn {
  background: #161c2e;
  border: 1px solid var(--jv-border);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

.jv-ep-grid-btn:hover {
  background: #20273d;
  border-color: var(--jv-accent);
}

.jv-ep-grid-btn.active {
  background: #e50914;
  border-color: #e50914;
  color: #fff;
}

.jv-ep-grid-btn .lock-icon {
  font-size: 9px;
  color: var(--jv-red);
}

/* Mobile Bottom Navigation Bar */
.jv-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(11, 14, 23, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--jv-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
}

.jv-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--jv-muted);
  font-size: 10px;
  font-weight: 600;
}

.jv-bottom-nav-item i {
  font-size: 18px;
}

.jv-bottom-nav-item.active, .jv-bottom-nav-item:hover {
  color: var(--jv-accent);
}

/* Search Modal Overlay */
.jv-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.jv-search-modal.active {
  display: flex;
}

.jv-search-box-wrap {
  width: 100%;
  max-width: 680px;
  background: var(--jv-panel);
  border: 1px solid var(--jv-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Global Form Controls & Inputs */
.jiovaani-form-group {
  margin-bottom: 16px;
  text-align: left;
}

.jiovaani-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--jv-muted);
  margin-bottom: 6px;
}

.jiovaani-input,
input.jiovaani-input,
select.jiovaani-input,
textarea.jiovaani-input {
  width: 100%;
  background: #14192b !important;
  border: 1.5px solid #28324e !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.jiovaani-input:focus,
input.jiovaani-input:focus,
select.jiovaani-input:focus,
textarea.jiovaani-input:focus {
  border-color: var(--jv-accent) !important;
  background: #181f36 !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 48, 0.25) !important;
}

.jiovaani-input::placeholder {
  color: #616c8c !important;
}

.jiovaani-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jiovaani-btn-primary {
  background: linear-gradient(135deg, #ff7a30, #ff4500);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.jiovaani-btn-primary:hover {
  opacity: 0.9;
}

.jiovaani-btn-secondary {
  background: #192036;
  border: 1px solid var(--jv-border);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.jiovaani-btn-secondary:hover {
  background: #222b48;
  border-color: var(--jv-accent);
}

/* ==========================================================================
   Spotify / KukuFM Phone Card Audio Player UI
   ========================================================================== */
.jv-spotify-card {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 15%, #350f0f 0%, #170909 55%, #0a0404 100%);
  border: 1px solid rgba(255, 77, 79, 0.2);
  border-radius: 24px;
  padding: 24px 20px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(229, 9, 20, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.jv-spotify-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.jv-spotify-brand {
  font-size: 13px;
  font-weight: 700;
  color: #ff4d4f;
  display: flex;
  align-items: center;
  gap: 6px;
}

.jv-spotify-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  color: #e0e0e0;
}

.jv-spotify-cover-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jv-spotify-cover {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.25);
  transition: transform 0.3s ease;
}

.jv-spotify-cover.playing {
  animation: pulseAudioCover 3s infinite ease-in-out;
}

.jv-spotify-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 6, 6, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 77, 79, 0.3);
  backdrop-filter: blur(8px);
}

.jv-spotify-wave span {
  width: 3px;
  height: 8px;
  background: #ff4d4f;
  border-radius: 3px;
  transition: height 0.2s ease;
}

.jv-spotify-wave.playing span:nth-child(1) { animation: wave 1.2s infinite ease-in-out 0.1s; }
.jv-spotify-wave.playing span:nth-child(2) { animation: wave 1.2s infinite ease-in-out 0.3s; }
.jv-spotify-wave.playing span:nth-child(3) { animation: wave 1.2s infinite ease-in-out 0.2s; }
.jv-spotify-wave.playing span:nth-child(4) { animation: wave 1.2s infinite ease-in-out 0.4s; }
.jv-spotify-wave.playing span:nth-child(5) { animation: wave 1.2s infinite ease-in-out 0.15s; }

.jv-spotify-meta {
  width: 100%;
  text-align: center;
  margin-bottom: 18px;
}

.jv-spotify-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jv-spotify-author {
  font-size: 13px;
  font-weight: 500;
  color: #a8a8a8;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jv-spotify-seekbar-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.jv-spotify-time {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
}

.jv-spotify-track-container {
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.jv-spotify-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  position: relative;
  transition: height 0.15s ease;
}

.jv-spotify-track-container:hover .jv-spotify-track {
  height: 6px;
}

.jv-spotify-fill {
  height: 100%;
  width: 0%;
  background: #ff4d4f;
  border-radius: 4px;
  position: relative;
}

.jv-spotify-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  pointer-events: none;
}

.jv-spotify-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
}

.jv-spotify-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  transition: transform 0.15s, color 0.15s;
}

.jv-spotify-btn .btn-sub-num {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}

.jv-spotify-btn:hover {
  color: #ff4d4f;
  transform: scale(1.1);
}

.jv-spotify-btn-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d4f, #d91c1c);
  border: none;
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jv-spotify-btn-play:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.6);
}

.jv-spotify-btn-play:active {
  transform: scale(0.95);
}

.jv-spotify-footer-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jv-spotify-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ccc;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.jv-spotify-pill-btn:hover {
  color: #fff;
  border-color: #ff4d4f;
  background: rgba(255, 77, 79, 0.15);
}

.jv-spotify-vol-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jv-spotify-vol-btn {
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
}

.jv-spotify-vol-btn:hover {
  color: #fff;
}

.jv-spotify-vol-slider {
  width: 60px;
  height: 4px;
  accent-color: #ff4d4f;
  cursor: pointer;
}

/* ==========================================================================
   Instagram Reels / YouTube Shorts 9:16 Vertical Video Player UI
   ========================================================================== */
.jv-reels-player-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 520px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 10px;
}

.jv-reels-box {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  max-height: 600px;
  background: #050505;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.jv-reels-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jv-reels-tap-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
}

.jv-reels-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.jv-reels-tap-overlay.show-icon .jv-reels-play-icon {
  opacity: 1;
  transform: scale(1);
}

.jv-reels-actions-side {
  position: absolute;
  right: 10px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.jv-reels-action-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s;
}

.jv-reels-action-btn:hover {
  transform: scale(1.1);
}

.jv-reels-action-btn .icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 22, 34, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  transition: all 0.2s;
}

.jv-reels-action-btn.active .icon-circle {
  background: rgba(229, 9, 20, 0.85);
  border-color: #ff4d4f;
  color: #fff;
}

.jv-reels-bottom-info {
  position: absolute;
  left: 14px;
  right: 64px;
  bottom: 14px;
  z-index: 10;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.jv-reels-channel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.jv-reels-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff4d4f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.jv-reels-author {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.jv-reels-badge {
  font-size: 11px;
  color: #3897f0;
}

.jv-reels-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jv-reels-sub {
  font-size: 11.5px;
  color: #ddd;
  margin: 0;
  font-weight: 500;
}

.jv-reels-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 12;
}

.jv-reels-progress-fill {
  height: 100%;
  width: 0%;
  background: #ff4d4f;
}

/* ==========================================================================
   Persistent Floating Mini-Player (Spotify Style)
   ========================================================================== */
.jv-mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: rgba(14, 18, 30, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 998;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  transition: bottom 0.2s ease;
}

@media (max-width: 768px) {
  .jv-mini-player {
    bottom: 60px;
  }
}

.jv-mini-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: #ff4d4f;
  z-index: 2;
  transition: width 0.1s linear;
}

.jv-mini-player-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.jv-mini-left {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 50%;
  min-width: 140px;
}

.jv-mini-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.jv-mini-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jv-mini-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jv-mini-sub {
  font-size: 11px;
  color: var(--jv-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jv-mini-center {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jv-mini-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s;
}

.jv-mini-btn:hover {
  color: #ff4d4f;
}

.jv-mini-btn-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ff4d4f;
  border: none;
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
  transition: transform 0.15s ease;
}

.jv-mini-btn-play:hover {
  transform: scale(1.08);
}

.jv-mini-btn-play:active {
  transform: scale(0.95);
}

.jv-mini-right {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Instagram Profile Screen (Matches User Screenshot)
   ========================================================================== */
.jv-insta-auth-box {
  background: #0d111c;
  border: 1px solid var(--jv-border);
  border-radius: 20px;
  padding: 50px 24px;
  text-align: center;
  max-width: 480px;
  margin: 40px auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.jv-insta-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 24px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0px;
}

@media (max-width: 640px) {
  .jv-insta-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

.jv-insta-story-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jv-insta-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #14192b;
  border: 3px solid #0b0e17;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  text-transform: uppercase;
}

.jv-insta-info {
  flex: 1;
  width: 100%;
}

.jv-insta-user-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .jv-insta-user-row {
    justify-content: center;
  }
}

.jv-insta-username {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.jv-insta-vip-badge {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.jv-insta-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jv-insta-action-btn {
  background: #262626;
  border: none;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jv-insta-action-btn:hover {
  background: #363636;
  color: #ffffff;
}

.jv-insta-vip-btn {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #ffd700;
}

.jv-insta-vip-btn:hover {
  background: rgba(255, 215, 0, 0.25);
  color: #fff;
}

.jv-insta-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .jv-insta-stats {
    justify-content: center;
    gap: 20px;
  }
}

.jv-insta-stat-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 14px;
}

.jv-insta-stat-item strong {
  font-weight: 700;
  color: #ffffff;
}

.jv-insta-stat-item span {
  color: #8e8e8e;
}

.jv-insta-bio {
  font-size: 13.5px;
  line-height: 1.5;
}

.jv-insta-fullname {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.jv-insta-bio-text {
  color: #c7c7c7;
}

/* Instagram Profile Tabs Bar */
.jv-insta-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .jv-insta-tabs-bar {
    gap: 16px;
    justify-content: space-around;
  }
}

.jv-insta-tab-btn {
  background: transparent;
  border: none;
  border-top: 1px solid transparent;
  color: #737373;
  padding: 16px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -1px;
  transition: all 0.2s;
}

.jv-insta-tab-btn i {
  font-size: 14px;
}

.jv-insta-tab-btn.active {
  color: #ffffff;
  border-top: 1px solid #ffffff;
}

.jv-insta-tab-btn:hover {
  color: #e0e0e0;
}

/* Instagram Reels Video Grid (9:16 Aspect Ratio) */
.jv-insta-reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 860px) {
  .jv-insta-reels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .jv-insta-reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

.jv-insta-reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: block;
}

.jv-insta-reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.jv-insta-reel-card:hover img {
  transform: scale(1.05);
}

.jv-insta-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.jv-insta-reel-views {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.jv-insta-reel-views i {
  font-size: 10px;
}

.jv-insta-empty-box {
  text-align: center;
  padding: 60px 20px;
  color: #8e8e8e;
}

.jv-insta-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #aaa;
  margin: 0 auto 16px;
}

.jv-insta-empty-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.jv-insta-empty-box p {
  font-size: 13px;
  margin: 0 0 16px;
}

/* Sleep Timer Modal Options */
.jv-sleep-option-btn {
  width: 100%;
  background: #182035;
  border: 1px solid var(--jv-border);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.jv-sleep-option-btn:hover {
  background: var(--jv-accent);
  color: #111;
  border-color: var(--jv-accent);
}

.jv-sleep-btn.active {
  background: rgba(255, 122, 48, 0.2);
  border-color: var(--jv-accent);
  color: var(--jv-accent);
}

/* ==========================================================================
   Show Details Showcase Hero (Exact Image 3 Reference)
   ========================================================================== */
.jv-show-hero-card {
  position: relative;
  background: #111626;
  border: 1px solid var(--jv-border);
  border-radius: 20px;
  overflow: hidden;
  padding: 30px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
}

.jv-hero-backdrop-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(50px) brightness(0.25);
  opacity: 0.6;
  pointer-events: none;
  transform: scale(1.2);
}

.jv-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 28px;
  align-items: center;
}

@media (max-width: 700px) {
  .jv-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.jv-hero-poster-wrap {
  width: 160px;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 122, 48, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.jv-hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jv-hero-details {
  flex: 1;
}

.jv-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.jv-hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--jv-muted);
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .jv-hero-meta-row {
    justify-content: center;
  }
}

.jv-hero-meta-row .dot {
  color: #555d7a;
}

.jv-tag-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jv-border);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #d1d5e2;
}

.jv-hero-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 700px) {
  .jv-hero-actions-row {
    justify-content: center;
  }
}

.jv-btn-play-all {
  background: linear-gradient(135deg, #ff7a30, #ff4500);
  border: none;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(255, 122, 48, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.jv-btn-play-all:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(255, 122, 48, 0.55);
}

.jv-btn-play-all:active {
  transform: scale(0.96);
}

.jv-show-desc-box {
  background: rgba(14, 18, 30, 0.6);
  border: 1px solid var(--jv-border);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--jv-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Instagram Mode Switcher & Episodes Playlist (Exact Image 3 Reference)
   ========================================================================== */
.jv-episodes-section {
  width: 100%;
}

.jv-episodes-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--jv-border);
}

.jv-episodes-heading {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.jv-insta-mode-switcher {
  display: flex;
  background: #121727;
  padding: 4px;
  border-radius: 24px;
  border: 1px solid var(--jv-border);
  gap: 4px;
}

.jv-mode-tab-btn {
  background: transparent;
  border: none;
  color: var(--jv-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.jv-mode-tab-btn.active {
  background: var(--jv-accent);
  color: #111;
}

.jv-episodes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jv-episode-row {
  background: #111626;
  border: 1px solid var(--jv-border);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.jv-episode-row:hover {
  background: #171e33;
  border-color: rgba(255, 122, 48, 0.4);
  transform: translateY(-2px);
}

.jv-episode-row.active {
  background: rgba(255, 122, 48, 0.12);
  border-color: var(--jv-accent);
}

.jv-ep-row-thumb-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.jv-ep-row-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jv-ep-play-overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}

.jv-episode-row:hover .jv-ep-play-overlay-icon,
.jv-episode-row.active .jv-ep-play-overlay-icon {
  opacity: 1;
}

.jv-ep-row-info {
  flex: 1;
  overflow: hidden;
}

.jv-ep-row-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jv-episode-row.active .jv-ep-row-title {
  color: var(--jv-accent);
}

.jv-ep-row-sub {
  font-size: 12px;
  color: var(--jv-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jv-ep-row-action {
  flex-shrink: 0;
}

.jv-ep-row-play-btn {
  background: transparent;
  border: none;
  color: var(--jv-accent);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  transition: transform 0.15s;
}

.jv-episode-row:hover .jv-ep-row-play-btn {
  transform: scale(1.2);
}

.jv-ep-row-lock-btn {
  background: rgba(255, 92, 92, 0.15);
  border: 1px solid rgba(255, 92, 92, 0.3);
  color: var(--jv-red);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   Full Audio Player Modal (Exact Image 2 Reference)
   ========================================================================== */
.jv-full-player-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.jv-full-player-modal.active {
  display: flex;
}

.jv-full-player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.jv-full-player-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: #0f1422;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px 20px 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 122, 48, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jv-full-player-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.jv-player-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5e2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.jv-player-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.jv-full-player-head-text {
  text-align: center;
  overflow: hidden;
}

.jv-head-pill {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jv-accent);
  display: block;
  margin-bottom: 2px;
}

.jv-head-series-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.jv-full-player-artwork-wrap {
  width: 220px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 122, 48, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.jv-full-player-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jv-full-player-meta {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}

.jv-full-ep-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jv-full-show-title {
  font-size: 13px;
  color: var(--jv-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jv-full-seekbar-wrap {
  width: 100%;
  margin-bottom: 16px;
}

.jv-full-track-box {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}

.jv-full-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff7a30, #ff4500);
  border-radius: 5px;
}

.jv-full-track-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.jv-full-time-row {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #8e95ad;
  font-variant-numeric: tabular-nums;
}

.jv-full-controls-cluster {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 8px;
}

.jv-ctrl-btn-sub {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  transition: all 0.15s;
}

.jv-ctrl-btn-sub span {
  font-size: 9px;
  font-weight: 800;
  margin-top: 1px;
}

.jv-ctrl-btn-sub:hover {
  color: var(--jv-accent);
  transform: scale(1.1);
}

.jv-ctrl-btn-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a30, #ff4500);
  border: none;
  color: #111;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 122, 48, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.jv-ctrl-btn-play:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(255, 122, 48, 0.6);
}

.jv-ctrl-btn-play:active {
  transform: scale(0.95);
}

.jv-full-speed-row {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.jv-speed-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9aa1b8;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.jv-speed-pill.active, .jv-speed-pill:hover {
  background: var(--jv-accent);
  color: #111;
  border-color: var(--jv-accent);
}

.jv-full-up-next-card {
  width: 100%;
  background: #141a2e;
  border: 1px solid var(--jv-border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.jv-up-next-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--jv-accent);
  text-transform: uppercase;
  background: rgba(255, 122, 48, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.jv-up-next-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Video Reels Modal Backdrop */
.jv-reels-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.jv-reels-modal-backdrop.active {
  display: flex;
}

.jv-reels-modal-box {
  position: relative;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jv-reels-close-btn {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
}




