:root {
  --primary: #f49504;
  --secondary: #f5592f;
  --accent: #61CE70;
  --bg: #151518;
  --text: #ffffff;
  --text-secondary: #cccccc;
  --card-bg: rgba(30, 30, 36, 0.92);
  --card-border: #2a2a30;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Roboto', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

body.theme-light {
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: #d1d5db;
  --text: #111827;
  --text-secondary: #374151;
}

body.theme-red {
  --card-bg: rgba(40, 12, 12, 0.92);
  --card-border: #7f1d1d;
  --text: #fef2f2;
  --text-secondary: #fca5a5;
}

body.theme-purple {
  --card-bg: rgba(30, 15, 50, 0.92);
  --card-border: #6b21a8;
  --text: #faf5ff;
  --text-secondary: #d8b4fe;
}

body.theme-green {
  --card-bg: rgba(12, 35, 18, 0.92);
  --card-border: #15803d;
  --text: #f0fdf4;
  --text-secondary: #86efac;
}

body.theme-blue {
  --card-bg: rgba(12, 18, 40, 0.92);
  --card-border: #1d4ed8;
  --text: #eff6ff;
  --text-secondary: #93c5fd;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
#hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px;
  background-size: cover;
  background-position: center;
  position: relative;
}

#hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85));
  z-index: 1;
}

#hero-section > * {
  position: relative;
  z-index: 2;
}

.hero-logo-container {
  text-align: center;
  margin-bottom: 30px;
}

.hero-logo {
  max-width: 200px;
  max-height: 120px;
  object-fit: contain;
  display: none;
}

#hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

#hero-subtitle {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 200px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--secondary);
  font-weight: 600;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1da851;
}

/* SECTION */
.section {
  padding: 80px 0;
}

#pricing-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

#pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.9));
  z-index: 0;
}

#pricing-section > * {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 50px;
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* FEATURES */
#features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* PRICING */
#pricing-section .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

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

.pricing-card.featured::before {
  content: "MAIS VENDIDO";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card .plan-name {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.pricing-card .plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  text-align: left;
}

.plan-features li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::first-letter {
  color: var(--accent);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* MOVIES CAROUSEL */
#movies-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

#movies-carousel .movies-track {
  display: flex;
  gap: 20px;
  animation: scrollMovies 30s linear infinite;
}

#movies-carousel:hover .movies-track {
  animation-play-state: paused;
}

@keyframes scrollMovies {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}

.movie-card {
  flex: 0 0 200px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  cursor: pointer;
  transition: transform 0.3s;
}

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

.movie-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.movie-info {
  padding: 12px;
}

.movie-info h4 {
  font-size: 0.85rem;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-badge {
  font-size: 0.7rem;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
}

.movies-empty, .movies-loading {
  text-align: center;
  width: 100%;
  color: var(--text-secondary);
  padding: 40px;
}

.movies-loading {
  animation: pulse 1.5s infinite;
}

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

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

.movie-rating {
  font-size: 0.75rem;
  color: #fbbf24;
  font-weight: 600;
}

.movie-year {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* FAQ */
.faq-wrap {
  max-width: 700px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.8));
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-top: 1px solid var(--card-border);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #hero-title {
    font-size: 2.8rem;
  }

  .feature-card {
    padding: 30px 24px;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  #hero-section {
    padding: 80px 16px 60px;
    min-height: auto;
  }

  #hero-title {
    font-size: 2rem;
  }

  #hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .section {
    padding: 50px 0;
  }

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

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  #features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-icon {
    font-size: 2.2rem;
  }

  #pricing-section .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-card.featured {
    transform: none;
  }

  #pricing-section {
    background-attachment: scroll;
  }

  .movie-card {
    flex: 0 0 140px;
  }

  .movie-card img {
    height: 210px;
  }

  .cta-section {
    padding: 50px 16px;
  }

  .cta-section h2 {
    font-size: 1.4rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  .faq-question {
    padding: 14px 18px;
    font-size: 0.9rem;
  }

  .faq-answer p {
    padding: 0 18px 14px;
    font-size: 0.88rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  #hero-title {
    font-size: 1.6rem;
  }

  #hero-subtitle {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 14px;
  }

  .section {
    padding: 40px 0;
  }

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

  .btn {
    padding: 12px 22px;
    font-size: 0.85rem;
  }

  .pricing-card .plan-price {
    font-size: 1.6rem;
  }

  .movie-card {
    flex: 0 0 120px;
  }

  .movie-card img {
    height: 180px;
  }

  .movie-info {
    padding: 8px;
  }

  .movie-info h4 {
    font-size: 0.75rem;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  .cta-section h2 {
    font-size: 1.2rem;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
    font-size: 1.4rem;
  }
}
