/* ===================================================
   NETFLIX STREAMING APPLICATION STYLESHEET
   Premium Dark UI with Netflix Red Accents & Glassmorphism
   =================================================== */

:root,
[data-theme="dark"] {
  --netflix-red: #e50914;
  --netflix-red-hover: #b80710;
  --bg-black: #141414;
  --bg-darker: #0b0b0b;
  --bg-card: #181818;
  --bg-modal: #181818;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --text-muted: #777777;
  --border-light: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(20, 20, 20, 0.75);
  --nav-bg: rgba(20, 20, 20, 0.95);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

[data-theme="light"] {
  --netflix-red: #e50914;
  --netflix-red-hover: #b80710;
  --bg-black: #f5f6f8;
  --bg-darker: #ffffff;
  --bg-card: #ffffff;
  --bg-modal: #ffffff;
  --text-primary: #121212;
  --text-secondary: #4a4a4a;
  --text-muted: #717171;
  --border-light: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --nav-bg: rgba(255, 255, 255, 0.96);
  --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body.modal-open {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Utility */
.hidden {
  display: none !important;
}

/* ===================================================
   NAVIGATION BAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  z-index: 100;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.navbar.nav-scrolled {
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Bebas Neue', sans-serif, Impact;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--netflix-red);
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(229, 9, 20, 0.4);
}

.logo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #006a4e;
  background-image: radial-gradient(circle at 48% 50%, #f42a41 0%, #f42a41 42%, transparent 43%);
  color: #ffffff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  line-height: 1.1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-link {
  color: #e5e5e5;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Search Box */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.search-icon-btn:hover {
  transform: scale(1.1);
}

.search-box {
  display: flex;
  align-items: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: width 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
  margin-left: 8px;
}

.search-box.active {
  width: 260px;
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
}

.search-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 2px;
}

/* Theme Mode Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: #222;
}

.theme-toggle-btn:hover {
  transform: scale(1.08) rotate(15deg);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.3);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.theme-icon {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

[data-theme="dark"] .sun-icon {
  display: block;
  color: #ffcc00;
  filter: drop-shadow(0 0 6px rgba(255, 204, 0, 0.5));
}
[data-theme="dark"] .moon-icon {
  display: none;
}

[data-theme="light"] .sun-icon {
  display: none;
}
[data-theme="light"] .moon-icon {
  display: block;
  color: #333333;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.1);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.profile-arrow {
  color: #ccc;
  transition: transform var(--transition-fast);
}

.user-profile:hover .profile-arrow {
  color: #fff;
  transform: rotate(180deg);
}

/* Profile Dropdown */
.profile-dropdown {
  position: fixed;
  top: 70px;
  right: 4%;
  width: 260px;
  background: rgba(20, 20, 20, 0.96);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-light);
}

.dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--netflix-red);
}

.dropdown-user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.user-status-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: #46d369;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.profile-dropdown-body {
  padding: 8px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: #ddd;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-family);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Edit Profile Modal */
.edit-profile-dialog {
  max-width: 480px;
}

.edit-profile-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ccc;
}

.form-input {
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-family);
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--netflix-red);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preset-avatars-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 0 10px;
}

