/* ==========================================================================
   Dr. Raj Kumar TV - Cinema Streaming Platform Stylesheet
   ========================================================================== */

:root {
  /* Dr. Raj Kumar TV Midnight & Royal Gold Theme */
  --bg-main: #0a0c16;
  --bg-surface: #101322;
  --bg-card: #151829;
  --bg-elevated: #1e2238;
  --bg-hover: #262c47;

  --accent-gold: #f5b842;
  --accent-gold-hover: #ffca66;
  --accent-gold-glow: rgba(245, 184, 66, 0.35);

  --accent-ruby: #ff2a5f;
  --accent-ruby-hover: #ff4777;
  --accent-ruby-glow: rgba(255, 42, 95, 0.35);

  --accent-cyan: #00f0ff;
  --accent-green: #46d369;

  --text-main: #ffffff;
  --text-muted: #8b92aa;
  --text-sub: #b0b8d4;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-focus: rgba(245, 184, 66, 0.5);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.75);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.95);

  --font-main: 'Outfit', 'Plus Jakarta Sans', 'Noto Sans Kannada', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Plus Jakarta Sans', 'Outfit', 'Noto Sans Kannada', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-zoom: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #24293e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-ruby {
  color: var(--accent-ruby) !important;
}

.text-cyan {
  color: var(--accent-cyan) !important;
}

