/* =============================================
   GOATCINE — Design System Dourado Premium
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  /* Gold Palette */
  --gold-primary: #FFD700;
  --gold-bright: #FFE44D;
  --gold-dark: #B8860B;
  --gold-deep: #8B6914;
  --gold-accent: #DAA520;
  --gold-muted: rgba(255, 215, 0, 0.15);
  --gold-glow: rgba(255, 215, 0, 0.4);
  --gold-glow-strong: rgba(255, 215, 0, 0.65);

  /* Background */
  --bg-primary: #080808;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --bg-elevated: #1a1a1a;
  --bg-glass: rgba(22, 22, 22, 0.85);
  --bg-overlay: rgba(8, 8, 8, 0.92);

  /* Text */
  --text-primary: #F5F5F5;
  --text-secondary: #A0A0A0;
  --text-muted: #606060;
  --text-gold: var(--gold-primary);

  /* Borders */
  --border-subtle: rgba(255, 215, 0, 0.08);
  --border-gold: rgba(255, 215, 0, 0.3);
  --border-gold-active: rgba(255, 215, 0, 0.7);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --nav-height: 72px;
  --section-pad: 48px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-gold: 0 0 24px var(--gold-glow);
  --shadow-gold-strong: 0 0 40px var(--gold-glow-strong);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-primary);
}

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

ul {
  list-style: none;
}

.mobile-home-header {
  display: none;
}

/* =============================================
   LOADING SCREEN
   ============================================= */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: none;
  align-items: center;
  justify-content: center;
  transition: none;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loading-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: none;
}

.loading-icon {
  font-size: 48px;
  filter: drop-shadow(0 0 20px var(--gold-glow-strong));
}

.loading-text {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.loading-bar-wrapper {
  width: 200px;
  height: 2px;
  background: rgba(255,215,0,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-bright));
  border-radius: 2px;
  transition: width 0.08s linear;
}

@keyframes pulse-logo {
  0%, 100% { filter: drop-shadow(0 0 8px var(--gold-glow)); }
  50% { filter: drop-shadow(0 0 24px var(--gold-glow-strong)); }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-normal), backdrop-filter var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.nav-container {
  width: 100%;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 22px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
  transition: filter var(--transition-fast);
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--gold-primary);
  text-shadow: 0 0 20px var(--gold-glow);
}

.nav-logo:hover .logo-icon {
  filter: drop-shadow(0 0 16px var(--gold-glow-strong));
}

@media (min-width: 601px) {
  .navbar .nav-logo {
    display: none;
  }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-category-links {
  display: none;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-link.active {
  color: var(--gold-primary);
}

.nav-badge {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

@media (min-width: 769px) {
  .navbar .nav-links {
    display: none;
  }

  .nav-category-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 4px;
    border: 1px solid rgba(255, 215, 0, 0.14);
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.78);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 16px 42px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nav-category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  }

  .nav-category-link:hover,
  .nav-category-link.active {
    color: var(--text-primary);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.08);
  }

  .nav-category-link.active {
    color: var(--gold-primary);
  }
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-search-btn:hover {
  color: var(--gold-primary);
  background: var(--gold-muted);
}

@media (min-width: 769px) {
  .nav-actions .nav-search-container {
    width: min(360px, 28vw);
  }

  .nav-actions .search-pill,
  .nav-actions .search-pill:focus-within {
    width: 100%;
  }
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--gold-dark);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.nav-avatar:hover {
  box-shadow: 0 0 0 2px var(--gold-primary), var(--shadow-gold);
  transform: scale(1.05);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Search Bar */
.search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  padding: 16px 32px;
  border-top: 1px solid var(--border-gold);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-bar.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.search-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-inner:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

.search-inner svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
}

#search-input::placeholder {
  color: var(--text-muted);
}

.search-close {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color var(--transition-fast);
}

.search-close:hover {
  color: var(--text-primary);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #000;
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  transition: background-image 0.7s ease, background-position 0.7s ease;
}

/* Animated background */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(255,140,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255,215,0,0.06) 0%, transparent 60%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-primary);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% {
    transform: translateY(-100px) translateX(var(--drift, 40px)) scale(1);
    opacity: 0;
  }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,8,8,0.72) 0%,
    rgba(8,8,8,0.34) 38%,
    rgba(8,8,8,0.08) 68%,
    rgba(8,8,8,0.42) 100%
  ),
  linear-gradient(
    to top,
    rgba(8,8,8,1) 0%,
    rgba(8,8,8,0.48) 22%,
    transparent 58%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px;
  padding-top: 160px;
  max-width: 680px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(218,165,32,0.2), rgba(255,215,0,0.1));
  border: 1px solid var(--border-gold-active);
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px var(--gold-muted);
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 12px var(--gold-muted); }
  50% { box-shadow: 0 0 24px var(--gold-glow); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
  animation: slide-up 0.8s ease both;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  animation: slide-up 0.8s 0.1s ease both;
}

.meta-rating {
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 14px;
}

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

.meta-year, .meta-duration {
  color: var(--text-secondary);
  font-size: 14px;
}

