* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --bg-primary: #0a0a0b;
  --bg-secondary: #121214;
  --bg-tertiary: #1c1c1f;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
  --text-primary: #f8f9fa;
  --text-secondary: #adb5bd;
  --text-tertiary: #6c757d;
  --border-color: rgba(255, 255, 255, 0.03);
  --header-bg: rgba(10, 10, 11, 0.85);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
  --modal-overlay: rgba(0, 0, 0, 0.98);
  /* Overlay text - IMMER weiß weil auf dunklen Bildern */
  --overlay-text: #ffffff;
  --hero-overlay-start: rgba(10, 10, 11, 1);
  --hero-overlay-mid: rgba(10, 10, 11, 0.7);
  --continue-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
}

/* Light Mode Support - Text auf Bildern bleibt IMMER weiß */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8ed;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-bg-strong: rgba(0, 0, 0, 0.06);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-tertiary: #86868b;
    --border-color: rgba(0, 0, 0, 0.05);
    --header-bg: rgba(245, 245, 247, 0.85);
    --modal-overlay: rgba(255, 255, 255, 0.95);
    /* WICHTIG: Overlay text auf Bildern bleibt IMMER weiß */
    --overlay-text: #ffffff;
    --text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    --hero-overlay-start: rgba(10, 10, 11, 1);
    --hero-overlay-mid: rgba(10, 10, 11, 0.7);
    --continue-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Premium Rating Styles */
.detail-rating-row {
  margin: 12px 0 20px;
  display: flex;
  align-items: center;
}

.content-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.stars {
  color: #f7931e;
  font-size: 18px;
  display: flex;
  gap: 2px;
}

.star.full {
  text-shadow: 0 0 10px rgba(247, 147, 30, 0.5);
}

.rating-value {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* Glass Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
  max-width: 600px;
}

.logo {
  font-size: 28px;
  font-weight: 950;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

#movieCount {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0;
  background: transparent;
  border: none;
  display: inline-block;
  user-select: none;
  opacity: 0.8;
  margin-left: 12px;
  white-space: nowrap;
}

/* Search */
.search-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  z-index: 100;
}

.search-input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  background: var(--glass-bg-strong);
  border-color: var(--primary-color);
}

.search-input::placeholder {
  color: var(--text-tertiary);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  pointer-events: none;
}

/* Settings Menu */
.settings-container {
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}

.settings-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  pointer-events: auto;
  position: relative;
  z-index: 1002;
}

.settings-btn:hover,
.settings-btn.active {
  background: var(--glass-bg-strong);
  color: var(--primary-color);
  /* keep icon stable (no rotation) */
  transform: none;
}

/* Ensure account email wraps inside dropdown */
#accountDropdown .settings-item #accountEmail {
  word-break: break-word;
  white-space: normal;
}

/* Toast notifications (centered for desktop & mobile) */
.toast-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 12000;
}

.toast {
  min-width: min(90vw, 360px);
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  padding: 16px 18px 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-weight: 600;
  text-align: center;
}