/* ==========================================================================
   Buttons (Dr. Raj Kumar TV Styled)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-ruby), #d91b4c);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-ruby-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-ruby-hover), var(--accent-ruby));
  box-shadow: 0 6px 24px var(--accent-ruby-glow);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #df9b24);
  color: #0b0d14;
  font-weight: 800;
  box-shadow: 0 4px 18px var(--accent-gold-glow);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
  box-shadow: 0 6px 24px var(--accent-gold-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(255, 42, 95, 0.15);
  color: var(--accent-ruby);
  border: 1px solid var(--accent-ruby);
}
.btn-danger:hover {
  background: var(--accent-ruby);
  color: #fff;
}

.btn-sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
}

.btn-large {
  padding: 0.75rem 1.6rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.08);
}

.btn-hero-fav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-hero-fav:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
/* ==========================================================================
   Top Navigation Bar (Ultra Responsive)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(10, 12, 22, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  gap: 0.75rem;
  transition: background-color var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 12, 22, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap !important;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-badge-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: linear-gradient(135deg, var(--accent-gold), #df9b24);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #0b0d14;
  box-shadow: 0 2px 10px var(--accent-gold-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap !important;
}

.brand-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap !important;
}

.brand-highlight {
  color: var(--accent-gold);
  font-weight: 900;
}

.brand-sub {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap !important;
}

/* Movie Genre Navigation Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.18rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 1;
  min-width: 0;
}
.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(245, 184, 66, 0.18), rgba(255, 42, 95, 0.18));
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 2px 10px var(--accent-gold-glow);
}

/* Nav Right Action Section (Guaranteed Prominent & Fully Visible) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
  flex-wrap: nowrap !important;
}

/* Remove all outline on remote buttons */
.virtual-remote button,
.virtual-remote button:focus,
.virtual-remote button:active {
  outline: none !important;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

/* Search Wrapper */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-wrapper .search-icon {
  position: absolute;
  left: 0.7rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.search-wrapper input {
  width: 140px;
  padding: 0.42rem 1.6rem 0.42rem 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.search-wrapper input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
  width: 210px;
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.clear-search {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.clear-search:hover {
  background: var(--accent-ruby);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

/* Language Picker (Sleek Inline Pill) */
.lang-picker-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0 0.65rem;
  flex-shrink: 0;
  white-space: nowrap !important;
  transition: all var(--transition-fast);
}

.lang-picker-wrapper:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
}

.lang-globe-icon {
  color: var(--accent-gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.lang-select {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  padding-right: 0.1rem;
}

.lang-select option {
  background: var(--bg-surface);
  color: #fff;
}

/* ==========================================================================
   Hero Spotlight Cinema Banner
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 72vh;
  max-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 2rem;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 25%;
  transition: background-image 0.7s ease-in-out;
  transform: scale(1.02);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 12, 22, 0.96) 0%, rgba(10, 12, 22, 0.82) 45%, rgba(10, 12, 22, 0.3) 75%, transparent 100%),
              linear-gradient(180deg, transparent 0%, rgba(10, 12, 22, 0.7) 60%, var(--bg-main) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-left: 3.5rem;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 2rem;
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-network {
  background: rgba(245, 184, 66, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 184, 66, 0.4);
  font-weight: 800;
}

.badge-rating {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-score {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.hero-title {
  font-family: var(--font-title), sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 2px 4px 14px rgba(0, 0, 0, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.hero-tagline {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--accent-gold);
  font-style: italic;
}

.hero-overview {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c4c9dc;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero-indicators {
  position: absolute;
  bottom: 1.2rem;
  right: 3.5rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero-indicator-dot {
  width: 14px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-indicator-dot.active {
  background: var(--accent-gold);
  width: 24px;
}

/* ==========================================================================
   Movie Rails & Hover Expansion Cards
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 1.5rem 3.5rem 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.netflix-rail-section {
  position: relative;
}

.rail-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.rail-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.rail-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.rail-title:hover {
  color: var(--accent-gold);
}

.rail-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  background: rgba(245, 184, 66, 0.14);
  border: 1px solid rgba(245, 184, 66, 0.35);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 0.5rem;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rail-title-explore {
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  opacity: 0.85;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  margin-left: 0.5rem;
}

.rail-title:hover .rail-title-explore,
.rail-title-explore:hover {
  opacity: 1;
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* ==========================================================================
   Dedicated Explore All Category Page Styles
   ========================================================================== */
.explore-category-section {
  padding: 1rem 0 3rem 0;
  animation: fadeIn 0.25s ease-out;
}

.explore-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.explore-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-back-browse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-back-browse:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateX(-4px);
}

.explore-page-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.explore-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.explore-sort-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.explore-sort-select:hover,
.explore-sort-select:focus {
  border-color: var(--accent-gold);
}

.explore-movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.75rem 1.25rem;
  padding-bottom: 2rem;
}

/* Rail Slider & Navigation Paddles */
.rail-slider-wrapper {
  position: relative;
}

.rail-slider {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 1.5rem 0.5rem;
  margin: -1.5rem -0.5rem;
}

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

/* Left & Right Chevron Paddles */
.rail-paddle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  background: rgba(10, 12, 22, 0.75);
  color: #fff;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  opacity: 0;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.rail-slider-wrapper:hover .rail-paddle {
  opacity: 1;
}

.rail-paddle:hover {
  background: rgba(20, 24, 42, 0.95);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  font-size: 1.6rem;
}

.paddle-left {
  left: -3.5rem;
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.paddle-right {
  right: -3.5rem;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

/* ==========================================================================
   Movie Card with Smooth Hover Expansion
   ========================================================================== */
.netflix-card {
  position: relative;
  flex: 0 0 235px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: visible;
  cursor: pointer;
  transition: transform var(--transition-zoom), box-shadow var(--transition-zoom), border-color var(--transition-fast), z-index 0s 0.1s;
  z-index: 1;
}

.netflix-card-poster {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-card);
  transition: filter var(--transition-fast);
}

/* Smooth Card Hover & Remote Focus Expansion */
.netflix-card:hover,
.netflix-card.remote-focused {
  transform: scale(1.26) translateY(-14px);
  z-index: 25;
  border-color: var(--accent-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95), 0 0 22px var(--accent-gold-glow);
}

.netflix-card:hover .netflix-card-poster,
.netflix-card.remote-focused .netflix-card-poster {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Card Hover & Remote Focus Floating Popover */
.card-hover-popover {
  display: none;
  background: var(--bg-elevated);
  padding: 0.85rem;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  border-top: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-hover);
  animation: fadeIn 0.2s ease-out;
}

.netflix-card:hover .card-hover-popover,
.netflix-card.remote-focused .card-hover-popover {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hover-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hover-actions-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hover-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.hover-circle-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.1);
}

.hover-circle-btn.btn-play-white {
  background: linear-gradient(135deg, var(--accent-ruby), #d91b4c);
  color: #ffffff;
  border: none;
}
.hover-circle-btn.btn-play-white:hover {
  background: linear-gradient(135deg, var(--accent-ruby-hover), var(--accent-ruby));
  box-shadow: 0 0 12px var(--accent-ruby-glow);
}

.hover-meta-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
}

.hover-match {
  color: var(--accent-green);
  font-weight: 800;
}

.hover-age {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0 0.28rem;
  border-radius: 2px;
  font-weight: 700;
  color: #fff;
}

.hover-duration {
  color: var(--text-muted);
}

.hover-hd {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 0.25rem;
  font-size: 0.65rem;
  border-radius: 2px;
  color: var(--text-muted);
}

.hover-genres-bullet {
  font-size: 0.74rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Netflix Top 10 Row (With Sleek 1..10 Numbers)
   ========================================================================== */
.top10-item {
  display: flex;
  align-items: center;
  position: relative;
  flex: 0 0 245px;
  cursor: pointer;
  transition: transform var(--transition-zoom);
}

.top10-item:hover,
.top10-item.remote-focused {
  transform: scale(1.15) translateY(-8px);
  z-index: 25;
}

.top10-item.remote-focused .top10-poster-wrap {
  border: 2px solid var(--accent-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.95), 0 0 20px var(--accent-gold-glow);
}

.top10-rank-num {
  font-family: var(--font-bebas);
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 0.8;
  color: #141414;
  -webkit-text-stroke: 3px #595959;
  user-select: none;
  z-index: 1;
  margin-right: -18px;
}

.top10-poster-wrap {
  width: 135px;
  height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  z-index: 2;
  background: var(--netflix-surface);
}

.top10-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Full Player Modal Overlay
   ========================================================================== */
.player-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.player-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.player-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.player-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--netflix-red);
  letter-spacing: 0.1em;
}

.player-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.player-subtitle {
  font-size: 0.85rem;
  color: var(--netflix-muted);
}

.player-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-youtube-link {
  background: rgba(255, 0, 0, 0.2);
  color: #ff3333;
  border: 1px solid rgba(255, 0, 0, 0.4);
}
.btn-youtube-link:hover {
  background: #ff0000;
  color: #fff;
}

.close-player-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}
.close-player-btn:hover {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: #ffffff;
  transform: scale(1.1);
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.embed-iframe, #mainVideo {
  width: 100%;
  height: 100%;
  border: none;
}

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.progress-bar-wrapper {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
}
.progress-bar-wrapper:hover {
  height: 8px;
}

