/* ==========================================================================
   ANIFLIX 4K - NETFLIX FOR ANIME STYLESHEET
   Aesthetics: Deep Dark Slate, Crimson Red (#E50914), Neon Cyan (#00F0FF) 4K Glow
   ========================================================================== */

:root {
  --bg-main: #000000;
  --bg-darker: #000000;
  --bg-card: #0c0c0f;
  --bg-card-hover: #141419;
  --netflix-red: #E50914;
  --netflix-red-hover: #f40612;
  --netflix-red-glow: rgba(229, 9, 20, 0.5);
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.6);
  --neon-green: #00ff88;
  --text-white: #ffffff;
  --text-gray: #a3a3a3;
  --text-muted: #737373;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(255, 255, 255, 0.4);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.15s ease-out;
}

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

html {
  background-color: #000000 !important;
  background: #000000 !important;
  scroll-behavior: smooth;
}

body.netflix-dark {
  background-color: #000000 !important;
  background: #000000 !important;
  color: var(--text-white);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   NAVBAR (NETFLIX STYLE HEADER)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  transition: background-color 0.4s ease;
}

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

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

.brand-logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1.5px;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.brand-logo-img {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  pointer-events: none;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  pointer-events: none;
}

.logo-red {
  color: var(--netflix-red);
}

.logo-white {
  color: var(--text-white);
}

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

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

.nav-link:hover {
  color: #b3b3b3;
}

.nav-link.active {
  color: var(--text-white);
  font-weight: 700;
}

.nav-4k-tag {
  color: var(--neon-cyan) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 12px !important;
}

.nav-4k-tag:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 10px var(--neon-cyan-glow);
}

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

.nav-action-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.nav-action-btn:hover {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  box-shadow: 0 0 12px var(--netflix-red-glow);
}

.search-box {
  display: flex;
  align-items: center;
  position: relative;
}

.search-toggle {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 17px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.search-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

#searchInput {
  width: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-white);
  padding: 7px 32px 7px 12px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 14px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  outline: none;
}

.search-box.open #searchInput {
  width: 240px;
  opacity: 1;
  margin-left: 6px;
  border-color: var(--netflix-red);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
}

.search-clear-btn:hover {
  color: #fff;
}

.nav-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 18px;
  cursor: pointer;
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: var(--netflix-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   USER PROFILE NAVBAR & DROPDOWN (NETFLIX STYLE)
   ========================================================================== */
.user-profile-wrapper {
  position: relative;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.15s ease;
  user-select: none;
}

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

.user-profile img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s, transform 0.2s;
}

.user-profile:hover img {
  border-color: #fff;
  transform: scale(1.05);
}

.user-profile i {
  font-size: 11px;
  color: var(--text-secondary);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}

.user-profile:hover i {
  color: #fff;
}

.user-profile.dropdown-open i {
  transform: rotate(180deg);
  color: #fff;
}

/* Dropdown Menu */
.profile-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 270px;
  background: rgba(18, 18, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2);
  display: none;
  flex-direction: column;
  z-index: 2000;
  animation: profileDropdownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-dropdown.show {
  display: flex;
}

@keyframes profileDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 8px 6px;
}

.dropdown-active-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--netflix-red);
}

.dropdown-active-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.dropdown-active-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-active-status {
  font-size: 0.75rem;
  color: #46d369;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-active-status i {
  font-size: 6px;
}

.profile-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.dropdown-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 6px 6px 6px;
}

.profile-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-profile-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.18s ease;
}

.dropdown-profile-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-profile-item img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.dropdown-profile-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: #ddd;
  transition: color 0.18s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-profile-item:hover span {
  color: #fff;
}

.profile-dropdown-actions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  text-align: left;
}

.dropdown-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dropdown-action-btn i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  color: var(--text-secondary);
  transition: color 0.18s;
}

.dropdown-action-btn:hover i {
  color: #fff;
}

.dropdown-action-btn.text-danger {
  color: #ff5555;
}

.dropdown-action-btn.text-danger:hover {
  background: rgba(229, 9, 20, 0.15);
  color: #ff3333;
}

.dropdown-action-btn.text-danger i {
  color: #ff5555;
}

/* ==========================================================================
   ANIFLOW 4K CİNEMATİK PROFİL SEÇİM KAPISI (PROFILE GATE OVERLAY - 100% SABİT & PÜR SİYAH)
   ========================================================================== */
.profile-gate-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  z-index: 999999 !important;
  background-color: #000000 !important;
  background: #000000 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s;
  overflow: hidden !important; /* ASLA AŞAĞI YUKARI KAYMAZ VEYA OYNAMAZ */
  overscroll-behavior: none !important;
  touch-action: manipulation !important;
  padding: 16px 20px !important;
  box-sizing: border-box !important;
}

.profile-gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 1. Giriş ekranı arka planı tamamen pür siyah (#000000) - Logo kalacak şekilde */
.profile-gate-backdrop-art,
.profile-gate-ambient-orb,
.profile-gate-vignette {
  display: none !important;
}

/* 2. Container & Brand Hero Header - Tamamen Sabit & Ortalı */
.profile-gate-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  animation: none !important; /* YUKARI DOĞRU ZIPLAMA YOKTUR */
  transform: none !important;
}

.profile-gate-brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.profile-gate-logo-hero {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(229, 9, 20, 0.4));
  transition: opacity 0.2s ease;
}

.profile-gate-logo-hero:hover {
  opacity: 0.95;
}

.profile-gate-title-wrap {
  margin-bottom: 22px;
}

.profile-gate-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.6px;
  margin: 0 0 6px 0;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(180deg, #ffffff 30%, #dcdcdc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-gate-subtitle {
  font-size: clamp(0.88rem, 1.6vw, 1.02rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.45;
  font-weight: 400;
}

/* 3. Sabit Profil Kartları (Asla Aşağı-Yukarı Oynamaz) */
.profile-gate-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  width: 100%;
}

.profile-card {
  position: relative;
  width: 144px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 14px 10px 12px 10px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transform: none !important; /* ASLA AŞAĞI YUKARI OYNAMAZ */
}

.profile-card:hover {
  transform: none !important; /* ASLA AŞAĞI YUKARI OYNAMAZ */
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(229, 9, 20, 0.8);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.45);
}

.profile-avatar-box {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 2.5px solid transparent;
  background-color: #1a1a22;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.profile-card:hover .profile-avatar-box {
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
  transition: none !important;
}

.profile-card:hover .profile-avatar-img {
  transform: none !important;
}

