/* General Styles - User Provided */

:root {
  --primary-bg: #000000;
  --secondary-bg: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-secondary: #DDE5FF;
  --accent-pink: #E91E63;
  --accent-red: #FF1744;
  /* Added for red-pink gradient theme */
  --gradient-main: linear-gradient(45deg, var(--accent-red), var(--accent-pink));
  --gradient-secondary: linear-gradient(45deg, var(--accent-pink), var(--accent-red));
  --gradient-golden: linear-gradient(45deg, #FFD700, #FFA500);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-blur: blur(10px);
  /* Enhanced glow for premium feel */
  --header-bg: #0F0F0F;
  /* Dynamic ambient color variable - updated via JS */
  --ambient-bg: #000000;
  --deepto-logo-blue: #00AEEF;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark only;
}

@media (prefers-color-scheme: light) {
  :root {
    --primary-bg: #000000;
    --secondary-bg: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #DDE5FF;
    --accent-pink: #E91E63;
    --accent-red: #FF1744;
    /* Added for red-pink gradient theme */
    --gradient-main: linear-gradient(45deg, var(--accent-red), var(--accent-pink));
    --gradient-secondary: linear-gradient(45deg, var(--accent-pink), var(--accent-red));
    --gradient-golden: linear-gradient(45deg, #FFD700, #FFA500);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(10px);
    /* Enhanced glow for premium feel */
    --header-bg: #0F0F0F;
    /* Dynamic ambient color variable - updated via JS */
    --ambient-bg: #000000;
    --deepto-logo-blue: #00AEEF;
  }

  html {
    color-scheme: dark only;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--ambient-bg);
  color: var(--text-primary);
  padding-bottom: 80px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  /* Added: Smooth transition for ambient bg changes via JS */
  transition: background-color 0.8s ease-in-out;
}

body.overlay-open {
  overflow: hidden;
}

::-webkit-scrollbar {
  display: none;
}

/* Slider-Related Styles (Integrated from Tailwind Extraction) - User Provided */

.infinite-scroll-component {
  overflow: hidden !important;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #4b5563 transparent;
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 5px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #4b5563;
  border-radius: 20px;
  border: 3px solid transparent;
}

/* Hide Scrollbar Variant (for full-screen sliders) */

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 0;
  height: 0;
}

.hide-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.hide-scrollbar::-webkit-scrollbar-thumb {
  background-color: none;
  border-radius: 0;
  border: 0 solid transparent;
}

/* Smooth Scrolling & Overflow for Slider Movement */

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-x-clip {
  overflow-x: clip;
}

.overflow-x-scroll {
  overflow-x: scroll;
}

.overflow-y-auto {
  overflow-y: auto;
}

.overflow-y-scroll {
  overflow-y: scroll;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

/* Transition & Animation for Slide Effects */

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Responsive Overflow for Slider on Mobile/Desktop */

@media (min-width: 768px) {
  .md\:overflow-x-clip {
    overflow-x: clip;
  }

  .md\:overflow-x-visible {
    overflow-x: visible;
  }
}

@media (min-width: 1024px) {
  .lg\:overflow-x-clip {
    overflow-x: clip;
  }

  .lg\:overflow-x-visible {
    overflow-x: visible;
  }
}

/* ========================================= */
/* === ROOT VARIABLES === */
/* ========================================= */

:root {
  --background-blurry: rgba(10, 10, 10, 0.85);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --vip-gold: #FFC107;
  --vip-gradient: linear-gradient(135deg, #FFD700, #FFA000);
  --border-color: rgba(255, 255, 255, 0.1);
  --background-main: #0A0A0A;
}

/* ========================================= */
/* === GLOBAL & FONT STYLES === */
/* ========================================= */

/* Add this to your HTML <head> for the new font:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap" rel="stylesheet">
*/

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-main);
  color: var(--text-primary);
  margin: 0;
}

/* ========================================= */
/* === HEADER BASE STYLES === */
/* ========================================= */

.app-header {
  display: flex;
  flex-direction: column;
  padding: 4px 16px; /* Reduced padding for a slimmer header */
  background: var(--background-blurry);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 43px; /* Reduced height */
}

.logo img {
  height: 40px; /* Slightly smaller logo */
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px; /* Tighter gap */
}

.header-right .icon {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease-in-out;
}

.header-right .icon:hover {
  color: var(--text-primary);
  transform: scale(1.15); /* More pronounced, satisfying hover effect */
}

.vip-button {
  background: var(--gradient-main);
  color: var(--text-primary);
  padding: 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  border: 1px solid rgba(255, 23, 68, 0.3);
  /* Red border */
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), filter 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 20px;
  height: 8px;
  /* Removed box-shadow: var(--glow-shadow); */
  /* Premium shadow */
}

