/* Prime Design System - Red/Black Cinematic Theme */
:root {
  --bg: #070707;
  --bg-soft: #111111;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #bdbdbd;
  --muted-2: #8e8e8e;
  --red: #ff2b2b;
  --red-dark: #8f0000;
  --red-soft: #ff8f8f;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1240px;

  /* Legacy mapping to prevent total breakage */
  --netflix-red: var(--red);
  --netflix-dark-red: var(--red-dark);
  --netflix-black: var(--bg);
  --navy-dark: var(--bg-soft);
  --navy-mid: #111;
  --navy-light: #161616;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left,
      rgba(255, 43, 43, 0.12),
      transparent 28%),
    radial-gradient(circle at bottom right,
      rgba(143, 0, 0, 0.14),
      transparent 25%),
    linear-gradient(135deg, #040404 0%, #0b0b0b 50%, #140000 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.8),
      transparent 90%);
  z-index: 1;
}

.container-lg,
.container {
  position: relative;
  z-index: 2;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, #fff, var(--red-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



/* Gradient Text */
.gradient-text1 {
  background: linear-gradient(120deg, #a93434, var(--red-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* General Card Style from theam.html */
.card,
.feature-card,
.stat-card,
.navy-card,
.faq-item {
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border) !important;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.03)) !important;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover,
.feature-card:hover,
.stat-card:hover,
.navy-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 43, 43, 0.3) !important;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.05)) !important;
}

/* Glow Effect */
.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(to right, var(--netflix-red), #ff1f29);
  border-radius: 12px;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.glow-effect:hover::before {
  opacity: 0.3;
}

.navbar-custom {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-top: 20px;
  padding: 10px 20px;
  width: calc(100% - 40px);
  left: 20px;
}

.navbar-custom.navbar-scrolled {
  background: rgba(7, 7, 7, 0.9);
  margin-top: 0;
  width: 100%;
  left: 0;
  border-radius: 0;
}

.navbar-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--netflix-red), #ff1f29);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  position: relative;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--netflix-red), var(--purple));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--netflix-red) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-netflix,
.btn-prime {
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(143, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-netflix:hover,
.btn-prime:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(143, 0, 0, 0.45);
  color: white;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(229, 9, 20, 0.3), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(229, 9, 20, 0.1), transparent 50%);
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjAzIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
  opacity: 0.4;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.orb-1 {
  top: 100px;
  left: 50px;
  width: 300px;
  height: 300px;
  background: rgba(229, 9, 20, 0.2);
}

.orb-2 {
  bottom: 100px;
  right: 50px;
  width: 400px;
  height: 400px;
  background: rgba(229, 9, 20, 0.1);
}

.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

/* Stats Card */
.stat-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid), var(--navy-light));
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(229, 9, 20, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(to right, var(--netflix-red), #ff1f29);
  border-radius: 12px;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.stat-card:hover::before {
  opacity: 0.4;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--netflix-red), #ff1f29);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature Card */
.feature-card {
  height: 100%;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid), var(--navy-light));
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(229, 9, 20, 0.3);
  transition: all 0.3s ease;
  position: relative;
  /* Removed overflow: hidden to prevent badge clipping */
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--netflix-red), var(--purple), var(--blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(229, 9, 20, 0.6);
  transform: translateY(-8px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 9, 20, 0.3);
  margin-bottom: 1rem;
}

.feature-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(to right, var(--netflix-red), var(--netflix-dark-red));
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

/* Divider with gradient */
.divider-line {
  height: 1px;
  background: linear-gradient(to right, var(--netflix-red), var(--purple), transparent);
  opacity: 0.5;
  margin: 1rem 0;
}