.card-4k-mini {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(229, 9, 20, 0.95);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.profile-name {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 125px;
}

.profile-subtag {
  margin-top: 3px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.profile-card-add {
  border: 2px dashed rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.015);
}

.profile-card-add .profile-avatar-box {
  background: rgba(255, 255, 255, 0.03);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card-add:hover {
  border-color: var(--netflix-red);
  background: rgba(229, 9, 20, 0.08);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.35);
}

.profile-card-add i {
  font-size: 38px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.profile-card-add:hover i {
  color: var(--netflix-red);
}

/* 4. Sabit Aksiyon Butonları */
.profile-gate-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-manage-profiles {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 11px 26px;
  cursor: pointer;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  font-family: inherit;
  transform: none !important; /* ASLA AŞAĞI YUKARI OYNAMAZ */
}

.btn-manage-profiles:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: none !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.btn-manage-profiles.active-managing {
  background: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

.btn-quick-guest {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 30px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  transform: none !important; /* ASLA AŞAĞI YUKARI OYNAMAZ */
}

.btn-quick-guest:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: none !important;
}

.btn-delete-all-profiles {
  border-color: rgba(229, 9, 20, 0.7) !important;
  color: #ff4d4d !important;
  background: rgba(229, 9, 20, 0.15) !important;
  padding: 11px 24px !important;
  border-radius: 30px !important;
  transform: none !important; /* ASLA AŞAĞI YUKARI OYNAMAZ */
}

.btn-delete-all-profiles:hover {
  background: #e50914 !important;
  color: #fff !important;
  border-color: #e50914 !important;
  transform: none !important;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.55);
}

.profile-gate-empty-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  max-width: 440px;
  margin: 0 auto 20px;
}

.profile-gate-empty-notice .empty-icon {
  font-size: 40px;
  color: #777;
  margin-bottom: 12px;
}

.profile-gate-empty-notice h3 {
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.profile-gate-empty-notice p {
  font-size: 0.92rem;
  color: #999;
  margin: 0;
  line-height: 1.5;
}

/* Managing Mode & Hover Badges */
.profile-edit-badge,
.profile-delete-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.profile-card:hover .profile-edit-badge,
.managing-mode .profile-edit-badge {
  display: flex;
}

.profile-card:hover .profile-delete-badge,
.managing-mode .profile-delete-badge {
  display: flex;
  right: auto;
  left: 8px;
  background: rgba(229, 9, 20, 0.95);
  border-color: #e50914;
}

.profile-edit-badge:hover {
  background: #fff;
  color: #141414;
  transform: scale(1.15);
}

.profile-delete-badge:hover {
  background: #ff1f2d;
  transform: scale(1.15);
}

/* ==========================================================================
   PROFILE ADD / EDIT MODAL
   ========================================================================== */
.profile-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: profileModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-modal-overlay.active {
  display: flex;
}

@keyframes profileModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.profile-modal-box {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  width: 100%;
  max-width: 540px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateZ(0);
  will-change: transform, opacity;
  animation: profileModalSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes profileModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.profile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.profile-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s;
}

.profile-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.profile-modal-desc {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.5;
  margin: 0;
}

.profile-modal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-input-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ddd;
}

.profile-input-group input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.profile-input-group input:focus {
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.12);
}

.avatar-picker-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #eee;
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-picker-label i {
  color: var(--netflix-red);
}

/* Custom Avatar Upload Section */
.custom-avatar-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-avatar-uploader {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-custom-upload {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 9, 20, 0.15);
  border: 1.5px dashed var(--netflix-red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-custom-upload:hover {
  background: rgba(229, 9, 20, 0.28);
  border-color: #ff3333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.btn-custom-upload i {
  font-size: 1.1rem;
  color: #ff4d4d;
}

.custom-avatar-preview-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px 6px 6px;
  border-radius: 8px;
  border: 2px solid #46d369;
}

.custom-avatar-preview-box img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.custom-avatar-selected-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #46d369;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-remove-avatar {
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: #ff4d4d;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  font-size: 13px;
  transition: all 0.2s ease;
}

.btn-remove-avatar:hover {
  background: var(--netflix-red);
  color: #fff;
  transform: scale(1.08);
}

/* Avatar Picker Header & Grid */
.avatar-picker-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.avatar-picker-sub {
  font-size: 0.8rem;
  color: #888;
}

.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 6px 4px 2px;
  contain: paint;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for avatar picker */
.avatar-picker-grid::-webkit-scrollbar {
  width: 6px;
}

.avatar-picker-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.avatar-picker-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.avatar-picker-grid::-webkit-scrollbar-thumb:hover {
  background: var(--netflix-red);
}

.avatar-picker-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #1c1c1c;
  box-sizing: border-box;
  transform: translateZ(0);
  will-change: transform;
  contain: content;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.avatar-picker-item:hover {
  transform: translateY(-2px) scale(1.03) translateZ(0);
  border-color: rgba(255, 255, 255, 0.6);
}

.avatar-picker-item.selected {
  border-color: var(--netflix-red);
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.6);
  transform: scale(1.04) translateZ(0);
}

.avatar-picker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.avatar-picker-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9) 60%);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 3px 3px 3px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.profile-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.profile-modal-footer .btn {
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

.profile-modal-footer .btn-danger-outline {
  background: transparent;
  border: 1.5px solid rgba(229, 9, 20, 0.6);
  color: #ff4d4d;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.profile-modal-footer .btn-danger-outline:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: #ff3333;
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile Adjustments for Profile Gate */
@media (max-width: 768px) {
  .profile-gate-header {
    top: 20px;
    left: 20px;
  }

  .profile-gate-logo {
    height: 32px;
  }

  .profile-gate-title {
    font-size: 2.2rem;
    margin-bottom: 28px;
  }

  .profile-gate-grid {
    gap: 20px;
    margin-bottom: 36px;
  }

  .profile-card {
    width: 100px;
  }

  .profile-avatar-box {
    width: 96px;
    height: 96px;
  }

  .profile-name {
    font-size: 0.95rem;
    max-width: 96px;
  }

  .avatar-picker-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   HERO BANNER (NETFLIX CINEMATIC VITRIN)
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 0 4%;
  margin-bottom: 20px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.02);
  transition: transform 1.2s ease, filter 0.5s ease;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.hero-vignette-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 60%, #000000 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding-top: 60px;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-top-badge {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-top-badge i {
  color: var(--netflix-red);
}

.quality-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.badge-4k {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.badge-hdr {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.5px;
}

.hero-japanese {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 16px;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.meta-match {
  color: #46d369;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-year {
  color: var(--text-gray);
}

.meta-rating {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1px 6px;
  font-size: 12px;
  border-radius: 2px;
}

.meta-episodes {
  color: var(--text-gray);
}

.meta-genre {
  color: #d1d5db;
  font-weight: 500;
  font-size: 13px;
}

.hero-description {
  font-size: 16px;
  color: #e5e5e5;
  line-height: 1.5;
  margin-bottom: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Button Classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-play {
  background-color: var(--text-white);
  color: #000;
}

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

.btn-more-info {
  background-color: rgba(109, 109, 110, 0.7);
  color: var(--text-white);
}

.btn-more-info:hover {
  background-color: rgba(109, 109, 110, 0.45);
  transform: scale(1.03);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-icon-round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition-fast);
}

.btn-icon-round:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.pill-4k-icon {
  border-color: var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
}

.pill-4k-icon:hover {
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

/* ==========================================================================
   CONTENT CATALOG & NETFLIX HORIZONTAL SLIDERS
   ========================================================================== */
/* ==========================================================================
   EN SON İZLENENLER (CONTINUE WATCHING / WATCH HISTORY)
   ========================================================================== */
.recent-watch-section {
  position: relative;
  z-index: 12;
  margin-bottom: 35px;
  padding: 0 4%;
}

.recent-category-row {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  overflow: visible;
}

.recent-slider-wrapper {
  position: relative;
  z-index: 5;
}

.recent-slider-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 6px 4px 10px 4px;
  margin: 0;
  scrollbar-width: none;
  pointer-events: auto;
}

.recent-slider-container::-webkit-scrollbar {
  display: none;
}

.recent-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 64px;
  width: 40px;
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
  border-radius: 6px;
}

.recent-arrow.left {
  left: 6px;
}

.recent-arrow.right {
  right: 6px;
}

.recent-slider-wrapper:hover .recent-arrow {
  opacity: 1;
  pointer-events: auto;
}

.recent-arrow:hover {
  background: rgba(40, 40, 45, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.clear-history-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #bbb;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.clear-history-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.recent-watch-card {
  min-width: 270px;
  max-width: 270px;
  height: 220px;
  background: #141419;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.recent-watch-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.35);
}

.recent-image-wrap {
  width: 100%;
  height: 125px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.recent-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-watch-card:hover .recent-image-wrap img {
  transform: scale(1.06);
}

.recent-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  opacity: 0.8;
}

.recent-remove-btn:hover {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  opacity: 1;
  transform: scale(1.1);
}

.recent-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 4;
}

.recent-progress-bar {
  height: 100%;
  background: var(--netflix-red);
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.8);
  transition: width 0.3s ease;
}

.recent-badge-info {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  z-index: 3;
}

.recent-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  background: #14141a;
}

