/* Footer Styles - Desktop (PC) */

.app-footer {
  background: var(--gradient-secondary);
  padding: 25px 15px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Removed box-shadow: var(--glow-shadow); */
  margin-top: 40px;
  /* Space from bottom nav */
  color: #ffffff;
  /* White text */
  font-family: 'Josefin Sans', sans-serif;
}

.app-footer a {
  padding: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  /* White for headings */
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  /* White text */
}

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

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

.footer-section ul li a {
  color: #ffffff;
  /* White links */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ff6b35;
  /* Keep hover color for accent */
}

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

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #333;
  /* Dark background for icons */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  /* White icons */
}

.social-icons a:hover {
  background-color: #ff6b35;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 12px;
  color: #ffffff;
  /* White copyright text */
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: var(--accent-red);
  /* Removed text-shadow: 0 0 5px var(--accent-pink); */
}

.footer-links a::after {
  /* Premium underline effect */
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .app-footer {
    padding: 30px 15px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-section p,
  .footer-section ul li a {
    font-size: 13px;
  }

  .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
  }

  .social-icons svg {
    width: 18px;
    height: 18px;
  }

  .footer-bottom {
    padding-top: 15px;
  }

  .footer-copyright {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .app-footer {
    padding: 20px 10px 10px;
  }

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

/* General Styles */
:root {
  --primary-bg: #000000;
  --secondary-bg: #2A2D4A;
  --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.08);
  --glass-blur: blur(10px);
  /* Removed --glow-shadow */
  /* Enhanced glow for premium feel */
  --header-bg: #181818;
  /* Adjusted for DeeptoPlay like dark with red-pink accents */
  /* Dynamic ambient color variable - updated via JS */
  --ambient-bg: #000000;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Josefin Sans', sans-serif;
  background-color: var(--ambient-bg);
  /* Dynamic black base with ambient tint */
  /* Changed to black for main bg in both PC and mobile */
  color: var(--text-primary);
  padding-bottom: 80px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  /* For premium overlay effects */
}

body.overlay-open {
  overflow: hidden;
}

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

/* Slider-Related Styles (Integrated from Tailwind Extraction) */
.infinite-scroll-component {
  overflow: hidden !important;
  /* Hides overflow for seamless sliding */
}

* {
  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 {

  /* For loading/indicator in slider */
  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;
  }
}

/* ========================================= */
/* === HEADER SECTION === */
/* ========================================= */

/* Mobile Header */
.app-header {
  display: flex;
  flex-direction: column;
  padding: 5px 10px;
  background: transparent;
  /* Reverted to transparent like before */
  position: fixed;
  top: 0;
  left: 0px;
  right: 0px;
  z-index: 100;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  /* Smooth premium transition */
  border-radius: 0;
  height: auto;
  /* Removed box-shadow for no shadow around header */
}

.app-header.scrolled {
  background: #1c1c1e;
  backdrop-filter: blur(25px);
  /* Removed box-shadow for no shadow around header */
  transform: translateY(0);
  /* Removed scale(1.02) to prevent zoom */
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  margin-left: 0px;
}

.logo img {
  height: 35px;
  margin-top: 2px;
  width: auto;
  margin-left: -7px;
  /* Removed filter: drop-shadow for no shadow around logo */
}

.desktop-nav {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  right: 2px;
}

.header-right .icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), color 0.3s ease, filter 0.3s ease;
  color: var(--text-primary);
  /* Removed filter: drop-shadow(0 0 3px rgba(233, 30, 99, 0.5)); */
  /* Premium icon glow */
}

.header-right .search-icon {
  width: 26px;
  height: 26px;
  margin-top: 2px;
}

.header-right .icon:hover,
.header-right .search-icon:hover {
  transform: scale(1.05) rotate(5deg);
  /* Enhanced hover with rotation for premium feel */
  color: var(--accent-red);
  /* Removed filter: drop-shadow(0 0 10px var(--accent-pink)); */
}