.toast.success {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.toast.error {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
}

.toast.info {
  background: rgba(0, 0, 0, 0.92);
}

.toast button {
  margin-top: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.settings-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 16px;
  display: none;
  animation: slideDown 0.3s ease;
  z-index: 1003;
  pointer-events: auto;
}

.settings-dropdown.active {
  display: block;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.toggle-switch {
  display: flex;
  background: var(--bg-tertiary);
  border-radius: 20px;
  padding: 2px;
  cursor: pointer;
}

.toggle-option {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.toggle-option.active {
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
}

.settings-separator {
  height: 1px;
  background: var(--border-color);
  margin: 12px 0;
}

.settings-action-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  margin-bottom: 8px;
}

.settings-action-btn:hover {
  filter: brightness(1.2);
}

.settings-action-btn.danger {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
}

.settings-action-btn.danger:hover {
  background: rgba(255, 59, 48, 0.2);
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-height: 500px;
  overflow-y: auto;
  display: none;
  animation: slideDown 0.3s ease;
  z-index: 101;
}

/* Custom Scrollbar for Search Dropdown */
.search-dropdown::-webkit-scrollbar {
  width: 8px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-dropdown.active {
  display: block;
}

.search-results {
  padding: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 12px;
  gap: 14px;
}

.search-result-item.selected {
  background: var(--glass-bg);
}

/* Only enable hover effects on devices with precise pointing (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .search-result-item:hover {
    background: var(--glass-bg);
  }
}

.search-result-banner {
  width: 70px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-tertiary);
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.search-result-title mark {
  background: var(--primary-gradient);
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
}

.search-result-duration {
  font-size: 12px;
  color: var(--text-secondary);
}

/* No Results Section */
.search-no-results {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.search-no-results-text {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.search-request-btn {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.search-request-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Main Content */
.main-content {
  margin-top: 90px;
  padding: 20px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section - Premium Design */
.hero-section {
  position: relative;
  max-width: 1600px;
  margin: 0 auto 40px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-secondary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 107, 53, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle animated glow border */
.hero-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    transparent 0%, 
    transparent 40%, 
    rgba(255, 107, 53, 0.3) 50%, 
    transparent 60%, 
    transparent 100%);
  border-radius: 26px;
  z-index: -1;
  opacity: 0.5;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { transform: rotate(0deg); opacity: 0.3; }
  50% { transform: rotate(180deg); opacity: 0.6; }
}

.hero-banner-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-primary);
  min-height: 400px;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  filter: brightness(0.7);
}

.hero-banner.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 50%, transparent 100%);
  padding: 40px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: var(--text-shadow);
  line-height: 1.1;
  color: var(--overlay-text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  overflow: hidden;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 24px;
  max-width: 700px;
  color: var(--overlay-text);
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: var(--text-shadow);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* Updated Hero Meta - No Glass Background */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--overlay-text);
  opacity: 0.95;
  text-shadow: var(--text-shadow);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  font-weight: 600;
}

.hero-meta .quality {
  color: var(--primary-color);
  font-weight: 800;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Hide "Merken" button on mobile in hero section */
@media (max-width: 768px) {
  .hero-actions .btn-secondary,
  #heroWatchlistBtn {
    display: none !important;
  }
}

/* Buttons */
.btn {
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

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

/* Only hover on desktop */
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5),
      0 0 20px rgba(255, 107, 53, 0.3);
    filter: brightness(1.1);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
  }
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0) scale(1);
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Continue Watching Section */
.continue-watching {
  max-width: 1600px;
  margin: 0 auto 40px;
  display: none;
}

.continue-watching.active {
  display: block;
}

/* TV Section */
.tv-section {
  max-width: 1600px;
  margin: 0 auto 40px;
}

.tv-wrapper {
  position: relative;
  padding: 0 50px;
}

.tv-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.tv-nav-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  color: #fff;
}

.tv-nav-btn.prev {
  left: 0;
}

.tv-nav-btn.next {
  right: 0;
}

@media (max-width: 768px) {
  .tv-nav-btn {
    display: none;
  }

  .tv-wrapper {
    padding: 0;
  }
}

.tv-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 0 20px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.tv-grid::-webkit-scrollbar {
  display: none;
}

.tv-card {
  flex: 0 0 340px;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
}

/* TV Card Hover */
@media (hover: hover) and (pointer: fine) {
  .tv-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

.tv-banner-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tv-banner {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 30px;
}

.tv-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--continue-overlay);
  padding: 16px;
}

.tv-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--overlay-text);
  text-shadow: var(--text-shadow);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  overflow: hidden;
}

.movie-badge.live {
  background: #ff3b30;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  border-left: 4px solid var(--primary-color);
  padding-left: 16px;
}

.continue-wrapper {
  position: relative;
  padding: 0 50px;
}

.continue-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.continue-nav-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  color: #fff;
}

.continue-nav-btn.prev {
  left: 0;
}

.continue-nav-btn.next {
  right: 0;
}

@media (max-width: 768px) {
  .continue-nav-btn {
    display: none;
  }

  .continue-wrapper {
    padding: 0;
  }
}

.continue-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 0 20px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.continue-cards::-webkit-scrollbar {
  display: none;
}

.continue-card {
  flex: 0 0 340px;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
}