.recent-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.recent-card-ep {
  font-size: 11px;
  color: #9ca3af;
  margin: 2px 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-resume-play {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.recent-watch-card:hover .btn-resume-play {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.content-catalog {
  position: relative;
  z-index: 10;
  margin-top: -35px;
  padding-bottom: 20px;
}

.category-row {
  margin-bottom: 35px;
  padding: 0 4%;
  position: relative;
  z-index: 10;
  transition: z-index 0.15s ease;
}

.category-row:last-child {
  margin-bottom: 10px;
}

.category-row:hover {
  z-index: 100;
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
  z-index: 5;
}

.row-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.row-title-accent {
  color: var(--netflix-red);
}

.row-explore-btn {
  font-size: 13px;
  color: #54b9c5;
  text-decoration: none;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.category-row:hover .row-explore-btn {
  opacity: 1;
}

/* Slider Track Wrapper */
.slider-wrapper {
  position: relative;
  z-index: 15;
  pointer-events: none;
}

.slider-wrapper:hover {
  z-index: 90;
}

.slider-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  padding: 4px 10px 165px 10px;
  margin: 0 -10px -155px -10px;
  scrollbar-width: none; /* Firefox */
  pointer-events: none; /* Boş padding alanının alttaki satırın kartlarını engellemesini önler */
}

.slider-container > * {
  pointer-events: auto; /* Kartlar ve içerikler mouse olaylarını doğrudan alır */
}

.slider-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Arrow Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: calc(100% - 24px);
  max-height: 120px;
  width: 48px;
  background: rgba(20, 20, 20, 0.85);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none; /* Görünmezken kart tıklamalarını ve hover olaylarını engellemez */
  transition: opacity 0.25s ease, background-color 0.2s ease;
  backdrop-filter: blur(6px);
}

.slider-arrow.left {
  left: -4%;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.slider-arrow.right {
  right: -4%;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.category-row:hover .slider-arrow,
.slider-wrapper:hover .slider-arrow {
  opacity: 1;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: rgba(229, 9, 20, 0.9);
}

/* Anime Card Component */
.anime-card {
  flex: 0 0 240px;
  position: relative;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  overflow: visible;
  z-index: 20;
  pointer-events: auto;
}

.anime-card:hover {
  z-index: 250;
  transform: translateY(-2px);
}

.card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #2a2a2a;
  cursor: pointer;
  pointer-events: auto;
}

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

.card-4k-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: var(--neon-cyan);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--neon-cyan);
  z-index: 3;
  pointer-events: none;
}

.card-title-fallback {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 10px 8px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  pointer-events: none;
}

/* Card Hover Expansion (Netflix Hover Card - Ultra Smooth 60fps) */
.card-hover-box {
  position: absolute;
  top: -8px;
  left: -20px;
  width: 280px;
  background: #181818;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.95) translateY(2px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
  will-change: transform, opacity;
  z-index: 350;
  overflow: hidden;
  cursor: pointer;
}

.anime-card:hover .card-hover-box {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1.05) translateY(-4px);
  transition-delay: 0.04s;
}

.hover-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.hover-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hover-image-wrap:hover img {
  transform: scale(1.04);
}

/* Hover Play Hint Badge */
.hover-play-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  z-index: 10;
}

.hover-play-hint i {
  margin-left: 2px;
}

.hover-image-wrap:hover .hover-play-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hover-badge-4k {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 240, 255, 0.25);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

.hover-content {
  padding: 12px 14px 14px 14px;
}

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

.hover-left-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hover-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-hover-play:hover {
  background: var(--netflix-red);
  color: #fff;
  transform: scale(1.08);
}

.btn-hover-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-hover-icon:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.hover-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.hover-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 8px;
}

