/* ============================================
   NossaFlix — Netflix-Inspired Romantic Theme
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Netflix-inspired + romantic palette */
  --nf-black: #141414;
  --nf-dark: #181818;
  --nf-card: #1a1a2e;
  --nf-surface: #222244;
  --nf-red: #e50914;
  --nf-red-hover: #f40612;
  --nf-red-glow: rgba(229, 9, 20, 0.4);
  --nf-white: #e5e5e5;
  --nf-white-bright: #ffffff;
  --nf-gray: #808080;
  --nf-gray-light: #b3b3b3;
  --romantic-pink: #ff6b9d;
  --romantic-rose: #c3447a;
  --romantic-deep: #8b1a4a;
  --romantic-gold: #ffd700;
  --romantic-glow: rgba(255, 107, 157, 0.3);
  --gradient-hero: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 30%, #2d1b3d 60%, #141414 100%);
  --gradient-romantic: linear-gradient(135deg, var(--nf-red), var(--romantic-pink));
  --gradient-card: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 100%);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--nf-red-glow);
  --shadow-romantic: 0 0 40px var(--romantic-glow);
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--nf-red) var(--nf-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--nf-black);
  color: var(--nf-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--nf-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--nf-red);
  border-radius: 4px;
}

/* === SPLASH SCREEN === */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--nf-black);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splashFadeOut 0.8s ease 3.5s forwards;
  pointer-events: all;
}

.splash-inner {
  text-align: center;
}

.splash-logo-anim {
  display: inline-flex;
  gap: 2px;
}

.splash-letter {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--nf-white-bright);
  opacity: 0;
  transform: translateY(40px) scale(0.8);
  animation: letterReveal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(var(--i) * 0.12s);
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.splash-flix {
  color: var(--nf-red);
  text-shadow: 0 0 30px var(--nf-red-glow);
}

.splash-tagline {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--nf-gray-light);
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease 1.5s forwards;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splashFadeOut {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 4%;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background var(--transition-med);
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.navbar.scrolled {
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.navbar-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  transition: transform var(--transition-fast);
}

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

.logo-nossa {
  color: var(--nf-white-bright);
}

.logo-flix {
  color: var(--nf-red);
  text-shadow: 0 0 20px var(--nf-red-glow);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--nf-gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-romantic);
  transition: width var(--transition-med);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--nf-white-bright);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nf-white-bright);
  border-radius: 2px;
  transition: all var(--transition-med);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: 0 4%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(229, 9, 20, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(255, 107, 157, 0.06) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInUp 1s ease 3.8s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--romantic-pink);
  backdrop-filter: blur(8px);
}

.badge-icon {
  font-size: 1rem;
  animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--nf-white-bright);
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  letter-spacing: 2px;
}

.hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--nf-gray-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-med);
  letter-spacing: 0.5px;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--nf-white-bright);
  color: var(--nf-black);
}

.btn-primary:hover {
  background: rgba(255,255,255,0.85);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255,255,255,0.2);
}

.btn-secondary {
  background: rgba(109, 109, 110, 0.4);
  color: var(--nf-white-bright);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(109, 109, 110, 0.6);
  transform: scale(1.05);
}

.hero-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.8rem;
  color: var(--nf-gray-light);
  background: rgba(255,255,255,0.06);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Hero Photo */
.hero-photo-frame {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(280px, 30vw, 420px);
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-romantic);
  border: 2px solid rgba(255, 107, 157, 0.2);
  animation: fadeIn 1.2s ease 4.2s both;
}

.hero-photo-img,
.surprise-photo-img,
.modal-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-photo-img.has-image,
.surprise-photo-img.has-image,
.modal-photo-img.has-image {
  display: block;
}

.surprise-photo-frame .surprise-photo-img {
  border-radius: 50%;
}

.surprise-photo-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--nf-red);
  box-shadow: 0 0 30px var(--nf-red-glow), 0 0 60px var(--romantic-glow);
  animation: photoGlow 3s ease infinite;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--nf-black));
  z-index: 1;
}

/* === MAIN CONTENT === */
.main-content {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}

/* === SEASON SECTIONS === */
.season-section {
  padding: 3rem 4% 2rem;
  position: relative;
}

