/* ==========================================================================
   Modern Streaming Platform Theme & CSS Animations
   ========================================================================== */

:root {
  --app-bg-base: #0f1014;
  --app-bg-surface: #141519;
  --app-bg-card: #181a20;
  --app-bg-card-hover: #22252e;
  --app-accent-red: #d81f26;
  --app-accent-red-hover: #e52d34;
  --app-accent-blue: #d81f26;
  --app-accent-blue-dark: #9b1419;
  --app-gradient-primary: linear-gradient(135deg, #d81f26 0%, #a81217 100%);
  --app-text-primary: #e1e6f0;
  --app-text-secondary: #8f98a0;
  --app-text-muted: #5e6670;
  --app-border-glow: rgba(216, 31, 38, 0.3);
  --app-shadow-card: 0 8px 24px rgba(0, 0, 0, 0.6);
  --app-shadow-hover: 0 16px 36px rgba(216, 31, 38, 0.25);
  --app-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --app-sidebar-width: 90px;
  --app-sidebar-expanded-width: 220px;
}



body {
  background-color: var(--app-bg-base) !important;
  color: var(--app-text-primary) !important;
  font-family: var(--app-font-family);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Offset main body for left sidebar on desktop */
@media (min-width: 992px) {
  body {
    padding-left: var(--app-sidebar-width);
  }
}

/* Custom Smooth Dark Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--app-bg-base);
}
::-webkit-scrollbar-thumb {
  background: #2a2e39;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--app-accent-blue-dark);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes appFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 31, 38, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(216, 31, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 31, 38, 0);
  }
}

.hotstar-animated-fade {
  animation: appFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Left Vertical Sidebar Navigation (Desktop)
   ========================================================================== */
@media (min-width: 992px) {
  aside.hotstar-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--app-sidebar-width);
    height: 100vh;
    z-index: 1050;
    background: rgba(15, 16, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 5px 0 25px rgba(0,0,0,0.5);
  }

  aside.hotstar-sidebar:hover {
    width: var(--app-sidebar-expanded-width);
    align-items: flex-start;
    padding-left: 20px;
  }

  .hotstar-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    margin-bottom: 30px;
    padding-left: 5px;
  }

  .hotstar-sidebar-brand img {
    height: 38px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .hotstar-sidebar-brand:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(216, 31, 38, 0.8));
  }

  .hotstar-sidebar-brand-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease;
  }

  aside.hotstar-sidebar:hover .hotstar-sidebar-brand-text {
    opacity: 1;
  }

  .hotstar-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .hotstar-sidebar-item {
    width: 100%;
  }

  .hotstar-sidebar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--app-text-secondary);
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.25s ease;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
  }

  .hotstar-sidebar-link i {
    font-size: 22px;
    min-width: 24px;
    text-align: center;
    color: var(--app-text-secondary);
    transition: color 0.25s ease, transform 0.25s ease;
  }

  .hotstar-sidebar-link-text {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  aside.hotstar-sidebar:hover .hotstar-sidebar-link-text {
    opacity: 1;
  }

  .hotstar-sidebar-link:hover, .hotstar-sidebar-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
  }

  .hotstar-sidebar-link:hover i, .hotstar-sidebar-link.active i {
    color: var(--app-accent-blue);
    transform: scale(1.15);
  }

  .hotstar-sidebar-subscribe {
    background: var(--app-gradient-primary);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 25px;
    animation: pulseGlow 3s infinite;
  }

  .hotstar-sidebar-subscribe i {
    color: #ffffff !important;
  }

  .hotstar-sidebar-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    padding: 0 20px;
  }

  .hotstar-sidebar-search-icon {
    font-size: 22px;
    color: var(--app-text-secondary);
    transition: all 0.3s ease;
    z-index: 5;
    cursor: pointer;
    flex-shrink: 0;
  }

  .hotstar-sidebar-search input {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 7px 12px 7px 38px;
    color: #fff;
    font-size: 13px;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: width 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 4;
  }

  /* On sidebar hover expand: reveal search input field cleanly */
  aside.hotstar-sidebar:hover .hotstar-sidebar-search input {
    width: 190px;
    opacity: 1;
    visibility: visible;
  }

  aside.hotstar-sidebar:hover .hotstar-sidebar-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--app-accent-blue);
    pointer-events: none;
  }

  .hotstar-sidebar-search input:focus {
    outline: none;
    border-color: var(--app-accent-blue);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 12px rgba(216, 31, 38, 0.4);
  }

}