.hover-desc {
  font-size: 11px;
  line-height: 1.45;
  color: #b8b8b8;
  margin: 6px 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.hover-genres {
  font-size: 11px;
  color: var(--text-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   MODAL COMPONENT (NETFLIX DETAILS & STREAM LOADER)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background-color: #181818;
  width: 100%;
  max-width: 850px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

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

.modal-close:hover {
  background: var(--netflix-red);
}

.modal-banner {
  position: relative;
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center;
}

.modal-banner-vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 0%, #181818 100%);
}

.modal-banner-actions {
  position: absolute;
  bottom: 24px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

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

.modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-overview {
  font-size: 15px;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-episodes-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.episodes-header {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.episode-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.episode-item:hover {
  background-color: #262626;
}

.ep-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  width: 24px;
}

.ep-thumb-wrap {
  position: relative;
  width: 120px;
  height: 68px;
  border-radius: 4px;
  overflow: hidden;
  background: #333;
  flex-shrink: 0;
}

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

.ep-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.episode-item:hover .ep-thumb-play {
  opacity: 1;
}

.ep-info {
  flex-grow: 1;
}

.ep-title-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.ep-duration {
  color: var(--text-muted);
  font-size: 12px;
}

.ep-desc {
  font-size: 12px;
  color: var(--text-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal Right Sidebar */
.modal-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-block {
  font-size: 14px;
  line-height: 1.4;
}

.meta-label {
  color: var(--text-muted);
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.meta-value {
  color: #ddd;
}

.feature-4k-box {
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

.feature-title {
  color: var(--neon-cyan);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 12px;
  color: #a8d5db;
  line-height: 1.4;
}

/* ==========================================================================
   STREAM INGESTION MODAL (DIŞ VİDEO YÜKLEME FORMU)
   ========================================================================== */
.stream-modal-card {
  max-width: 580px;
  padding: 32px;
}

.stream-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.stream-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid var(--netflix-red);
  color: var(--netflix-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
  box-shadow: 0 0 16px var(--netflix-red-glow);
}

.stream-modal-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stream-modal-header p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

.stream-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 13px;
  font-weight: 600;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-group input {
  background: #25252b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.input-group input:focus {
  border-color: var(--netflix-red);
  box-shadow: 0 0 10px var(--netflix-red-glow);
}

.preset-streams {
  margin-top: 4px;
}

.preset-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  background: #2c2c34;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cfcfd6;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.preset-chip:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: #fff;
}

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

/* ==========================================================================
   CUSTOM FULLSCREEN VIDEO PLAYER (ÖZEL ANİME OYNATICI)
   ========================================================================== */
.player-fullscreen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  user-select: none;
  overflow: hidden;
}

.player-fullscreen-container.active {
  opacity: 1;
  visibility: visible;
}

/* Auto-hide controls class */
.player-fullscreen-container.controls-hidden {
  cursor: none;
}

.player-fullscreen-container.controls-hidden .player-top-bar {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.player-fullscreen-container.controls-hidden .player-controls {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

/* Player Top Bar */
.player-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 100;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-back-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 14px 8px 0;
  transition: transform 0.2s ease;
}

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

.player-title-info {
  flex-grow: 1;
  margin-left: 12px;
}

.player-title-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.player-title-info span {
  font-size: 14px;
  color: var(--text-gray);
}

/* Engine HUD Pill (Status in Top Bar) - Removed upon user request */
.engine-hud-pill {
  display: none !important;
}

.engine-hud-pill.active {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}

.hud-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.engine-hud-pill.active .hud-pulse {
  background-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse-hud 1.5s infinite;
}

@keyframes pulse-hud {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hud-text {
  color: #bbb;
}

.engine-hud-pill.active .hud-text {
  color: #fff;
}

.hud-res {
  background: rgba(0, 240, 255, 0.2);
  color: var(--neon-cyan);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}

/* Player Stage (Video & Shader Canvas) */
.player-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

/* Iframe & Embed Player Mode */
.player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 10;
  background: #000;
}

.player-stage.iframe-mode .player-timeline,
.player-stage.iframe-mode .player-center-splash,
.player-stage.iframe-mode .player-spinner,
.player-stage.iframe-mode .btn-skip-intro,
.player-stage.iframe-mode .btn-unmute-prompt {
  display: none !important;
}

.player-stage.iframe-mode .player-top-bar {
  z-index: 25;
}

/* Empty / Preparing Stream Notice */
.player-empty-notice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  text-align: center;
  max-width: 440px;
  padding: 32px 28px;
  background: rgba(14, 14, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.player-empty-notice i.fa-cloud-bolt {
  font-size: 42px;
  color: #e50914;
  margin-bottom: 16px;
  display: inline-block;
}

.player-empty-notice h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.player-empty-notice p {
  font-size: 13.5px;
  color: #aaa;
  line-height: 1.5;
  margin-bottom: 20px;
}

.player-empty-notice .btn-empty-return {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.player-empty-notice .btn-empty-return:hover {
  background: #b80710;
}


#mainVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  transition: filter 0.2s ease;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* ==========================================================================
   4K REAL-TIME UPSCALE & GPU POST-PROCESSING (60 FPS SIFIR KASMA)
   ========================================================================== */
#mainVideo {
  will-change: transform;
  transform: translateZ(0);
}

#mainVideo.upscale-active {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
  will-change: transform;
}

#mainVideo.upscale-ultra {
  image-rendering: high-quality;
  transform: translateZ(0);
}

/* A/B Split Screen Comparison Layer */
.split-screen-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
  z-index: 10;
}

.split-screen-layer.active {
  display: block;
}

.split-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* dynamically adjusted by JS drag */
  height: 100%;
  overflow: hidden;
  border-right: 2px solid var(--neon-cyan);
  box-shadow: 2px 0 15px var(--neon-cyan-glow);
}

#comparisonVideo {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  filter: none !important; /* Raw unmodified original video stream */
}

.split-divider {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 4px;
  transform: translateX(-50%);
  pointer-events: auto;
  cursor: ew-resize;
  z-index: 15;
}

.split-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 15, 20, 0.95);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--neon-cyan-glow);
  font-size: 16px;
}

.split-tag {
  position: absolute;
  top: 90px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  pointer-events: none;
  white-space: nowrap;
}

.tag-original {
  right: 24px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ccc;
}

.tag-enhanced {
  left: 24px;
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Center Play/Pause Splash Icon */
.player-center-splash {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 20;
}

.player-center-splash.animate {
  opacity: 1;
  transform: scale(1.15);
}

/* Spinner */
.player-spinner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ddd;
  font-size: 14px;
  z-index: 25;
  display: none;
}

.player-spinner.active {
  display: flex;
}

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

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

/* Skip Intro (İntroyu Atla) Floating Button */
.btn-skip-intro {
  position: absolute;
  bottom: 110px;
  right: 48px;
  background: rgba(20, 20, 20, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 80;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.btn-skip-intro.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-skip-intro:hover {
  background: var(--text-white);
  color: #000;
  border-color: #fff;
  transform: scale(1.05);
}

.skip-countdown-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--netflix-red);
  width: 100%;
}

/* Next Episode Autoplay Popup */
.next-ep-countdown {
  position: absolute;
  bottom: 110px;
  right: 48px;
  background: rgba(18, 18, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  z-index: 85;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.next-ep-countdown.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.next-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--netflix-red);
  letter-spacing: 0.5px;
}

.next-ep-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.next-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Real-Time Diagnostic HUD Box */
.realtime-hud {
  position: absolute;
  top: 90px;
  right: 36px;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  z-index: 90;
  width: 340px;
  backdrop-filter: blur(12px);
  display: none;
  animation: fadeIn 0.2s ease;
}

.realtime-hud.active {
  display: block;
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-cyan);
  border-bottom: 1px solid rgba(0, 240, 255, 0.25);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.hud-header button {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 14px;
}

.hud-header button:hover {
  color: #fff;
}

.hud-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.hud-item {
  display: flex;
  justify-content: space-between;
  color: #ccc;
}

.hud-lbl {
  color: #7d889b;
}

.hud-highlight {
  color: var(--neon-cyan);
  font-weight: 700;
}

/* ==========================================================================
   BOTTOM PLAYER CONTROLS (CUSTOM PROGRESS BAR & BUTTONS)
   ========================================================================== */
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 36px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 100;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Timeline / Scrubber */
.timeline-container {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
}

.timeline-bar {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.timeline-container:hover .timeline-bar {
  height: 7px;
}

.timeline-buffered {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  width: 0%;
  transition: width 0.2s ease;
}

.timeline-intro-marker {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(255, 204, 0, 0.75);
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
  transition: all 0.2s ease;
}

.timeline-played {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #e50914, #ff3344);
  border-radius: 2px;
  width: 0%;
}

.timeline-thumb {
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 14px;
  height: 14px;
  background-color: var(--netflix-red);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.8);
  transition: transform 0.15s ease;
}

.timeline-container:hover .timeline-thumb {
  transform: translateY(-50%) scale(1);
}

.timeline-tooltip {
  position: absolute;
  bottom: 24px;
  left: 0;
  transform: translateX(-50%);
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  display: none;
  white-space: nowrap;
}

.timeline-container:hover .timeline-tooltip {
  display: block;
}

/* Controls Bar */
.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.ctrl-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px;
  border-radius: 4px;
  transition: color 0.2s ease, transform 0.15s ease;
}

.ctrl-btn:hover {
  color: var(--netflix-red);
  transform: scale(1.1);
}

.sub-10 {
  position: absolute;
  font-size: 9px;
  font-weight: 800;
  bottom: 8px;
}

/* Volume Control */
.volume-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider-box {
  width: 0;
  overflow: hidden;
  transition: width 0.25s ease;
  display: flex;
  align-items: center;
}