.meta-genre {
  color: var(--text-secondary);
  font-size: 13px;
  background: rgba(255,255,255,0.08);
  padding: 2px 10px;
  border-radius: 20px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  animation: slide-up 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slide-up 0.8s 0.3s ease both;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-primary), var(--gold-bright));
  background-size: 200% 200%;
  color: #000;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
  letter-spacing: 0.2px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255,215,0,0.5);
  background-position: right center;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-info {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-info:hover {
  background: var(--gold-muted);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition-normal);
}

.indicator.active {
  width: 28px;
  border-radius: 4px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-primary), transparent);
  margin: 0 auto;
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
  padding-bottom: 80px;
}

/* =============================================
   ROW SECTIONS
   ============================================= */
.row-section {
  padding: var(--section-pad) 0 0;
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  margin-bottom: 20px;
}

.row-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.row-see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-primary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  transition: all var(--transition-fast);
  background: transparent;
}

.row-see-all:hover {
  background: var(--gold-muted);
  box-shadow: 0 0 12px var(--gold-muted);
}

/* =============================================
   CAROUSEL
   ============================================= */
.carousel-wrapper {
  position: relative;
  padding: 0 48px;
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 18px 4px 24px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 80px;
  background: linear-gradient(to right, var(--bg-primary) 0%, rgba(8,8,8,0.6) 100%);
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5;
  opacity: 0;
}

.carousel-wrapper:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: var(--gold-muted);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.carousel-arrow.left {
  left: 0;
  background: linear-gradient(to right, rgba(8,8,8,0.95), rgba(8,8,8,0.3));
}

.carousel-arrow.right {
  right: 0;
  background: linear-gradient(to left, rgba(8,8,8,0.95), rgba(8,8,8,0.3));
}

/* =============================================
   MOVIE CARD
   ============================================= */
.movie-card {
  flex-shrink: 0;
  width: 220px;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-md);
  scroll-snap-align: start;
  outline: none;
  transition: transform 260ms ease, filter 260ms ease;
  transform-origin: center bottom;
}

.card-poster-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 2/3;
  width: 100%;
  background: var(--bg-card);
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.movie-card:hover,
.movie-card:focus-within,
.movie-card.touch-active {
  z-index: 10;
  transform: translateY(-5px) scale(1.04);
}

.movie-card:hover .card-poster-wrapper,
.movie-card:focus-within .card-poster-wrapper,
.movie-card.touch-active .card-poster-wrapper {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 16px rgba(255, 215, 0, 0.36);
}

.movie-card:hover .card-poster,
.movie-card:focus-within .card-poster,
.movie-card.touch-active .card-poster {
  transform: scale(1.04);
}

.card-poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: transform 260ms ease, box-shadow 260ms ease;
  border: 1px solid var(--border-subtle);
}

.card-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background:
    linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.12) 100%),
    linear-gradient(to right, rgba(0,0,0,0.58), transparent 58%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease 180ms, transform 220ms ease 180ms;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  z-index: 2;
}

.movie-card:hover .card-overlay,
.movie-card:focus-within .card-overlay,
.movie-card.touch-active .card-overlay {
  opacity: 1;
  transform: translateY(0);
}


.card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-rating {
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 600;
}

.card-hover-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 999px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 900;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.card-action:hover,
.card-action:focus-visible,
.card-action.active {
  color: #080808;
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.card-action.watch {
  flex: 1;
  min-width: 86px;
}

.card-rank-badge,
.card-genre-badge {
  position: absolute;
  top: 9px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 215, 0, 0.36);
  border-radius: 999px;
  color: var(--gold-primary);
  background: rgba(0, 0, 0, 0.72);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.card-rank-badge { left: 9px; }
.card-genre-badge {
  left: 9px;
  right: 9px;
  justify-content: center;
}

.card-info {
  padding: 10px 4px 0;
}

.card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-year {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Gold border on hover */
.card-poster-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: border-color var(--transition-normal);
  pointer-events: none;
  z-index: 3;
}

.movie-card:hover .card-poster-wrapper::after,
.movie-card:focus-within .card-poster-wrapper::after,
.movie-card.touch-active .card-poster-wrapper::after {
  border-color: var(--gold-primary);
}

.premium-rows {
  position: relative;
}

.premium-row {
  content-visibility: auto;
  contain-intrinsic-size: 410px;
}

.premium-carousel:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.65);
  outline-offset: 6px;
  border-radius: var(--radius-md);
}

