/* =========================================================
   QUANTORY — Premium OTT Streaming Website
   Brand Colors: #FF2D78 → #9B2FC9 → #2BC0C5
   ========================================================= */

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

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --q-pink:    #FF2D78;
  --q-purple:  #9B2FC9;
  --q-cyan:    #2BC0C5;
  --q-gradient: linear-gradient(135deg, #FF2D78 0%, #9B2FC9 50%, #2BC0C5 100%);
  --q-gradient-btn: linear-gradient(90deg, #FF2D78, #9B2FC9);
  --q-bg:      #000000;
  --q-bg2:     #0a0a0a;
  --q-card:    #111111;
  --q-card2:   #1a1a1a;
  --q-border:  rgba(155,47,201,0.3);
  --q-text:    #ffffff;
  --q-muted:   rgba(255,255,255,0.6);
  --q-radius:  12px;
  --q-shadow:  0 8px 32px rgba(255,45,120,0.15);
  --q-glow:    0 0 30px rgba(155,47,201,0.4);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--q-bg);
  color: var(--q-text);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
}
body.menu-open { overflow: hidden !important; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--q-bg2); }
::-webkit-scrollbar-thumb { background: var(--q-gradient); border-radius: 10px; }

/* =========================================================
   NAVBAR
   ========================================================= */
.q-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, transparent 100%);
  backdrop-filter: blur(0px);
  transition: all 0.4s ease;
}
.q-navbar.scrolled {
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--q-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* Logo */
.q-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.q-logo-icon {
  width: 38px; height: 38px;
  background: var(--q-gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255,45,120,0.4);
  flex-shrink: 0;
}
.q-logo-text {
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links */
.q-nav-links { display: flex; gap: 8px; align-items: center; }
.q-nav-links .nav-link {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}
.q-nav-links .nav-link:hover,
.q-nav-links .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.q-nav-links .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--q-gradient);
  border-radius: 2px;
}

/* Download Button */
.btn-q-primary {
  background: var(--q-gradient-btn);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(255,45,120,0.4);
}
.btn-q-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,45,120,0.6);
  color: #fff !important;
}
.btn-q-primary:active { transform: translateY(0); }

.btn-q-outline {
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.btn-q-outline:hover {
  border-color: var(--q-pink);
  color: var(--q-pink) !important;
  background: rgba(255,45,120,0.08);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.navbar-toggler {
  border: 1.5px solid var(--q-border);
  border-radius: 8px;
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================================================
   HERO SECTION — Swiper Carousel
   ========================================================= */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-swiper { height: 100%; }

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 6s ease;
}
.swiper-slide-active .hero-bg { transform: scale(1); }

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, transparent 100%),
              linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,45,120,0.15);
  border: 1px solid rgba(255,45,120,0.4);
  color: var(--q-pink);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--q-pink);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title .highlight {
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}
.hero-tag.genre {
  background: rgba(155,47,201,0.2);
  border-color: rgba(155,47,201,0.5);
  color: #c87fec;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-poster-wrap {
  position: relative;
  display: inline-block;
}
.hero-poster {
  width: 240px;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(155,47,201,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-poster-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(155,47,201,0.25) 0%, transparent 70%);
  border-radius: 20px;
  pointer-events: none;
}

/* Hero Pagination */
.hero-pagination {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  align-items: center;
}
.hero-dot {
  width: 24px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.hero-dot.active {
  width: 40px;
  background: var(--q-gradient);
}

/* Swiper Navigation */
.hero-nav-btn {
  position: absolute;
  bottom: 40px;
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.hero-nav-btn:hover {
  background: var(--q-gradient-btn);
  border-color: transparent;
  transform: scale(1.1);
}
.hero-nav-prev { right: 100px; }
.hero-nav-next { right: 48px; }

/* =========================================================
   SECTION COMMON
   ========================================================= */
.q-section { padding: 60px 0; }

.q-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.q-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.q-section-title .title-bar {
  width: 4px; height: 26px;
  background: var(--q-gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

.q-view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--q-pink);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}
.q-view-all:hover {
  color: var(--q-purple);
  gap: 8px;
}
.q-view-all:hover { color: var(--q-purple); }

/* =========================================================
   SHOW CARDS
   ========================================================= */
.shows-swiper { padding-bottom: 20px !important; }

.show-card {
  position: relative;
  border-radius: var(--q-radius);
  overflow: hidden;
  background: var(--q-card);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.show-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--q-border);
  box-shadow: 0 20px 50px rgba(155,47,201,0.3), 0 0 0 1px rgba(155,47,201,0.2);
}

.show-card-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}
.show-card-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.show-card:hover .show-card-poster img { transform: scale(1.08); }