.volume-group:hover .volume-slider-box {
  width: 80px;
}

#volumeSlider {
  -webkit-appearance: none;
  width: 75px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

/* Time Display */
.time-display {
  font-size: 13px;
  font-weight: 500;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.time-separator {
  color: var(--text-muted);
}

/* ==========================================================================
   4K AI ENHANCE GLOWING BUTTON (EN ÖNEMLİ BUTON)
   ========================================================================== */
.upscale-4k-toggle-container {
  position: relative;
}

.btn-4k-upscale {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 24px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
  background: #0d121c;
  border: 1.5px solid rgba(0, 240, 255, 0.4);
  color: #cfd8dc;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.btn-4k-upscale i {
  color: var(--neon-cyan);
  font-size: 13px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #555;
  transition: background-color 0.3s ease;
}

/* Active 4K state with neon pulse */
.btn-4k-upscale.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(0, 100, 255, 0.25) 100%);
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 16px var(--neon-cyan-glow), inset 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-4k-upscale.active .status-dot {
  background-color: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.btn-4k-upscale:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

/* Split screen & Speed buttons */
.btn-text-badge {
  font-size: 11px;
  font-weight: 800;
  margin-left: 2px;
}

.speed-menu-group {
  position: relative;
}

.text-ctrl-btn {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
}

.speed-dropdown {
  position: absolute;
  bottom: 42px;
  right: 0;
  background: rgba(22, 22, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 6px 0;
  display: none;
  flex-direction: column;
  width: 120px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.speed-dropdown.open {
  display: flex;
}

.speed-option {
  padding: 8px 16px;
  font-size: 13px;
  color: #ccc;
  cursor: pointer;
  transition: background 0.15s ease;
}

.speed-option:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.speed-option.active {
  color: var(--netflix-red);
  font-weight: 700;
}

/* Quality / Resolution Dropdown Styles */
.quality-menu-group {
  position: relative;
}

.quality-dropdown {
  position: absolute;
  bottom: 44px;
  right: 0;
  background: rgba(18, 18, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 6px 0;
  display: none;
  flex-direction: column;
  width: 250px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: 200;
}

.quality-dropdown.open {
  display: flex;
}

.quality-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13px;
  color: #ccc;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quality-option:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.quality-option.active {
  color: var(--neon-cyan);
  font-weight: 700;
  background: rgba(0, 240, 255, 0.1);
}

.q-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.q-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
}

.quality-option.active .q-badge {
  background: var(--neon-cyan);
  color: #000;
}

/* Popüler Rozetleri */
.card-4k-pill.cr-pill {
  background: rgba(244, 117, 33, 0.92) !important;
  color: #fff !important;
  border-color: #ff8c3b !important;
}

.hover-badge-4k.cr-badge {
  background: #f47521 !important;
  color: #fff !important;
}

/* Sesi Aç (Unmute Prompt) Floating Button */
.btn-unmute-prompt {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(229, 9, 20, 0.95);
  color: #fff;
  border: 2px solid #ff4d4d;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 120;
  box-shadow: 0 8px 32px rgba(229, 9, 20, 0.6), 0 0 20px rgba(255, 77, 77, 0.4);
  animation: pulseUnmute 2s infinite ease-in-out;
  transition: all 0.2s ease;
}

.btn-unmute-prompt:hover {
  background: #ff1f2d;
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 12px 40px rgba(229, 9, 20, 0.8), 0 0 25px rgba(255, 77, 77, 0.6);
}

@keyframes pulseUnmute {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(229, 9, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
  }
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 85px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  background: rgba(20, 20, 24, 0.95);
  border-left: 4px solid var(--netflix-red);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInToast 0.3s ease;
}

.toast.toast-4k {
  border-left-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

@keyframes slideInToast {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET ADAPTATION)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title {
    font-size: 36px;
  }
  .hero-content {
    max-width: 100%;
  }
  .modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nav-links a:not(.active) {
    display: none;
  }
  .anime-card {
    flex: 0 0 180px;
  }
  .realtime-hud {
    width: 280px;
  }
}

@media (max-width: 600px) {
  .hero-banner {
    height: 70vh;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-meta {
    gap: 8px;
    font-size: 12px;
  }
  .hero-description {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
  .controls-bar {
    gap: 6px;
  }
  .btn-4k-title {
    display: none;
  }
  .btn-4k-upscale {
    padding: 6px 12px;
  }
  .time-display {
    display: none;
  }
}

/* ==========================================================================
   FULL CATALOG GRID VIEW (BÜTÜN 1244 ANİME ARŞİVİ)
   ========================================================================== */
.catalog-grid-view {
  padding: 100px 4% 80px;
  position: relative;
  z-index: 20;
}

.catalog-grid-header {
  margin-bottom: 36px;
}

.catalog-grid-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.catalog-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.catalog-sub-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

.catalog-count-pill {
  background: rgba(229, 9, 20, 0.2);
  color: var(--netflix-red);
  border: 1px solid var(--netflix-red);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
}

.catalog-filters-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-label {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-select {
  background: #242424;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.filter-select:hover, .filter-select:focus {
  border-color: var(--netflix-red);
}

.filter-pills {
  display: flex;
  gap: 6px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.filter-chip.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: #fff;
}

.catalog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 28px 18px;
  margin-bottom: 40px;
}

.catalog-cards-grid .anime-card {
  flex: none;
  width: 100%;
}

.catalog-load-more-wrap {
  text-align: center;
  padding: 20px 0 40px;
}

.btn-load-more {
  padding: 14px 36px;
  font-size: 15px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  gap: 10px;
  margin: 0 auto;
}

.btn-load-more:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Empty State for Grid */
.grid-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: rgba(25, 25, 30, 0.5);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  margin: 20px 0;
}

.empty-icon {
  font-size: 48px;
  color: var(--netflix-red);
  margin-bottom: 16px;
  opacity: 0.8;
}

.grid-empty-state h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.grid-empty-state p {
  font-size: 14px;
  color: var(--text-gray);
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.btn-reset-filters {
  background: var(--netflix-red);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background: #f40612;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.6);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. LISTEM (WATCHLIST) & NAVBAR ROZETİ
   ========================================================================== */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--netflix-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin-left: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-hover-icon.active,
.btn-icon-round.active {
  background: var(--netflix-red) !important;
  color: #fff !important;
  border-color: var(--netflix-red) !important;
  transform: scale(1.08);
}

/* ==========================================================================
   2. RASTGELE ANİME / NE İZLESEM? BUTONLARI
   ========================================================================== */
.btn-random-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(0, 240, 255, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.btn-random-nav:hover {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.4), rgba(0, 240, 255, 0.3));
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

.btn-random-nav i {
  color: var(--neon-cyan);
  transition: transform 0.4s ease;
}

.btn-random-nav:hover i {
  transform: rotate(180deg);
}

.btn-random {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-random:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
}

/* ==========================================================================
   3. SİNEMATİK KAYAR VİTRİN (HERO SLIDER)
   ========================================================================== */
.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-dot.active {
  width: 32px;
  background: var(--netflix-red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.8);
}

.hero-backdrop.crossfade {
  animation: heroCrossFade 0.6s ease-in-out;
}

@keyframes heroCrossFade {
  0% { opacity: 0.2; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   4. SİNEMATİK AMBİYANS IŞIĞI (AMBIENT AMBILIGHT GLOW)
   ========================================================================== */
.ambient-glow {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle at center, rgba(229, 9, 20, 0.15) 0%, rgba(0, 240, 255, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  transform: translateZ(0);
  will-change: opacity;
}

.ambient-glow.disabled {
  opacity: 0 !important;
  display: none;
}

/* ==========================================================================
   5. BÖLÜM YORUMLARI & TOPLULUK TARTIŞMA ALANI
   ========================================================================== */
.modal-comments-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.comments-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spoiler-warning-hint {
  font-size: 11px;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.comment-input-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.comment-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

#commentAuthorInput,
#watchCommentAuthor {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: #fff;
  font-size: 13px;
  width: 240px;
  outline: none;
}

#commentAuthorInput:focus,
#watchCommentAuthor:focus {
  border-color: var(--neon-cyan);
}

.spoiler-check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ffaa00;
  cursor: pointer;
}

.comment-textarea-wrap {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

#commentTextInput,
#watchCommentText {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  resize: vertical;
  outline: none;
  font-family: inherit;
}

#commentTextInput:focus,
#watchCommentText:focus {
  border-color: var(--netflix-red);
}

.btn-post-comment {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 6px;
}

.comment-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.comment-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.comment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--netflix-red), #8800ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.comment-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.comment-date {
  font-size: 11px;
  color: var(--text-gray);
  margin-left: 6px;
}

.comment-like-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 4px 10px;
  color: #aaa;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.comment-like-btn:hover,
.comment-like-btn.liked {
  background: rgba(229, 9, 20, 0.2);
  border-color: var(--netflix-red);
  color: var(--netflix-red);
}

.comment-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: #ddd;
}

.comment-spoiler-mask {
  background: rgba(20, 20, 24, 0.95);
  border: 1px dashed #ff9900;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #ffaa00;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.comment-spoiler-mask:hover {
  background: rgba(255, 153, 0, 0.15);
}

.comment-spoiler-content {
  display: none;
}

.comment-spoiler-content.revealed {
  display: block;
}

/* ==========================================================================
   6. İNTROYU GEÇ & GERİ SAYIM BUTON STİLLERİ
   ========================================================================== */
.btn-skip-intro {
  position: absolute;
  bottom: 85px;
  right: 40px;
  z-index: 120;
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(15, 15, 20, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(229, 9, 20, 0.35);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: slideInRight 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-skip-intro.visible {
  display: flex !important;
}

.btn-skip-intro:hover {
  background: #e50914;
  border-color: #ff3340;
  color: #fff;
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.85);
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .btn-skip-intro {
    bottom: 75px;
    right: 16px;
    padding: 8px 16px;
    font-size: 12px;
    gap: 6px;
  }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   7. ALT KEŞİF & FOOTER BÖLÜM STİLLERİ (ANIFLOW CINEMATIC STYLE)
   ========================================================================== */
.site-footer-wrapper {
  background: linear-gradient(180deg, #141414 0%, #0d0d12 15%, #08080a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
  margin-top: 20px;
  width: 100%;
}

.footer-section-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 4%;
}

/* 1. Öne Çıkan Özellik Kartları */
.footer-features-section {
  padding: 35px 0 25px;
}

.footer-features-section .footer-section-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-card-icon.cyan-glow {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.feature-card-icon.red-glow {
  color: #ff2a3b;
  background: rgba(229, 9, 20, 0.12);
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.3);
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.feature-card-icon.green-glow {
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.25);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.feature-card-icon.purple-glow {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.25);
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.feature-card-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.feature-card-content p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* 2. Hızlı Keşif & Tür Hapları */
.quick-genres-section {
  padding: 15px 0 40px;
}

.quick-genres-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.quick-genres-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.quick-genres-title i {
  color: var(--netflix-red);
}

.quick-genres-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.quick-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-genre-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 9px 18px;
  color: #e5e5e5;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-genre-pill i {
  color: var(--netflix-red);
  transition: transform 0.25s ease;
}

.footer-genre-pill:hover {
  background: rgba(229, 9, 20, 0.18);
  border-color: var(--netflix-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
}

.footer-genre-pill:hover i {
  transform: scale(1.2);
}

/* 3. Anime Topluluğu & Discord CTA Banner */
.community-banner-section {
  padding: 10px 0 40px;
}

.community-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(28, 22, 44, 0.8) 0%, rgba(35, 14, 24, 0.85) 50%, rgba(14, 22, 38, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}

.community-banner-aura {
  position: absolute;
  width: 450px;
  height: 450px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.28) 0%, rgba(229, 9, 20, 0.2) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.community-banner-left {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(88, 101, 242, 0.22);
  color: #92a4f9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.community-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.community-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.community-banner-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-family: var(--font-main);
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.6);
}

.btn-community-random {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-family: var(--font-main);
  transition: all 0.25s ease;
}

.btn-community-random:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-2px);
}

/* 4. Klavye Kısayolları Şeridi */
.shortcuts-info-section {
  padding: 0 0 35px;
}

.shortcuts-bar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.shortcuts-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shortcut-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.shortcut-item {
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 7px;
}

.shortcut-item kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* 5. Ana Footer Grid & Bağlantılar */
.main-footer-content {
  padding: 55px 0 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.1fr 1.2fr 1.2fr;
  gap: 40px;
}

.footer-col.brand-col .footer-logo {
  display: inline-flex;
  align-items: center;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-col.brand-col .footer-logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.footer-about {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 16px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.social-link:hover {
  background: var(--netflix-red);
  color: #fff;
  border-color: var(--netflix-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.45);
}

.social-link.social-discord:hover {
  background: #5865F2;
  border-color: #5865F2;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
}

.social-link.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.55);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--netflix-red);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-links li a i {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links li a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links li a:hover i {
  color: var(--netflix-red);
  transform: scale(1.1);
}

/* 6. En Alt Bar (DMCA & Telif + Yukarı Çık) */
.footer-bottom-bar {
  padding: 30px 0 50px;
}

.bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.bottom-legal-text {
  max-width: 75%;
}

.dmca-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.dmca-disclaimer strong {
  color: #bbb;
}

.copyright-text {
  font-size: 12px;
  color: var(--text-gray);
}

.copyright-text strong {
  color: #fff;
}

.btn-back-to-top {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.9), rgba(175, 5, 15, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 11px 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35);
  transition: all 0.25s ease;
}

.btn-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6);
  background: linear-gradient(135deg, #f40612, #E50914);
}

.btn-back-to-top i {
  transition: transform 0.2s ease;
}

.btn-back-to-top:hover i {
  transform: translateY(-3px);
}

/* Responsive Footer Uyarlamaları */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-col.brand-col {
    grid-column: 1 / -1;
  }
  .footer-about {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .community-banner-card {
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .community-banner-actions {
    width: 100%;
  }
  .btn-discord, .btn-community-random {
    flex: 1;
    justify-content: center;
  }
  .bottom-bar-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .bottom-legal-text {
    max-width: 100%;
  }
  .shortcuts-bar {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-features-section .footer-section-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   8. ÖZEL İZLEME SAYFASI STİLLERİ (ANIFLOW DEDICATED WATCH VIEW)
   ========================================================================== */
.watch-page-view {
  max-width: 1520px;
  margin: 0 auto;
  padding: 85px 4% 50px;
  position: relative;
  z-index: 10;
}

/* 1. Breadcrumb Gezinme Çubuğu */
.watch-breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  flex-wrap: wrap;
}

.watch-breadcrumb-bar .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.watch-breadcrumb-bar .breadcrumb-home {
  color: var(--netflix-red);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.watch-breadcrumb-bar .breadcrumb-home:hover {
  color: #ff3344;
  text-decoration: underline;
}

.watch-breadcrumb-bar .breadcrumb-sep {
  color: var(--text-muted);
  font-size: 11px;
}

.watch-breadcrumb-bar .breadcrumb-anime {
  color: #e5e5e5;
  font-weight: 600;
}

.watch-breadcrumb-bar .breadcrumb-ep {
  color: var(--neon-cyan);
  font-weight: 600;
}

/* 2. İki Kolonlu Grid Düzeni */
.watch-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.watch-main-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

/* 3. Gömülü Video Oynatıcı Alanı */
.watch-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.player-fullscreen-container.embedded-mode {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 10;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Native Fullscreen Durumunda */
.player-fullscreen-container.embedded-mode:fullscreen,
.player-fullscreen-container.embedded-mode:-webkit-full-screen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
  z-index: 99999 !important;
}

/* 4. Çeviri ve Kaynak Seçimi Kartı */
.watch-sources-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  backdrop-filter: blur(12px);
}

.watch-sources-card .sources-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.watch-sources-card .sources-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.watch-sources-card .sources-title i {
  color: var(--netflix-red);
}

.watch-sources-card .sources-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.8px;
}

.sources-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.source-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: var(--font-main);
}

.source-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.source-pill.active {
  background: rgba(229, 9, 20, 0.18);
  border-color: var(--netflix-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.35);
}

.source-pill .src-icon {
  font-size: 18px;
}

.source-pill .src-info {
  text-align: left;
}

.source-pill .src-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.source-pill .src-sub {
  font-size: 11px;
  color: var(--text-gray);
  display: block;
}

.source-pill .src-tag {
  font-size: 10px;
  font-weight: 800;
  background: var(--netflix-red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 4px;
}

/* 5. Anime Detay & Özet Kutusu */
.watch-anime-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.watch-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.watch-anime-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.watch-anime-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.watch-actions-top {
  display: flex;
  gap: 10px;
}

.btn-watch-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e5e5;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.btn-watch-action:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-watch-action.copied {
  background: rgba(70, 211, 105, 0.2) !important;
  border-color: #46d369 !important;
  color: #46d369 !important;
}

.watch-meta-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.meta-pill {
  font-size: 12px;
  font-weight: 700;
  color: #bbb;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.meta-pill.match {
  color: #46d369;
  font-weight: 800;
  background: rgba(70, 211, 105, 0.1);
  border: 1px solid rgba(70, 211, 105, 0.25);
}

.meta-pill.quality {
  color: var(--neon-cyan);
  font-weight: 800;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.watch-genres-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.watch-genre-badge {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 50px;
  padding: 3px 12px;
}

.watch-overview {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.watch-crew-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.crew-item .crew-label {
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}

/* 6. Bölüm Yorumları Kartı */
.watch-comments-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.comments-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.comments-card-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spoiler-badge {
  font-size: 11px;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 10px;
  border-radius: 50px;
}

.comment-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.comment-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.comment-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-author {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.comment-time {
  font-size: 11px;
  color: var(--text-gray);
}

.comment-body {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.comment-spoiler-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  padding: 12px 16px;
  border-radius: 8px;
}

.spoiler-warn-tag {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  display: block;
  margin-bottom: 8px;
}

.btn-reveal-spoiler {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #f59e0b;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reveal-spoiler:hover {
  background: #f59e0b;
  color: #000;
}

.spoiler-hidden-text {
  font-size: 13px;
  color: #fff;
  line-height: 1.6;
}

/* 7. Sağ Yan Panel (Sidebar) */
.watch-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Birlikte İzle Kartı */
.watch-party-card {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.18) 0%, rgba(26, 16, 40, 0.6) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sidebar-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.party-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.25);
  color: #7289da;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sidebar-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.sidebar-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.btn-create-party-room {
  background: #5865F2;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

.btn-create-party-room:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.55);
}

/* 4K AI Limit & Durum Kartı */
.watch-limit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(12px);
}

.limit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.limit-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
}