.vip-button {
  right: 5px;
  background: var(--gradient-golden);
  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, 215, 0, 0.5);
  /* Golden 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: 10px;
  /* 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.3), 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-golden);
}

/* Mobile Scrollable Menu */
.mobile-nav {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 4px 0;
  margin-left: 0px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 6px;
  border-radius: 0;
  background: transparent;
  /* Reverted to transparent like before */
}

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

.mobile-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), text-shadow 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
}

.mobile-nav a:first-child {
  margin-left: 0;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-primary);
  transform: translateY(-1px);
  /* Removed text-shadow: 0 0 5px var(--accent-pink); */
  /* Premium text glow */
}

.mobile-nav a.active::after {
  content: none;
}

/* PC Header */
@media (min-width: 738px) {
  .app-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    padding: 10px 30px;
    flex-direction: row;
    align-items: center;
    height: 50px;
    border-radius: 0;
    background: var(--header-bg);
    /* Set to black (#181818) for PC */
    backdrop-filter: none;
    /* Removed box-shadow for no shadow around header */
  }

  .app-header.scrolled {
    background-color: #1c1c1e;
    backdrop-filter: blur(25px);
    /* Removed box-shadow for no shadow around header */
  }

  .header-top {
    display: contents;
  }

  .logo img {
    height: 27px;
    margin-top: 4px;
    width: auto;
    margin-left: 0px;
    /* Removed filter: drop-shadow for no shadow around logo */
  }

  .logo {
    grid-column: 1 / 2;
    margin-left: 0;
  }

  .header-right {
    grid-column: 3 / 4;
    margin-right: 0;
  }

  .desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    grid-column: 2 / 3;
    margin-left: 1px;
    border-radius: 0;
  }

  .desktop-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 8px 15px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), text-shadow 0.3s ease;
  }

  .desktop-nav a.active,
  .desktop-nav a:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
    /* Removed text-shadow: 0 0 8px var(--accent-red); */
    /* Premium glow on hover */
  }

  .desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
    /* Removed box-shadow: 0 0 10px rgba(233, 30, 99, 0.6); */
  }

  /* Hiding Mobile Elements */
  .mobile-nav {
    display: none;
  }
}

/* ========================================= */
/* === SEARCH BAR SECTION === */
/* ========================================= */

/* Mobile Search Bar */
.search-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  /* Darker for premium contrast on gradient */
  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);
  /* Enhanced entrance */
  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;
  /* Removed box-shadow: var(--glow-shadow); */
}

.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.2);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Josefin Sans', sans-serif;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar input:focus {
  border-color: var(--accent-red);
  /* Removed box-shadow: 0 0 10px rgba(255, 23, 68, 0.4); */
  /* Premium focus glow */
}

.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;
  /* Removed filter: drop-shadow(0 0 3px var(--accent-pink)); */
}

.search-bar .close-icon:hover {
  transform: scale(1.05) rotate(90deg);
  /* Removed filter: drop-shadow(0 0 10px var(--accent-red)); */
}

/* Search Results */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  border-radius: 0;
  /* Removed box-shadow: var(--glow-shadow); */

  @supports not (backdrop-filter: blur(30px)) {
    background-color: rgba(0, 0, 0, 0.85);
  }
}

.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;
  /* Premium rounded items */
}

.search-result-item:hover {
  background-color: rgba(233, 30, 99, 0.15);
  /* Softer premium hover */
  transform: translateX(4px) scale(1.02);
  /* Removed box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3); */
}

.search-result-item img {
  width: 50px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px;
  /* Removed box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); */
  /* Premium image shadow */
  /* Added to prevent long-click/right-click image save/drag */
  -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);
}