.preset-avatar-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.preset-avatar-option:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.preset-avatar-option.selected {
  border-color: var(--netflix-red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.6);
  transform: scale(1.08);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ===================================================
   HERO BILLBOARD BANNER
   =================================================== */
/* ===================================================
   HERO BILLBOARD BANNER WITH UNIQUE ANIMATED SLIDER
   =================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  max-height: 850px;
  display: flex;
  align-items: center;
  padding: 0 4%;
  overflow: hidden;
}

.hero-backdrop-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: opacity 0.8s ease-in-out, transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.hero-backdrop.anim-kenburns {
  animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1) translateY(0);
  }
  100% {
    transform: scale(1.08) translateY(-8px);
  }
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(77deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.1) 80%),
              linear-gradient(180deg, rgba(20, 20, 20, 0) 60%, rgba(20, 20, 20, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-top: 60px;
}

.hero-content.hero-content-anim .hero-title {
  animation: heroTitleSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content.hero-content-anim .hero-meta {
  animation: heroFadeIn 0.6s 0.15s ease both;
}

.hero-content.hero-content-anim .hero-overview {
  animation: heroOverviewSlide 0.7s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content.hero-content-anim .hero-buttons {
  animation: heroButtonsSlide 0.6s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroTitleSlide {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-16px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroOverviewSlide {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroButtonsSlide {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 14px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.5px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.meta-match {
  color: #46d369;
}

.meta-badge {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px 7px;
  font-size: 0.75rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.2);
}

.hero-overview {
  font-size: 1.05rem;
  color: #e5e5e5;
  line-height: 1.5;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

/* Hero Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  opacity: 0;
}

.hero-banner:hover .hero-arrow {
  opacity: 0.9;
}

.hero-arrow-left {
  left: 20px;
}

.hero-arrow-right {
  right: 20px;
}

.hero-arrow:hover {
  background: rgba(229, 9, 20, 0.85);
  border-color: var(--netflix-red);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
  opacity: 1 !important;
}

/* Hero Progress Indicators */
.hero-indicators {
  position: absolute;
  bottom: 28px;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-indicator {
  position: relative;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: all var(--transition-fast);
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scaleY(1.5);
}

.hero-indicator.active {
  width: 48px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-indicator-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--netflix-red);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--netflix-red);
}

@keyframes heroProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background-color: #ffffff;
  color: #000000;
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.75);
  transform: scale(1.03);
}

.btn-secondary {
  background-color: rgba(109, 109, 110, 0.7);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(109, 109, 110, 0.4);
  transform: scale(1.03);
}

.btn-danger {
  background-color: var(--netflix-red);
  color: #ffffff;
}

.btn-danger:hover {
  background-color: var(--netflix-red-hover);
}

/* ===================================================
   MAIN CONTENT & ROWS
   =================================================== */
.main-content {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding-top: 85px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.main-content.has-hero {
  margin-top: -80px;
  padding-top: 0;
}

.category-page-title {
  padding: 10px 4% 10px;
  font-size: 2.2rem;
  font-weight: 800;
}

.netflix-row {
  position: relative;
  padding: 0 4%;
}

.row-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.row-explore-all {
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--netflix-red);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.85;
  transition: all var(--transition-fast);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.row-explore-all:hover {
  opacity: 1;
  color: #fff;
  background: rgba(229, 9, 20, 0.2);
  transform: translateX(4px);
}

.back-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 12px;
}

.back-nav-btn:hover {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  transform: translateX(-4px);
}

.row-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.row-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.row-slider::-webkit-scrollbar {
  display: none;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
  backdrop-filter: blur(4px);
}