.season-header {
  margin-bottom: 1.5rem;
}

.season-number {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--nf-red);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.season-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--nf-white-bright);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.season-subtitle {
  font-size: 0.95rem;
  color: var(--nf-gray);
  max-width: 600px;
}

/* Special season styling */
.special-badge {
  color: var(--romantic-gold) !important;
  font-size: clamp(1rem, 2vw, 1.2rem) !important;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
  50% { opacity: 0.8; text-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

.special-title {
  background: linear-gradient(90deg, var(--nf-red), var(--romantic-pink), var(--romantic-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === EPISODES ROW === */
.episodes-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.episodes-row::-webkit-scrollbar {
  display: none;
}

/* === EPISODE CARDS (Netflix Style) === */
.episode-card {
  flex: 0 0 calc(20% - 8px);
  min-width: 220px;
  max-width: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--nf-dark);
  cursor: pointer;
  transition: all var(--transition-med);
  scroll-snap-align: start;
  position: relative;
  transform-origin: center center;
}

.episode-card:hover {
  transform: scale(1.08);
  z-index: 10;
  box-shadow: var(--shadow-card), 0 0 40px rgba(229, 9, 20, 0.2);
}

.card-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-img-wrapper img.card-uploaded-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  font-size: 2.5rem;
  transition: transform var(--transition-med);
}

.episode-card:hover .card-placeholder-img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition-med);
}

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

.play-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform var(--transition-med);
  box-shadow: 0 0 20px var(--nf-red-glow);
}

.play-circle svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.episode-card:hover .play-circle {
  transform: scale(1);
}

.card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: var(--nf-white);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

/* Card Upload Bar */
.card-upload-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.card-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.25);
  color: var(--romantic-pink);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-upload-label:hover {
  background: rgba(229, 9, 20, 0.3);
  border-color: var(--nf-red);
  transform: scale(1.05);
}

.card-info {
  padding: 12px;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nf-white-bright);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-description {
  font-size: 0.78rem;
  color: var(--nf-gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-progress {
  height: 3px;
  background: rgba(255,255,255,0.1);
}

.card-progress-bar {
  height: 100%;
  background: var(--nf-red);
  border-radius: 0 3px 3px 0;
  transition: width 0.3s ease;
}

/* === NEXT EPISODE BUTTON === */
.next-episode-wrapper {
  display: flex;
  justify-content: center;
  padding: 2rem 0 3rem;
}

.next-episode-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-med);
}

.next-episode-btn:hover {
  transform: scale(1.05);
}

.next-ep-thumbnail {
  width: clamp(280px, 50vw, 500px);
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0a2e, #2d1b3d, #141414);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(229, 9, 20, 0.3);
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-med);
}

.next-episode-btn:hover .next-ep-thumbnail {
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 0 50px var(--nf-red-glow), 0 0 80px rgba(255, 107, 157, 0.15);
}

.next-ep-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--nf-red-glow) 0%, transparent 60%);
  opacity: 0.3;
  animation: pulseGlow 3s ease infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.1); }
}

.next-ep-icon {
  z-index: 1;
  margin-bottom: 1rem;
}