/* PC Search Bar (No changes needed, inherits mobile with enhancements) */
@media (min-width: 738px) {
  .search-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    /* Darker for premium contrast on gradient */
    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);
    /* Enhanced entrance */
    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;
    /* Removed box-shadow: var(--glow-shadow); */
  }

  .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.2);
    border-radius: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Josefin Sans', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .search-bar input:focus {
    border-color: var(--accent-red);
    /* Removed box-shadow: 0 0 10px rgba(255, 23, 68, 0.4); */
    /* Premium focus glow */
  }

  .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;
    /* Removed filter: drop-shadow(0 0 3px var(--accent-pink)); */
  }

  .search-bar .close-icon:hover {
    transform: scale(1.05) rotate(90deg);
    /* Removed filter: drop-shadow(0 0 10px var(--accent-red)); */
  }

  /* Search Results */
  .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border-radius: 0;
    /* Removed box-shadow: var(--glow-shadow); */

    @supports not (backdrop-filter: blur(30px)) {
      background-color: rgba(0, 0, 0, 0.85);
    }
  }

  .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;
    /* Premium rounded items */
  }

  .search-result-item:hover {
    background-color: rgba(233, 30, 99, 0.15);
    /* Softer premium hover */
    transform: translateX(4px) scale(1.02);
    /* Removed box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3); */
  }

  .search-result-item img {
    width: 50px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    /* Removed box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); */
    /* Premium image shadow */
    /* Added to prevent long-click/right-click image save/drag */
    -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 === */
/* ========================================= */

/* Hero Banner Swiper Styles */
.hero-banner {
  position: relative;
  top: 25px;
  margin: 0;
  width: 100%;
  overflow: hidden;
  min-height: 40px;
  box-sizing: border-box;
  border-radius: 0 0 25px 25px;
  /* Premium rounded bottom */
  /* Removed box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); */
  /* Premium depth shadow */
}

.hero-banner .swiper-container {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 23px;
}

.hero-banner .swiper-slide {
  background-color: transparent;
  background-position: center;
  background-size: cover;
  /* নতুন উচ্চতা এবং প্রস্থ সেট করা হয়েছে */
  width: 100%;
  height: 280px;
  border: none;
  border-radius: 23px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000000;
  font-size: 2em;
  font-weight: bold;
  position: relative;
  backdrop-filter: blur(10px);
}

.hero-banner .swiper-slide:not(.swiper-slide-active) {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.0));
  padding: 20px;
  color: #000000;
  text-align: center;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px;
  color: #FFFFFF;
  /* Changed to white */
}

.hero-description {
  margin: 0 0 15px;
  font-size: 14px;
  line-height: 1.4;
  color:white;
}

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

.action-btn {
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), background 0.3s ease, box-shadow 0.3s ease;
  /* Enhanced transitions */
  /* Removed box-shadow: var(--glow-shadow); */
  /* Premium buttons */
}

.action-btn:hover {
  transform: scale(1) translateY(-2px);
  /* Lift effect */
  filter: brightness(1.1) saturate(1.2);
}

.action-btn.play {
  flex-grow: 1;
  background: var(--gradient-main);
  color: var(--text-primary);
  padding: 10px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 25px;
  /* Adjusted size for visibility */
  min-width: 80px;
  height: 28px;
}

.action-btn.play:hover {
  background: var(--gradient-secondary);
  /* Removed box-shadow: 0 0 20px rgba(255, 23, 68, 0.5); */
}

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

.action-btn.play span {
  line-height: 1;
}

.action-btn.info {
  background-color: transparent;
  backdrop-filter: var(--glass-blur);
  border: 1px solid white;
  color: var(--text-primary);
  padding: 12px;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  border-radius: 50%;
}

.action-btn.info:hover {
  background: var(--gradient-main);
  border-color: var(--accent-red);
}

.action-btn.info .icon {
  width: 26px;
  height: 26px;
  fill: white;
}

.action-btn.plus {
  background-color: transparent;
  backdrop-filter: var(--glass-blur);
  border: 1px solid white;
  color: var(--text-primary);
  padding: 12px;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  border-radius: 50%;
}

.action-btn.plus:hover {
  background: var(--gradient-main);
  border-color: var(--accent-red);
}

.action-btn.plus .icon {
  width: 26px;
  height: 26px;
  fill: white;
}

.hero-banner .swiper-slide:not(.swiper-slide-active) {
  opacity: 1;
  transform: scale(1) translateX(0%);
}

.hero-banner .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.hero-banner .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 50%;
}

.hero-banner .swiper-pagination-bullet-active {
  width: 20px;
  height: 10px;
  background: white;
  border-radius: 5px;
}