.progress-filled {
  height: 100%;
  background: var(--netflix-red);
  width: 0%;
  border-radius: 3px;
}

.progress-scrubber {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--netflix-red);
  display: none;
}
.progress-bar-wrapper:hover .progress-scrubber {
  display: block;
}

.controls-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.control-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.control-btn:hover {
  transform: scale(1.15);
  color: var(--netflix-red);
}

.time-display {
  font-size: 0.88rem;
  color: #e5e5e5;
  font-family: var(--font-mono);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 75px;
  accent-color: var(--netflix-red);
  cursor: pointer;
}

.speed-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--netflix-border);
  color: #fff;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

/* ==========================================================================
   Netflix Movie Details Modal ("More Info")
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 2rem 1rem;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 850px;
  background: var(--netflix-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.9);
  overflow: hidden;
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: #ffffff;
  transform: scale(1.1);
}

.modal-backdrop-header {
  position: relative;
  width: 100%;
  height: 380px;
}

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

.modal-backdrop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(24,24,24,0) 0%, rgba(24,24,24,0.4) 60%, var(--netflix-dark) 100%);
}

.modal-hero-content {
  position: absolute;
  bottom: 1.5rem;
  left: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-title {
  font-family: var(--font-bebas), var(--font-title);
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.modal-quick-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.modal-score {
  color: var(--netflix-green);
  font-weight: 800;
}

.modal-body-details {
  padding: 1.5rem 2.5rem 2.5rem 2.5rem;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.modal-tagline {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.modal-overview {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5e5e5;
  margin-bottom: 1.5rem;
}

.modal-poster-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.modal-meta-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  color: var(--netflix-muted);
  font-weight: 600;
}

.meta-value {
  color: #ffffff;
}

/* ==========================================================================
   Add / Edit Form Modal & Bulk Importer
   ========================================================================== */
.modal-form-card,
.modal-manage-card {
  padding: 2.5rem;
  background: var(--netflix-dark);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--netflix-border);
  padding-bottom: 1rem;
}

.modal-header-tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--netflix-border);
  border-radius: var(--radius-xs);
  color: var(--netflix-grey);
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-tab-btn.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: #fff;
  box-shadow: 0 0 14px var(--netflix-red-glow);
}