/* Mobile topbar fallback */
@media (max-width: 991px) {
  aside.hotstar-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 16, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 16px;
  }

  .hotstar-sidebar-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hotstar-sidebar-brand img {
    height: 32px;
  }

  .hotstar-sidebar-brand-text {
    display: none;
  }

  .hotstar-sidebar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
  }

  .hotstar-sidebar-link-text {
    display: none;
  }

  .hotstar-sidebar-link {
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
  }
}

/* ==========================================================================
   Hero Banner Carousel - Reduced Compact Height
   ========================================================================== */
.hotstar-hero-section {
  position: relative;
  padding-top: 15px;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .hotstar-hero-section {
    padding-top: 60px;
  }
}

.hotstar-hero-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.hotstar-hero-card:hover {
  transform: scale(1.015);
  border-color: rgba(216, 31, 38, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(216, 31, 38, 0.2);
}

.hotstar-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.hotstar-hero-card:hover .hotstar-hero-img {
  transform: scale(1.04);
}

.hotstar-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 16, 20, 0.95) 0%, rgba(15, 16, 20, 0.65) 45%, rgba(15, 16, 20, 0.15) 100%);
  display: flex;
  align-items: center;
  padding: 0 45px;
}

.hotstar-hero-content {
  max-width: 500px;
  z-index: 2;
}

.hotstar-hero-badge {
  display: inline-block;
  background: rgba(216, 31, 38, 0.15);
  color: var(--app-accent-blue);
  border: 1px solid var(--app-accent-blue);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hotstar-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hotstar-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hotstar-btn-watch {
  background: #ffffff;
  color: #0f1014 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.hotstar-btn-watch:hover {
  background: var(--app-accent-blue);
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 25px rgba(216, 31, 38, 0.5);
}

/* ==========================================================================
   Slick Slider & Card Hover Effects
   ========================================================================== */
/* Compact balanced vertical spacing between category rows */
section.other-content, 
section.content, 
.other-content, 
.content {
  padding-top: 10px !important;
  padding-bottom: 14px !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.other-content .container-fluid, 
.content .container-fluid,
.other-content .row,
.content .row,
.other-content .col-lg-12,
.content .col-lg-12 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.slick-slider {
  margin-bottom: 6px !important;
}

.slick-list {
  overflow: visible !important;
  padding: 4px 0 !important;
  margin: 0 !important;
}

.slick-slide {
  transition: z-index 0.3s ease;
}

.slick-slide:hover {
  z-index: 100 !important;
}

/* Option 3: Netflix Style Category Title with Subtitle Tag */
.hotstar-section-title,
.other-content h2,
.content h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
  margin-top: 4px !important;
  margin-bottom: 10px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}


.hotstar-section-title::before,
.other-content h2::before,
.content h2::before,
.hotstar-section-title::after,
.other-content h2::after,
.content h2::after {
  display: none !important;
}

.hotstar-title-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.hotstar-title-main {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 21px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.hotstar-title-sub {
  color: var(--app-text-secondary) !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  letter-spacing: 0.2px !important;
}



/* Stylized View All Action Pill Button */
.hotstar-view-all-btn,
.hotstar-section-title a {
  order: 3 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--app-accent-red) !important;
  background: rgba(216, 31, 38, 0.1) !important;
  border: 1px solid rgba(216, 31, 38, 0.3) !important;
  padding: 5px 16px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
}

.hotstar-view-all-btn:hover,
.hotstar-section-title a:hover {
  background: var(--app-gradient-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(216, 31, 38, 0.4) !important;
  transform: translateY(-1px) !important;
}



/* Signature Hover Zoom Poster Card */
.hotstar-card {
  position: relative;
  background: var(--app-bg-card);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  cursor: pointer;
  z-index: 1;
}

.hotstar-card:hover {
  transform: scale(1.12) translateY(-6px);
  z-index: 120 !important;
  border-color: var(--app-accent-blue);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95), 0 0 24px rgba(216, 31, 38, 0.45);
}

.hotstar-card-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #101217;
}

/* Widescreen Landscape Banners (16:9) - Edge to Edge, No Dark Gaps */
.hotstar-card-banner {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
}

.hotstar-card-banner .hotstar-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Cover Posters - Adapts naturally to 100% full original image ratio without letterboxing */
.hotstar-card-poster {
  aspect-ratio: auto !important;
  height: auto !important;
  width: 100% !important;
}

.hotstar-card-poster .hotstar-card-img {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: cover !important;
}