.text-cyan {
  color: var(--neon-cyan);
}

.vip-pill {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.limit-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.limit-bar-bg {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.limit-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #00f0ff, #00ff88);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.limit-sub-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.limit-sub-hint strong {
  color: var(--neon-green);
}

/* Bölüm Listesi Akordeon Kartı */
.watch-episodes-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 0 10px;
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.episodes-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ep-header-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.ep-header-left i {
  color: var(--netflix-red);
}

.episodes-total-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-gray);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 50px;
}

.watch-seasons-accordion {
  max-height: 520px;
  overflow-y: auto;
}

.season-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.season-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #ddd;
  transition: background 0.2s ease;
}

.season-group-header:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.season-group-header i {
  transition: transform 0.2s ease;
  font-size: 12px;
  color: var(--text-muted);
}

.season-group.open .season-group-header i {
  transform: rotate(180deg);
  color: var(--netflix-red);
}

.episodes-sub-list {
  display: none;
  flex-direction: column;
}

.season-group.open .episodes-sub-list {
  display: flex;
}

.watch-episode-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 12px;
}

.watch-episode-item:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 24px;
}

.watch-episode-item.active {
  background: linear-gradient(90deg, rgba(229, 9, 20, 0.2) 0%, rgba(229, 9, 20, 0.04) 100%);
  border-left: 3px solid var(--netflix-red);
  padding-left: 20px;
}