.skeleton-card {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: linear-gradient(110deg, rgba(255,255,255,0.045) 8%, rgba(255,215,0,0.12) 18%, rgba(255,255,255,0.045) 33%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.25s linear infinite;
}

.skeleton-card span {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes skeleton-shimmer {
  to { background-position-x: -220%; }
}

@media (hover: none) {
  .movie-card:hover {
    transform: none;
  }

  .movie-card:hover .card-overlay {
    opacity: 0;
    transform: translateY(8px);
  }

  .movie-card.touch-active {
    transform: translateY(-6px) scale(1.04);
  }

  .movie-card.touch-active .card-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .carousel {
    gap: 12px;
    padding-top: 12px;
  }

  .movie-card {
    width: 172px;
  }

  .card-action {
    min-height: 28px;
    padding: 0 8px;
    font-size: 10px;
  }

  .card-action.watch {
    min-width: 74px;
  }
}

.continue-card .continue-poster-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.continue-progress-track {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.continue-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

.continue-card .card-year {
  min-height: 16px;
}

.continue-card .card-overlay {
  padding-bottom: 24px;
}

/* =============================================
   ORIGINALS BANNER
   ============================================= */
.originals-banner {
  margin: var(--section-pad) 48px 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a0f00 0%, #0f0800 40%, #120b00 70%, #1a1000 100%);
  border: 1px solid rgba(255,215,0,0.2);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 60px rgba(255,140,0,0.05), 0 8px 32px rgba(0,0,0,0.4);
}

.originals-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,140,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.originals-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.originals-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--border-gold-active);
  border-radius: 20px;
  background: var(--gold-muted);
}

.originals-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.originals-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.originals-visual {
  position: relative;
  width: 240px;
  height: 200px;
  flex-shrink: 0;
}

.originals-cards-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.stack-card {
  position: absolute;
  width: 130px;
  height: 180px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,215,0,0.2);
}

.stack-card.c1 {
  background: linear-gradient(135deg, #2a1a00, #1a1000);
  right: 60px;
  top: 0;
  transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.stack-card.c2 {
  background: linear-gradient(135deg, #1f1200, #140d00);
  right: 30px;
  top: 10px;
  transform: rotate(-3deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  border-color: rgba(255,215,0,0.3);
}

.stack-card.c3 {
  background: linear-gradient(135deg, #FFD700, #B8860B);
  right: 0;
  top: 20px;
  box-shadow: 0 12px 32px rgba(255,215,0,0.3);
  border-color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.stack-card.c3::after {
  content: '🏆';
  font-size: 48px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* =============================================
   TOP 10 SECTION
   ============================================= */
.top10-section {
  padding: var(--section-pad) 0 0;
}

.top10-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0 48px;
}

.top10-card {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal);
  background: var(--bg-card);
}

.top10-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.top10-number {
  position: absolute;
  top: -8px;
  left: -4px;
  font-size: 88px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold-dark);
  line-height: 1;
  z-index: 1;
  text-shadow: none;
  letter-spacing: -4px;
  pointer-events: none;
  font-style: italic;
}

.top10-poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  background: var(--bg-card);
}

.top10-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 12px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.top10-card:hover .top10-overlay {
  opacity: 1;
}

.top10-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.top10-rating {
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 600;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  padding: 56px 32px 40px;
}

.footer-container {
  text-align: center;
}

.footer .logo-text {
  font-size: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
  font-style: italic;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-primary);
}

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

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay::before,
.modal-overlay::after {
  content: '';
  position: absolute;
  inset: -36px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.modal-overlay::before {
  background-image: var(--modal-dynamic-bg);
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  transform: scale(1.08);
  animation: modal-bg-zoom 38s ease-in-out infinite alternate;
}

.modal-overlay::after {
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.62) 24%, rgba(0,0,0,0.48) 70%, rgba(0,0,0,0.94) 100%),
    linear-gradient(to top, #000 0%, rgba(0,0,0,0.92) 18%, rgba(0,0,0,0.35) 62%, rgba(0,0,0,0.88) 100%);
}

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

.modal-overlay.open::before,
.modal-overlay.open::after {
  opacity: 1;
}

.modal-overlay.bg-swapping::before {
  opacity: 0.35;
}

@keyframes modal-bg-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.14); }
}

.modal {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
  box-shadow: var(--shadow-modal), 0 0 60px rgba(255,215,0,0.1);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

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

.modal::-webkit-scrollbar {
  width: 4px;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255,215,0,0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.modal-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.modal-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-card);
}

.modal-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg-elevated) 0%,
    rgba(26,26,26,0.6) 40%,
    rgba(26,26,26,0.1) 100%
  ),
  linear-gradient(
    to right,
    rgba(26,26,26,0.8) 0%,
    transparent 60%
  );
}

.modal-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.1;
}

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

.modal-meta .meta-rating { font-size: 14px; }
.modal-meta .meta-year,
.modal-meta .meta-duration,
.modal-meta .meta-genre { font-size: 13px; }

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-actions .btn-primary {
  padding: 12px 24px;
  font-size: 14px;
}

.modal-actions .btn-secondary {
  padding: 12px 20px;
  font-size: 14px;
}

.modal-body {
  padding: 32px;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  margin-bottom: 40px;
}

.modal-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.modal-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.detail-value {
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-episodes {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  margin-bottom: 34px;
}

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

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

.season-tab {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.season-tab.active,
.season-tab:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.1);
}