.show-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.show-card:hover .show-card-overlay { opacity: 1; }

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 52px; height: 52px;
  background: var(--q-gradient-btn);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,45,120,0.5);
  opacity: 0;
  transition: all 0.3s ease;
  text-decoration: none;
}
.show-card:hover .play-btn-circle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.play-btn-circle svg { fill: white; width: 18px; height: 18px; margin-left: 3px; }

.rank-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--q-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.new-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: linear-gradient(135deg, #FF2D78, #FF6B35);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.show-card-info {
  padding: 14px;
}
.show-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.show-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--q-muted);
}
.show-card-genre {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(155,47,201,0.15);
  color: #c87fec;
  border: 1px solid rgba(155,47,201,0.3);
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */
.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 36px 24px;
  cursor: pointer;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.06);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
  opacity: 0.85;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.cat-fantasy::before    { background: linear-gradient(135deg, #1a0533 0%, #5c1a8f 100%); }
.cat-fiction::before    { background: linear-gradient(135deg, #001a2e 0%, #0a5a8a 100%); }
.cat-nonfiction::before { background: linear-gradient(135deg, #0d1f0d 0%, #1a5c1a 100%); }
.cat-thriller::before   { background: linear-gradient(135deg, #1f0000 0%, #5c0000 100%); }
.cat-romance::before    { background: linear-gradient(135deg, #200010 0%, #7a0040 100%); }

.category-card-icon {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 2.5rem;
  opacity: 0.35;
  transition: all 0.4s ease;
}
.category-card:hover .category-card-icon {
  opacity: 0.6;
  transform: scale(1.1) rotate(-5deg);
}
.category-card-content { position: relative; z-index: 1; }
.category-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.category-card-count {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.category-card-arrow {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}
.category-card:hover .category-card-arrow {
  background: var(--q-gradient-btn);
  transform: translateX(4px);
}

/* =========================================================
   DOWNLOAD APP SECTION
   ========================================================= */
.download-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--q-bg2);
  border-top: 1px solid var(--q-border);
  border-bottom: 1px solid var(--q-border);
}
.download-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,45,120,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.download-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(43,192,197,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.download-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,45,120,0.12);
  border: 1px solid rgba(255,45,120,0.35);
  color: var(--q-pink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.download-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.download-title .brand {
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-desc {
  font-size: 1rem;
  color: var(--q-muted);
  margin-bottom: 28px;
  max-width: 420px;
  line-height: 1.7;
}

.feature-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
}

.download-stats { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.dl-stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dl-stat-label {
  font-size: 0.78rem;
  color: var(--q-muted);
  margin-top: 2px;
}

/* Phone Mockup */
.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 260px;
  background: #0d0d0d;
  border-radius: 40px;
  padding: 12px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(155,47,201,0.2);
  position: relative;
  z-index: 1;
}
.phone-screen {
  background: var(--q-bg2);
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/19;
  position: relative;
}
.phone-screen-header {
  background: var(--q-gradient-btn);
  padding: 16px;
  text-align: center;
}
.phone-screen-header .brand { font-size: 1rem; font-weight: 800; }

.phone-mini-cards {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-mini-card {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 2/3;
}
.phone-mini-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(155,47,201,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.app-rating-badge {
  position: absolute;
  right: -20px; bottom: 80px;
  background: var(--q-card2);
  border: 1px solid var(--q-border);
  border-radius: 12px;
  padding: 10px 16px;
  text-align: center;
  z-index: 2;
  box-shadow: var(--q-shadow);
}
.app-rating-badge .rating-num {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.app-rating-badge .rating-stars { font-size: 0.65rem; color: #FFD700; letter-spacing: 1px; }
.app-rating-badge .rating-label { font-size: 0.68rem; color: var(--q-muted); }

.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--q-card2);
  border: 1.5px solid var(--q-border);
  border-radius: 14px;
  padding: 12px 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}
.play-store-btn:hover {
  background: rgba(155,47,201,0.15);
  border-color: var(--q-purple);
  transform: translateY(-3px);
  box-shadow: var(--q-glow);
  color: #fff;
}
.play-store-btn .store-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.play-store-btn .store-text-small { font-size: 0.7rem; color: var(--q-muted); }
.play-store-btn .store-text-large { font-size: 1rem; font-weight: 700; }

/* =========================================================
   SHOW DETAIL PAGE
   ========================================================= */
.detail-hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}
.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.2) blur(2px);
  transform: scale(1.05);
}
.detail-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
}
.detail-poster {
  width: 100%;
  max-width: 300px;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 50px rgba(155,47,201,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}
.detail-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.detail-genre-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-genre-tag {
  background: rgba(155,47,201,0.2);
  border: 1px solid rgba(155,47,201,0.4);
  color: #c87fec;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
}
.detail-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 560px;
}
.detail-meta-row {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.detail-meta-item { color: var(--q-muted); }
.detail-meta-item strong { color: #fff; margin-right: 4px; }

.btn-watch-now {
  background: var(--q-gradient-btn);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 25px rgba(255,45,120,0.5);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-watch-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,45,120,0.7);
  color: #fff !important;
}
.btn-watch-now .play-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   DOWNLOAD PAGE
   ========================================================= */
.download-page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.download-page-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,45,120,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(43,192,197,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(155,47,201,0.1) 0%, transparent 50%);
}

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
.inner-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, rgba(155,47,201,0.08) 0%, transparent 100%);
  text-align: center;
  border-bottom: 1px solid var(--q-border);
}
.inner-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.inner-hero p { color: var(--q-muted); font-size: 1.05rem; }
.breadcrumb {
  background: none;
  justify-content: center;
  margin-top: 12px;
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--q-muted); }
.breadcrumb-item a { color: var(--q-pink); }
.breadcrumb-item.active { color: var(--q-muted); }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.q-form-group { margin-bottom: 20px; }
.q-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  display: block;
}
.q-form-control {
  width: 100%;
  background: var(--q-card2);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.3s ease;
}
.q-form-control:focus {
  outline: none;
  border-color: var(--q-purple);
  box-shadow: 0 0 0 3px rgba(155,47,201,0.15);
  background: var(--q-card2);
  color: #fff;
}
.q-form-control::placeholder { color: rgba(255,255,255,0.3); }

/* =========================================================
   FOOTER
   ========================================================= */
.q-footer {
  background: var(--q-bg2);
  border-top: 1px solid var(--q-border);
  padding: 60px 0 0;
}
.footer-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--q-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--q-gradient-btn);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--q-pink);
  gap: 10px;
}
.footer-links a::before {
  content: '›';
  font-size: 1rem;
  line-height: 1;
}

.footer-divider {
  margin-top: 48px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-copyright span {
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}
.footer-bottom-links a:hover { color: var(--q-pink); }

/* =========================================================
   LOADING / ANIMATIONS
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

.float-anim {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Gradient border animate */
@keyframes gradBorderSpin {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shimmer loader */
.shimmer {
  background: linear-gradient(90deg, var(--q-card) 25%, rgba(255,255,255,0.04) 50%, var(--q-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Glow pulse */
.glow-pulse {
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,45,120,0.2); }
  50% { box-shadow: 0 0 40px rgba(255,45,120,0.5), 0 0 60px rgba(155,47,201,0.3); }
}

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.text-gradient {
  background: var(--q-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.border-gradient {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.q-card {
  background: var(--q-card);
  border-radius: var(--q-radius);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 24px;
  transition: all 0.3s ease;
}
.q-card:hover {
  border-color: var(--q-border);
  background: var(--q-card2);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .hero-poster { width: 180px; height: 270px; }
  .q-nav-links { gap: 4px; }
  .q-nav-links .nav-link { padding: 6px 10px; font-size: 0.88rem; }
  .download-stats { gap: 20px; }
  .phone-mockup { width: 220px; }
}

@media (max-width: 768px) {
  .hero-section { height: auto !important; min-height: 90vh !important; }
  .hero-content { text-align: center; padding-top: 80px !important; padding-bottom: 40px !important; }
  .hero-poster-wrap { display: none; }
  .hero-desc { margin: 0 auto 28px; }
  .q-section { padding: 30px 0; }
  .hero-nav-btn { display: none; }
  .download-section::before, .download-section::after { display: none; }
  .download-stats { gap: 16px; }
  .hero-meta { justify-content: center; }
  .hero-pagination-wrap { text-align: center; }
}

@media (max-width: 576px) {
  .hero-section { min-height: 85vh !important; }
  .hero-title { font-size: 2rem; }
  .q-section-title { font-size: 1.3rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .hero-meta { justify-content: center; }
}

/* =========================================================
   FIX: Hero Swiper Built-in Pagination Bullets
   ========================================================= */
.hero-pagination-wrap {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}
.hero-custom-pagination {
  position: relative !important;
  bottom: auto !important;
  display: inline-flex !important;
  gap: 6px !important;
  text-align: left !important;
  pointer-events: all !important;
  padding: 0 !important;
  width: auto !important;
}
.hero-custom-pagination .swiper-pagination-bullet {
  width: 24px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: rgba(255,255,255,0.35) !important;
  opacity: 1 !important;
  transition: all 0.35s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
}
.hero-custom-pagination .swiper-pagination-bullet-active {
  width: 40px !important;
  background: linear-gradient(90deg, #FF2D78, #9B2FC9) !important;
}
@media (max-width: 768px) {
  .hero-pagination-wrap { text-align: center; }
  .hero-custom-pagination { justify-content: center !important; }
}

/* =========================================================
   FIX: Mobile Hamburger Menu — White BG, Black Text
   ========================================================= */
#mobileNav {
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}
#mobileNav.show {
  background: #ffffff;
}
#mobileNav .d-flex.flex-column {
  background: #ffffff;
  border-top: none !important;
}
#mobileNav .nav-link {
  color: #1a1a1a !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 0 !important;
  padding: 13px 16px !important;
}
#mobileNav .nav-link:hover {
  background: rgba(255,45,120,0.06) !important;
  color: var(--q-pink) !important;
}
#mobileNav .btn-q-primary {
  color: #ffffff !important;
  border-radius: 50px !important;
}

/* =========================================================
   FIX: Category strip — minimal top gap after hero
   ========================================================= */
.q-category-strip {
  padding: 14px 0 !important;
}
@media (max-width: 768px) {
  .q-category-strip { padding: 8px 0 !important; }
}

/* =========================================================
   DETAIL PAGE — Reference Image Redesign
   ========================================================= */
.detail-page-wrap {
  min-height: 100vh;
  padding: 100px 0 60px;
  background: var(--q-bg);
}

/* Left Panel */
.detail-left-panel { }
.detail-poster-container {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  background: var(--q-card);
}
.detail-poster-container img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}
.detail-ep-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--q-gradient-btn);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.detail-poster-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #FFB800, #FF8C00);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255,184,0,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  z-index: 2;
}
.detail-poster-play:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 50px rgba(255,184,0,0.75);
}
.detail-poster-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, transparent 100%);
  padding: 48px 14px 14px;
  z-index: 2;
}
.detail-poster-bottom .dp-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
}
.detail-poster-bottom .dp-genre {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}

