/* ========================================
   DIGITAL CINEMA UNIVERSE - NETFLIX STYLE
   ======================================== */

/* CSS Variables */
:root {
  --primary: #e50914;
  --primary-dark: #b20710;
  --secondary: #221f1f;
  --dark: #141414;
  --darker: #0b0b0b;
  --light: #f5f5f5;
  --gray: #808080;
  --gray-light: #a3a3a3;
  --success: #46d369;
  --warning: #e87c03;
  --gradient-overlay: linear-gradient(to top, rgba(20, 20, 20, 1) 0%, rgba(20, 20, 20, 0.7) 40%, rgba(20, 20, 20, 0) 100%);
  --gradient-hero: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: 'Netflix Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p {
  color: var(--gray-light);
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  transition: background-color var(--transition-normal), padding var(--transition-normal);
}

.navbar.scrolled {
  background-color: var(--dark);
  padding: 0.8rem 4%;
  box-shadow: var(--shadow-sm);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  text-transform: uppercase;
}

.logo span {
  color: var(--light);
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--light);
  opacity: 0.8;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-icon {
  font-size: 1.2rem;
  color: var(--light);
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.nav-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--light);
  cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img,
.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 2;
}

.hero-bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gradient-overlay);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4%;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.hero-badge .netflix-n {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.hero-meta .match {
  color: var(--success);
  font-weight: 700;
}

.hero-meta .year,
.hero-meta .duration,
hero-meta .rating {
  color: var(--gray-light);
}

.hero-meta .rating-badge {
  border: 1px solid var(--gray);
  padding: 0.1rem 0.4rem;
  font-size: 0.8rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--light);
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--light);
  color: var(--dark);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.02);
}

.btn-secondary {
  background: rgba(109, 109, 110, 0.7);
  color: var(--light);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--gray);
  color: var(--light);
}

.btn-outline:hover {
  border-color: var(--light);
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ========================================
   MOVIE ROWS (Horizontal Scroll)
   ======================================== */
.movie-section {
  padding: 2rem 0;
  position: relative;
}

.section-header {
  padding: 0 4%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

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

.section-title i {
  font-size: 0.8rem;
  opacity: 0;
  transition: var(--transition-fast);
}

.section-title:hover i {
  opacity: 1;
  transform: translateX(5px);
}

.movie-row {
  position: relative;
  padding: 0 4%;
}

.movie-row-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.movie-row-container::-webkit-scrollbar {
  display: none;
}

.movie-card {
  flex: 0 0 auto;
  width: 16%;
  min-width: 200px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  z-index: 1;
}

.movie-card:hover {
  transform: scale(1.4);
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

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

.movie-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.movie-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.movie-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-light);
}

.movie-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.movie-card-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray);
  background: transparent;
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.7rem;
  transition: var(--transition-fast);
}

.movie-card-btn:hover {
  background: var(--light);
  color: var(--dark);
  border-color: var(--light);
}

/* Row Navigation Arrows */
.row-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--light);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-row:hover .row-nav {
  opacity: 1;
}

.row-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.row-nav.prev {
  left: 0;
}

.row-nav.next {
  right: 0;
}

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal {
  background: var(--secondary);
  border-radius: 8px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  border: none;
  color: var(--light);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

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

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

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--secondary) 0%, transparent 100%);
}

.modal-content {
  padding: 2rem;
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.modal-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

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

.modal-meta .match {
  color: var(--success);
  font-weight: 700;
}

.modal-meta .year,
.modal-meta .duration,
.modal-meta .quality {
  color: var(--gray-light);
}

.modal-meta .quality {
  border: 1px solid var(--gray);
  padding: 0.1rem 0.4rem;
  font-size: 0.8rem;
}

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

.modal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-detail-item {
  font-size: 0.9rem;
}

.modal-detail-item span {
  color: var(--gray);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(20, 20, 20, 0.7) 0%, var(--dark) 100%);
  z-index: 2;
}