.episode-list-user {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.episode-card-user {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.episode-card-user:hover {
  border-color: rgba(255, 215, 0, 0.32);
  background: rgba(255, 215, 0, 0.07);
  transform: translateX(3px);
}

.episode-card-user.is-progress {
  border-left: 3px solid var(--gold-primary, #ffd700);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.035) 34%);
}

.episode-card-user.is-watched {
  border-left: 3px solid #2ecc71;
  background: linear-gradient(90deg, rgba(46, 204, 113, 0.08), rgba(255, 255, 255, 0.035) 34%);
}

.episode-number-user {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold-primary);
  font-weight: 900;
}

.episode-name-user {
  display: block;
  color: var(--text-primary);
  font-weight: 800;
  margin-bottom: 4px;
}

.episode-desc-user {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.episode-duration-user {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.modal-similar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.modal-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.similar-card {
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.similar-card:hover {
  transform: scale(1.04);
}

.similar-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--bg-card);
}

.similar-card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-normal);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 16px var(--gold-muted);
  white-space: nowrap;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .modal-similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .modal-similar-grid .similar-card:last-child {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 36px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .originals-banner {
    flex-direction: column;
    gap: 40px;
    padding: 40px 32px;
  }

  .originals-visual {
    width: 100%;
    height: 140px;
  }

  .modal-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .episode-card-user {
    grid-template-columns: 42px 1fr;
  }
  .episode-duration-user {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 60px;
    --section-pad: 28px;
  }

  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .mobile-home-header {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    left: 14px;
    z-index: 1100;
    display: flex;
    align-items: center;
    min-height: 44px;
    pointer-events: none;
  }

  .mobile-home-search {
    display: flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 16px;
    color: var(--gold-primary);
    background: linear-gradient(180deg, rgba(18, 14, 4, 0.94), rgba(7, 7, 7, 0.94));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.44);
    pointer-events: auto;
    overflow: hidden;
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.24s ease, box-shadow 0.24s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-home-search:focus-within,
  .mobile-home-search.search-open {
    width: min(188px, calc(100vw - 28px));
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 215, 0, 0.12);
  }

  .mobile-home-search input {
    min-width: 0;
    width: 0;
    border: 0;
    outline: 0;
    color: var(--text-primary);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transition: width 0.28s ease, opacity 0.18s ease;
  }

  .mobile-home-search:focus-within input,
  .mobile-home-search.search-open input {
    width: 100%;
    opacity: 1;
  }

  .mobile-home-search input::placeholder {
    color: var(--text-muted);
  }

  .navbar {
    top: auto;
    left: 50%;
    right: auto;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: min(282px, calc(100% - 56px));
    height: 60px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 999px;
    background: rgba(13, 13, 13, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 215, 0, 0.1);
  }

  .navbar.scrolled {
    background: rgba(13, 13, 13, 0.9);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 215, 0, 0.1);
  }

  .nav-container {
    justify-content: center;
    gap: 6px;
    padding: 0 6px;
  }

  .nav-logo,
  .nav-hamburger,
  .nav-links li:not(:first-child) {
    display: none !important;
  }

  .nav-links {
    display: flex;
    flex: 0 0 auto;
    gap: 0;
  }

  .nav-actions {
    flex: 0 0 auto;
    margin-left: 0 !important;
    gap: 6px !important;
    position: static !important;
  }

  .nav-link,
  .nav-avatar {
    width: 58px;
    height: 52px;
    padding: 0;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-secondary);
    background: transparent;
    box-shadow: none;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
  }

  .nav-link::before {
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 17px;
    line-height: 1;
  }

  #nav-home::before {
    content: "\f015";
  }

  .nav-search-container {
    display: none !important;
  }

  .search-pill {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border: 1px solid rgba(255, 215, 0, 0.32);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(18, 14, 4, 0.97), rgba(7, 7, 7, 0.97));
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 215, 0, 0.04);
  }

  .search-pill::before {
    content: "\f002";
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: var(--gold-primary);
  }

  .search-pill-input,
  .search-pill-clear {
    display: none !important;
  }

  .nav-search-container.mobile-search-active .search-pill {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top));
    left: 14px;
    right: 14px;
    width: auto;
    height: 44px;
    padding: 0 14px;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-search-container.mobile-search-active .search-pill::after {
    content: none;
  }

  .nav-search-container.mobile-search-active .search-pill-input {
    display: block !important;
    min-width: 0;
    flex: 1;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
  }

  .nav-search-container.mobile-search-active .search-pill-clear {
    display: flex !important;
  }

  .search-pill-icon {
    display: none;
  }

  .nav-link.active,
  .nav-link:hover,
  .nav-search-container:focus-within .search-pill,
  .nav-avatar:hover {
    color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.08);
    transform: none;
  }

  .nav-avatar {
    position: relative;
    overflow: visible;
    width: 92px;
    color: var(--text-secondary);
    background: transparent !important;
    border: 0;
  }

  .nav-avatar::before {
    content: "\f521";
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 17px;
    line-height: 1;
  }

  .nav-avatar::after {
    content: "Minha GOAT";
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
  }

  .nav-avatar img,
  .nav-avatar > span {
    display: none !important;
  }

  .user-menu-dropdown {
    position: fixed;
    top: auto;
    right: 18px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: min(300px, calc(100vw - 36px));
    z-index: 1200;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero-content {
    padding: 0 20px;
    padding-top: var(--nav-height);
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .row-header,
  .carousel-wrapper,
  .top10-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .originals-banner {
    margin: var(--section-pad) 20px 0;
    padding: 32px 24px;
  }

  .originals-title {
    font-size: 24px;
  }

  .top10-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .movie-card {
    width: 166px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-hero {
    height: 260px;
  }

  .modal-hero-content {
    padding: 20px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  #search-results-section {
    margin-top: 92px !important;
    padding: 24px 14px calc(96px + env(safe-area-inset-bottom)) !important;
  }

  #search-results-title {
    color: var(--text-secondary) !important;
    font-size: 16px !important;
    line-height: 1.35;
  }

  #search-results-grid.netflix-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
  }

  #search-results-grid .movie-card {
    width: 100%;
  }

  #search-results-grid .card-info {
    display: none;
  }

}