/* Only enable hover effects on devices with precise pointing (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .continue-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
      0 0 25px rgba(255, 107, 53, 0.1);
  }

  .continue-card:hover .continue-banner {
    filter: brightness(1.1);
  }
}

.continue-banner {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-tertiary);
}

.continue-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.continue-delete-btn:hover {
  background: rgba(220, 53, 69, 0.9);
  border-color: rgba(220, 53, 69, 1);
  transform: scale(1.1);
}

@media (hover: hover) and (pointer: fine) {
  .continue-card:hover .continue-delete-btn {
    display: flex;
  }
}

.continue-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--continue-overlay);
  padding: 16px;
}

/* Reuse movie-meta styles for consistent design in continue cards */
.continue-overlay .movie-meta {
  font-size: 0.75rem;
  color: var(--overlay-text);
  text-shadow: var(--text-shadow);
}

.continue-overlay .movie-meta .movie-type-badge {
  background: rgba(255, 107, 53, 0.3);
  border-color: rgba(255, 107, 53, 0.5);
  color: var(--overlay-text);
}

.continue-overlay .movie-meta .movie-genre-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--overlay-text);
}

.continue-overlay .movie-meta .movie-duration {
  color: var(--overlay-text);
}

.continue-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--overlay-text);
  text-shadow: var(--text-shadow);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  overflow: hidden;
}

.continue-progress {
  margin-top: 8px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.continue-progress-bar {
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Movies Grid */
.movies-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.movie-card, .content-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Premium Hover Glow Effect */
.movie-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, transparent 50%, var(--primary-color) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.movie-banner-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-tertiary);
}

.movie-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Only enable hover effects on devices with precise pointing (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
      0 0 40px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
  }

  .movie-card:hover::before {
    opacity: 1;
  }

  .movie-card:hover .movie-banner {
    transform: scale(1.08);
    filter: brightness(1.1) saturate(1.1);
  }

  .movie-card:hover .movie-title {
    color: var(--primary-color);
  }
}

.movie-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.movie-info {
  padding: 16px;
}

.movie-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}

.movie-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.movie-type-badge, .movie-genre-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.movie-type-badge {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(247, 147, 30, 0.15) 100%);
  color: var(--primary-color);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.movie-genre-badge {
  background: var(--glass-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.movie-duration {
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.movie-duration svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Trailer Styles */
.trailer-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-card:hover .trailer-badge {
  opacity: 1;
}

.trailer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.trailer-overlay.active {
  opacity: 1;
}

.movie-card.trailer-active {
  transform: translateY(-15px) scale(1.08);
  z-index: 50;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 53, 0.2);
}

.movie-card.trailer-active .movie-banner {
  opacity: 0;
}

.trailer-toggle-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
}

.trailer-toggle-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.trailer-toggle-btn.playing-trailer {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}

.trailer-toggle-btn svg {
  width: 16px;
  height: 16px;
}

/* Detail Modal */
.detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 2000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.detail-modal.active {
  display: flex;
}

.detail-container {
  background: var(--bg-primary);
  width: 100%;
  min-height: 100%;
  position: relative;
}

.detail-header {
  padding: 24px 32px;
  /* iOS Notch/Safe Area Support */
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.detail-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  flex: 1;
}

.close-btn {
  background: var(--bg-tertiary);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.close-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: rotate(90deg);
}

/* Detail Header Actions Group */
.detail-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.detail-action-btn {
  background: var(--bg-tertiary);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

.detail-action-btn:hover {
  background: var(--glass-bg-strong);
  color: var(--primary-color);
}

#detailErrorBtn:hover {
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.1);
}

.watchlist-toggle-btn {
  background: var(--bg-tertiary);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.watchlist-toggle-btn:hover {
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.1);
}

.watchlist-toggle-btn.active {
  color: #ff3b30;
  fill: #ff3b30;
}

.watchlist-toggle-btn.active svg {
  fill: #ff3b30;
}


.detail-content {
  padding: 32px;
  max-width: 1600px;
  margin: 0 auto;
}

.player-section {
  margin-bottom: 32px;
}

