/* TERRY PLAYER THEME - RED COLOR THEME WITH COLORED DOWNLOAD APP BUTTONS */
:root {
  --tp-primary: #dc2626;
  --tp-primary-dark: #b91c1c;
  --tp-primary-light: #ef4444;
  --tp-secondary: #f97316;
  --tp-bg: #ffffff;
  --tp-bg-light: #fef2f2;
  --tp-card-bg: #ffffff;
  --tp-text: #1e293b;
  --tp-text-muted: #64748b;
  --tp-border: #fecaca;
  --tp-gradient: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --tp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--tp-bg-light);
  color: var(--tp-text);
  overflow-x: hidden;
}

/* Remove underline from all links */
a,
.nav-link-flix,
.btn-flix-primary,
.btn-flix-outline,
.btn-flix-primary-hero,
.btn-hero-white,
.btn-app-flix,
.footer-links-flix li a,
.copyright-mixed a,
.whatsapp-float,
.back-to-top,
.navbar-brand,
.stat-item-flix a,
.pricing-card-flix a {
  text-decoration: none !important;
}

/* BUTTON HOVER EFFECTS */
.btn-flix-primary,
.btn-flix-primary-hero,
.btn-flix-outline,
.btn-hero-white,
.btn-app-flix,
.whatsapp-float,
.back-to-top {
  transition: all 0.3s ease !important;
}

.btn-flix-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
  background: var(--tp-primary-dark) !important;
}

.btn-flix-primary-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
  background: var(--tp-primary-dark) !important;
}

.btn-flix-outline:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
  background: var(--tp-primary) !important;
  color: white !important;
}

.btn-hero-white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: var(--tp-primary) !important;
  color: white !important;
  border-color: var(--tp-primary) !important;
}

/* DOWNLOAD APP BUTTONS - COLORED WITH RED THEME */
.btn-app-flix {
  background: linear-gradient(135deg, #581d1d 0%, #b91c1c 100%);
  padding: 6px 25px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: white !important;
  margin: 0 4px;
  display: inline-block;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.btn-app-flix:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.back-to-top:hover {
  transform: scale(1.1);
  background: var(--tp-primary-dark) !important;
}

/* Navbar button hover */
.navbar .btn-flix-primary:hover,
.navbar .btn-flix-outline:hover {
  transform: translateY(-2px);
}

/* Pricing card button hover */
.pricing-card-flix .btn-flix-primary:hover {
  transform: translateY(-2px);
}

#spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tp-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}

.flix-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--tp-border);
  border-top: 4px solid var(--tp-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Navbar - Larger Logo */
.navbar-flix {
  background: var(--tp-bg);
  backdrop-filter: none;
  padding: 0.8rem 2rem;
  border-bottom: 2px solid var(--tp-primary);
  box-shadow: var(--tp-shadow);
}

.navbar-brand-logo {
  height: 100px;
  width: auto;
}

.nav-link-flix {
  color: var(--tp-text) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: 0.2s;
  font-size: 0.95rem;
}

.nav-link-flix:hover,
.nav-link-flix.active {
  color: var(--tp-primary) !important;
}

.btn-flix-primary {
  background: var(--tp-gradient);
  border: none;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  display: inline-block;
  font-size: 0.9rem;
}

.btn-flix-outline {
  background: transparent;
  border: 1.5px solid var(--tp-primary);
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  color: var(--tp-primary);
  font-size: 0.9rem;
}

/* Hero Section */
.hero-flix {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.soft-circle {
  position: absolute;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0) 70%);
  border-radius: 50%;
  animation: float 12s infinite ease-in-out;
  z-index: 0;
}

@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px);
  }

  50% {
    transform: translateY(-20px) translateX(15px);
  }

  100% {
    transform: translateY(0px) translateX(0px);
  }
}

.floating-particle {
  position: absolute;
  background: var(--tp-primary);
  border-radius: 50%;
  opacity: 0.1;
  animation: floatParticle 8s infinite alternate;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0px);
    opacity: 0.05;
  }

  100% {
    transform: translateY(-30px);
    opacity: 0.15;
  }
}

.hero-wave svg {
  position: absolute;
  bottom: -2px;
  width: 100%;
}

.hero-badge-flix {
  background: rgba(220, 38, 38, 0.1);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tp-primary);
  margin-bottom: 1rem;
}

.main-title-flix {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  color: var(--tp-text-muted);
}