/* PC Hero Banner */
@media (min-width: 738px) {
  .hero-banner {
    top: 2px;
    margin-top: 2px;
    margin-left: 0;
    min-height: 0px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    max-width: 100%;
    margin-right: auto;
    /* Removed box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6); */
    /* Deeper PC shadow */
  }

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

  .hero-banner .swiper-slide {
    width: 65%;
    height: 300px;
    border: none;
    backdrop-filter: blur(2px);
  }

  .hero-banner .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.8;
    transform: scale(1) translateX(0%);
  }

  .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.0));
    padding: 20px;
    color: #000000;
    text-align: center;
  }

  .title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #FFFFFF;
    /* Changed to white */
  }

  .hero-description {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.4;
    color: #000000;
  }

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

  .action-btn {
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), background 0.3s ease, box-shadow 0.3s ease;
    /* Enhanced transitions */
    /* Removed box-shadow: var(--glow-shadow); */
    /* Premium buttons */
  }

  .action-btn:hover {
    transform: scale(1.03) translateY(-2px);
    /* Lift effect */
    filter: brightness(1.1) saturate(1.2);
  }

  .action-btn.play {
    flex-grow: 1;
    background: var(--gradient-main);
    color: var(--text-primary);
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 25px;
    /* Adjusted size for visibility */
    min-width: 120px;
    height: 36px;
  }

  .action-btn.play:hover {
    background: var(--gradient-secondary);
    /* Removed box-shadow: 0 0 20px rgba(255, 23, 68, 0.5); */
  }

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

  .action-btn.play span {
    line-height: 1;
  }

  .action-btn.info {
    background-color: transparent;
    backdrop-filter: var(--glass-blur);
    border: 1px solid white;
    color: var(--text-primary);
    padding: 12px;
    height: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-radius: 50%;
  }

  .action-btn.info:hover {
    background: var(--gradient-main);
    border-color: var(--accent-red);
  }

  .action-btn.info .icon {
    width: 24px;
    height: 24px;
    fill: white;
  }

  .action-btn.plus {
    background-color: transparent;
    backdrop-filter: var(--glass-blur);
    border: 1px solid white;
    color: var(--text-primary);
    padding: 12px;
    height: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-radius: 50%;
  }

  .action-btn.plus:hover {
    background: var(--gradient-main);
    border-color: var(--accent-red);
  }

  .action-btn.plus .icon {
    width: 24px;
    height: 24px;
    fill: white;
  }

  .hero-banner .swiper-slide-active {}

  .hero-banner .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
  }

  .hero-banner .swiper-pagination-bullet-active {
    width: 20px;
    height: 10px;
    background: white;
    border-radius: 5px;
  }
}

/* Mobile Hero Specific */
@media (max-width: 767px) {
  .hero-banner .swiper-slide {
    width: 95%;
    height: 400px;
    border: 0.6px solid white;
    backdrop-filter: blur(0px);
  }
}

/* ========================================= */
/* === CONTENT ROW (MOVIE SLIDER) SECTION === */
/* ========================================= */

/* Mobile Content Row */
.content-row {
  margin: 20px 0;
  position: relative;
}

.row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  /* Adjusted right padding to 10px for view more button */
  margin-bottom: 15px;
}

.row-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 1px;
  /* Removed text-shadow: 0 0 5px var(--accent-pink); */
  /* Premium header glow */
}

.row-header .view-more {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), text-shadow 0.3s ease;
}

.row-header .view-more:hover {
  color: var(--accent-red);
  transform: translateX(5px);
  /* Removed text-shadow: 0 0 8px var(--accent-pink); */
}

.content-grid {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  padding: 0 4px;
  margin-left: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  -webkit-transform: translate3d(0, 0, 0);
}

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

.content-grid>* {
  backface-visibility: hidden;
  transform: translateZ(0);
  flex: 0 0 31%;
  max-width: 180px;
}

.content-card {
  flex: 0 0 31%;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  /* Smoother premium hover, removed box-shadow */
}

.content-card:hover {
  transform: translateY(-5px);
  /* Enhanced lift, no scale */
  /* Removed box-shadow: 0 10px 25px rgba(255, 23, 68, 0.4); */
  /* Premium hover shadow */
}