.vip-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  /* Enhanced shine */
  transition: left 0.5s;
}

.vip-button:hover::before {
  left: 100%;
}

.vip-button:hover {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
  /* Removed box-shadow: 0 0 25px rgba(233, 30, 99, 0.6); */
  /* Stronger premium glow */
}

.vip-button .icon {
  width: 20px;
  height: 20px;
}

.vip-button.clicked {
  background: var(--gradient-secondary);
}

/* ========================================= */
/* === MOBILE NAVIGATION (TEXT) === */
/* ========================================= */

.mobile-nav {
  display: flex;
  width: 100%;
  overflow-x: auto;
  padding: 6px 0;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 18px; /* Tighter gap */
}

.mobile-nav::-webkit-scrollbar {
  display: none;
}

.mobile-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px; /* Smaller, smarter font size */
  font-weight: 500; /* Bold */
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.2s ease-in-out;
  padding: 2px 0;
  transform-origin: center;
}

.mobile-nav a:hover {
  color: var(--text-primary);
  transform: scale(1.05);
}

.mobile-nav a.active {
  color: var(--text-primary); /* Active state is now just white color */
}

/* Hide desktop nav on mobile */

.desktop-nav {
  display: none;
}

/* ========================================= */
/* === DESKTOP STYLES (MEDIA QUERY) === */
/* ========================================= */

@media (min-width: 768px) {
  .app-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 56px; /* Slimmer desktop header */
    padding: 0 40px;
  }

  .header-top {
    display: contents; 
  }

  .logo {
    flex-shrink: 0;
  }

  .header-right {
    flex-shrink: 0;
    gap: 20px;
  }

  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px; /* Tighter gap */
    width: 100%;
    margin: 0 40px; 
  }

  .desktop-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px; /* Smaller font size */
    font-weight: 700; /* Bold */
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease-in-out;
  }

  .desktop-nav a:hover {
    color: var(--text-primary);
    transform: scale(1.05);
  }

  .desktop-nav a.active {
    color: var(--text-primary); /* Active state is just white */
  }
}

/* ========================================= */
/* === SEARCH BAR SECTION - User Provided === */
/* ========================================= */

.search-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  padding: 0 14px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%) scale(0.95);
  transition: opacity 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6), transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6), visibility 0.4s;
  z-index: 101;
  border-radius: 0;
}

.search-bar.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.search-bar input {
  flex-grow: 1;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar input:focus {
  border-color: var(--accent-red);
}

.search-bar input::placeholder {
  color: var(--text-secondary);
}

.search-bar .close-icon {
  margin-left: 12px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  color: var(--text-primary);
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), filter 0.3s ease;
}

.search-bar .close-icon:hover {
  transform: scale(1.05) rotate(90deg);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  border-radius: 0;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), box-shadow 0.3s ease;
  border-radius: 8px;
}

.search-result-item:hover {
  background-color: rgba(233, 30, 99, 0.1);
  transform: translateX(4px) scale(1.02);
}