/* =============================================
   UTILITIES & ANIMATIONS
   ============================================= */
.fade-in {
  animation: fade-in 0.5s ease both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    var(--bg-card-hover) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-load {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Gold shimmer effect */
@keyframes gold-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.gold-shimmer {
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold-primary) 30%,
    var(--gold-bright) 50%,
    var(--gold-primary) 70%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 3s linear infinite;
}

/* =============================================
   PREMIUM VIDEO PLAYER STYLES
   ============================================= */
.player-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow: hidden;
  user-select: none;
}

.player-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Ambient Cinema Glow */
.player-ambient-glow {
  position: absolute;
  inset: -10%;
  z-index: 1;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 2s ease, background 1.5s ease;
  pointer-events: none;
  filter: blur(100px);
}

.player-overlay.playing .player-ambient-glow {
  opacity: 1;
}

/* Back/Close Button */
.player-back-btn {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 10;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.player-back-btn:hover {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transform: translateX(-4px);
}

/* Main Video Container */
.player-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  outline: none;
  background: #000;
}

.player-subtitles-overlay {
  position: absolute;
  left: 50%;
  bottom: clamp(82px, 10vh, 145px);
  transform: translateX(-50%);
  z-index: 4;
  display: none;
  width: min(86vw, 980px);
  color: #ffffff;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(1.18rem, 1.55vw, 1.72rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  white-space: pre-line;
  text-shadow:
    0 2px 2px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.player-next-episode {
  position: absolute;
  right: 42px;
  bottom: 150px;
  z-index: 7;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(520px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.16), transparent 38%),
    rgba(9, 9, 9, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.62), 0 0 24px rgba(255, 215, 0, 0.08);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-next-episode.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.next-episode-copy {
  min-width: 0;
}

.next-episode-copy span {
  display: block;
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.next-episode-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-episode-copy small {
  display: block;
  color: var(--text-secondary);
  margin-top: 5px;
  font-weight: 700;
}

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

.next-episode-dismiss,
.next-episode-play {
  height: 40px;
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 900;
}

.next-episode-dismiss {
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.next-episode-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  background: var(--gold-primary);
  box-shadow: 0 10px 24px rgba(255, 215, 0, 0.22);
}

.player-episodes-panel {
  position: absolute;
  top: 78px;
  right: 32px;
  bottom: 140px;
  z-index: 8;
  width: min(390px, calc(100vw - 40px));
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.12), transparent 36%),
    rgba(8, 8, 8, 0.92);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  overflow: hidden;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-episodes-panel.show {
  opacity: 1;
  transform: translateX(0);
}

.player-episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.player-episodes-header span {
  display: block;
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.player-episodes-header strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: 2px;
}

.player-episodes-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.player-episodes-list {
  height: calc(100% - 70px);
  overflow-y: auto;
  padding: 10px;
}

.player-episode-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  background: transparent;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.player-episode-item:hover,
.player-episode-item.active {
  border-color: rgba(255, 215, 0, 0.34);
  background: rgba(255, 215, 0, 0.09);
}

.player-episode-item:hover {
  transform: translateX(-2px);
}

.player-episode-index {
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 950;
}

.player-episode-main {
  min-width: 0;
}

.player-episode-main strong,
.player-episode-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-episode-main strong {
  font-size: 0.92rem;
  font-weight: 900;
}

.player-episode-main small {
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 3px;
}

.player-episode-progress {
  display: block;
  height: 4px;
  margin-top: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.player-episode-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-primary);
}

.player-episode-check {
  color: #2ecc71;
}

.episodes-toggle {
  gap: 8px;
  min-width: auto;
  padding-inline: 12px;
}

.episodes-toggle.active {
  color: #000;
  background: var(--gold-primary);
}

@media (max-width: 768px) {
  .player-subtitles-overlay {
    bottom: clamp(54px, 10vh, 96px);
    width: min(92vw, 680px);
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  .player-next-episode {
    right: 14px;
    left: 14px;
    bottom: 118px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .next-episode-actions {
    justify-content: flex-end;
  }

  .player-episodes-panel {
    top: 72px;
    right: 12px;
    left: 12px;
    bottom: 118px;
    width: auto;
  }

  .episodes-toggle span {
    display: none;
  }
}

/* Iframe Elements (YouTube/Vimeo) */
.iframe-element-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  background: #000;
}

.iframe-element-wrapper.active {
  display: block;
}

.iframe-element {
  width: 100%;
  height: 100%;
  border: none;
}

/* Custom Controls HUD */
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  padding: 80px 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.player-overlay.controls-hidden .player-controls {
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
}

.player-overlay.controls-hidden .player-back-btn {
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
}

.player-controls-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Progress Bar */
.progress-container {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  transition: height 0.15s ease;
  touch-action: none;
  user-select: none;
}

.progress-container:hover,
.progress-container:focus-visible,
.progress-container.is-scrubbing {
  height: 10px;
}

.progress-bar-bg {
  position: absolute;
  inset: 0;
}

.progress-bar-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  background: rgba(255, 215, 0, 0.25);
  border-radius: 3px;
  pointer-events: none;
}