.content-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
  transition: filter 0.4s ease;
  /* No transform on img */
  border: none;
  /* Ensure no border */
  /* Added to prevent long-click/right-click image save/drag */
  -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;
}

.content-card:hover img {
  filter: blur(2px) brightness(0.8);
  /* No transform: scale */
}

.content-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;

  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  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(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Layer_115' data-name='Layer 115'%3E%3Cpath d='m19.69 9.11-12.89-6.53a3.28 3.28 0 0 0 -3.24 0 a3.32 3.32 0 0 0 -1.44 3v12.98a3.34 3.34 0 0 0 1.44 3 2.79 2.79 0 0 0 1.48.4 3.93 3.93 0 0 0 1.76-.45l12.89-6.51c1.91-1 2.19-2.24 2.19-2.92s-.28-2-2.19-2.97z' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  pointer-events: none;
}

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

.content-card .title {
  font-weight: bold;
  font-size: 12px;
  margin: 5px 0 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;

  height: 20px;
  line-height: 20px;
  color: rgba(173, 216, 230, 0.75);
}

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

.trending-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;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(255, 23, 68, 0.4);
  /* Removed box-shadow: var(--glow-shadow); */
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.trending-badge:hover {
  transform: scale(1.03);
}

/* PC Content Row */
@media (min-width: 738px) {
  .content-card {
    flex: 0 0 calc(16.666% - 12.5px);
    display: flex;
    flex-direction: column;
  }

  .content-card img {
    /* Added to prevent long-click/right-click image save/drag */
    -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;
  }

  .content-grid {
    gap: 15px;
    padding: 0 0px;
    overflow-x: hidden;
    margin-left: 5px;
    align-items: stretch;
  }

  .content-row .row-header {
    padding: 0 10px 0 0px;
    /* Adjusted right padding to 10px for view more button */
  }

  .row-header h2 {
    font-size: 22px;
    font-weight: 900;
    /* Removed text-shadow: 0 0 8px var(--accent-red); */
  }

  .content-card:hover {
    /* Removed box-shadow: 0 15px 35px rgba(255, 23, 68, 0.5); */
  }

  .content-card .title {
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.2em;
    max-height: 3.6em;
    height: auto;
    color: rgba(173, 216, 230, 0.75);
  }

  /* Row Slider Arrows like Netflix */
  .row-prev,
  .row-next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    /* Darker for premium */
    color: white;
    border: none;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
    /* Removed box-shadow: var(--glow-shadow); */
  }

  .row-prev {
    left: 10px;
  }

  .row-next {
    right: 10px;
  }

  .row-prev:hover,
  .row-next:hover {
    background-color: rgba(255, 23, 68, 0.8);
    transform: translateY(-50%) scale(1.1);
    /* Removed box-shadow: 0 0 20px var(--accent-pink); */
  }

  .content-row {
    margin-left: 74px;
  }
}

/* Mobile Content Specific */
@media (max-width: 767px) {
  .content-card {
    flex: 0 0 31%;
  }

  .content-card img {
    aspect-ratio: 3 / 4;
    /* Added to prevent long-click/right-click image save/drag */
    -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;
  }

  .content-card .title {
    height: 20px;
    line-height: 20px;
  }

  .row-prev,
  .row-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 0px;
    width: 0px;
    height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 50%;
  }
}

/* ========================================= */
/* === LIVE TV SLIDER SECTION === */
/* ========================================= */

/* Mobile Live TV Slider */
.live-tv-slider {
  margin: 3px 0;

  position: relative;
  background: transparent;
  /* No bg as per request */
}

.live-tv-slides {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  padding: 0 4px;
  margin-left: 3px;
  /* Moved a bit to the right */
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  -webkit-transform: translate3d(0, 0, 0);
}

.live-tv-slides::-webkit-scrollbar {
  display: none;
}

.live-tv-slides>* {
  backface-visibility: hidden;
  transform: translateZ(0);
  flex: 0 0 calc(20% - 8px);
  max-width: 180px;
}

.live-tv-slide {
  flex: 0 0 calc(20% - 8px);
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  /* Premium transition, removed box-shadow */
}