.slider-left {
  left: -4%;
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.slider-right {
  right: -4%;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.netflix-row:hover .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  color: var(--netflix-red);
}

/* ===================================================
   MEDIA CARDS
   =================================================== */
.media-card {
  position: relative;
  flex: 0 0 240px;
  height: 140px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background-color: var(--bg-card);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.media-card.card-vertical {
  flex: 0 0 170px;
  height: 250px;
}

/* ===================================================
   TOP 10 RATED MASTERPIECES (NETFLIX 3D RANKED)
   =================================================== */
.top10-row .row-slider {
  padding: 30px 0 35px;
  gap: 20px;
}

.media-card.top10-card {
  display: flex;
  align-items: flex-end;
  flex: 0 0 250px;
  height: 250px;
  background: transparent;
  overflow: visible;
}

.top10-rank-num {
  font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  font-size: 8.2rem;
  line-height: 0.72;
  font-weight: 900;
  color: #0b0b0b;
  -webkit-text-stroke: 4.5px #595959;
  letter-spacing: -6px;
  z-index: 1;
  margin-right: -24px;
  margin-bottom: -6px;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .top10-rank-num {
  color: #ffffff;
  -webkit-text-stroke: 4.5px #222222;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}

.top10-card:hover .top10-rank-num {
  -webkit-text-stroke: 4.5px var(--netflix-red);
  color: #1a0203;
  transform: translateY(-8px) scale(1.06);
  filter: drop-shadow(0 0 16px rgba(229, 9, 20, 0.7));
}

[data-theme="light"] .top10-card:hover .top10-rank-num {
  color: #fff;
  -webkit-text-stroke: 4.5px var(--netflix-red);
  filter: drop-shadow(0 0 12px rgba(229, 9, 20, 0.4));
}

.top10-card .card-image-wrap {
  position: relative;
  flex: 0 0 160px;
  height: 240px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.top10-card:hover .card-image-wrap {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.card-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}

.card-badge-top {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--netflix-red);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

/* Card Hover Elevation (Netflix Style) */
.media-card:hover {
  transform: scale(1.18);
  z-index: 30;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.media-card:hover .card-img {
  transform: scale(1.05);
}

.card-hover-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: var(--bg-card);
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.media-card:hover .card-hover-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hover-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(42, 42, 42, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
  transform: scale(1.1);
}

.action-btn.play-btn {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.action-btn.play-btn:hover {
  background: var(--netflix-red);
  color: #fff;
  border-color: var(--netflix-red);
}

.action-btn.watchlist-btn.active {
  background: #46d369;
  color: #000;
  border-color: #46d369;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
}

.match-score {
  color: #46d369;
}

.rating-hd {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0 4px;
  border-radius: 2px;
}

/* ===================================================
   SEARCH & GRID VIEWS & INFINITE SCROLL
   =================================================== */
.category-page-header {
  padding: 10px 4% 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.category-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.genre-filters-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.genre-filters-bar::-webkit-scrollbar {
  display: none;
}

.genre-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.genre-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.genre-pill.active {
  background: var(--netflix-red);
  color: #fff;
  border-color: var(--netflix-red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.4);
}

.category-grid-wrapper,
.search-results-view,
.mylist-grid-wrapper {
  padding: 10px 4% 60px;
}

.category-grid,
.grid-container,
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px 14px;
}

.infinite-scroll-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
  color: var(--text-secondary);
}

.empty-state h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.empty-icon {
  color: var(--netflix-red);
  margin-bottom: 20px;
}

/* ===================================================
   VIDEO PLAYER MODAL
   =================================================== */
.player-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
}

.player-dialog {
  position: relative;
  z-index: 10;
  width: 95%;
  max-width: 1100px;
  max-height: 96vh;
  background: #111111;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #161616;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 30;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.player-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-movie {
  background: var(--netflix-red);
  color: #fff;
}

.badge-tv {
  background: #0088cc;
  color: #fff;
}

.player-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.player-subinfo {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stream-hd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(70, 211, 105, 0.15);
  border: 1px solid rgba(70, 211, 105, 0.4);
  color: #46d369;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.player-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.player-close-btn:hover {
  background: var(--netflix-red);
  transform: rotate(90deg);
}

/* Video Container */
.player-video-container {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 330px;
  max-height: 480px;
  background: #000;
}

.player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-loading-spinner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-secondary);
  z-index: 5;
  transition: opacity 0.4s ease;
}

.player-loading-spinner.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Controls & Server Bar */
.player-controls-bar {
  padding: 16px 20px 24px;
  background: #141414;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.servers-container {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.control-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e5e5e5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.server-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.server-tab {
  background: #242424;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.server-tab:hover {
  background: #333;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.server-tab.active {
  background: var(--netflix-red);
  color: #fff;
  border-color: var(--netflix-red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.5);
}

.server-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* TV Controls inside Player */
.tv-controls {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  margin-top: 6px;
}

.tv-navigation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.season-selector-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.season-select {
  background: #242424;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.season-select:focus {
  border-color: var(--netflix-red);
}

.episode-quick-nav {
  display: flex;
  gap: 10px;
}

.nav-ep-btn {
  background: #282828;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.nav-ep-btn:hover {
  background: #3a3a3a;
  border-color: #fff;
}

/* Episodes Horizontal Scroller */
.episodes-list-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.episode-card {
  flex: 0 0 260px;
  background: #1d1d1d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.episode-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: #262626;
  transform: translateY(-2px);
}

.episode-card.active {
  border-color: var(--netflix-red);
  background: #221516;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.ep-thumb {
  position: relative;
  width: 100%;
  height: 120px;
}

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

.ep-number-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
}

.ep-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.episode-card:hover .ep-play-overlay,
.episode-card.active .ep-play-overlay {
  opacity: 1;
}

.ep-info {
  padding: 10px;
}

.ep-header-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.ep-title {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.ep-runtime {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ep-overview {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================================================
   DETAILS MODAL
   =================================================== */
.detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
}

.detail-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.detail-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-modal);
  border-radius: var(--radius-md);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.detail-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.detail-close-btn:hover {
  background: #fff;
  color: #000;
}

.detail-hero {
  position: relative;
  width: 100%;
  height: 400px;
}

.detail-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 40%, rgba(24, 24, 24, 1) 100%);
}

.detail-hero-content {
  position: absolute;
  bottom: 30px;
  left: 36px;
  right: 36px;
}

.detail-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.detail-buttons {
  display: flex;
  gap: 12px;
}

.detail-body {
  padding: 24px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.detail-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.detail-overview {
  font-size: 1rem;
  color: #e5e5e5;
  line-height: 1.6;
}

.detail-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.88rem;
}

.info-group {
  line-height: 1.4;
}

.info-label {
  color: var(--text-muted);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  color: #ddd;
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Cast Section */
.detail-cast-section {
  padding: 10px 36px 20px;
}

.cast-cards-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.cast-card {
  flex: 0 0 95px;
  text-align: center;
}

.cast-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.cast-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cast-card-character {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Trailer Section */
.detail-trailer-container {
  padding: 10px 36px 30px;
}

.trailer-iframe-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.trailer-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Similar Grid in Detail */
.detail-similar-section {
  padding: 10px 36px 40px;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

/* ===================================================
   TOAST NOTIFICATIONS & SPINNERS
   =================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-message {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 20, 20, 0.95);
  color: #fff;
  border: 1px solid var(--border-light);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.toast-message.toast-show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success .toast-icon {
  color: #46d369;
}

.toast-info .toast-icon {
  color: #0088cc;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(229, 9, 20, 0.2);
  border-top-color: var(--netflix-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-small {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--netflix-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 80px 0;
  color: var(--text-secondary);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  padding: 60px 4% 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-darker);
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .detail-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.show-mobile {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-banner {
    height: 70vh;
    min-height: 450px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-overview {
    font-size: 0.92rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .media-card {
    flex: 0 0 170px;
    height: 100px;
  }

  .media-card.card-vertical {
    flex: 0 0 130px;
    height: 190px;
  }

  .player-header {
    padding: 12px 16px;
  }

  .player-controls-bar {
    padding: 16px;
  }

  .detail-hero {
    height: 280px;
  }

  .detail-title {
    font-size: 1.8rem;
  }

  .detail-body,
  .detail-cast-section,
  .detail-similar-section,
  .detail-trailer-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ===================================================
   CREATOR SHOWCASE SECTION
   =================================================== */
.creator-showcase-container {
  padding: 20px 4% 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.creator-card {
  width: 100%;
  max-width: 800px;
  background: rgba(24, 24, 24, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.creator-avatar-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 6px;
}

.creator-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--netflix-red);
  position: relative;
  z-index: 2;
}

.creator-avatar-glow {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.6) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 1;
}

.creator-badge {
  background: rgba(229, 9, 20, 0.2);
  color: var(--netflix-red);
  border: 1px solid rgba(229, 9, 20, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.creator-name {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.creator-tagline {
  color: #bbb;
  font-size: 1.05rem;
  max-width: 550px;
  line-height: 1.5;
}

.creator-stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.creator-details-section,
.creator-features-list {
  width: 100%;
  text-align: left;
}

.creator-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #e5e5e5;
}

.tech-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ddd;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 500;
}

.creator-title-sub {
  color: #46d369;
  font-size: 1rem;
  font-weight: 600;
  margin-top: -10px;
}

/* Contact & Social Buttons */
.creator-contact-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 10px 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
  background: #25D366;
  color: #0b2e13;
  border-color: #25D366;
  font-weight: 700;
}

.whatsapp-btn:hover {
  background: #20ba5a;
  color: #000;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.portfolio-btn {
  background: linear-gradient(135deg, #e50914, #ff5e62);
  color: #ffffff;
  border-color: #e50914;
}

.portfolio-btn:hover {
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.email-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.linkedin-btn {
  background: #0077b5;
  color: #ffffff;
  border-color: #0077b5;
}

.linkedin-btn:hover {
  background: #006396;
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

.github-btn {
  background: #24292e;
  color: #ffffff;
  border-color: #444d56;
}

.github-btn:hover {
  background: #2f363d;
}

/* ===================================================
   WEB PLATFORMS & TEMPLATES FOR SALE BANNER
   =================================================== */
.creator-sale-banner {
  width: 100%;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.08) 0%, rgba(20, 20, 20, 0.8) 100%);
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.15);
  margin: 10px 0;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .creator-sale-banner {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.04) 0%, #ffffff 100%);
  border-color: rgba(229, 9, 20, 0.25);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.08);
}

.sale-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(229, 9, 20, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--netflix-red);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--netflix-red);
  box-shadow: 0 0 8px var(--netflix-red);
  animation: pulseSale 1.5s infinite;
}