/* Episode Navigator */
.detail-ep-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.ep-nav-btn {
  width: 36px; height: 36px;
  background: var(--q-card2);
  border: 1px solid var(--q-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ep-nav-btn:hover {
  background: var(--q-gradient-btn);
  border-color: transparent;
  color: #fff;
}
.ep-counter {
  font-size: 0.85rem;
  color: var(--q-muted);
  flex: 1;
  text-align: center;
}

/* Right panel */
.detail-right-panel { padding: 10px 0; }
.detail-big-title {
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  word-break: break-word;
}
.detail-big-title .title-white { color: #ffffff; }
.detail-big-title .title-gradient {
  background: linear-gradient(90deg, #FF8C00, #FFB800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.detail-genre-pill-new {
  display: inline-block;
  background: rgba(255,45,120,0.12);
  border: 1px solid rgba(255,45,120,0.35);
  color: #ff8ab5;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.detail-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
  margin-top: 4px;
}
.detail-hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 16px 0; }
.detail-desc-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 6px;
  max-width: 560px;
}
.detail-read-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(90deg, #FF8C00, #FFB800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 6px;
}

/* Episode boxes */
.episodes-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ep-box {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
  gap: 1px;
}
.ep-box.ep-active {
  background: linear-gradient(135deg, #FFB800, #FF8C00);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,184,0,0.4);
}
.ep-box.ep-locked {
  background: var(--q-card2);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
}
.ep-box.ep-locked .ep-lock { font-size: 0.65rem; }

/* More like this */
.detail-related-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.detail-related-scroll::-webkit-scrollbar { display: none; }
.detail-related-item {
  flex-shrink: 0;
  width: 120px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.detail-related-item:hover { transform: translateY(-5px); }
.detail-related-item img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

/* Download page phone frame redesign */
.phone-frame-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}
.phone-mockup-app-img {
  width: 240px;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(155,47,201,0.25);
  border: 2px solid rgba(255,255,255,0.1);
  display: block;
}

/* =========================================================
   SWIPER overflow fix
   ========================================================= */
.swiper { overflow: hidden !important; }
.hero-swiper { overflow: hidden !important; }
.shows-swiper { overflow: hidden !important; }
