* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff0054;
  --secondary: #00d9ff;
  --accent: #ffd700;
  --dark: #0d0d0d;
  --darker: #050505;
  --card: #1a1a1a;
  --text: #ffffff;
  --text-dim: #a0a0a0;
  --gradient-1: linear-gradient(135deg, #ff0054 0%, #ff6b00 100%);
  --gradient-2: linear-gradient(135deg, #00d9ff 0%, #7b2ff7 100%);
  --gradient-3: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--darker);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 1rem 5%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

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

.nav-menu a:hover::before {
  width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
      135deg,
      rgba(255, 0, 84, 0.2) 0%,
      rgba(0, 217, 255, 0.2) 100%
    ),
    url("https://images.unsplash.com/photo-1536440136628-849c177e76a1?w=1920&q=80")
      center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 6rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.hero .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: var(--gradient-1);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 15px 50px rgba(255, 0, 84, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

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

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(255, 0, 84, 0.6);
}

/* ==================== FEATURED CAROUSEL ==================== */
.featured-section {
  padding: 8rem 5%;
  background: var(--dark);
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-1);
  border-radius: 10px;
}

.section-title p {
  color: var(--text-dim);
  font-size: 1.2rem;
  margin-top: 2rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.featured-card {
  background: var(--card);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 70px rgba(255, 0, 84, 0.3);
  border-color: var(--primary);
}

.featured-image {
  height: 450px;
  overflow: hidden;
  position: relative;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.1);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.featured-badge i {
  color: var(--accent);
}

.featured-info {
  padding: 2rem;
}

.featured-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.featured-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-desc {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.featured-actions {
  display: flex;
  gap: 1rem;
}

.btn-watch,
.btn-info {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-watch {
  background: var(--gradient-1);
  color: white;
  flex: 1;
  text-align: center;
}

.btn-watch:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 0, 84, 0.4);
}

.btn-info {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-info:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==================== TRENDING SECTION ==================== */
.trending-section {
  padding: 8rem 5%;
  background: linear-gradient(
      135deg,
      rgba(255, 0, 84, 0.05) 0%,
      rgba(0, 217, 255, 0.05) 100%
    ),
    var(--darker);
}

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

.trending-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.trending-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.trending-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.trending-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.trending-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.trending-content p {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
  padding: 8rem 5%;
  background: var(--dark);
}

.reviews-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.review-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 25px;
  border-left: 5px solid;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 8rem;
  font-family: serif;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

.review-card:nth-child(1) {
  border-left-color: #ff0054;
}
.review-card:nth-child(2) {
  border-left-color: #00d9ff;
}
.review-card:nth-child(3) {
  border-left-color: #ffd700;
}

.review-card:hover {
  transform: translateX(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.reviewer-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.reviewer-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.review-stars {
  color: var(--accent);
  font-size: 1rem;
}

.review-movie {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.review-text {
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.review-date {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-style: italic;
}

/* ==================== TRAILERS SECTION ==================== */
.trailers-section {
  padding: 8rem 5%;
  background: var(--darker);
}

.trailers-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.trailer-card {
  background: var(--card);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trailer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(255, 0, 84, 0.3);
}

.trailer-video {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.trailer-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trailer-card:hover .trailer-video img {
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 84, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(255, 0, 84, 0.5);
}

.play-button i {
  margin-left: 5px;
}

.trailer-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.2);
  background: rgba(255, 0, 84, 1);
}

.trailer-info {
  padding: 2rem;
}

.trailer-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.trailer-meta {
  display: flex;
  gap: 2rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.trailer-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
  padding: 8rem 5%;
  background: linear-gradient(
      135deg,
      rgba(255, 0, 84, 0.9) 0%,
      rgba(255, 107, 0, 0.9) 100%
    ),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920&q=80")
      center/cover no-repeat;
  position: relative;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-container p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
}

.newsletter-form button {
  padding: 1.2rem 3rem;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  background: var(--darker);
}

/* ==================== FOOTER ==================== */
footer {
  padding: 5rem 5% 2rem;
  background: var(--darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--gradient-1);
  transform: translateY(-5px);
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.footer-section a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
  padding-left: 10px;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .trending-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .featured-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .trending-content h2 {
    font-size: 2rem;
  }
}