.custom-player {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 80vh;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

/* Series Selection */
.series-selection {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.season-selector {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
}

.season-dropdown {
  padding: 10px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.episode-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.episode-card {
  background: var(--glass-bg);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

/* Only enable hover effects on devices with precise pointing (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .episode-card:hover {
    background: var(--glass-bg-strong);
  }
}

/* Touch devices: use active state instead */
@media (hover: none) {
  .episode-card:active {
    background: var(--glass-bg-strong);
    transition: none;
  }
}

.episode-card.watched {
  border-color: #4ade80;
  opacity: 0.7;
}

.episode-card.in-progress {
  border-color: var(--primary-color);
  background: rgba(255, 107, 53, 0.05);
}

.episode-banner-container {
  flex: 0 0 200px;
  width: 200px;
  height: 112px;
  background: var(--bg-tertiary);
}

.episode-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-info {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.episode-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.episode-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.episode-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.episode-progress {
  margin-top: 10px;
  height: 3px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.episode-progress-bar {
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary-color);
}

/* Skeleton Loader */
@keyframes skeleton-loading {
  0% {
    background-color: rgba(255, 255, 255, 0.05);
  }

  50% {
    background-color: rgba(255, 255, 255, 0.1);
  }

  100% {
    background-color: rgba(255, 255, 255, 0.05);
  }
}

.skeleton {
  animation: skeleton-loading 1.5s infinite ease-in-out;
  border-radius: 8px;
}

/* Movie Card Premium Effects */
.movie-card {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.movie-banner-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.movie-banner-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 40%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.movie-card:hover .movie-banner-container::after {
  opacity: 0.4;
}

/* Detail Info */
.detail-info {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.info-row {
  display: flex;
  margin-bottom: 16px;
  align-items: flex-start;
  gap: 12px;
}

.info-label {
  font-weight: 700;
  color: var(--text-tertiary);
  min-width: 120px;
}

.info-value {
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* Recommendations */
.recommendations {
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.recommendations h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.recommend-card {
  background: var(--bg-tertiary);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

/* Only enable hover effects on devices with precise pointing (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .recommend-card:hover {
    transform: translateY(-4px);
    filter: brightness(1.2);
  }
}

.recommend-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.recommend-info {
  padding: 10px;
}

.rec-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec-meta {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Footer - Enhanced */
footer {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 50px 40px 40px;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 0 0 3px 3px;
}

footer p {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* New Premium Loader */
.loader-initial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loader-initial.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo {
  font-size: 3rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  animation: pulseLogo 2s infinite;
}

@keyframes pulseLogo {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(255, 107, 53, 0));
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.3));
  }

  100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(255, 107, 53, 0));
  }
}

.loader-bar-container {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  animation: loadProgress 1.5s ease-in-out infinite;
  transform-origin: left;
}

@keyframes loadProgress {
  0% {
    transform: scaleX(0);
  }

  50% {
    transform: scaleX(0.7);
  }

  100% {
    transform: scaleX(1);
    transform-origin: right;
  }
}

/* Mobile Responsive */
/* ===== MOBILE RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .nav-container {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-container::-webkit-scrollbar {
    display: none;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    display: flex;
    gap: 10px;
  }

  .settings-container {
    flex-shrink: 0;
  }

  .search-container {
    max-width: 100%;
    flex: 1;
  }

  .search-input {
    padding: 12px 45px 12px 16px;
    font-size: 16px; /* Verhindert Zoom auf iOS */
  }

  .main-content {
    margin-top: calc(130px + env(safe-area-inset-top));
    padding: 12px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .hero-section {
    border-radius: 20px;
    margin-bottom: 24px;
    overflow: hidden;
  }

  .hero-banner-container {
    min-height: 200px;
    max-height: 35vh;
    aspect-ratio: unset;
  }

  .hero-banner {
    object-fit: cover;
    object-position: center top;
  }

  .hero-overlay {
    padding: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 70%, transparent 100%);
  }

  .hero-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .hero-description {
    display: none;
  }

  .hero-meta {
    font-size: 11px;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

  .btn {
    padding: 12px 18px;
    font-size: 13px;
    border-radius: 25px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Movie Grid - Optimiert für Mobile - IMMER 2 Spalten */
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .movie-card {
    border-radius: 12px;
  }

  .movie-info {
    padding: 10px;
  }

  .movie-title {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .movie-meta {
    font-size: 0.7rem;
    gap: 6px;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 12px;
    padding: 0 4px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  /* Episode Cards */
  .episode-banner-container {
    flex: 0 0 110px;
    width: 110px;
    height: 62px;
  }

  .episode-info {
    padding: 8px 10px;
  }

  .episode-title {
    font-size: 0.85rem;
  }

  .episode-description {
    display: none;
  }

  /* Loader */
  .loader-logo {
    font-size: 1.8rem;
  }

  /* Discord Button */
  .discord-float-btn {
    width: 52px;
    height: 52px;
    padding: 12px;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: 16px;
  }

  .discord-float-btn svg {
    width: 26px;
    height: 20px;
  }

  /* Settings Dropdown */
  .settings-dropdown {
    right: -8px;
    min-width: 220px;
  }

  /* Modal auf Mobile */
  .modal-content {
    margin: 10px;
    max-height: calc(100vh - 20px);
    border-radius: 20px;
  }
}

/* ===== KLEINE HANDYS (< 400px) ===== */
@media (max-width: 400px) {
  .header {
    padding: 10px 12px;
  }

  .logo {
    font-size: 22px;
  }

  .main-content {
    padding: 10px;
  }

  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .movie-info {
    padding: 8px;
  }

  .movie-title {
    font-size: 0.8rem;
  }

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

  .btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  .section-title {
    font-size: 1.1rem;
  }
}

/* Discord Floating Button */
.discord-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: #5865F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4),
    0 8px 40px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  text-decoration: none;
  padding: 16px;
}

.discord-float-btn svg {
  width: 32px;
  height: 25px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.discord-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6),
    0 12px 50px rgba(0, 0, 0, 0.4);
  background: #4752C4;
}

.discord-float-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.discord-float-btn:hover svg {
  transform: scale(1.1);
}

/* Pulsing animation */
@keyframes pulse-discord {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4),
      0 8px 40px rgba(0, 0, 0, 0.3),
      0 0 0 0 rgba(88, 101, 242, 0.7);
  }

  50% {
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4),
      0 8px 40px rgba(0, 0, 0, 0.3),
      0 0 0 15px rgba(88, 101, 242, 0);
  }
}

.discord-float-btn {
  animation: pulse-discord 2s infinite;
}

.discord-float-btn:hover {
  animation: none;
}

/* Make dropdowns visible when they have the .active class */
.settings-dropdown.active {
  display: block;
}

/* Non-blocking Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  z-index: 100000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  max-width: 90vw;
  text-align: center;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: #4ade80;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(74, 222, 128, 0.05));
}

.toast-error {
  border-color: #f87171;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.15), rgba(248, 113, 113, 0.05));
}

.toast-warning {
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
}

.toast-info {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
}

/* Mobile adjustments for toast */
@media (max-width: 768px) {
  .toast-notification {
    bottom: 20px;
    padding: 12px 20px;
    font-size: 13px;
    border-radius: 12px;
  }
}

/* Auth Modal Overlay - Username Setup/Change */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.auth-modal {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: var(--glass-shadow);
}

.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.auth-modal-header h2 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.auth-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: var(--transition);
}

.auth-modal-close:hover {
  color: var(--primary-color);
}

.auth-modal-body input[type="text"] {
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 0.8rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition: var(--transition);
}

.auth-modal-body input[type="text"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.auth-modal-body button[type="submit"],
.auth-modal-body button.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.auth-modal-body button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

[data-theme="light"] {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e9ecef;
  --text-primary: #212529;
  --text-secondary: #495057;
  --text-tertiary: #6c757d;
  --border-color: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(0, 0, 0, 0.05);
  --glass-bg-strong: rgba(0, 0, 0, 0.1);
  --glass-border: rgba(0, 0, 0, 0.1);
  --header-bg: rgba(248, 249, 250, 0.95);
}

[data-theme="light"] body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="light"] .header {
  background: var(--header-bg);
  border-bottom-color: var(--border-color);
}

[data-theme="light"] .movie-card,
[data-theme="light"] .tv-card {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="light"] .detail-modal {
  background: var(--bg-primary);
}

[data-theme="light"] .detail-content {
  background: var(--bg-secondary);
}

[data-theme="light"] .settings-dropdown {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   MOBILE OPTIMIZATION - iPhone 12 & smaller
   ============================================ */

/* iPhone 12/13/14 Pro Max (430px) */
@media (max-width: 430px) {
  .header {
    padding: 8px 12px;
    gap: 8px;
  }
  
  .logo {
    font-size: 14px !important;
    letter-spacing: 0;
  }
  
  .search-input {
    font-size: 14px;
    padding: 8px 12px 8px 36px;
    width: 100%;
    min-width: 0;
  }
  
  .search-icon {
    width: 18px;
    height: 18px;
    left: 10px;
  }
  
  .settings-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .hero-section {
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .hero-banner-container {
    min-height: 160px;
    max-height: 26vh;
    aspect-ratio: unset;
  }

  .hero-overlay {
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .hero-title {
    font-size: 18px !important;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  
  .hero-description {
    font-size: 12px !important;
    -webkit-line-clamp: 2;
    margin-bottom: 12px;
  }
  
  .hero-meta {
    font-size: 11px;
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .hero-meta span {
    padding: 3px 8px;
    font-size: 10px;
  }
  
  .hero-actions {
    gap: 8px;
  }
  
  .hero-actions .btn {
    padding: 10px 16px;
    font-size: 13px;
    gap: 6px;
  }
  
  .hero-actions .btn svg {
    width: 16px;
    height: 16px;
  }

  /* Remove button text on mobile - show only icon */
  .hero-actions .btn span {
    display: none;
  }

  .hero-actions .btn {
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
    border-radius: 50%;
  }
  
  .section-title {
    font-size: 16px !important;
    padding-left: 12px;
    margin-bottom: 10px;
  }
  
  .movies-section {
    padding: 16px 8px;
  }
  
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 4px;
  }
  
  .movie-card {
    border-radius: 10px;
  }
  
  .movie-banner {
    height: 140px;
  }
  
  .movie-info {
    padding: 8px;
  }
  
  .movie-title {
    font-size: 12px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }
  
  .movie-meta {
    font-size: 10px;
    gap: 4px;
    margin-top: 4px;
  }
  
  /* Continue Watching - größer für bessere Sichtbarkeit */
  .continue-watching {
    padding: 12px 0;
  }

  .continue-cards {
    padding: 12px;
    gap: 12px;
  }

  .continue-card {
    flex: 0 0 85%;
    width: 85%;
    min-width: unset;
    max-width: 380px;
  }

  .continue-card .continue-thumb {
    height: auto;
    aspect-ratio: 16/9;
  }

  .continue-card .continue-info {
    padding: 8px;
  }

  .continue-card .continue-title {
    font-size: 13px;
  }
  
  /* TV Section - größer für bessere Sichtbarkeit */
  .tv-section {
    padding: 12px 0;
  }

  .tv-grid {
    padding: 12px;
    gap: 12px;
  }

  .tv-card {
    flex: 0 0 85%;
    width: 85%;
    min-width: unset;
    max-width: 380px;
  }

  .tv-card .tv-thumb {
    height: auto;
    aspect-ratio: 16/9;
  }

  .tv-card .tv-name {
    font-size: 13px;
    padding: 8px;
  }
  
  /* Detail Modal */
  .detail-modal {
    padding: 0;
  }
  
  .detail-container {
    padding: 0;
    border-radius: 0;
  }
  
  .detail-header {
    padding: 12px;
    gap: 8px;
  }
  
  .detail-title {
    font-size: 16px;
  }
  
  .close-btn svg,
  .detail-action-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .detail-info {
    padding: 12px;
  }
  
  .info-row {
    font-size: 13px;
    padding: 8px 0;
  }
  
  .season-dropdown {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .episode-grid {
    gap: 8px;
  }
  
  .episode-card {
    padding: 10px;
  }
  
  .episode-thumb {
    width: 80px;
    height: 45px;
  }
  
  .episode-title {
    font-size: 12px;
  }
  
  .episode-duration {
    font-size: 10px;
  }
}

/* iPhone SE, iPhone 12 Mini & smaller (375px) */
@media (max-width: 375px) {
  .header {
    padding: 6px 8px;
    gap: 6px;
    flex-direction: row !important;
    flex-wrap: wrap;
  }
  
  .nav-container {
    width: auto;
    flex: 0 0 auto;
  }
  
  .logo {
    font-size: 12px !important;
  }
  
  .header-right {
    flex: 1;
    gap: 6px;
  }
  
  .search-container {
    flex: 1;
    min-width: 0;
  }
  
  .search-input {
    font-size: 14px;
    padding: 8px 10px 8px 32px;
  }
  
  .main-content {
    margin-top: 60px !important;
    padding: 8px !important;
  }
  
  .hero-section {
    min-height: 35vh;
    max-height: 40vh;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .hero-banner-container {
    min-height: 140px;
    max-height: 24vh;
  }

  .hero-overlay {
    padding: 8px !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }

  .hero-title {
    font-size: 16px !important;
    margin-bottom: 3px;
    line-height: 1.2;
  }
  
  .hero-description {
    display: none !important;
  }
  
  .hero-meta {
    margin-bottom: 6px;
    gap: 4px;
  }

  .hero-meta span {
    padding: 2px 5px;
    font-size: 8px;
  }
  
  .hero-actions {
    gap: 6px;
  }
  
  .hero-actions .btn {
    padding: 6px 8px;
    font-size: 10px;
    gap: 3px;
  }
  
  .hero-actions .btn svg {
    width: 14px;
    height: 14px;
  }

  /* Remove button text on small mobile - show only icon */
  .hero-actions .btn span {
    display: none;
  }

  .hero-actions .btn {
    min-width: 40px;
    min-height: 40px;
    padding: 10px;
    border-radius: 50%;
  }
  
  .hero-indicators {
    bottom: 8px;
  }
  
  .hero-dot {
    width: 6px;
    height: 6px;
  }
  
  .movies-section {
    padding: 12px 4px;
  }
  
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .movie-card {
    border-radius: 8px;
  }
  
  .movie-banner {
    height: 110px;
  }
  
  .movie-info {
    padding: 6px;
  }
  
  .movie-title {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }
  
  .movie-duration, .movie-meta {
    font-size: 9px;
  }
  
  .section-title {
    font-size: 14px !important;
    padding-left: 8px;
    margin-bottom: 8px;
  }
  
  .continue-watching {
    padding: 8px 0;
  }

  .continue-cards {
    padding: 8px;
    gap: 10px;
  }

  .continue-card {
    flex: 0 0 90%;
    width: 90%;
    min-width: unset;
    max-width: 340px;
  }

  .continue-card .continue-thumb {
    height: auto;
    aspect-ratio: 16/9;
  }

  .continue-card .continue-title {
    font-size: 12px;
  }
  
  .tv-section {
    padding: 8px 0;
  }

  .tv-grid {
    padding: 8px;
    gap: 10px;
  }

  .tv-card {
    flex: 0 0 90%;
    width: 90%;
    min-width: unset;
    max-width: 340px;
  }

  .tv-card .tv-thumb {
    height: auto;
    aspect-ratio: 16/9;
  }

  .tv-card .tv-name {
    font-size: 12px;
    padding: 6px;
  }
  
  /* Settings dropdown on small screens */
  .settings-dropdown {
    right: -10px;
    min-width: 200px;
    max-width: calc(100vw - 20px);
  }
  
  /* Detail Modal optimizations */
  .detail-modal {
    padding: 0 !important;
  }
  
  .detail-container {
    border-radius: 0 !important;
  }
  
  .detail-header {
    padding: 10px 12px !important;
    padding-top: calc(10px + env(safe-area-inset-top)) !important;
    gap: 8px;
  }
  
  .detail-title {
    font-size: 14px !important;
    max-width: 50vw;
  }
  
  .close-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  
  .close-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .detail-action-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  
  .detail-action-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .watchlist-toggle-btn {
    width: 36px;
    height: 36px;
  }
  
  .watchlist-toggle-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .detail-info {
    padding: 12px !important;
  }
  
  .info-row {
    padding: 6px 0;
    font-size: 12px;
  }
  
  .info-label {
    font-size: 11px;
  }
  
  .season-selector {
    padding: 8px 12px;
  }
  
  .season-dropdown {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .episode-grid {
    padding: 8px;
    gap: 6px;
  }
  
  .episode-card {
    padding: 8px;
    gap: 8px;
  }
  
  .episode-thumb {
    width: 70px;
    height: 40px;
    min-width: 70px;
  }
  
  .episode-number {
    font-size: 10px;
  }
  
  .episode-title {
    font-size: 11px;
  }
  
  .episode-duration {
    font-size: 9px;
  }
}

/* ============================================
   NEU HINZUGEFÜGT SECTION
   ============================================ */
.new-added-section {
  max-width: 1600px;
  margin: 0 auto 40px;
  padding: 0;
}

.new-added-section .section-header {
  margin-bottom: 24px;
}

.new-added-wrapper {
  position: relative;
  padding: 0 50px;
}

.new-added-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.new-added-nav-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  color: #fff;
}

.new-added-nav-btn.prev {
  left: 0;
}

.new-added-nav-btn.next {
  right: 0;
}

.new-added-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 0 20px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.new-added-list::-webkit-scrollbar {
  display: none;
}

.new-added-item {
  flex: 0 0 340px;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
}

@media (hover: hover) and (pointer: fine) {
  .new-added-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

.new-added-banner-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.new-added-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-tertiary);
}

.new-added-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--continue-overlay);
  padding: 16px;
}

/* Reuse movie-meta styles for consistent design in new-added cards */
.new-added-overlay .movie-meta {
  font-size: 0.75rem;
  color: var(--overlay-text);
  text-shadow: var(--text-shadow);
}

.new-added-overlay .movie-meta .movie-type-badge {
  background: rgba(255, 107, 53, 0.3);
  border-color: rgba(255, 107, 53, 0.5);
  color: var(--overlay-text);
}

.new-added-overlay .movie-meta .movie-genre-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--overlay-text);
}

.new-added-overlay .movie-meta .movie-duration {
  color: var(--overlay-text);
}

.new-added-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-color);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.new-added-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--overlay-text);
  text-shadow: var(--text-shadow);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  overflow: hidden;
}