.stream-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--netflix-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: #141414;
  border: 1px solid var(--netflix-border);
  border-radius: var(--radius-xs);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--netflix-red);
  box-shadow: 0 0 10px var(--netflix-red-glow);
}

.highlight-group {
  background: rgba(229, 9, 20, 0.08);
  border: 1px dashed rgba(229, 9, 20, 0.4);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.input-with-action {
  display: flex;
  gap: 0.5rem;
}

.field-tip {
  font-size: 0.78rem;
  color: var(--netflix-muted);
}

/* Excel File Dropzone */
.excel-upload-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(16, 124, 65, 0.1);
  border: 2px dashed rgba(16, 124, 65, 0.5);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 1rem;
}

.excel-upload-box:hover,
.excel-upload-box.drag-over {
  background: rgba(16, 124, 65, 0.22);
  border-color: #107c41;
  box-shadow: 0 0 16px rgba(16, 124, 65, 0.4);
}

.excel-upload-icon {
  font-size: 2.2rem;
  color: #107c41;
}

.excel-upload-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.excel-upload-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.excel-upload-sub {
  font-size: 0.8rem;
  color: var(--netflix-muted);
}

.bulk-actions-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.preset-label {
  font-size: 0.82rem;
  color: var(--netflix-muted);
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-top: 1rem;
}

/* Manage Modal Cards */
.manage-grid-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.manage-action-card {
  padding: 1.25rem;
  background: #141414;
  border: 1px solid var(--netflix-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.manage-action-card h4 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.manage-action-card p {
  font-size: 0.82rem;
  color: var(--netflix-muted);
  flex: 1;
}

.json-direct-editor textarea {
  width: 100%;
  height: 120px;
  background: #0d0d0d;
  border: 1px solid var(--netflix-border);
  color: #00f0ff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.75rem;
  border-radius: var(--radius-xs);
  margin-top: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0c0c0c;
  border-top: 1px solid var(--netflix-border);
  padding: 3rem 3.5rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--netflix-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  background: none;
  border: none;
  color: var(--netflix-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: #fff;
}

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

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(32, 32, 32, 0.95);
  color: #fff;
  border: 1px solid var(--netflix-border);
  border-left: 4px solid var(--netflix-red);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-hover);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  gap: 1rem;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--netflix-red);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .netflix-navbar {
    padding: 0 2rem;
  }
  .netflix-main {
    padding: 0 2rem 3rem 2rem;
  }
  .billboard-content {
    margin-left: 2rem;
  }
  .billboard-title {
    font-size: 3rem;
  }
  .paddle-right {
    right: -2rem;
  }
}

@media (max-width: 1180px) {
  .search-wrapper input {
    width: 110px;
  }
  .search-wrapper input:focus {
    width: 170px;
  }
  .nav-tab span.tab-label {
    font-size: 0.78rem;
  }
}

@media (max-width: 990px) {
  .navbar {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .brand-sub {
    display: none;
  }
  .nav-tabs {
    max-width: 260px;
  }
  .search-wrapper input {
    width: 100px;
  }
  .search-wrapper input:focus {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 0.85rem;
    height: 64px;
  }
  .nav-left {
    gap: 0.5rem;
  }
  .nav-tabs {
    display: none;
  }
  .search-wrapper input {
    width: 90px;
  }
  .search-wrapper input:focus {
    width: 130px;
  }
  .btn-sm {
    padding: 0.38rem 0.65rem;
    font-size: 0.78rem;
  }
  .hero-content {
    margin-left: 1.5rem;
    max-width: 90%;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .modal-details-grid, .manage-grid-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  #bulkAddBtnText {
    display: none;
  }
  #addMovieBtnText {
    display: none;
  }
  .lang-select {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Virtual TV Remote Controller (Compact, Crystal-Clear, Non-Blurry)
   ========================================================================== */
.floating-remote-trigger {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: #181a24;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
  transition: all var(--transition-fast);
}

.floating-remote-trigger:hover {
  transform: translateY(-2px) scale(1.04);
  background: #222638;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.9), 0 0 16px var(--accent-gold-glow);
}

.remote-ir-indicator-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--netflix-red);
  box-shadow: 0 0 6px var(--netflix-red);
  animation: pulseIr 2s infinite ease-in-out;
}