.search-result-item img {
  width: 50px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.search-result-item .title {
  font-size: 15px;
  font-weight: 600;
}

.search-result-item .posted-by {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ================================================== */
/* === HERO BANNER SECTION (SMART ANIMATED STYLE) === */
/* ================================================== */

.hero-banner {
  margin-top: -20px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-banner .swiper-container {
  width: 100%;
  padding:50px 0 50px 0
}

.hero-banner .swiper-slide {
  width: 91%; /* Inactive slides are smaller */
  height: 345px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: center;
  overflow: hidden;
  opacity: 400; /* Dim inactive slides */
  transform: scale(15); /* Scale down inactive slides */
  transition: transform 0.6s ease, opacity 0.6s ease, width 0.6s ease, box-shadow 0.6s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.hero-banner .swiper-slide-active {
  /* Active slide is wider */
  opacity: 0.8;
  transform: scale(1);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 23, 68, 0.1);
}

.hero-banner .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 1;
  border-radius: 16px;
}

/* --- Animation for overlay content --- */

.hero-overlay .title,
.hero-overlay .hero-description,
.hero-overlay .hero-actions {
  opacity: 0;
  
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.swiper-slide-active .hero-overlay .title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.swiper-slide-active .hero-overlay .hero-description {
  opacity: 1;
 
  transform: translateY(0);
  transition-delay: 0.5s;
}

.swiper-slide-active .hero-overlay .hero-actions {
  opacity: 1;
 
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* --- End Animation --- */

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  text-align: center;
  
  background: linear-gradient(to top, rgba(0, 0, 0, 0.0) 0%, transparent 100%);
}

/* --- Animation for overlay content --- */

.hero-overlay .title,
.hero-overlay .hero-description,
.hero-overlay .hero-actions {
  opacity: 0;
  transform: translateY(15px);
 
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.swiper-slide-active .hero-overlay .title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.swiper-slide-active .hero-overlay .hero-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.swiper-slide-active .hero-overlay .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* --- End Animation --- */

.hero-overlay .title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.action-btn {
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 23, 68, 0.1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.action-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
  box-shadow: 0 5px 15px rgba(255, 23, 68, 0.2);
}

.action-btn.play {
  background: var(--gradient-main);
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  gap: 8px;
  shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 23, 68, 0.1);
}

.action-btn.play .icon {
  width: 22px;
  height: 22px;
}

.action-btn.info,
.action-btn.plus {
  background-color: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  border-radius: 25px;
}

.action-btn.info .icon,
.action-btn.plus .icon {
  width: 21px;
  height: 21px;
  fill: var(--text-primary);
}

.hero-banner .swiper-pagination {
  bottom: 20px;
  position: absolute;
  width: 100%;
  left: 0;
}

.hero-banner .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  border-radius: 50%;
  transition: width 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  margin: 0 4px !important;
}

.hero-banner .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 5px;
  background-color: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
}

@media (min-width: 738px) {
  .hero-banner {
    margin-top: 15px;
    margin-left: 74px;
    width: calc(100% - 74px);
  }

  .hero-banner .swiper-slide {
    width: 60%;
    height: 360px;
  }

  .hero-banner .swiper-slide-active {
    width: 65%;
  }

  /* Add a dark tint to the entire slide for better text visibility on PC */

  .hero-banner .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px; /* Match the slide's border radius */
    z-index: 1; /* Sit above the background image but below content */
    transition: background-color 0.6s ease;
  }

  .swiper-slide-active::before {
    background-color: rgba(0,0,0,0.35); /* Make active slide slightly darker */
  }

  .hero-overlay {
    text-align: left;
    padding: 40px;
    background: none; /* Remove background on PC */
  }

  .hero-overlay .title {
    font-size: 40px;
  }

  .hero-description {
    margin: 0 0 25px 0;
    max-width: 450px;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

/* ================================================== */
/* GENERAL VARIABLES (ASSUMED) */
/* ================================================== */

:root {
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --accent-pink: #ff1744;
  --gradient-main: linear-gradient(to right, #ff1744, #ff4081);
  --gradient-golden: linear-gradient(to right, #fbc02d, #f57f17);
}

/* ================================================== */
/* === OTT SLIDER SECTION (PRIME STYLE) - REVISED === */
/* ================================================== */

.otts-slider {
    margin-left:-10px;
  margin-top:-60px;
  padding: 10px 0;
  position: relative;
}

/* NEW Header styling to match your image */

.otts-slider .row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 12px;
}

.otts-slider .row-header h2 {
  margin: 0;
  margin-left: 15px;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-primary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.otts-slider .row-header .view-more {
  color: var(--text-secondary);
  text-decoration: none;
  margin-right: -4px;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.otts-slider .row-header .view-more:hover {
  color: var(--text-primary);
}

/* END NEW Header Styling */

/* Original OTT Slider styles restored */

.otts-slides {

  display: flex;
  align-items: center; /* Vertically center the circles */
  overflow-x: auto;
  gap: 4px; /* Reduced gap for tighter spacing */
  padding: 10px 16px; /* Added padding */
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.otts-slides::-webkit-scrollbar {
  display: none;
}

.otts-slide {
  flex: 0 0 69px; /* Fixed width for consistent circles */
  width: 69px;
  height: 69px; /* Fixed height to create a circle */
  cursor: pointer;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s ease; /* Smoother transition */
  border-radius: 12px; /* Rounded square instead of circle */
  border: 2px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  background-color: #0F0F0F;
  overflow: hidden;
}

.otts-slide:hover {
  transform: scale(1.1) translateY(-2px); /* Lift effect */
  box-shadow: 0 0 15px var(--accent-pink), 0 8px 25px rgba(0, 0, 0, 0.6); /* Enhanced shadow */
  border-color: var(--accent-pink);
}

.otts-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px; /* Slightly less rounded than container for inner border effect */
  display: block;
}

.otts-slide .title {
  display: none;
}

/* End of restored original styles */

/* Desktop Styles for OTT Slider */

@media (min-width: 738px) {
  .otts-slider {
    margin-left: 74px;
    margin-top: 40px;
    width: calc(100% - 74px);
    padding: 20px 0;
  }

  .otts-slides {
    margin-left: 8px;
    padding: 10px 0 10px 0;
    gap: 6px; /* Reduced gap on desktop */
    width: 100%;
  }

  .otts-slide {
    flex: 0 0 calc(8.333% - 5.5px);
    height: 60px;
    border-radius: 12px; /* More rounded for Prime vibe */
  }

  .otts-slider .row-header {
    padding: 0;
    margin-bottom: 10px; /* Tighter on desktop */
  }

  .otts-slider .row-header h2 {
    margin-left: 10px;
    font-size: 20px; /* Smaller on desktop */
    letter-spacing: 0.5px; /* Enhanced spacing */
  }

  /* Restored Next/Prev button CSS */
  .otts-prev,
  .otts-next {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .otts-prev {
    left: 10px;
  }

  .otts-next {
    right: 10px;
  }

  .otts-prev:hover,
  .otts-next:hover {
    background: var(--gradient-main);
    transform: translateY(-50%) scale(1.1);
  }

  .otts-prev::before,
  .otts-next::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-primary);
    border-top: none;
    border-right: none;
  }

  .otts-prev::before {
    transform: rotate(45deg);
  }

  .otts-next::after {
    transform: rotate(-135deg);
  }
}

@media (max-width: 767px) {
  /* Restored Next/Prev button CSS */
  .otts-prev,
  .otts-next {
    display: none;
  }
}

/* ========================================================= */
/* === CONTENT ROW (MOVIE SLIDER) SECTION (PRIME STYLE) - REVISED === */
/* ========================================================= */

.content-row {
    margin-top:-20px;
    margin: 15px 0; /* Reduced vertical margin for tighter layout */
    position: relative;
}

/* NEW Header styling to match your image */
.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 12px;
}

.row-header h2 {
    margin: 0;
    margin-left: -5px;
    font-size: 14px;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.row-header .view-more {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    margin-right: -8px;
    transition: color 0.3s ease;
}

.row-header .view-more:hover {
    color: var(--text-primary);
}
/* END NEW Header Styling */

.content-grid {
    display: flex;
    overflow-x: auto;
    gap: 6px; /* Reduced gap for a tighter feel */
    padding: 0 12px 10px 6px; /* Slider starts 6px from the left */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    margin-left: 0; /* Removed margin-left to rely on padding */
}

.content-grid::-webkit-scrollbar {
    display: none;
}

.content-card {
    flex: 0 0 calc((100% / 3.3) - 4px); /* Adjusted for the new 6px gap */
    max-width: 130px; /* Reduced width to make height smaller */
    height: auto;
    position: relative;
    cursor: pointer;
    border-radius: 6px; /* More rounded for a smarter, modern look */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smoothed transition */
}

.content-card:hover {
    transform: scale(1.08); /* Netflix-like scale hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 23, 68, 0.05); /* Deeper shadow with subtle glow */
    z-index: 5;
}

.content-card img {
    width: 100%;
    border-radius: 8px; /* Increased rounding to match the card */
    display: block;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.2s ease;
    -webkit-user-drag: none;
    user-drag: none;
}

.content-card:hover img {
    transform: scale(1.05); /* Slightly more zoom */
}

/* Play icon overlay remains the same, it's a good effect */
.content-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    z-index: 2;
}

.content-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.content-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%); /* Fine-tuned position */
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 5v14l11-7z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 3;
    pointer-events: none;
}

.content-card:hover::after {
    opacity: 1;
}

.content-card .title {
    font-weight: 500; /* Bolder for smarter look */
    font-size: 10px; /* Adjusted for visibility */
    margin-top: 6px; /* Reduced top margin */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Approximate for ~10 words */
    -webkit-box-orient: vertical;
    line-height: 1.2em;
    max-height: 3.6em;
    color: rgba(173, 216, 230, 0.75); /* Blue-whitish with opacity */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); /* Added subtle shadow for depth */
    letter-spacing: 0.5px;
}