.ep-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ep-code-badge {
  font-size: 11px;
  font-weight: 800;
  font-family: monospace;
  color: var(--text-muted);
  min-width: 44px;
  flex-shrink: 0;
}

.watch-episode-item.active .ep-code-badge {
  color: var(--neon-cyan);
}

.ep-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.watch-episode-item.active .ep-item-title {
  color: #fff;
  font-weight: 700;
}

.ep-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-muted);
}

.playing-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--netflix-red);
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.6);
}

/* Responsive Düzen */
@media (max-width: 1024px) {
  .watch-layout-grid {
    grid-template-columns: 1fr;
  }
  .watch-sidebar-column {
    order: 2;
  }
}

/* ==========================================================================
   DISCORD INTEGRATION & MODAL STYLES
   ========================================================================== */
.btn-discord-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #fff !important;
  text-decoration: none !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.25);
}

.btn-discord-nav i {
  font-size: 15px;
  color: #5865F2;
  transition: transform 0.2s ease;
}

.btn-discord-nav:hover {
  background: #5865F2;
  color: #fff !important;
  border-color: #5865F2;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.55);
}

.btn-discord-nav:hover i {
  color: #fff;
  transform: scale(1.15) rotate(-6deg);
}

/* ==========================================================================
   MOBILE & TOUCH SCREEN COMPREHENSIVE SUITE (iOS & ANDROID)
   ========================================================================== */