.live-tv-slide:hover {

  /* Slight lift, no scale or rotate */
  /* Removed box-shadow: 0 5px 20px rgba(255, 23, 68, 0.4); */
}

.live-tv-slide img {
  width: min(70px, 100%);
  height: min(70px, 100%);
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(0.9) contrast(1.1);
  /* Removed box-shadow: var(--glow-shadow); */
  transition: filter 0.3s ease;
  border: none;
  /* Ensure no border */
  /* Added to prevent long-click/right-click image save/drag */
  -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;
}

.live-tv-slide:hover img {
  filter: blur(2px) brightness(0.8);
  /* No transform: scale */
}

.live-tv-slide::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;

  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  opacity: 0;
  z-index: 2;
}

.live-tv-slide:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.live-tv-slide::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Layer_115' data-name='Layer 115'%3E%3Cpath d='m19.69 9.11-12.89-6.53a3.28 3.28 0 0 0 -3.24 0 a3.32 3.32 0 0 0 -1.44 3v12.98a3.34 3.34 0 0 0 1.44 3 2.79 2.79 0 0 0 1.48.4 3.93 3.93 0 0 0 1.76-.45l12.89-6.51c1.91-1 2.19-2.24 2.19-2.92s-.28-2-2.19-2.97z' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.live-tv-slide:hover::after {
  opacity: 1;
}

.live-tv-slide .title {
  display: none;
}

.live-tv-slider .row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 7px;
  /* Adjusted right padding to 10px for view more button */
  margin-bottom: 15px;
}

/* PC Live TV Slider */
@media (min-width: 738px) {
  .live-tv-slides {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .live-tv-slides>* {
    flex: 0 0 7%;
  }

  .live-tv-slide {
    flex: 0 0 calc(7% - 8px);
  }

  .live-tv-slide img {
    /* Added to prevent long-click/right-click image save/drag */
    -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;
  }

  .live-tv-slides {
    margin-left: 4px;
    /* Moved a bit more to the right */
  }

  .live-tv-slider {

    margin-left: 70px;
  }

  .row-header {

    /* Adjusted right padding to 10px for view more button */
  }

  /* Live TV Arrows */
  .live-prev,
  .live-next {
    position: absolute;
    top: 68%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    font-size: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
    /* Removed box-shadow: var(--glow-shadow); */
  }

  .live-prev {
    left: 20px;
  }

  .live-next {
    right: 10px;
  }

  .live-prev:hover,
  .live-next:hover {
    background-color: rgba(255, 23, 68, 0.8);
    transform: translateY(-50%) scale(1.1);
    /* Removed box-shadow: 0 0 15px var(--accent-red); */
  }
}

/* Mobile Live TV Specific */
@media (max-width: 767px) {
  .live-tv-slide {
    flex: 0 0 calc(20% - 8px);
    /* Fixed to ensure exactly 5 items fit, accounting for 4 gaps of 10px (40px total, 8px deduction per item) */
  }

  .live-tv-slides>* {
    flex: 0 0 calc(20% - 8px);
    /* Same fix for children */
  }

  .live-tv-slide img {
    width: min(70px, 100%);
    height: min(70px, 100%);
    /* Added to prevent long-click/right-click image save/drag */
    -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;
  }

  .live-prev,
  .live-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 0px;
    width: 0px;
    height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 50%;
  }
}

/* ========================================= */
/* === BOTTOM NAVIGATION SECTION === */
/* ========================================= */

/* Mobile Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background-color:
    #1c1c1e;
  backdrop-filter: blur(25px);
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  border-radius: 0px 0px 0 0;
  /* Premium rounded top */
  box-shadow: 0 -2px 8px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.2);
  /* Added white blur shadow */
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 10px;
  gap: 5px;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), filter 0.3s ease;
  flex: 1;
  text-align: center;
}

.nav-item .icon {
  width: 28px;
  height: 28px;
  /* Removed filter: drop-shadow(0 0 2px rgba(233, 30, 99, 0.5)); */
}

.nav-item.active {
  color: var(--accent-red);
}

.nav-item:hover {
  color: var(--accent-pink);
  transform: translateY(-2px) scale(1.05);
  /* Removed filter: drop-shadow(0 0 8px var(--accent-red)); */
}