.hotstar-card:hover .hotstar-card-img {
  transform: scale(1.08);
}

.hotstar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 16, 20, 0.98) 0%, rgba(15, 16, 20, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  transform: translateY(10px);
}

.hotstar-card:hover .hotstar-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.hotstar-play-btn-circle {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 44px;
  height: 44px;
  background: var(--app-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(216, 31, 38, 0.6);
}

.hotstar-card:hover .hotstar-play-btn-circle {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(216, 31, 38, 0.8);
}

.hotstar-card-info {
  padding: 10px 12px;
  background: var(--app-bg-card);
}

.hotstar-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.hotstar-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--app-text-secondary);
}

.hotstar-badge-mini {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

/* ==========================================================================
   Video Details Page (Hotstar Aesthetic)
   ========================================================================== */
.media-landing-section {
  display: block !important;
  width: 100% !important;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px !important;
  background: var(--app-bg-base);
  color: var(--app-text-primary);
}

.media-landing-section .media-content-wrapper {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  border: none !important;
}

.media-landing-section .media-cover-wrapper {
  width: 100% !important;
  margin-bottom: 24px !important;
}

.media-landing-section .season-content-wrapper {
  position: relative !important;
  width: 100% !important;
  clear: both !important;
  margin-top: 35px !important;
  overflow: visible !important;
  height: auto !important;
}


.media-info-wrapper {
  background: var(--app-bg-card);
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.media-title h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 12px !important;
}

.media-summary ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.media-summary ul li {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.media-summary ul li a {
  display: inline-block;
  background: rgba(216, 31, 38, 0.1) !important;
  color: var(--app-accent-blue) !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: 1px solid rgba(216, 31, 38, 0.3) !important;
  transition: all 0.25s ease !important;
}

.media-summary ul li a:hover {
  background: var(--app-accent-blue) !important;
  color: #0f1014 !important;
  box-shadow: 0 4px 12px rgba(216, 31, 38, 0.4) !important;
  transform: translateY(-1px) !important;
}


.media-body h5 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.media-body p {
  font-size: 15px;
  color: var(--app-text-secondary);
  line-height: 1.7;
}

.hotstar-credits-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 24px;
  margin-top: 20px;
}

.hotstar-credit-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 12px;
}

.hotstar-credit-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hotstar-credit-label {
  min-width: 120px;
  font-size: 13px;
  font-weight: 700;
  color: var(--app-accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotstar-credit-label i {
  font-size: 15px;
}

.hotstar-credit-value {
  font-size: 14px;
  color: #e1e6f0;
  font-weight: 500;
  line-height: 1.6;
}


/* Episodes & Related Videos Section */
.season-content-wrapper {
  margin-top: 30px;
}

.hotstar-episode-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--app-bg-card);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  cursor: pointer;
}

.hotstar-episode-card:hover {
  transform: translateX(6px);
  background: var(--app-bg-card-hover);
  border-color: var(--app-accent-blue);
  box-shadow: 0 8px 24px rgba(216, 31, 38, 0.2);
}

.hotstar-episode-thumb {
  position: relative;
  width: 140px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.hotstar-episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotstar-episode-details h5 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.hotstar-episode-details .stats {
  font-size: 13px;
  color: var(--app-text-secondary);
}

/* ==========================================================================
   Subscribe & Pricing Plan Page (Hotstar Aesthetic)
   ========================================================================== */
.app-subscribe-section {
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.app-subscribe-header {
  text-align: center;
  margin-bottom: 30px;
}

.app-subscribe-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.app-subscribe-header p {
  color: var(--app-text-secondary);
  font-size: 15px;
}

.app-subscribe-notice {
  background: rgba(216, 31, 38, 0.08);
  border: 1px solid rgba(216, 31, 38, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 30px;
  color: var(--app-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.app-plan-card {
  background: var(--app-bg-card);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  cursor: pointer;
  position: relative;
}

.app-plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 31, 38, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.app-plan-card.selected {
  border-color: var(--app-accent-blue) !important;
  background: rgba(216, 31, 38, 0.06) !important;
  box-shadow: 0 12px 30px rgba(216, 31, 38, 0.3) !important;
}

.app-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.app-plan-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-plan-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--app-accent-blue);
}

.app-plan-desc {
  font-size: 13px;
  color: var(--app-text-secondary);
  line-height: 1.5;
}

/* Custom Order Summary Glassmorphic Card */
.app-center-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
  margin: 0 auto !important;
}

.app-center-card {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 620px !important;
}

.app-checkout-box {
  background: var(--app-bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 26px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7) !important;
  float: none !important;
}


.app-checkout-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.app-checkout-title i {
  color: var(--app-accent-blue);
}

.app-coupon-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.app-checkout-box .form-group label {
  display: block !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}

.app-input-dark {
  display: block !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  transition: all 0.25s ease !important;
}


.app-input-dark:focus {
  outline: none !important;
  border-color: var(--app-accent-blue) !important;
  background: rgba(0, 0, 0, 0.6) !important;
  box-shadow: 0 0 12px rgba(216, 31, 38, 0.3) !important;
}

.app-btn-redeem {
  background: var(--app-gradient-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.app-btn-redeem:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(216, 31, 38, 0.4) !important;
}

.app-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  padding: 18px !important;
  margin-bottom: 24px !important;
}

.app-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--app-text-secondary);
}