.progress-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
  border-radius: 3px;
  pointer-events: none;
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 90ms linear;
}

.progress-bar-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--gold-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-container.is-scrubbing .progress-bar-fill {
  transition: none;
}

.progress-container:hover .progress-bar-handle,
.progress-container:focus-visible .progress-bar-handle,
.progress-container.is-scrubbing .progress-bar-handle {
  transform: translate(-50%, -50%) scale(1);
}

/* Control Buttons & Row */
.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.control-btn {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.control-btn:hover {
  color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.1);
}

.control-btn:active {
  transform: scale(0.95);
}

.subtitle-toggle {
  gap: 8px;
  min-width: 104px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.subtitle-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
}

.subtitle-toggle:disabled {
  cursor: default;
  transform: none;
}

.subtitle-toggle.is-loading {
  opacity: 0.78;
  border-color: rgba(255, 215, 0, 0.28);
  color: var(--gold-primary);
}

.subtitle-toggle.is-loading .subtitle-toggle-text {
  font-size: 0;
}

.subtitle-toggle.is-loading .subtitle-toggle-text::after {
  content: 'Carregando';
  font-size: 12px;
}

.subtitle-toggle.is-unavailable {
  opacity: 0.55;
}

.subtitle-toggle-cc {
  display: inline-grid;
  min-width: 28px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1;
}

.subtitle-toggle-text {
  line-height: 1;
}

.subtitle-toggle.active {
  color: #000 !important;
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.34);
  filter: none;
}

.subtitle-toggle.active .subtitle-toggle-cc {
  border-color: rgba(0, 0, 0, 0.65);
}

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

.volume-slider {
  width: 70px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: width 0.2s ease;
}

.volume-slider::-webkit-slider-runnable-track {
  height: 4px;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  cursor: pointer;
  margin-top: -4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.volume-container:hover .volume-slider {
  width: 100px;
}

/* Time Indicator */
.time-indicator {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  gap: 5px;
}

.time-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* Playback Speed dropdown */
.speed-container {
  position: relative;
}

.speed-btn {
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.speed-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 6px;
  display: none;
  flex-direction: column;
  min-width: 100px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.speed-menu.show {
  display: flex;
}

.speed-menu button {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  text-align: left;
  transition: all 0.2s ease;
}

.speed-menu button:hover {
  background: var(--gold-muted);
  color: var(--gold-primary);
}

.speed-menu button.active {
  color: #000;
  background: var(--gold-primary);
}

/* Responsive Player Controls */
@media (max-width: 768px) {
  .player-back-btn {
    top: 20px;
    left: 20px;
  }

  .player-controls {
    padding: 60px 24px 20px;
    gap: 16px;
  }

  .controls-left, .controls-right {
    gap: 12px;
  }

  .subtitle-toggle {
    min-width: 58px;
    padding: 7px 9px;
  }

  .subtitle-toggle-text {
    display: none;
  }

  .volume-slider {
    display: none;
  }
}

/* User Menu Dropdown */
.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 292px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 215, 0, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(7, 7, 7, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.34);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.76),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 34px rgba(255, 215, 0, 0.06);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
}

.user-menu-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(255, 215, 0, 0.34);
  border-top: 1px solid rgba(255, 215, 0, 0.34);
  background: #11100c;
  transform: rotate(45deg);
}

.user-menu-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.user-menu-header {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 8px 8px 14px;
}

.user-menu-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #000;
  border: 2px solid rgba(255, 215, 0, 0.86);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.08), 0 0 24px rgba(255, 215, 0, 0.2);
  flex-shrink: 0;
  overflow: hidden;
}

.user-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.user-menu-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.user-menu-email {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
  font-weight: 600;
}

.user-menu-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.22), transparent);
  margin: 8px 6px;
}

.user-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  text-align: left;
}

.user-menu-item:hover {
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.045));
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateX(2px);
}

.menu-icon {
  width: 19px;
  height: 19px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.user-menu-item:hover .menu-icon {
  color: var(--gold-primary);
}

.user-menu-logout {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  color: #FF6B6B;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  text-align: left;
}

.user-menu-logout:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.24);
  transform: translateX(2px);
}

.logout-icon {
  color: #FF6B6B !important;
}

/* Layout de Grade para Resultados da Busca */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 30px 20px;
  margin-top: 24px;
}

.search-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  font-size: 16px;
  grid-column: 1 / -1;
}

.search-empty-state span {
  display: block;
  font-size: 48px;
  margin-bottom: 16px;
}

/* Utilitário global para ocultar elementos */
.hidden {
  display: none !important;
}

/* Container de Busca Inline */
.nav-search-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* Pílula de Busca */
.search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 6px 12px;
  transition: all var(--transition-normal);
  width: 160px;
}