@keyframes pulseIr {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Remote Container (No Blur, Screen Remains 100% Sharp) */
.remote-overlay {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.remote-overlay.active {
  opacity: 1;
  pointer-events: none;
}

.remote-overlay.active .virtual-remote {
  pointer-events: auto;
}

/* Sleek Compact Handheld Remote Chassis */
.virtual-remote {
  width: 210px;
  background: #141620;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 1rem 0.85rem 1.25rem 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.remote-overlay.active .virtual-remote {
  transform: translateY(0) scale(1);
}

.remote-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.remote-ir-sensor {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: #ff1a1a;
  box-shadow: 0 0 8px rgba(255, 26, 26, 0.6);
}

.remote-brand {
  font-family: var(--font-bebas), var(--font-title);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin: 0 auto;
}

.remote-close-btn {
  background: none;
  border: none;
  color: var(--netflix-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.2rem;
  transition: color var(--transition-fast);
}
.remote-close-btn:hover {
  color: #ffffff;
}

/* Remote Rows */
.remote-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
}

.remote-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #333333;
  transition: background 0.1s, box-shadow 0.1s;
}

.remote-led.blink {
  background: var(--netflix-green) !important;
  box-shadow: 0 0 8px var(--netflix-green) !important;
}

.remote-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #202330;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}
.remote-btn:active {
  transform: translateY(1px) scale(0.92);
}

.remote-btn-power {
  background: #3a1318;
  color: var(--netflix-red);
  border-color: rgba(229, 9, 20, 0.4);
}
.remote-btn-power:hover {
  background: var(--netflix-red);
  color: #fff;
  box-shadow: 0 0 10px var(--netflix-red-glow);
}

.remote-btn-mute:hover {
  background: #2e3347;
  color: var(--accent-gold);
}

/* Compact D-PAD Circular Ring */
.remote-dpad-container {
  display: flex;
  justify-content: center;
  padding: 0.1rem 0;
}

.remote-dpad {
  position: relative;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: #181a24;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}

.dpad-btn {
  position: absolute;
  background: none;
  border: none;
  color: #cfd4e2;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.dpad-btn * {
  pointer-events: none;
}

.dpad-btn:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 12px var(--accent-gold-glow);
}

.dpad-btn:active {
  color: var(--accent-gold);
  transform: scale(0.86);
}

.dpad-up {
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 34px;
}
.dpad-down {
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 34px;
}
.dpad-left {
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 54px;
}
.dpad-right {
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 54px;
}

.dpad-ok {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #252a3a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 3;
}
.dpad-ok * {
  pointer-events: none;
}
.dpad-ok:hover {
  background: #333a52;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 14px var(--accent-gold-glow);
}
.dpad-ok:active {
  transform: translate(-50%, -50%) scale(0.92);
}

/* Rockers & Shortcuts */
.remote-rockers-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
}

.remote-rocker-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0.2rem 0.15rem;
  gap: 0.15rem;
}

.rocker-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #232738;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.rocker-btn:active {
  transform: scale(0.9);
  background: var(--accent-gold);
  color: #000;
}

.rocker-label {
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--netflix-muted);
  letter-spacing: 0.05em;
  padding: 0.05rem 0;
}

.remote-center-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.remote-shortcut-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #202332;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.remote-shortcut-circle:hover {
  background: #2e344a;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
.remote-shortcut-circle:active {
  transform: scale(0.92);
}

/* Quick App Buttons */
.remote-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

.app-btn {
  padding: 0.38rem 0.25rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #181a25;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all var(--transition-fast);
}

.app-btn:hover {
  background: #24293c;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
.app-btn:active {
  transform: scale(0.94);
}

.app-classics {
  border-left: 2px solid var(--accent-gold);
}
.app-top10 {
  border-left: 2px solid var(--netflix-red);
}

/* Playback Row */
.remote-playback-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #12141c;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.transport-btn {
  background: none;
  border: none;
  color: #b0b6cc;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 3px;
  transition: all var(--transition-fast);
}
.transport-btn:hover {
  color: #ffffff;
}
.transport-btn:active {
  transform: scale(0.9);
  color: var(--netflix-red);
}

.transport-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #252a3d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.transport-play:hover {
  background: var(--netflix-red);
  color: #ffffff;
}

/* Compact Number Pad 0-9 */
.remote-numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.num-btn {
  padding: 0.32rem 0;
  background: #171924;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #cfd4e2;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.num-btn:hover {
  background: #222638;
  color: #ffffff;
}
.num-btn:active {
  background: var(--accent-gold);
  color: #000000;
  transform: scale(0.92);
}