.content-card .description,
.content-card .video-url,
.content-card .posted-by {
    display: none;
}

.trending-badge, .crown-badge {
    position: absolute;
    top: 8px; left: 0;
    background: var(--gradient-main);
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 0 6px 6px 0;
    font-size: 10px; font-weight: 600;
    z-index: 1;
}

.crown-badge {
    left: 8px;
    background: var(--gradient-golden);
    padding: 2px 4px; border-radius: 50%;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
}

@media (min-width: 738px) {
    .content-row {
        margin: 15px 0; /* Reduced margin */
    }

    .content-grid {
        margin-left: 80px;
        gap: 8px; /* Increased gap on desktop for more distance */
        padding: 0 0 10px 0;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        width: 100%;
    }

    .content-grid::-webkit-scrollbar {
        display: none;
    }

    .content-card {
        flex: 0 0 calc(12.5% - 7px);
        max-width: none;
        height: auto;
        border-radius: 16px; /* Enhanced rounded for Prime vibe */
    }

    .row-header {
        padding: 0;
        margin-bottom: 10px; /* Tighter */
    }

    .row-header h2 {
        margin-left: 83px;
        font-size: 20px; /* Smaller on desktop */
        letter-spacing: 0.5px; /* Enhanced spacing */
    }

    .content-card .title {
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Max 2 lines for title */
        -webkit-box-orient: vertical;
        line-height: 1.4em;
        max-height: 2.8em; /* 2 * 1.4em */
        height: auto;
        font-size: 13px; /* Smaller on desktop but still controlled */
        color: rgba(173, 216, 230, 0.75); /* Blue-whitish with opacity */
        margin-top: 8px; /* Adjusted */
        font-weight: 900; /* Bolder */
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); /* Added subtle shadow */
        letter-spacing: 0.5px;
    }

    /* Restored Next/Prev button CSS */
    .row-prev,
    .row-next {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: var(--text-primary);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        transition: background-color 0.3s ease, transform 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .row-prev {
        left: 84px;
    }

    .row-next {
        right: 10px;
    }

    .row-prev:hover,
    .row-next:hover {
        background: var(--gradient-main);
        transform: translateY(-50%) scale(1.1);
    }

    .row-prev::before,
    .row-next::after {
        content: '';
        display: block;
        width: 12px;
        height: 12px;
        border: 2px solid var(--text-primary);
        border-top: none;
        border-right: none;
    }

    .row-prev::before {
        transform: rotate(45deg);
    }

    .row-next::after {
        transform: rotate(-135deg);
    }
}