@keyframes pulseSale {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.sale-banner-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

[data-theme="light"] .sale-banner-title {
  color: #111111;
}

.sale-banner-desc {
  font-size: 0.94rem;
  color: #cccccc;
  line-height: 1.55;
  margin-bottom: 20px;
}

[data-theme="light"] .sale-banner-desc {
  color: #444444;
}

.sale-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.sale-product-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-fast);
}

[data-theme="light"] .sale-product-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.sale-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .sale-product-card:hover {
  box-shadow: 0 10px 24px rgba(229, 9, 20, 0.12);
}

.sale-product-card.featured-product {
  border-color: rgba(229, 9, 20, 0.5);
  background: rgba(229, 9, 20, 0.05);
}

.product-status-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--netflix-red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
}

.product-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

[data-theme="light"] .product-title {
  color: #111111;
}

.product-desc {
  font-size: 0.84rem;
  color: #aaaaaa;
  line-height: 1.45;
  flex-grow: 1;
}

[data-theme="light"] .product-desc {
  color: #555555;
}

.product-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.product-features-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
  padding: 2px 8px;
  border-radius: 3px;
}

[data-theme="light"] .product-features-tags span {
  background: #f0f2f5;
  color: #333;
}

.product-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #46d369;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-top: 6px;
}

.product-link-btn:hover {
  background: #46d369;
  color: #0b2e13;
  border-color: #46d369;
}