/* Button Outline */
.btn-outline-netflix {
  border: 2px solid rgba(229, 9, 20, 0.4);
  color: white;
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-outline-netflix:hover {
  background: rgba(229, 9, 20, 0.1);
  border-color: var(--netflix-red);
  color: white;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(229, 9, 20, 0.3);
}

/* Premium UI Enhancements */
.glass-card-premium {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.text-glow-red {
  text-shadow: 0 0 15px rgba(255, 43, 43, 0.6);
}

.text-glow-gold {
  color: #fbbf24;
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.border-gold {
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.bg-gold-alpha {
  background: rgba(251, 191, 36, 0.1);
}

.bg-red-alpha {
  background: rgba(255, 43, 43, 0.1);
}

.bg-black-alpha {
  background: rgba(0, 0, 0, 0.4);
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.brightness-50 {
  filter: brightness(0.5);
}

.brightness-75 {
  filter: brightness(0.75);
}

.reward-card-img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  margin-bottom: 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navy-card:hover .reward-card-img {
  transform: scale(1.08);
}

footer .footer-divider {
  height: 1px;
  background: linear-gradient(to right, var(--netflix-red), var(--purple), transparent);
  opacity: 0.3;
  margin: 1rem 0;
}

footer a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

footer a:hover {
  color: var(--netflix-red);
}

/* FAQ Accordion */
.faq-item {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid), var(--navy-light));
  border: 2px solid rgba(229, 9, 20, 0.3);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(229, 9, 20, 0.6);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--netflix-red);
}

.faq-category {
  color: var(--netflix-red);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: rgba(229, 9, 20, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: rgba(229, 9, 20, 0.3);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: #ccc;
  line-height: 1.8;
}

.faq-divider {
  height: 1px;
  background: linear-gradient(to right, var(--netflix-red), var(--purple), var(--blue));
  opacity: 0.3;
  margin-bottom: 1rem;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid), var(--navy-light));
  border: 2px solid rgba(229, 9, 20, 0.2);
  border-radius: 12px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.5;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-down {
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 50px;
  }

  /* Mobile Navbar Improvements */
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    text-align: center;
  }

  .navbar {
    z-index: 2000 !important;
  }

  h1 {
    font-size: 2.5rem !important;
  }

  .display-5 {
    font-size: 1.25rem !important;
  }

  .lead {
    font-size: 1rem !important;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }

  .navy-card.p-5 {
    padding: 1.5rem !important;
  }
}

/* Utility Classes */
.text-red {
  color: var(--netflix-red);
}

.bg-navy {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid), var(--navy-light));
}

.border-red {
  border-color: rgba(229, 9, 20, 0.3) !important;
}

/* Search Box */
.search-box {
  position: relative;
}

.search-box input {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid), var(--navy-light));
  border: 2px solid rgba(229, 9, 20, 0.3);
  color: white;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 8px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--netflix-red);
}

.search-box input::placeholder {
  color: #999;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

/* Category Filter */
.category-btn {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  border: 2px solid rgba(229, 9, 20, 0.3);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.category-btn:hover {
  border-color: rgba(229, 9, 20, 0.6);
}

.category-btn.active {
  background: linear-gradient(to right, var(--netflix-red), var(--netflix-dark-red));
  border-color: var(--netflix-red);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

/* General Typography & Lists */
ul li {
  color: #ffffff;
}

.text-white {
  color: #ffffff !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer a:hover {
  color: var(--netflix-red) !important;
}

/* Netflix Curve Divider with Running Lightning */
.netflix-divider-container {
  position: relative;
  width: 100%;
  height: 4px;
  overflow: hidden;
  margin: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.netflix-divider-line {
  position: relative;
  width: 150%;
  /* Wider than container to create the arc */
  height: 100%;
  background: #222;
  /* Dim base line */
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -2px 10px rgba(229, 9, 20, 0.2);
}

.netflix-divider-line::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to right, transparent, var(--netflix-red), var(--purple), var(--netflix-red), transparent);
  opacity: 0.5;
}

/* The Lightning Bolt */
.netflix-divider-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(229, 9, 20, 0.8),
      #fff,
      rgba(229, 9, 20, 0.8),
      transparent);
  filter: blur(4px);
  animation: running-lightning 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: inherit;
}

@keyframes running-lightning {
  0% {
    left: -100%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Update original gradient-divider to use this for consistency if needed, 
   but keeping both for flexibility. */
.gradient-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 4px;
  background: transparent;
  width: 100%;
  /* margin: 1rem 0; */
}

.gradient-divider::after {
  content: '';
  width: 150%;
  height: 100%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(to right, transparent, var(--netflix-red), var(--purple), var(--blue), var(--netflix-red), transparent);
  box-shadow: 0 -2px 15px rgba(229, 9, 20, 0.4);
  position: relative;
}

/* Subtle curve for section breaks */
.section-curve {
  position: relative;
  height: 40px;
  width: 100%;
  background: var(--netflix-black);
  margin-top: -39px;
  z-index: 10;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 1px solid rgba(229, 9, 20, 0.3);
}

100% {
  left: 100%;
  opacity: 0;
}
}

/* Update original gradient-divider to use this for consistency if needed, 
   but keeping both for flexibility. */
.gradient-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 4px;
  background: transparent;
  width: 100%;
  /* margin: 1rem 0; */
}

.gradient-divider::after {
  content: '';
  width: 150%;
  height: 100%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(to right, transparent, var(--netflix-red), var(--purple), var(--blue), var(--netflix-red), transparent);
  box-shadow: 0 -2px 15px rgba(229, 9, 20, 0.4);
  position: relative;
}

/* Subtle curve for section breaks */
.section-curve {
  position: relative;
  height: 40px;
  width: 100%;
  background: var(--netflix-black);
  margin-top: -39px;
  z-index: 10;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 1px solid rgba(229, 9, 20, 0.3);
}