/* ── Reset & Base ── */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #0B0B0B;
  color: #FFFFFF;
  overflow-x: hidden;
  padding-bottom: 80px;
}
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:#151515; }
::-webkit-scrollbar-thumb { background:#E50914; border-radius:10px; }

/* ── Glassmorphism ── */
.glass { background:rgba(255,255,255,0.05); backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,0.06); }
.glass-card {
  background:rgba(255,255,255,0.04);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:16px;
  transition:all 0.3s ease;
}
.glass-card:hover {
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.12);
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

/* ── Hero Banner ── */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 700px;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  background: #0B0B0B;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.2) 0%, rgba(11, 11, 11, 0.85) 80%, #0B0B0B 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px 24px 60px;
}

.hero-slide .hero-content {
  max-width: 600px;
  animation: fadeUp 0.8s ease;
}

.hero-slide .hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-slide .hero-content p {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  opacity: 0.85;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots span.active {
  background: #E50914;
  width: 24px;
  border-radius: 6px;
}

.slider-dots span:hover {
  background: rgba(255, 255, 255, 0.6);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 767px) {
  .hero-banner {
    aspect-ratio: 16 / 9;
    max-height: 400px;
    border-radius: 0 0 20px 20px;
  }
  .hero-slide .hero-overlay {
    padding: 20px 16px 40px;
  }
  .hero-slide .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-slide .hero-content p {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }
  .slider-dots span {
    width: 8px;
    height: 8px;
  }
  .slider-dots span.active {
    width: 18px;
  }
}

@media (min-width: 768px) {
  .hero-banner {
    aspect-ratio: 16 / 9;
    max-height: 700px;
  }
}

@media (min-width: 1024px) {
  .hero-banner {
    aspect-ratio: 16 / 9;
    max-height: 800px;
  }
}


/* ── Poster Cards ── */
.poster-card {
  position:relative;
  flex-shrink:0;
  width:160px;
  border-radius:12px;
  overflow:hidden;
  background:#151515;
  transition:all 0.3s ease;
  cursor:pointer;
}
.poster-card img {
  width:100%;
  height:220px;
  object-fit:cover;
  transition:transform 0.4s ease;
}
.poster-card:hover img { transform:scale(1.05); }
.poster-card .poster-info { padding:10px 12px 12px; }
.poster-card .poster-info h4 {
  font-size:0.85rem;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.poster-card .poster-info .badge {
  font-size:0.65rem;
  text-transform:uppercase;
  color:#E50914;
  font-weight:700;
  letter-spacing:0.5px;
}
.poster-card .bookmark-btn {
  position:absolute;
  top:8px;
  right:8px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(4px);
  border:none;
  color:#fff;
  font-size:0.9rem;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all 0.2s ease;
  z-index:2;
}
.poster-card .bookmark-btn:hover { background:#E50914; transform:scale(1.1); }
.poster-card .bookmark-btn.active { color:#E50914; background:rgba(229,9,20,0.3); }

/* ── Scroll Row ── */
.scroll-row {
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:8px 4px 16px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
}
.scroll-row::-webkit-scrollbar { height:4px; }
.scroll-row::-webkit-scrollbar-thumb { background:#E50914; border-radius:10px; }

/* ── Section Header ── */
.section-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 4px 12px;
}
.section-header h2 { font-size:1.25rem; font-weight:700; letter-spacing:-0.3px; }
.section-header a { color:#E50914; font-size:0.85rem; font-weight:600; text-decoration:none; }

/* ── Bottom Navigation (Updated with .nav-btn & active indicator) ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px;
  z-index: 1000;
}

.bottom-nav .nav-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 4px 16px;
  position: relative;
}

.bottom-nav .nav-btn i {
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.bottom-nav .nav-btn span {
  font-size: 0.65rem;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.bottom-nav .nav-btn.active {
  color: #E50914;
}

.bottom-nav .nav-btn.active i {
  transform: scale(1.1);
}

.bottom-nav .nav-btn:hover {
  color: #fff;
}

.bottom-nav .nav-btn:hover i {
  transform: scale(1.05);
}

/* Active indicator dot */
.bottom-nav .nav-btn.active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #E50914;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(0.8); }
}

/* ── Bottom Nav Responsive ── */
@media (max-width: 480px) {
  .bottom-nav .nav-btn {
    padding: 4px 10px;
  }
  .bottom-nav .nav-btn i {
    font-size: 1.2rem;
  }
  .bottom-nav .nav-btn span {
    font-size: 0.55rem;
  }
}

/* ============================================================ */
/* ===== FIXED HEADER (watch/player pages) – solves black strap ===== */
/* ============================================================ */
#app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#app-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  opacity: 0.9;
  transition: 0.2s;
}

#app-header button:hover {
  opacity: 1;
}

/* Prevent content from hiding behind the fixed header */
#watchDetail {
  padding-top: 70px;
}

@media (max-width: 480px) {
  #app-header {
    padding: 10px 16px;
  }
  #watchDetail {
    padding-top: 60px;
  }
}
/* ============================================================ */