@media (max-width: 767px) {
    /* Restored Next/Prev button CSS */
    .row-prev,
    .row-next {
        display: none;
    }
}

/* ========================================= */
/* Google Fonts Import (Optional but recommended) */
/* ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ========================================= */
/* CSS Variables for Easy Theming */
/* ========================================= */

:root {
  --nav-background: #181818; /* Dark background for the nav bar */
  --text-active: #ffffff; /* White color for the active/hover item */
  --text-inactive: #8a8a8a; /* Grey color for inactive items */
  --border-color: #2a2a2a; /* Subtle border color */
}

/* ========================================= */
/* === BOTTOM NAVIGATION SECTION - Prime App Style Redesign === */
/* ========================================= */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background-color: var(--nav-background);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  padding: 5px 0;
  font-family: 'Inter', sans-serif; /* Applied a clean font */
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-inactive); /* Default color for inactive items */
  font-size: 11px;
  font-weight: 500;
  flex: 1;
  height: 100%;
  transition: color 0.2s ease-in-out; /* Simple transition for color change */
  gap: 3px;
  /* Removed all previous complex transitions and transforms */
}

.nav-item .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
  /* Removed filters and animations for a cleaner look */
}

/* This will make SVG icons inherit the color from .nav-item */

.nav-item .icon svg {
  width: 100%;
  height: 100%;
}

.nav-item .label {
  letter-spacing: 0.2px;
  /* Removed opacity changes for simplicity */
}

/* Style for the active navigation item */

.nav-item.active {
  color: var(--text-active); /* White color for the active item */
}

/* A simple hover effect for non-touch devices */