/* PC Bottom Nav */
@media (min-width: 738px) {
  .bottom-nav {
    display: none;
  }
}

/* ========================================= */
/* === FOOTER SECTION === */
/* ========================================= */

/* Mobile & PC Footer (Shared, premium enhancements) */

/* ========================================= */
/* === FULLSCREEN OVERLAY SECTION === */
/* ========================================= */

/* Mobile Fullscreen Overlay */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 200;
  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);
}

.overlay-player {
  top: 3px;
  position: relative;
  height: 230px;
  width: 99vw;
  aspect-ratio: 16 / 9;
}

.overlay-player video,
.overlay-player iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border: 1px solid rgba(255, 23, 68, 0.4);
  /* Red accent border */
  border-radius: 30px;
  /* Removed box-shadow: var(--glow-shadow); */
  transition: box-shadow 0.3s ease;
}

.overlay-player video:hover,
.overlay-player iframe:hover {
  /* Removed box-shadow: 0 0 30px rgba(255, 23, 68, 0.6); */
}

.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.2);
  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;
  /* Removed box-shadow: var(--glow-shadow); */
}

.close-btn .icon {
  width: 24px;
  height: 24px;
}

.close-btn:hover {
  transform: rotate(180deg) scale(1.1);
  /* Enhanced rotation */
  color: var(--accent-red);
  background-color: rgba(255, 23, 68, 0.3);
  /* Removed box-shadow: 0 0 15px var(--accent-pink); */
}

.overlay-content-box {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  backdrop-filter: var(--glass-blur);
  background: var(--glass-bg);
  border: 1px solid rgba(255, 23, 68, 0.4);
  border-radius: 30px;
  /* Removed box-shadow: var(--glow-shadow); */
}

.overlay-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 0.5px;
  /* Removed text-shadow: 0 0 10px var(--accent-red); */
}

.overlay-meta {
  font-size: 0px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.overlay-description {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 0;
  max-height: 200px;
  overflow-y: auto;
}

.overlay-action-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 20px auto;
  padding: 0;
  max-width: 900px;
  box-sizing: border-box;
  transform: scale(1.03);
  /* Subtle premium scale */
}

.overlay-action-buttons button {
  background: var(--gradient-main);
  border: 1px solid rgba(255, 23, 68, 0.4);
  color: var(--text-primary);
  border-radius: 12px;
  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;
  /* Removed box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
  flex-shrink: 1;
}

.overlay-action-buttons .play-pause-btn {
  flex: 2.5;
  padding: 12px 20px;
  font-size: clamp(13px, 2vw, 14px);
  font-weight: 600;
  gap: 8px;
  height: 44px;
  min-width: 110px;
}

.overlay-action-buttons .download-btn,
.overlay-action-buttons .share-btn,
.overlay-action-buttons .embed-btn {
  flex: 0.6;
  padding: 12px;
  height: 44px;
  width: 44px;
  min-width: 44px;
}

.overlay-action-buttons .play-pause-btn .icon {
  width: 18px;
  height: 18px;
}

.overlay-action-buttons .download-btn .icon,
.overlay-action-buttons .share-btn .icon,
.overlay-action-buttons .embed-btn .icon {
  width: 18px;
  height: 18px;
}

.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);
  /* Removed box-shadow: 0 6px 16px rgba(255, 23, 68, 0.4); */
  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.4);
  border-radius: 30px;
  /* Removed box-shadow: var(--glow-shadow); */
  max-width: 900px;
  margin: 20px auto;
  padding: 15px;
  text-align: center;
}

.social-text-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  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);
  /* Removed text-shadow: 0 0 5px var(--accent-pink); */
}

.social-text-links span {
  color: var(--text-secondary);
}

/* PC Fullscreen Overlay */
@media (min-width: 738px) {
  .overlay-player {
    height: 100%;
    aspect-ratio: 21 / 9;
  }

  .overlay-title {
    font-size: 32px;
  }

  .overlay-description {
    font-size: 18px;
  }
}