.search-pill:focus-within {
  width: 240px;
  background: rgba(8, 8, 8, 0.95);
  border-color: var(--border-gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

.search-pill-icon {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.search-pill:focus-within .search-pill-icon {
  color: var(--gold-primary);
}

.search-pill-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 13px;
  width: 100%;
}

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

.search-pill-clear {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.search-pill-clear:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Grade de Resultados Estilo Netflix */
.netflix-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px 20px;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .netflix-search-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px 16px;
  }
}

@media (max-width: 768px) {
  .netflix-search-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px 12px;
  }
}

.search-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 42px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--text-secondary);
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.search-empty-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.search-empty-icon::before {
  content: "\f002";
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--text-secondary);
}

.search-empty-kicker {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 3px;
}

.search-empty-state strong {
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.2;
}

.search-empty-state small {
  max-width: 420px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* =============================================
   PREMIUM CHECKOUT STYLE
   ============================================= */
.checkout-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 16px;
}

@media (max-width: 650px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Plan card premium style */
.premium-plan-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.premium-plan-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 215, 0, 0.25);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.premium-plan-card.active {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(184, 134, 11, 0.04));
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15), inset 0 0 15px rgba(255, 215, 0, 0.05);
}

.premium-plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-primary);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-plan-card.active .premium-plan-badge {
  opacity: 1;
}

.premium-plan-header {
  display: flex;
  flex-direction: column;
}

.premium-plan-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.premium-plan-card.active .premium-plan-name {
  color: var(--gold-primary);
}

.premium-plan-price-box {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.premium-plan-symbol {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.premium-plan-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.premium-plan-period {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.premium-plan-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.premium-plan-feature-item {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.premium-plan-feature-icon {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* Pay area card */
.premium-pay-box {
  background: rgba(22, 22, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.premium-qr-frame {
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  position: relative;
}

.premium-qr-frame:hover {
  transform: scale(1.03);
}

.premium-copypaste-container {
  width: 100%;
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.premium-copypaste-container:focus-within {
  border-color: var(--gold-primary);
}

.premium-copypaste-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 16px;
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 0.78rem;
  outline: none;
}

.premium-copypaste-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  color: #000;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 20px;
  cursor: pointer;
  transition: filter 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.premium-copypaste-btn:hover {
  filter: brightness(1.15);
}

.premium-status-indicator {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  justify-content: center;
}

.premium-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: premiumPulse 1.8s ease-in-out infinite;
}

@keyframes premiumPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); }
  50% { transform: scale(1.2); opacity: 0.5; box-shadow: 0 0 0 8px rgba(255, 215, 0, 0); }
}

/* =============================================
   PREMIUM SUBTITLES (::cue) STYLING
   ============================================= */
.video-element::cue {
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  line: 70%;
  line-height: 1.05;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  border-radius: 4px;
}

.control-btn.active:not(.subtitle-toggle) {
  color: var(--gold-primary) !important;
  filter: drop-shadow(0 0 4px var(--gold-primary));
}

/* =============================================
   CATALOG VIEW & FILTERS STYLING
   ============================================= */
#catalog-genre-filter {
  background-color: rgba(18, 18, 18, 0.85) !important;
  border: 1px solid rgba(255, 215, 0, 0.25) !important;
  color: #ffffff !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 36px 8px 16px !important;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

#catalog-genre-filter:hover {
  border-color: var(--gold-primary) !important;
  background-color: rgba(24, 24, 24, 0.95) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

#catalog-genre-filter:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

#catalog-genre-filter option {
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 10px;
}

/* =============================================
   REORDER BOARD DRAG & DROP STYLING
   ============================================= */
.reorder-item-card.dragging {
  opacity: 0.4;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: scale(0.98);
}

.reorder-list {
  transition: background-color 0.2s ease;
}

.reorder-list:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

/* =============================================
   NETFLIX STYLE TOP 10
   ============================================= */
.top10-scroll-shell {
  position: relative;
  padding: 0 64px;
}

.top10-grid {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 24px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge antigo */
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
}

.top10-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.top10-grid .top10-card {
  position: relative;
  flex: 0 0 250px;
  width: 250px;
  height: 220px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
}

.top10-slide-btn {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 124px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(to left, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.58));
  cursor: pointer;
  z-index: 20;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.top10-slide-btn.left {
  left: 8px;
  background: linear-gradient(to right, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.58));
}

.top10-slide-btn.right {
  right: 8px;
  background: linear-gradient(to left, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.58));
}

.top10-slide-btn:hover {
  color: var(--gold-primary);
  transform: translateY(-50%) scale(1.04);
}

.top10-slide-btn.left:hover {
  background: linear-gradient(to right, rgba(8, 8, 8, 1), rgba(8, 8, 8, 0.72));
}

.top10-slide-btn.right:hover {
  background: linear-gradient(to left, rgba(8, 8, 8, 1), rgba(8, 8, 8, 0.72));
}

.top10-card:hover {
  transform: scale(1.08) translateY(-4px);
  z-index: 10;
}

.top10-card:hover .top10-poster {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.3);
}

.top10-number {
  font-size: 240px;
  font-weight: 900;
  line-height: 1;
  color: #080808;
  -webkit-text-stroke: 4px rgba(255, 215, 0, 0.8);
  position: absolute;
  left: -8px;
  bottom: -32px;
  z-index: 1;
  user-select: none;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -14px;
}

/* Number 10 needs to be slightly shifted left to fit */
.top10-card:nth-child(10) .top10-number {
  left: -32px;
}