.app-summary-row .label {
  font-weight: 500;
  color: var(--app-text-secondary);
}

.app-summary-row .value {
  font-weight: 600;
  color: #ffffff;
}

.app-summary-row.total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
  margin: 4px 0;
}

.app-summary-row.total-row .label {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.app-summary-row.total-row .value.highlight {
  font-size: 22px;
  font-weight: 800;
  color: var(--app-accent-blue);
}

.app-gateway-pill {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.app-gateway-pill:hover, .app-gateway-pill.selected {
  border-color: var(--app-accent-blue);
  background: rgba(216, 31, 38, 0.08);
}

.app-gateway-pill img {
  height: 24px;
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  filter: brightness(0) invert(1);
}


.app-gateway-pill .gateway-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.app-select-dark {
  width: 100%;
  background: #141519 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: #ffffff !important;
  font-size: 14px !important;
}

.app-btn-checkout {
  width: 100%;
  background: var(--app-gradient-primary) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: 28px !important;
  padding: 14px 24px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
  box-shadow: 0 8px 24px rgba(216, 31, 38, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.app-btn-checkout:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(216, 31, 38, 0.6) !important;
}

.app-plan-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

.app-plan-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--app-text-muted);
  border: none !important;
  padding: 12px 16px;
}

.app-plan-table tr.plan-row {
  background: var(--app-bg-card) !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.app-plan-table tr.plan-row:hover {
  background: var(--app-bg-card-hover) !important;
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.app-plan-table td {
  padding: 16px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  border: none !important;
  vertical-align: middle !important;
}

.app-plan-table tr.plan-row td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.app-input-icon-group {
  position: relative;
  width: 100%;
}

.app-input-icon-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--app-accent-red);
  font-size: 16px;
  z-index: 2;
}

.app-input-icon-group input.app-input-dark {
  padding-left: 42px !important;
}

.app-avatar-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--app-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #ffffff;
  font-weight: 800;
  margin: 0 auto 16px auto;
  box-shadow: 0 8px 24px rgba(216, 31, 38, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================

   Footer
   ========================================================================== */

footer.hotstar-footer {
  background: #0a0b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0 20px 0;

  margin-top: 60px;
  color: var(--app-text-secondary);
}

/* ==========================================================================
   Global Dark Overrides (Remove lingering white backgrounds)
   ========================================================================== */
.inner-body,
.inner-header,
.subcribe-box,
section.inner-body,
section.inner-header {
  background-color: var(--app-bg-base) !important;
  color: var(--app-text-primary) !important;
}

select option {
  background-color: #141519 !important;
  color: #ffffff !important;
}

.table,
.table-dark,
.table-bordered,
table,
tr,
td,
th {
  background-color: transparent !important;
}

/* Category Filter Page Title & Search Bar */
.hotstar-category-header {
  margin-top: 15px !important;
  margin-bottom: 12px !important;
}

.hotstar-category-header .hotstar-hero-badge {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.hotstar-page-title {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.hotstar-page-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: block;
  margin-left: auto !important;
  margin-bottom: 14px !important;
}


.hotstar-page-search-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--app-accent-red);
  font-size: 16px;
  pointer-events: none;
}

.hotstar-page-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: 10px 16px 10px 44px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  transition: all 0.25s ease !important;
}

.hotstar-page-search-input:focus {
  outline: none !important;
  border-color: var(--app-accent-red) !important;
  background: rgba(0, 0, 0, 0.7) !important;
  box-shadow: 0 0 16px rgba(216, 31, 38, 0.4) !important;
}