/* ── Search Overlay ── */
.search-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  backdrop-filter:blur(12px);
  z-index:2000;
  display:none;
  padding:20px;
  animation:fadeIn 0.25s ease;
}
.search-overlay.open { display:block; }
@keyframes fadeIn {
  from { opacity:0; transform:scale(0.96); }
  to { opacity:1; transform:scale(1); }
}
.search-overlay input {
  width:100%;
  padding:16px 20px;
  border-radius:16px;
  border:none;
  background:#1a1a1a;
  color:#fff;
  font-size:1.1rem;
  outline:none;
  border:1px solid rgba(255,255,255,0.08);
}
.search-overlay input:focus { border-color:#E50914; }
.search-results {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:16px;
  margin-top:20px;
  max-height:70vh;
  overflow-y:auto;
  padding-bottom:20px;
}
.search-results .result-item {
  background:#151515;
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  transition:all 0.2s;
}
.search-results .result-item:hover { transform:scale(1.03); border-color:#E50914; }
.search-results .result-item img {
  width:100%;
  height:180px;
  object-fit:cover;
}
.search-results .result-item .info { padding:10px 12px; }
.search-results .result-item .info h4 { font-size:0.85rem; font-weight:600; }
.search-results .result-item .info span {
  font-size:0.7rem;
  color:#E50914;
  text-transform:uppercase;
  font-weight:600;
}

/* ── Menu Overlay ── */
.menu-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(8px);
  z-index:1500;
  display:none;
  padding:24px;
  animation:slideUp 0.3s ease;
}
.menu-overlay.open { display:block; }
@keyframes slideUp {
  from { transform:translateY(40px); opacity:0; }
  to { transform:translateY(0); opacity:1; }
}
.menu-overlay .menu-content {
  background:#151515;
  border-radius:24px;
  padding:24px;
  max-width:500px;
  margin:0 auto;
  max-height:80vh;
  overflow-y:auto;
}
.menu-overlay .menu-content .filter-group {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:16px 0;
}
.menu-overlay .menu-content .filter-group button {
  padding:8px 20px;
  border-radius:30px;
  border:none;
  background:#2a2a2a;
  color:#aaa;
  font-weight:600;
  font-size:0.85rem;
  cursor:pointer;
  transition:all 0.2s;
}
.menu-overlay .menu-content .filter-group button.active,
.menu-overlay .menu-content .filter-group button:hover { background:#E50914; color:#fff; }
.menu-overlay .close-btn {
  background:none;
  border:none;
  color:#fff;
  font-size:1.5rem;
  cursor:pointer;
  float:right;
}

/* ── Watch Page ── */
.watch-banner {
  position:relative;
  height:45vh;
  min-height:300px;
  border-radius:0 0 32px 32px;
  overflow:hidden;
}
.watch-banner img {
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.6;
}
.watch-banner .overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(11,11,11,0.1) 0%, rgba(11,11,11,0.9) 80%, #0B0B0B 100%);
  display:flex;
  align-items:flex-end;
  padding:30px 24px 40px;
}
.poster-sm {
  width:80px;
  height:110px;
  border-radius:12px;
  object-fit:cover;
  flex-shrink:0;
}

/* ── Episode Cards ── */
.episode-card {
  display:flex;
  gap:16px;
  background:#151515;
  border-radius:14px;
  padding:12px;
  cursor:pointer;
  transition:all 0.2s;
  border:1px solid transparent;
}
.episode-card:hover {
  background:#1e1e1e;
  border-color:rgba(229,9,20,0.3);
  transform:translateX(4px);
}
.episode-card img {
  width:120px;
  height:70px;
  object-fit:cover;
  border-radius:8px;
  flex-shrink:0;
}
.episode-card .ep-info h4 { font-size:0.9rem; font-weight:600; }
.episode-card .ep-info p {
  font-size:0.8rem;
  opacity:0.7;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ── Loading Skeleton ── */
.skeleton {
  background:linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size:200% 100%;
  animation:shimmer 1.5s infinite;
  border-radius:12px;
}
@keyframes shimmer {
  0% { background-position:200% 0; }
  100% { background-position:-200% 0; }
}

/* ── Player ── */
.player-wrapper {
  position:relative;
  width:100%;
  background:#000;
  border-radius:16px;
  overflow:hidden;
}
.player-wrapper video {
  width:100%;
  display:block;
  aspect-ratio:16/9;
  background:#000;
}

/* ── Admin ── */
.admin-stat {
  background:#151515;
  border-radius:16px;
  padding:20px 24px;
  border:1px solid rgba(255,255,255,0.05);
}
.admin-stat .number { font-size:2rem; font-weight:800; color:#E50914; }
.admin-table {
  width:100%;
  border-collapse:collapse;
  font-size:0.85rem;
}
.admin-table th {
  text-align:left;
  padding:12px 14px;
  background:#1a1a1a;
  color:#aaa;
  font-weight:600;
  border-bottom:2px solid #2a2a2a;
}
.admin-table td {
  padding:12px 14px;
  border-bottom:1px solid #1a1a1a;
  vertical-align:middle;
}
.admin-table tr:hover td { background:#151515; }
.admin-table img {
  width:40px;
  height:56px;
  object-fit:cover;
  border-radius:6px;
}

/* ── Buttons & Forms ── */
.btn-primary {
  background:#E50914;
  color:#fff;
  padding:10px 24px;
  border-radius:30px;
  border:none;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s;
}
.btn-primary:hover { background:#b20710; transform:scale(1.02); }
.btn-secondary {
  background:#2a2a2a;
  color:#fff;
  padding:10px 24px;
  border-radius:30px;
  border:none;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s;
}
.btn-secondary:hover { background:#3a3a3a; }
.btn-danger {
  background:#dc2626;
  color:#fff;
  padding:6px 16px;
  border-radius:8px;
  border:none;
  cursor:pointer;
  font-weight:600;
  transition:all 0.2s;
}
.btn-danger:hover { background:#b91c1c; }
.form-input {
  width:100%;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid #2a2a2a;
  background:#1a1a1a;
  color:#fff;
  font-size:0.95rem;
  outline:none;
  transition:border 0.2s;
}
.form-input:focus { border-color:#E50914; }
.form-input::placeholder { color:#666; }
.form-label {
  display:block;
  font-weight:600;
  font-size:0.85rem;
  margin-bottom:4px;
  color:#ccc;
}

/* ── Toast ── */
.toast {
  position:fixed;
  bottom:100px;
  left:50%;
  transform:translateX(-50%);
  background:#1a1a1a;
  border:1px solid rgba(255,255,255,0.1);
  padding:12px 28px;
  border-radius:16px;
  font-weight:600;
  z-index:5000;
  backdrop-filter:blur(8px);
  display:none;
  animation:fadeIn 0.3s ease;
}
.toast.show { display:block; }

/* ── Confirm Modal ── */
.modal-confirm {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.8);
  backdrop-filter:blur(6px);
  z-index:3000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.modal-confirm.open { display:flex; }
.modal-confirm .modal-box {
  background:#1a1a1a;
  border-radius:24px;
  padding:32px;
  max-width:400px;
  width:100%;
  text-align:center;
}
.modal-confirm .modal-box h3 { font-size:1.3rem; margin-bottom:8px; }
.modal-confirm .modal-box .actions { display:flex; gap:12px; margin-top:20px; justify-content:center; }

/* ── Profile Avatar ── */
.profile-avatar {
  width:80px;
  height:80px;
  border-radius:50%;
  background:#2a2a2a;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2.5rem;
  color:#E50914;
  border:3px solid #E50914;
}
/* ============================================================ */
/* ===== ADD THIS TO style.css ===== */
/* ============================================================ */

/* ── Auth Modals ── */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.35s ease;
}

.auth-modal.open {
  display: flex;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(24px);
  }
}

.auth-modal-content {
  background: linear-gradient(145deg, rgba(21, 21, 21, 0.98), rgba(11, 11, 11, 0.98));
  border-radius: 28px;
  padding: 44px 38px 36px;
  max-width: 420px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(229, 9, 20, 0.1);
  position: relative;
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: #888;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-close-btn:hover {
  color: #E50914;
  background: rgba(229, 9, 20, 0.15);
  transform: rotate(90deg);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.05));
  border: 1px solid rgba(229, 9, 20, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.8rem;
  color: #E50914;
}

.auth-modal-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #E50914, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

.auth-modal-header p {
  opacity: 0.5;
  font-size: 0.95rem;
  -webkit-text-fill-color: #aaa;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus {
  border-color: #E50914;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.form-group input::placeholder {
  color: #555;
}

.form-group input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #fff !important;
}

.auth-submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #E50914, #b20710);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}

.auth-submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  background-size: 300% 100%;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { background-position: 300% 0; }
  100% { background-position: -300% 0; }
}

.auth-submit-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
}

.auth-submit-btn:active {
  transform: scale(0.97);
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-submit-btn .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.auth-submit-btn.loading .spinner {
  display: block;
}
.auth-submit-btn.loading i,
.auth-submit-btn.loading span {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 0.9rem;
  opacity: 0.6;
}

.auth-switch span {
  color: #E50914;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-switch span:hover {
  color: #ff6b6b;
  text-decoration: underline;
}

.auth-error {
  color: #E50914;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.auth-error.show {
  display: block;
}

/* ── Auth Modal Responsive ── */
@media (max-width: 480px) {
  .auth-modal-content {
    padding: 30px 20px 26px;
    border-radius: 20px;
  }
  .auth-modal-header h2 {
    font-size: 1.4rem;
  }
  .auth-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
  .form-group input {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .auth-submit-btn {
    padding: 13px;
    font-size: 0.95rem;
  }
}


.profile-action-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* ← left align */
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: left; /* ensure text left */
}

.profile-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.profile-action-btn i {
  width: 24px;
  color: #E50914;
  text-align: center;
}

/* Updated .btn-secondary & .btn-danger for icons */
.btn-secondary, .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-secondary:hover, .btn-danger:hover {
  transform: scale(1.02);
}
/* ── Responsive ── */
@media (min-width:768px) {
  .poster-card { width:200px; }
  .poster-card img { height:280px; }
  .hero-banner { max-height:800px; }
  .search-results { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); }
  .watch-banner { height:55vh; }
}
@media (min-width:1024px) {
  .poster-card { width:230px; }
  .poster-card img { height:320px; }
}
.text-gradient {
  background:linear-gradient(135deg, #E50914, #ff6b6b);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.badge-red {
  background:#E50914;
  color:#fff;
  font-size:0.65rem;
  font-weight:700;
  padding:2px 10px;
  border-radius:20px;
  text-transform:uppercase;
  letter-spacing:0.3px;
}
.tag {
  background:rgba(229,9,20,0.15);
  color:#E50914;
  padding:4px 14px;
  border-radius:20px;
  font-size:0.75rem;
  font-weight:600;
}

/* ── Mobile Hero Fix ── */
@media (max-width: 767px) {
  .hero-banner {
    aspect-ratio: 16 / 9;
    max-height: 380px;
    border-radius: 0 0 16px 16px;
  }
  .hero-slide .hero-overlay {
    padding: 16px 14px 30px;
  }
  .hero-slide .hero-content h1 {
    font-size: 1.0rem;
    margin-bottom: 12%;
    margin-left: 6px;
    
  }
  .hero-slide .hero-content .btn-primary {
    padding: 6px 16px;
    font-size: 0.8rem;
    padding-bottom: 10px;
  }
  .slider-dots {
    bottom: 8px;
    gap: 6px;
  }
  .slider-dots span {
    width: 6px;
    height: 6px;
  }
  .slider-dots span.active {
    width: 14px;
  }
} 