/* 1. Global Viewport & Touch Settings */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* 2. Mobile App Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Prevent content from being hidden behind bottom navigation */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99998;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #888;
    text-decoration: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    height: 100%;
    transition: color 0.2s ease;
  }

  .mobile-nav-item i {
    font-size: 18px;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .mobile-nav-item.active,
  .mobile-nav-item:hover {
    color: #fff;
  }

  .mobile-nav-item.active i {
    color: var(--netflix-red);
    transform: scale(1.1);
  }

  .mobile-nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s;
  }

  .mobile-nav-item.active .mobile-nav-avatar {
    border-color: var(--netflix-red);
    box-shadow: 0 0 8px rgba(229, 9, 20, 0.6);
  }

  .mobile-nav-badge-wrap {
    position: relative;
    display: inline-flex;
  }

  .mobile-nav-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--netflix-red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    line-height: 1.2;
  }

  .mobile-random-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--netflix-red), #b20710);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
    margin-top: -6px;
  }

  .mobile-random-circle i {
    font-size: 15px;
    color: #fff !important;
  }

  /* 3. Top Navbar Mobile Optimization */
  .navbar {
    height: 60px !important;
    padding: 0 12px !important;
  }

  .nav-left {
    gap: 8px !important;
  }

  .nav-links {
    display: none !important;
  }

  .brand-logo-img {
    height: 24px !important;
  }

  .nav-right {
    gap: 8px !important;
  }

  .btn-discord-nav {
    padding: 5px 8px !important;
    font-size: 11px !important;
    border-radius: 16px !important;
  }

  .btn-discord-nav span {
    display: none !important;
  }

  .btn-random-nav {
    padding: 5px 8px !important;
    font-size: 11px !important;
    border-radius: 16px !important;
  }

  .btn-random-nav span {
    display: none !important;
  }

  .nav-icon-btn {
    display: none !important;
  }

  .search-toggle {
    padding: 7px !important;
    font-size: 16px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .user-profile {
    gap: 5px !important;
  }

  .user-profile img {
    width: 32px !important;
    height: 32px !important;
  }

  .user-profile i {
    font-size: 10px !important;
  }

  /* 4. Full-Width Mobile Search Bar (iOS/Android Smooth Overlay) */
  .search-box.open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 60px !important;
    z-index: 100000 !important;
    background: rgba(18, 18, 18, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8) !important;
  }

  .search-box.open .search-toggle {
    display: none !important;
  }

  .search-box.open #searchInput {
    width: 100% !important;
    opacity: 1 !important;
    margin: 0 !important;
    height: 42px !important;
    /* 16px prevents iOS Safari from automatically zooming into the webpage! */
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid var(--netflix-red) !important;
    border-radius: 22px !important;
    padding: 8px 40px 8px 16px !important;
    color: #fff !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.3) !important;
  }

  .search-box.open .search-clear-btn {
    display: flex !important;
    position: absolute !important;
    right: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ff4d4d !important;
    font-size: 18px !important;
  }

  /* 5. Mobile Catalog Grid (2 Clean Columns per row) */
  .catalog-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 10px !important;
  }

  .catalog-grid-view {
    padding: 75px 3% calc(75px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .catalog-grid-header {
    margin-bottom: 20px !important;
  }

  .grid-title-wrap h1 {
    font-size: 20px !important;
  }

  .grid-filters-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .filter-dropdowns {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }

  .filter-dropdowns select {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
  }

  .filter-chips-scroll {
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 6. Mobile Anime Sliders & Cards */
  .anime-card {
    flex: 0 0 145px !important;
  }

  .recent-watch-card {
    min-width: 220px !important;
    max-width: 220px !important;
    height: 190px !important;
  }

  .recent-slider-container {
    gap: 10px !important;
    padding: 6px 4px 10px 4px !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .recent-arrow {
    display: none !important;
  }

  .slider-container {
    gap: 10px !important;
    padding: 4px 10px 140px 10px !important;
    margin: 0 -10px -130px -10px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .slider-arrow {
    display: none !important; /* Touch swipe is primary on phones */
  }

  .row-title {
    font-size: 16px !important;
    margin-left: 12px !important;
  }

  /* Mobile Player Controls & Touch Fullscreen */
  .player-controls {
    padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .ctrl-btn {
    padding: 8px !important;
    font-size: 18px !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  #fullscreenBtn {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 7. Mobile Profile Gate & Modals */
  .profile-gate-overlay {
    padding: 20px 14px calc(30px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: 100dvh !important;
    box-sizing: border-box !important;
  }

  .profile-gate-header {
    top: 16px !important;
    left: 16px !important;
  }

  .profile-gate-logo {
    height: 28px !important;
  }

  .profile-gate-title {
    font-size: 1.85rem !important;
    margin-bottom: 22px !important;
  }

  .profile-gate-grid {
    gap: 14px !important;
    margin-bottom: 28px !important;
  }

  .profile-card {
    width: 86px !important;
  }

  .profile-avatar-box {
    width: 80px !important;
    height: 80px !important;
  }

  .profile-name {
    font-size: 0.85rem !important;
    max-width: 80px !important;
    margin-top: 8px !important;
  }

  .profile-modal-box {
    padding: 20px 16px !important;
    max-width: 95vw !important;
    box-sizing: border-box !important;
  }

  .profile-modal-header h2 {
    font-size: 1.2rem !important;
  }

  .avatar-picker-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    max-height: 200px !important;
    gap: 8px !important;
  }

  .profile-modal-footer {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .profile-modal-footer .btn {
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
  }

  /* 8. Mobile Hero Banner */
  .hero-banner {
    height: 60vh !important;
    min-height: 380px !important;
    padding: 0 14px !important;
  }

  .hero-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  .hero-description {
    font-size: 12px !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 14px !important;
  }

  .hero-buttons {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .btn-hero-play,
  .btn-hero-info,
  .btn-hero-random {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  /* 9. Mobile Dedicated Watch View */
  .watch-page-view {
    padding: 65px 3% calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .watch-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .watch-main-column {
    gap: 14px !important;
  }

  .watch-info-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .watch-actions-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .watch-episodes-card {
    max-height: 380px !important;
  }

  /* Mobile Profile Gate Optimizations - 100% Sabit & Kaymaz */
  .profile-gate-overlay {
    padding: 14px 10px !important;
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    overscroll-behavior: none !important;
    touch-action: none !important;
  }

  .profile-gate-container {
    max-height: 98vh !important;
  }

  .profile-gate-logo-hero {
    height: 34px !important;
  }

  .profile-gate-title {
    font-size: 1.85rem !important;
    margin-bottom: 4px !important;
  }

  .profile-gate-subtitle {
    font-size: 0.82rem !important;
    margin-bottom: 16px !important;
    padding: 0 6px !important;
  }

  .profile-gate-grid {
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .profile-card {
    width: 124px !important;
    padding: 10px 6px !important;
    border-radius: 14px !important;
    transform: none !important;
  }

  .profile-card:hover {
    transform: none !important;
  }

  .profile-avatar-box {
    width: 92px !important;
    height: 92px !important;
    border-radius: 12px !important;
  }

  .profile-name {
    font-size: 0.9rem !important;
    max-width: 105px !important;
    margin-top: 8px !important;
  }

  .profile-gate-actions {
    gap: 8px !important;
  }

  .btn-manage-profiles,
  .btn-quick-guest,
  .btn-delete-all-profiles {
    font-size: 0.8rem !important;
    padding: 9px 15px !important;
    transform: none !important;
  }

  /* Prevent inputs on iOS from zooming */
  input, select, textarea {
    font-size: 16px !important;
  }
}