.new-added-meta {
  font-size: 12px;
  color: var(--overlay-text);
  text-shadow: var(--text-shadow);
  opacity: 0.9;
  display: flex;
  gap: 8px;
  align-items: center;
}

.new-added-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  font-weight: 600;
  background: rgba(255, 107, 53, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .new-added-nav-btn {
    display: none;
  }

  .new-added-wrapper {
    padding: 0;
  }

  .new-added-item {
    flex: 0 0 85%;
    max-width: 380px;
  }

  .new-added-list {
    gap: 12px;
    padding: 0 12px;
  }
}

@media (max-width: 430px) {
  .new-added-section {
    padding: 16px 8px;
  }

  .new-added-item {
    flex: 0 0 90%;
    max-width: 340px;
  }

  .new-added-list {
    gap: 10px;
    padding: 0 8px;
  }

  .new-added-rank {
    width: 32px;
    height: 32px;
    font-size: 16px;
    top: 8px;
    left: 8px;
  }

  .new-added-overlay {
    padding: 12px;
  }

  .new-added-title {
    font-size: 0.95rem;
  }

  .new-added-meta {
    font-size: 11px;
  }
}

/* ============================================
   GENRE FILTER
   ============================================ */
.genre-filter-wrapper {
  position: relative;
  padding: 0 50px 16px;
  margin-bottom: 20px;
}