.btn-flix-primary-hero {
  background: var(--tp-gradient);
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 700;
  color: white;
}

.btn-hero-white {
  background: white;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 700;
  color: var(--tp-primary);
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow);
}

.hero-image-large {
  max-width: 100%;
  border-radius: 32px;
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
}

/* Stats */
.stats-grid-flix {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: var(--tp-bg);
  border-radius: 60px;
  padding: 1.5rem 2rem;
  margin: 2rem auto;
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow);
}

.stat-item-flix {
  text-align: center;
  flex: 1;
  padding: 0.5rem;
}

.stat-number-flix {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tp-primary);
}

/* Cards */
.glass-card-flix {
  background: var(--tp-bg);
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow);
}

.glass-card-flix-light {
  background: var(--tp-bg-light);
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow);
}

/* Apps Section */
.apps-section {
  background: var(--tp-bg-light);
  padding: 4rem 0;
}

.app-card-flix {
  background: var(--tp-bg);
  border-radius: 1.5rem;
  padding: 1.2rem;
  text-align: center;
  transition: 0.2s;
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow);
}

.app-card-flix:hover {
  transform: translateY(-6px);
  border-color: var(--tp-primary);
}

.app-icon-circle-flix img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* Pricing */
.pricing-section {
  padding: 4rem 0;
  background: var(--tp-bg-light);
}

.pricing-card-flix {
  background: var(--tp-bg);
  border-radius: 2rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--tp-border);
  transition: 0.2s;
  box-shadow: var(--tp-shadow);
}

.pricing-card-flix:hover {
  border-color: var(--tp-primary);
  transform: scale(1.02);
}

.price-amount-flix {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--tp-primary);
}

.price-features {
  list-style: none;
  padding-left: 0;
}

.price-features li {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tp-text-muted);
}

.price-features li::before {
  content: "✓";
  color: var(--tp-primary);
  font-weight: bold;
}

/* FAQ */
.faq-section-new {
  background: var(--tp-bg);
  padding: 4rem 0;
}

.faq-item-flix {
  background: var(--tp-bg-light);
  border-radius: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--tp-border);
}

.faq-question-flix {
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--tp-text);
}

.faq-answer-flix {
  padding: 0 1.5rem 1rem 1.5rem;
  display: none;
  color: var(--tp-text-muted);
}

.faq-item-flix.active .faq-answer-flix {
  display: block;
}

/* Features */
.features-section {
  background: var(--tp-bg-light);
  padding: 3rem 0;
}

.feature-item-flix img {
  width: 120px;
  opacity: 0.8;
  transition: 0.2s;
}

.feature-item-flix img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Footer - Red Theme */
.footer-flix {
  background: #7f1d1d;
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  padding: 4rem 0 2rem;
  border-top: 2px solid #ef4444;
}

.footer-flix h5 {
  color: #fecaca;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-links-flix {
  list-style: none;
  padding-left: 0;
}

.footer-links-flix li a {
  color: #fed7d7;
  font-size: 0.9rem;
  line-height: 2;
  transition: 0.2s;
}

.footer-links-flix li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-app-box img {
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  transition: 0.2s;
}

.footer-app-box img:hover {
  transform: scale(1.02);
}

.footer-divider {
  background-color: #ef4444;
  margin: 2rem 0;
  height: 1px;
  opacity: 0.5;
}

.copyright-mixed {
  text-align: center;
  padding: 1rem 0;
}

.copyright-mixed p {
  color: #fed7d7;
  font-size: 0.85rem;
  margin: 0;
}

.copyright-mixed .highlight-project {
  color: #ffffff;
  font-weight: 700;
}

.copyright-mixed a {
  color: #fecaca;
  font-weight: 500;
}

.copyright-mixed a:hover {
  color: #ffffff;
}

/* Floating Buttons */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* BACK TO TOP BUTTON - VISIBLE WITH ARROW */
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: var(--tp-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.back-to-top i,
.back-to-top .fas,
.back-to-top .fa-arrow-up {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.5rem;
  color: white;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.feature-row img {
  border-radius: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .main-title-flix {
    font-size: 2.5rem;
  }

  .stats-grid-flix {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .navbar-brand-logo {
    height: 60px;
  }

  .navbar-flix {
    padding: 0.5rem 1rem;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .whatsapp-float {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .btn-app-flix {
    padding: 4px 10px;
    font-size: 0.7rem;
  }
}