.next-ep-icon svg {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 0 15px var(--nf-red-glow));
  animation: pulseScale 2s ease infinite;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.next-ep-text {
  z-index: 1;
  color: var(--nf-white-bright);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === FOOTER === */
.footer {
  background: linear-gradient(180deg, var(--nf-black), #0a0a0a);
  padding: 3rem 4%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--nf-gray-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: var(--nf-gray);
  font-size: 0.8rem;
}

.footer-admin {
  margin-top: 0.8rem;
}

.footer-admin-link {
  color: var(--nf-gray);
  font-size: 0.75rem;
  text-decoration: none;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.footer-admin-link:hover {
  opacity: 1;
  color: var(--nf-red);
}

/* === EPISODE MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-med);
}

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

.modal-content {
  background: var(--nf-dark);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(30px);
  transition: transform var(--transition-med);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  scrollbar-width: thin;
  scrollbar-color: var(--nf-red) var(--nf-dark);
}

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

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.8);
  border: none;
  color: var(--nf-white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--nf-red);
  transform: rotate(90deg);
}

.modal-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.modal-photo-area {
  width: 100%;
  height: 100%;
}

.modal-upload-area {
  border-radius: 0;
}

.modal-placeholder {
  border-radius: 0;
}

.modal-uploaded-photo {
  border-radius: 0;
}

.modal-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, var(--nf-dark));
  pointer-events: none;
}

.modal-hero-info {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  pointer-events: none;
}

.modal-season-badge {
  display: inline-block;
  background: var(--gradient-romantic);
  color: var(--nf-white-bright);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--nf-white-bright);
  letter-spacing: 1px;
}

.modal-body {
  padding: 24px;
}

.modal-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.modal-meta-item {
  font-size: 0.85rem;
  color: var(--nf-gray-light);
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

.modal-description {
  font-size: 1rem;
  color: var(--nf-white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Modal personal text */
.modal-text-area {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.05), rgba(255, 107, 157, 0.05));
  border: 1px solid rgba(229, 9, 20, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
}

.modal-text-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--romantic-pink);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.modal-personal-text {
  color: var(--nf-gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

/* === SURPRISE OVERLAY === */
.surprise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--nf-black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

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

/* Netflix-style loader */
.surprise-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.surprise-loader.hidden {
  display: none;
}

.loader-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
}

.loader-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--nf-red);
  border-right-color: var(--romantic-pink);
  animation: spinLoader 1s linear infinite;
}

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

.loader-text {
  color: var(--nf-gray-light);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInOut 1.5s ease infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Surprise content */
.surprise-content {
  display: none;
  text-align: center;
  padding: 2rem;
  max-height: 100vh;
  overflow-y: auto;
  position: relative;
}

.surprise-content.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: surpriseReveal 1s ease;
}

@keyframes surpriseReveal {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Particles */
.surprise-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  font-size: 1.5rem;
  animation: particleFall linear forwards;
  opacity: 0.8;
}

@keyframes particleFall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

.surprise-card {
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.9), rgba(45, 27, 61, 0.9), rgba(20, 20, 20, 0.95));
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-glow), var(--shadow-romantic);
  backdrop-filter: blur(20px);
}

/* Floating hearts */
.floating-heart {
  position: absolute;
  font-size: 1.5rem;
  animation: floatHeart 4s ease-in-out infinite;
  animation-delay: var(--delay);
  top: -30px;
  left: 50%;
  transform: translateX(var(--x));
}

@keyframes floatHeart {
  0%, 100% {
    transform: translateX(var(--x)) translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(calc(var(--x) * -1)) translateY(-30px);
    opacity: 1;
  }
}

@keyframes photoGlow {
  0%, 100% { box-shadow: 0 0 30px var(--nf-red-glow), 0 0 60px var(--romantic-glow); }
  50% { box-shadow: 0 0 40px var(--nf-red-glow), 0 0 80px var(--romantic-glow); }
}

.surprise-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(90deg, var(--nf-white-bright), var(--romantic-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.surprise-message {
  color: var(--nf-gray-light);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.surprise-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--nf-red);
  text-shadow: 0 0 20px var(--nf-red-glow);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--nf-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.surprise-close-btn {
  background: var(--gradient-romantic);
  color: var(--nf-white-bright);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-med);
  font-family: var(--font-body);
}

.surprise-close-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* === SCROLL REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-photo-frame {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 320px;
    margin: 2rem auto 0;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 2rem;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .episode-card {
    flex: 0 0 calc(33.333% - 8px);
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 0;
    transition: right var(--transition-med);
    border-left: 1px solid rgba(229, 9, 20, 0.2);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 1rem;
  }

  .hero-photo-frame {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
  }

  .episode-card {
    flex: 0 0 calc(50% - 8px);
    min-width: 160px;
  }

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

  .season-section {
    padding: 2rem 4% 1rem;
  }

  .modal-content {
    max-height: 95vh;
    border-radius: var(--radius-md);
  }

  .surprise-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .episode-card {
    flex: 0 0 75%;
    min-width: 180px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .surprise-card {
    padding: 1.5rem;
  }

  .surprise-photo-frame {
    width: 150px;
    height: 150px;
  }

  .upload-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}