.genre-nav-btn {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.genre-nav-btn:hover {
  background: var(--bg-tertiary);
  color: var(--primary-color);
}

.genre-nav-btn.prev {
  left: 0;
}

.genre-nav-btn.next {
  right: 0;
}

.genre-filter-container {
  display: flex;
  gap: 8px;
  padding: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.genre-filter-container::-webkit-scrollbar {
  display: none;
}

.genre-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.genre-chip:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.genre-chip.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

@media (max-width: 768px) {
  .genre-nav-btn {
    display: none;
  }

  .genre-filter-wrapper {
    padding: 0 0 16px;
  }
}

@media (max-width: 430px) {
  .genre-filter-wrapper {
    padding: 0 0 12px;
  }

  .genre-filter-container {
    gap: 6px;
  }

  .genre-chip {
    padding: 6px 12px;
    font-size: 12px;
  }
}
/* New TV Contact Section Styles */
.tv-contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px;
    align-items: flex-start;
}

.tv-info-text {
    flex: 1;
    min-width: 300px;
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.tv-info-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tv-info-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tv-info-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.tv-info-text ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tv-info-text ul li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tv-info-text .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tv-contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.tv-contact-form .form-group {
    margin-bottom: 20px;
}

.tv-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.tv-contact-form input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
}

.tv-contact-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--glass-bg-strong);
}

.tv-contact-form button {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .tv-contact-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }

    .tv-info-text,
    .tv-contact-form {
        min-width: auto;
        width: 100%;
        padding: 20px;
    }

    .tv-info-text h3 {
        font-size: 1.4rem;
    }

    .tv-info-text p {
        font-size: 1rem;
    }

    .tv-info-text .price {
        font-size: 1.3rem;
    }

    .tv-contact-form input {
        padding: 14px 16px;
        font-size: 16px;
    }

    .tv-contact-form button {
        padding: 14px;
        font-size: 16px;
    }
}