/* Mobile Overlay Specific */
@media (max-width: 767px) {
  .overlay-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 96%;
    padding: 0;
    margin: 20px auto;
  }

  .overlay-action-buttons .play-pause-btn {
    flex: 1 1 100%;
    padding: 8px 14px;
    font-size: clamp(11px, 1.6vw, 12px);
    height: 36px;
  }

  .overlay-action-buttons .download-btn,
  .overlay-action-buttons .share-btn,
  .overlay-action-buttons .embed-btn {
    flex: 1;
    padding: 8px;
    height: 36px;
  }

  .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;
  }
}

/* ========================================= */
/* === SHARE/EMBED BOX SECTION === */
/* ========================================= */

/* Mobile & PC Share Box (Shared premium) */
.share-box-container,
.embed-box-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  /* Darker overlay */
  z-index: 300;
  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: 16px;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  margin: 0 15px;
  /* Removed box-shadow: var(--glow-shadow); */
  border: 1px solid rgba(255, 23, 68, 0.4);
  animation: fadeIn 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  /* Smoother animation */
  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.2);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 301;
  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;
  /* Removed box-shadow: var(--glow-shadow); */
}

.box-close-btn .icon {
  width: 24px;
  height: 24px;
}

.box-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  color: var(--accent-red);
  background-color: rgba(255, 23, 68, 0.3);
  /* Removed box-shadow: 0 0 15px var(--accent-pink); */
}

.input-container {
  position: relative;
  width: 100%;
}

.share-box input,
.embed-box textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 15px;
  box-sizing: border-box;
  height: 100px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.embed-box textarea {
  height: 100px;
  resize: vertical;
}

.share-box input:focus,
.embed-box textarea:focus {
  border-color: var(--accent-red);
  /* Removed box-shadow: 0 0 10px rgba(255, 23, 68, 0.4); */
}

.copy-btn {
  background: var(--gradient-main);
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 6px;
  border-radius: 6px;
  /* Removed box-shadow: var(--glow-shadow); */
}

.copy-btn .icon {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
}

.copy-btn:hover .icon {
  transform: scale(1.05);
  /* Removed filter: drop-shadow(0 0 5px white); */
}

.social-share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-share-buttons a {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 16px;
  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;
  /* Removed box-shadow: var(--glow-shadow); */
}

.social-share-buttons .icon {
  width: 28px;
  height: 28px;
}

.social-share-buttons a:hover {
  transform: scale(1.1) translateY(-2px);
  /* Removed box-shadow: 0 5px 15px rgba(255, 23, 68, 0.4); */
}

/* ========================================= */
/* === SIDEBAR SECTION (PC ONLY) === */
/* ========================================= */
@media (min-width: 738px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    bottom: 0;
    width: 67px;
    background: var(--header-bg);
    /* Set to black (#181818) for PC sidebar */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    z-index: 99;
    /* Removed box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2); */

    overflow: hidden;
  }

  .sidebar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 12px;
    gap: 4px;
    transition: color 0.3s, transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), filter 0.3s ease;
  }

  .sidebar .nav-item:hover {
    color: var(--accent-red);
    transform: scale(1.1);
    /* Removed filter: drop-shadow(0 0 8px var(--accent-pink)); */
  }

  .sidebar .icon {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease;
  }

  .sidebar .nav-item:hover .icon {
    /* Removed filter: drop-shadow(0 0 5px white); */
  }
}

/* Mobile Sidebar (Hidden/Zero) */
@media (max-width: 767px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0px;
    bottom: 0;
    width: 0px;
    background: linear-gradient(180deg, var(--accent-red), var(--accent-pink));
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding: 0px 0;
    z-index: 0;
    /* Removed box-shadow: 0px 0 0px rgba(0, 0, 0, 0.1); */
    border-radius: 0px;
    overflow: hidden;
  }
}

/* ========================================= */
/* === BODY MEDIA QUERIES (GLOBAL) === */
/* ========================================= */
@media (min-width: 738px) {
  body {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 60px;
  }

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

@media (max-width: 767px) {
  body {
    padding-top: 0;
  }

  .app-header {
    background: transparent;
    /* Ensure transparent */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .mobile-nav {
    background: transparent;
    /* Ensure transparent */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
}