.sale-cta-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-sale-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25D366;
  color: #0b2e13;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-sale-whatsapp:hover {
  background: #20ba5a;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .sale-products-grid {
    grid-template-columns: 1fr;
  }
}

/* Creator Action Buttons */
.creator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  width: 100%;
}

.btn-resume-full {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #262626;
  color: #ffffff;
  padding: 13px 26px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-resume-full:hover {
  background-color: #383838;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.btn-resume-full svg {
  stroke: #ffffff;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .creator-stats-row {
    gap: 20px;
  }
  .creator-name {
    font-size: 1.8rem;
  }
  .creator-contact-bar,
  .creator-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-resume-full {
    justify-content: center;
  }
}

/* ===================================================
   LIGHT MODE COMPONENT OVERRIDES
   =================================================== */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-link {
  color: #444444;
  font-weight: 600;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #000000;
  font-weight: 800;
}

[data-theme="light"] .profile-arrow {
  color: #555555;
}

[data-theme="light"] .search-icon-btn {
  color: #222222;
}

[data-theme="light"] .search-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .search-box input {
  color: #111111;
}

[data-theme="light"] .search-box.active {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .profile-dropdown {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  color: #111111;
}

[data-theme="light"] .profile-drop-name,
[data-theme="light"] .drop-item-title {
  color: #111111;
}

[data-theme="light"] .profile-drop-header {
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .profile-drop-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(77deg, rgba(245, 246, 248, 0.96) 0%, rgba(245, 246, 248, 0.72) 45%, rgba(245, 246, 248, 0.08) 80%),
              linear-gradient(180deg, rgba(245, 246, 248, 0) 60%, rgba(245, 246, 248, 1) 100%);
}

[data-theme="light"] .hero-title {
  color: #111111;
  text-shadow: none;
}

[data-theme="light"] .hero-overview {
  color: #333333;
  text-shadow: none;
}

[data-theme="light"] .meta-badge {
  border-color: rgba(0, 0, 0, 0.25);
  color: #333333;
}

[data-theme="light"] .btn-primary {
  background-color: #111111;
  color: #ffffff;
}

[data-theme="light"] .btn-primary:hover {
  background-color: #333333;
}

[data-theme="light"] .btn-secondary {
  background-color: rgba(0, 0, 0, 0.08);
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .row-title,
[data-theme="light"] .category-page-title,
[data-theme="light"] .card-title {
  color: #111111;
}

[data-theme="light"] .row-explore-all {
  color: #666;
}

[data-theme="light"] .row-explore-all:hover {
  color: var(--netflix-red);
}

[data-theme="light"] .row-slider-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #111111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .movie-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .card-hover-modal {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .card-hover-title {
  color: #111111;
}

[data-theme="light"] .btn-icon-circle {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: #111111;
}

[data-theme="light"] .btn-icon-circle:hover {
  background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .detail-modal-container,
[data-theme="light"] .player-container {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .detail-title,
[data-theme="light"] .modal-section-title,
[data-theme="light"] .season-nav-title {
  color: #111111;
}

[data-theme="light"] .detail-overview,
[data-theme="light"] .detail-meta-text {
  color: #444444;
}

[data-theme="light"] .cast-card {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cast-name {
  color: #111111;
}

[data-theme="light"] .season-dropdown {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.15);
  color: #111111;
}

[data-theme="light"] .episode-card {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .episode-card:hover,
[data-theme="light"] .episode-card.active {
  background: #f0f2f5;
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .episode-title {
  color: #111111;
}

[data-theme="light"] .server-btn {
  background: #f0f2f5;
  color: #333333;
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .server-btn.active {
  background: var(--netflix-red);
  color: #ffffff;
  border-color: var(--netflix-red);
}

[data-theme="light"] .creator-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .creator-name {
  color: #111111;
}

[data-theme="light"] .creator-tagline {
  color: #444444;
}

[data-theme="light"] .creator-stats-row {
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-number {
  color: #111111;
}

[data-theme="light"] .creator-section-title {
  color: #111111;
}

[data-theme="light"] .feature-item {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.08);
  color: #222222;
}

[data-theme="light"] .tech-tag {
  background: #f0f2f5;
  border-color: rgba(0, 0, 0, 0.1);
  color: #333333;
}