@media (hover: hover) {
  .nav-item:not(.active):hover {
    color: var(--text-active);
  }
}

/* Hide the bottom navigation on tablets and desktops */

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

/* Removed all @keyframes as they are no longer needed */

/* ========================================= */
/* === FOOTER SECTION - NEW === */
/* ========================================= */

.app-footer {
  background: #0F0F0F;
  /* --secondary-bg */
  padding: 40px 16px;
  text-align: center;
  margin-top: 40px;
  color: #EAEAEF;
  /* --text-primary */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #EAEAEF;
}

.footer-section p,
.footer-section ul li a {
  font-size: 14px;
  line-height: 1.7;
  color: #A0A0B0;
  /* --text-secondary */
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #8A4FFF;
  /* --accent-primary */
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background-color: #0F0F0F;
  /* --primary-bg */
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background: var(--gradient-main);
  transform: translateY(-3px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: #EAEAEF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: #A0A0B0;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .app-footer {
    padding: 60px 40px;
  }
}

/* ========================================= */
/* === FULLSCREEN OVERLAY & OTHER SECTIONS - User Provided === */
/* ========================================= */

/* Netflix-like Movie Poster Overlay Styles */
.fullscreen-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.98);
z-index: 9999;
display: none;
opacity: 0;
transform: scale(0.95);
transition: opacity 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6), transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
overflow-y: auto;
flex-direction: column;
padding-bottom: 20px;
}
.fullscreen-overlay.active {
display: flex;
opacity: 1;
transform: scale(1);
}
/* Top Poster Section - Netflix Style */
.overlay-player {
position: relative;
width: 100%;
aspect-ratio: 2 / 3;
overflow: hidden;
display: flex;
align-items: flex-start;
border-radius: 16px;
}
#overlayImage {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover; /* Changed to cover to zoom and fill completely */
border-radius: 16px;
z-index: 1;
}
.overlay-player video,
.overlay-player iframe {
position: relative;
width: 100%;
height: 100%;
border: none;
display: block;
z-index: 2;
border-radius: 16px; /* No radius for full-width */
}
.overlay-player::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%); /* Reduced black opacity for Netflix-like subtlety */
z-index: 3;
border-radius: 16px;
}
/* Reduced vignette effect for less darkness in corners */
.overlay-player::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 20% 20%, transparent 40%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.3) 80%),
radial-gradient(circle at 80% 20%, transparent 40%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.3) 80%),
radial-gradient(circle at 20% 80%, transparent 40%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.3) 80%),
radial-gradient(circle at 80% 80%, transparent 40%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.3) 80%);
z-index: 4;
border-radius: 16px;
pointer-events: none;
}
.close-btn {
position: absolute;
top: 12px;
right: 12px;
background: var(--glass-bg);
backdrop-filter: var(--glass-blur);
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--text-primary);
width: 40px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
cursor: pointer;
z-index: 201;
transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
padding: 0;
}
.close-btn .icon {
width: 24px;
height: 24px;
}
.close-btn:hover {
transform: rotate(180deg) scale(1.1);
color: var(--accent-red);
background-color: rgba(255, 23, 68, 0.2);
}
.overlay-content-box {
max-width: 900px;
margin: 20px auto;
padding: 15px;
backdrop-filter: var(--glass-blur);
background: var(--glass-bg);
border: 1px solid rgba(255, 23, 68, 0.3);
border-radius: 12px;
z-index: 4; /* Above bg */
position: relative;
}
.overlay-title {
font-size: 24px;
font-weight: 800;
margin: 0 0 8px;
letter-spacing: 0.5px;
color: var(--text-primary);
}
.overlay-meta {
font-size: 0px;
color: var(--text-secondary);
margin-bottom: 8px;
}
.overlay-description {
font-size: 15px;
line-height: 1.4;
margin-bottom: 0;
max-height: 150px;
overflow-y: auto;
}
.overlay-action-buttons {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 15px auto;
padding: 0;
max-width: 900px;
box-sizing: border-box;
transform: scale(1.03);
}
.overlay-action-buttons button {
background: var(--gradient-main);
border: 1px solid rgba(255, 23, 68, 0.3);
color: var(--text-primary);
border-radius: 25px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), box-shadow 0.3s ease, filter 0.3s ease;
flex-shrink: 1;
}
.overlay-action-buttons .play-pause-btn {
padding: 10px 16px;
font-size: clamp(13px, 2vw, 14px);
font-weight: 600;
gap: 6px;
height: 40px;
min-width: 110px;
margin-bottom: 6px;
width: 100%;
margin: 0 auto 6px;
}
.overlay-action-buttons .download-btn,
.overlay-action-buttons .share-btn,
.overlay-action-buttons .embed-btn {
flex: 1 1 calc(33.33% - 4px);
padding: 10px;
height: 40px;
min-width: 40px;
max-width: calc(33.33% - 4px);
}
.overlay-action-buttons .play-pause-btn .icon {
width: 16px;
height: 16px;
}
.overlay-action-buttons .download-btn .icon,
.overlay-action-buttons .share-btn .icon,
.overlay-action-buttons .embed-btn .icon {
width: 16px;
height: 16px;
}
.overlay-action-buttons .download-btn span,
.overlay-action-buttons .share-btn span,
.overlay-action-buttons .embed-btn span {
display: none;
}
.overlay-action-buttons button:hover {
transform: scale(1.03) translateY(-1px);
filter: brightness(1.1);
}
.overlay-social-footer {
width: 90%;
backdrop-filter: var(--glass-blur);
background: var(--glass-bg);
border: 1px solid rgba(255, 23, 68, 0.3);
border-radius: 12px;
max-width: 900px;
margin: 15px auto;
padding: 12px;
text-align: center;
}
.social-text-links {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
font-size: 11px;
color: var(--text-secondary);
}
.social-text-links a {
color: var(--text-secondary);
text-decoration: none;
transition: color 0.3s ease, text-shadow 0.3s ease;
}
.social-text-links a:hover {
color: var(--accent-red);
}
.social-text-links span {
color: var(--text-secondary);
}
@media (min-width: 738px) {
.fullscreen-overlay.active {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto auto;
gap: 20px;
padding: 20px;
align-items: start;
}
.overlay-player {
grid-column: 1;
grid-row: 1 / 4;
width: 100%;
height: 700px; /* Fixed height for PC */
aspect-ratio: unset; /* Override for fixed height */
flex-shrink: 0;
border-radius: 16px;
overflow: hidden;
margin: 0;
}
#overlayImage {
border-radius: 16px;
}
.overlay-player::before,
.overlay-player::after {
border-radius: 16px;
}
.overlay-action-buttons {
grid-column: 2;
grid-row: 1;
width: 100%;
max-width: none;
margin: 0;
flex-wrap: wrap;
justify-content: stretch;
gap: 6px;
}
.overlay-action-buttons .play-pause-btn {
flex: 1 1 100%; /* Stretch play button full width */
margin-bottom: 6px;
width: 99%;
margin: 0 auto 6px;
}
.overlay-action-buttons .download-btn,
.overlay-action-buttons .share-btn,
.overlay-action-buttons .embed-btn {
flex: 1 1 calc(33.33% - 4px); /* Stretch other buttons evenly */
}
.overlay-content-box {
grid-column: 2;
grid-row: 2;
width: 100%;
max-width: none;
margin: 0;
max-height: none;
overflow-y: auto;
border-radius: 12px;
padding: 20px;
}
.overlay-social-footer {
grid-column: 2;
grid-row: 3;
width: 100%;
max-width: none;
margin: 0;
border-radius: 12px;
}
.overlay-title {
font-size: 28px;
}
.overlay-description {
font-size: 16px;
}
}
@media (max-width: 737px) {
.overlay-player {
aspect-ratio: 2 / 3;
max-height: 60vh;
border-radius: 16px;
}
#overlayImage {
object-fit: cover;
border-radius: 16px;
}
.overlay-player::before,
.overlay-player::after {
border-radius: 16px;
}
.overlay-action-buttons {
flex-direction: row;
flex-wrap: wrap;
width: 95vw;
max-width: 95vw;
margin: 15px auto;
padding: 0;
gap: 6px;
justify-content: center;
align-items: center;
}
.overlay-action-buttons .play-pause-btn {
flex: 0 0 100%;
width: 100%;
max-width: 100%;
margin-bottom: 6px;
}
.overlay-action-buttons .download-btn,
.overlay-action-buttons .share-btn,
.overlay-action-buttons .embed-btn {
flex: 1 1 calc(33.33% - 4px);
width: auto;
max-width: none;
min-width: 0;
}
}
.share-box-container,
.embed-box-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.95);
z-index: 10000;
display: none;
align-items: center;
justify-content: center;
}
.share-box-container.active,
.embed-box-container.active {
display: flex;
}
.share-box,
.embed-box {
background: var(--glass-bg);
backdrop-filter: var(--glass-blur);
border-radius: 12px;
padding: 15px;
width: 90%;
max-width: 500px;
margin: 0 15px;
border: 1px solid rgba(255, 23, 68, 0.3);
animation: fadeIn 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
position: relative;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.box-close-btn {
position: fixed;
top: 12px;
right: 12px;
background: var(--glass-bg);
backdrop-filter: var(--glass-blur);
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--text-primary);
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
cursor: pointer;
z-index: 10001;
transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
padding: 0;
}
.box-close-btn .icon {
width: 22px;
height: 22px;
}
.box-close-btn:hover {
transform: rotate(90deg) scale(1.1);
color: var(--accent-red);
background-color: rgba(255, 23, 68, 0.2);
}
.input-container {
position: relative;
width: 100%;
}
.share-box input,
.embed-box textarea {
width: 100%;
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 10px;
color: var(--text-primary);
font-size: 13px;
margin-bottom: 12px;
box-sizing: border-box;
height: 90px;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.embed-box textarea {
height: 90px;
resize: vertical;
}
.share-box input:focus,
.embed-box textarea:focus {
border-color: var(--accent-red);
}
.copy-btn {
background: var(--gradient-main);
border: none;
cursor: pointer;
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
padding: 5px;
border-radius: 5px;
}
.copy-btn .icon {
width: 18px;
height: 18px;
stroke: #FFFFFF;
}
.social-share-buttons {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: 12px;
}
.social-share-buttons a {
background-color: var(--glass-bg);
backdrop-filter: var(--glass-blur);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 8px;
border-radius: 12px;
transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), box-shadow 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.social-share-buttons .icon {
width: 24px;
height: 24px;
}
.social-share-buttons a:hover {
transform: scale(1.1) translateY(-2px);
}

@media (min-width: 738px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 45px; /* Adjusted to match header height */
    bottom: 0;
    width: 65px; /* Slightly wider for better spacing */
    background: var(--header-bg);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Increased gap */
    padding: 25px 0;
    z-index: 99;
  }

  .sidebar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary); /* Softer color */
    font-size: 11px;
    font-weight: 600;
    gap: 6px;
    transition: all 0.2s ease;
    width: 100%;
    padding: 10px 0;
    position: relative;
  }

  .sidebar .nav-item.active,
  .sidebar .nav-item:hover {
    color: var(--text-primary);
    transform: scale(1.05);
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.1), transparent);
  }

  .sidebar .nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-pink);
    border-radius: 0 4px 4px 0;
  }

  .sidebar .icon {
    width: 26px;
    height: 26px;
    transition: filter 0.3s ease;
    filter: brightness(1.2);
  }
}