.page-header-content {
  position: relative;
  z-index: 3;
  padding: 0 4%;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   MOVIES GRID
   ======================================== */
.movies-grid-section {
  padding: 3rem 4%;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--gray);
  color: var(--light);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--light);
  color: var(--dark);
  border-color: var(--light);
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.grid-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.grid-card:hover {
  transform: scale(1.05);
}

.grid-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.grid-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.grid-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.grid-card-meta {
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* ========================================
   TRENDING PAGE
   ======================================== */
.trending-list {
  padding: 3rem 4%;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-fast);
}

.trending-item:hover {
  background: rgba(255, 255, 255, 0.05);
  margin: 0 -4%;
  padding-left: 4%;
  padding-right: 4%;
}

.trending-rank {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  min-width: 80px;
  text-align: center;
  -webkit-text-stroke: 2px var(--primary);
  -webkit-text-fill-color: transparent;
}

.trending-poster {
  width: 120px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.trending-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending-info {
  flex: 1;
}

.trending-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trending-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
}

.trending-description {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.5;
}

.trending-actions {
  display: flex;
  gap: 0.5rem;
}

/* ========================================
   ACTOR PROFILE
   ======================================== */
.actor-profile {
  padding: 100px 4% 3rem;
}

.actor-header {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.actor-photo {
  width: 300px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.actor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actor-info {
  flex: 1;
  min-width: 300px;
}

.actor-name {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.actor-role {
  font-size: 1.2rem;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.actor-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

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

.actor-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.actor-stat-label {
  font-size: 0.85rem;
  color: var(--gray);
}

.actor-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.actor-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

/* ========================================
   SUBSCRIPTION PAGE
   ======================================== */
.subscription-hero {
  padding: 120px 4% 3rem;
  text-align: center;
}

.subscription-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.subscription-subtitle {
  font-size: 1.2rem;
  color: var(--gray-light);
  margin-bottom: 3rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

.pricing-card {
  background: var(--secondary);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--light);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.pricing-description {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li i {
  color: var(--success);
}

.stats-section {
  padding: 4rem 4%;
  background: var(--secondary);
  margin-top: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-light);
  margin-top: 0.5rem;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-section {
  padding: 100px 4% 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 4%;
}

.feature-card {
  background: var(--secondary);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--gray-light);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  padding: 100px 4% 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-subtitle {
  text-align: center;
  color: var(--gray-light);
  margin-bottom: 3rem;
}

.contact-form {
  background: var(--secondary);
  padding: 2.5rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--gray-light);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: var(--dark);
  border: 1px solid var(--gray);
  border-radius: 8px;
  color: var(--light);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-info-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--secondary);
  border-radius: 12px;
}

.contact-info-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--darker);
  padding: 3rem 4%;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.footer-column a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .movie-card {
    width: 20%;
    min-width: 180px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .actor-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .actor-photo {
    width: 250px;
    height: 330px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 4%;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-lg {
    width: 100%;
  }
  
  .movie-card {
    width: 33.33%;
    min-width: 140px;
  }
  
  .movie-card:hover {
    transform: scale(1.2);
  }
  
  .trending-item {
    flex-direction: column;
    text-align: center;
  }
  
  .trending-rank {
    font-size: 3rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .row-nav {
    display: none;
  }
  
  .modal-hero {
    height: 250px;
  }
  
  .modal-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .movie-card {
    width: 50%;
    min-width: 120px;
  }
  
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease forwards;
}

/* GSAP Animation Classes */
.gsap-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.gsap-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
}

.gsap-reveal-right {
  opacity: 0;
  transform: translateX(50px);
}

.gsap-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* Loading State */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: var(--dark);
  z-index: 1500;
  padding: 2rem;
  transition: left var(--transition-normal);
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--light);
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin-top: 3rem;
}

.mobile-nav-links li {
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  color: var(--light);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a:hover {
  color: var(--primary);
}