.top10-poster {
  width: 150px;
  height: 220px;
  border-radius: 6px;
  object-fit: cover;
  position: absolute;
  right: 12px;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.top10-overlay {
  display: none;
}

/* Indicadores de progresso e assistido nos episódios */
.episode-status-badge.watched {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 6px;
  text-transform: uppercase;
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.episode-progress-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  max-width: 200px;
}

.episode-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.episode-progress-fill {
  height: 100%;
  background: var(--gold-primary, #ffd700);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.episode-status-text {
  font-size: 0.7rem;
  color: var(--text-muted, #888);
}

/* =============================================
   DOUBLE TAP FEEDBACK FOR MOBILE PLAYER
   ============================================= */
.double-tap-feedback {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.double-tap-feedback.left {
  left: 0;
}

.double-tap-feedback.right {
  right: 0;
}

.double-tap-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.15);
  animation: doubleTapBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.double-tap-feedback i {
  color: #ffd700;
  font-size: 1.8rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

.double-tap-feedback span {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

@keyframes doubleTapBounce {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
}

.top10-slide-btn {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 124px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(to left, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.58));
  cursor: pointer;
  z-index: 20;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.top10-slide-btn.left {
  left: 8px;
  background: linear-gradient(to right, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.58));
}

.top10-slide-btn.right {
  right: 8px;
  background: linear-gradient(to left, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.58));
}

.top10-slide-btn:hover {
  color: var(--gold-primary);
  transform: translateY(-50%) scale(1.04);
}

.top10-slide-btn.left:hover {
  background: linear-gradient(to right, rgba(8, 8, 8, 1), rgba(8, 8, 8, 0.72));
}

.top10-slide-btn.right:hover {
  background: linear-gradient(to left, rgba(8, 8, 8, 1), rgba(8, 8, 8, 0.72));
}

.top10-card:hover {
  transform: scale(1.08) translateY(-4px);
  z-index: 10;
}

.top10-card:hover .top10-poster {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.3);
}

.top10-number {
  font-size: 240px;
  font-weight: 900;
  line-height: 1;
  color: #080808;
  -webkit-text-stroke: 4px rgba(255, 215, 0, 0.8);
  position: absolute;
  left: -8px;
  bottom: -32px;
  z-index: 1;
  user-select: none;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -14px;
}

/* Number 10 needs to be slightly shifted left to fit */
.top10-card:nth-child(10) .top10-number {
  left: -32px;
}

.top10-poster {
  width: 150px;
  height: 220px;
  border-radius: 6px;
  object-fit: cover;
  position: absolute;
  right: 12px;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.top10-overlay {
  display: none;
}

/* Indicadores de progresso e assistido nos episódios */
.episode-status-badge.watched {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 6px;
  text-transform: uppercase;
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.episode-progress-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  max-width: 200px;
}

.episode-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.episode-progress-fill {
  height: 100%;
  background: var(--gold-primary, #ffd700);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.episode-status-text {
  font-size: 0.7rem;
  color: var(--text-muted, #888);
}

/* =============================================
   DOUBLE TAP FEEDBACK FOR MOBILE PLAYER
   ============================================= */
.double-tap-feedback {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.double-tap-feedback.left {
  left: 0;
}

.double-tap-feedback.right {
  right: 0;
}

.double-tap-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.15);
  animation: doubleTapBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.double-tap-feedback i {
  color: #ffd700;
  font-size: 1.8rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

.double-tap-feedback span {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

@keyframes doubleTapBounce {
  0% { transform: scale(0.6); opacity: 0; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.double-tap-feedback.animate-in {
  opacity: 1;
}

/* =============================================
   SUCCESS PREMIUM OVERLAY & CARD
   ============================================= */
.success-premium-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200 !important;
  background: rgba(4, 4, 4, 0.95) !important;
  backdrop-filter: blur(25px) !important;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
}

.success-premium-overlay.show {
  opacity: 1;
}

.success-premium-card {
  position: relative;
  width: 90%;
  max-width: 460px;
  background: radial-gradient(circle at top, rgba(255, 215, 0, 0.15) 0%, rgba(10, 10, 10, 0.98) 70%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.1);
  transform: scale(0.8) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.success-premium-overlay.show .success-premium-card {
  transform: scale(1) translateY(0);
}

.success-premium-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.06) 0%, rgba(255,215,0,0) 60%);
  animation: successRotate 10s linear infinite;
  pointer-events: none;
}

.success-premium-crown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0.3) 100%);
  border: 2px solid #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3), inset 0 0 15px rgba(255, 215, 0, 0.2);
  animation: successPulse 2s infinite alternate;
}

.success-premium-icon {
  color: #ffd700;
  font-size: 2.8rem;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.success-premium-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.success-premium-text {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
}

.success-premium-loading-bar-wrapper {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.success-premium-loading-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ffb300);
  border-radius: 4px;
  box-shadow: 0 0 8px #ffd700;
  transition: width 3.5s linear;
}

.success-premium-footer {
  font-size: 0.8rem;
  color: #666666;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes successRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes successPulse {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
  100% { transform: scale(1.05); box-shadow: 0 0 35px rgba(255, 215, 0, 0.4); }
}