@media (max-width: 767px) {
  .sidebar {
    display: none;
  }
}

@media (min-width: 738px) {
  body {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 45px; /* Adjusted to match header height */
  }

  .content-card .title {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 65px; /* Adjusted for mobile header height */
  }

  .app-header {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 0 0 0px 0px;
  }

  .mobile-nav {
    background: transparent;
    border-radius: 0;
  }

  /* Top 10 Specific Styles (Keeping as is, they are well-styled) */

  .top10-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 10px;
  }

  .top10-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
  }

  .top10-view-more {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
  }

  .top10-grid {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 0 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .top10-grid::-webkit-scrollbar {
    display: none;
  }

  .top10-card {
    flex: 0 0 45%;
    position: relative;
  }

  .top10-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 8px;
    border: none;
  }

  .top10-card .title {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: none;
  }
}

/* Redirect Modal Styles - Netflix-like Blurry Black BG */
#redirectModal {
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Black-ish bg */
  backdrop-filter: blur(10px); /* Blurry bg */
  display: flex;
  align-items: center;
  justify-content: center;
}

#redirectModal .modal-content {
  background-color: rgba(26, 26, 26, 0.95); /* Semi-transparent black */
  margin: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 400px;
  text-align: center;
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#redirectModal p {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.4;
}

#redirectModal button {
  margin: 10px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 100px;
}

#redirectModal #continueBtn {
  background: var(--gradient-main); /* Red-pink gradient */
  color: white;
  box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
}

#redirectModal #continueBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 23, 68, 0.4);
}

#redirectModal #cancelBtn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#redirectModal #cancelBtn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}