/* ==========================================================================
   STREAMPRO IPTV - MODERN STYLING SYSTEM
   Ultra-responsive, dark red/black IPTV aesthetic with glassmorphism & glows
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #0a0a0d;
  --bg-surface: #120b0d;
  --bg-surface-elevated: #1a0f12;
  --bg-glass: rgba(22, 10, 14, 0.7);
  --bg-glass-card: rgba(255, 255, 255, 0.03);
  --bg-glass-border: rgba(239, 68, 68, 0.22);
  --bg-glass-border-hover: rgba(239, 68, 68, 0.5);

  --color-primary: #dc2626;
  --color-primary-light: #ef4444;
  --color-primary-dark: #991b1b;
  --color-rose: #f43f5e;
  --color-whatsapp: #25D366;
  
  --text-white: #ffffff;
  --text-gray-100: #f3f4f6;
  --text-gray-200: #e5e7eb;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
  --text-gray-500: #6b7280;

  --glow-red: 0 0 25px rgba(220, 38, 38, 0.45);
  --glow-red-lg: 0 0 45px rgba(220, 38, 38, 0.6);
  --glow-rose: 0 0 25px rgba(244, 63, 94, 0.35);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient-red {
  background: linear-gradient(135deg, #ffffff 0%, #fecaca 40%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-glow {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Sticky Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 106px;
  z-index: 1000;
  background: rgba(10, 10, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  transition: background var(--transition-smooth), border-color var(--transition-smooth), height var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(10, 10, 13, 0.96);
  border-bottom-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .hero-section {
  padding-top: 138px;
}

body.admin-bar .mobile-drawer {
  top: 138px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  body.admin-bar .hero-section {
    padding-top: 130px;
  }
  body.admin-bar .mobile-drawer {
    top: 130px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-container .logo-img,
.header-container .custom-logo,
.logo-img {
  height: 90px;
  width: auto;
  max-height: 90px;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 900px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-gray-300);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-rose));
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-gray-200);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.lang-current-code {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.lang-indicator {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 6px var(--color-primary-light);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 175px;
  background: #140d0f;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1010;
}

.lang-menu.show {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-gray-300);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
  background: rgba(220, 38, 38, 0.2);
  color: #ffffff;
}

.lang-option.active::after {
  content: "✓";
  font-weight: 700;
  color: var(--color-primary-light);
  margin-left: auto;
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  cursor: pointer;
}

@media (min-width: 900px) {
  .mobile-toggle-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 106px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 13, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-gray-200);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover {
  color: var(--color-primary-light);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(248, 113, 113, 0.3);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
}

.btn-trial {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  display: none;
}

@media (min-width: 640px) {
  .btn-trial {
    display: inline-flex;
  }
}

.btn-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.btn-badge-icon img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 106px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 10, 13, 0.95) 0%, rgba(10, 10, 13, 0.8) 45%, rgba(10, 10, 13, 0.3) 100%),
              radial-gradient(circle at 20% 50%, rgba(185, 28, 28, 0.25) 0%, transparent 60%),
              linear-gradient(0deg, #0a0a0d 0%, transparent 35%);
  pointer-events: none;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #0a0a0d;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(150%) contrast(105%);
  pointer-events: none;
}

/* Sound Toggle Button in Right Corner */
.hero-sound-btn {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.hero-sound-btn:hover {
  background: rgba(229, 9, 20, 0.9);
  border-color: #e50914;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(229, 9, 20, 0.4);
}

.hero-sound-btn:active {
  transform: translateY(0);
}

.hero-sound-btn.unmuted {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.95) 0%, rgba(184, 7, 16, 0.95) 100%);
  border-color: #ff3344;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.55);
}

.hero-sound-btn .sound-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sound-btn .sound-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-sound-btn {
    right: 1.25rem;
    bottom: 1.5rem;
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fca5a5;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  text-align: left;
}

@media (min-width: 640px) { .hero-title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray-200);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 650px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   PLATFORMS TICKER SECTION
   ========================================================================== */
.platforms-section {
  padding: 4rem 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(220, 38, 38, 0.15);
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

@media (min-width: 768px) { .section-title { font-size: 2.75rem; } }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-gray-400);
  line-height: 1.6;
}

@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }

.ticker-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scrollPlatforms 35s linear infinite;
  padding: 0.75rem 0;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-track.reverse {
  animation-direction: reverse;
  animation-duration: 40s;
}

@keyframes scrollPlatforms {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.platform-logo-box {
  width: 120px;
  height: 60px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.platform-card:hover .platform-logo-box {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--glow-red);
}

.platform-logo-box img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  filter: grayscale(0.2) contrast(1.1);
  transition: var(--transition-smooth);
}

.platform-card:hover .platform-logo-box img {
  filter: grayscale(0) contrast(1.2);
}

.platform-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-gray-400);
}

/* ==========================================================================
   FEATURES BENTO GRID
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0a0d 0%, #15090b 50%, #0a0a0d 100%);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  background: rgba(20, 10, 13, 0.6);
  border: 1px solid rgba(220, 38, 38, 0.2);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.bento-card-large {
  grid-column: span 12;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.85) 0%, rgba(153, 27, 27, 0.9) 50%, rgba(88, 16, 16, 0.95) 100%);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 8px 32px rgba(185, 28, 28, 0.25);
}

@media (min-width: 900px) {
  .bento-card-large {
    grid-column: span 8;
    grid-row: span 2;
  }
}

.bento-card-medium {
  grid-column: span 12;
}

@media (min-width: 640px) {
  .bento-card-medium {
    grid-column: span 6;
  }
}

@media (min-width: 900px) {
  .bento-card-medium {
    grid-column: span 4;
  }
}

.bento-card-small {
  grid-column: span 12;
}

@media (min-width: 640px) {
  .bento-card-small {
    grid-column: span 6;
  }
}

@media (min-width: 900px) {
  .bento-card-small {
    grid-column: span 3;
  }
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary-light);
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: #ffffff;
}

.bento-card-large .bento-title {
  font-size: 1.85rem;
}

.bento-desc {
  font-size: 0.9375rem;
  color: var(--text-gray-300);
  line-height: 1.55;
  margin-bottom: auto;
}

.bento-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bento-stat-box {
  text-align: center;
}

.bento-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.bento-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-gray-300);
}

/* ==========================================================================
   PRICING CALCULATOR & DEVICE SWITCHER
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 10%, rgba(185, 28, 28, 0.18) 0%, rgba(10, 10, 13, 1) 65%);
  position: relative;
}

.device-switcher-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.device-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.375rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-tab {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-gray-300);
  cursor: pointer;
  transition: var(--transition-fast);
}

.device-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.device-tab.active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.device-info-pill {
  font-size: 0.875rem;
  color: var(--text-gray-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.plan-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(26, 12, 16, 0.8) 0%, rgba(15, 8, 10, 0.95) 100%);
  border: 1px solid rgba(220, 38, 38, 0.25);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.25);
}

.plan-card.popular {
  border: 2px solid var(--color-primary-light);
  background: linear-gradient(180deg, rgba(38, 14, 19, 0.9) 0%, rgba(20, 9, 12, 0.98) 100%);
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.35);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ef4444 0%, #f43f5e 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
  white-space: nowrap;
}

.plan-duration {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.plan-subheading {
  font-size: 0.8125rem;
  color: var(--text-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.plan-price-block {
  margin-bottom: 1.25rem;
}

.plan-original-price {
  font-size: 1rem;
  color: var(--text-gray-500);
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.plan-current-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.plan-currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 2px;
}

.plan-period {
  font-size: 0.875rem;
  color: var(--text-gray-400);
}

.plan-bonus {
  background: rgba(220, 38, 38, 0.12);
  border: 1px dashed rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  color: #fca5a5;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-gray-300);
}

.plan-check-icon {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card .btn-primary {
  width: 100%;
}

/* ==========================================================================
   24-HOUR FREE TRIAL CARD BANNER
   ========================================================================== */
.trial-banner-box {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(244, 63, 94, 0.1) 100%);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .trial-banner-box {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.trial-banner-info {
  max-width: 600px;
}

.trial-tag {
  display: inline-block;
  background: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.trial-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.375rem;
}

.trial-desc {
  font-size: 0.9375rem;
  color: var(--text-gray-300);
}

/* ==========================================================================
   COMPATIBLE DEVICES SECTION
   ========================================================================== */
.devices-section {
  padding: 6rem 0;
  background: #0d0709;
  border-top: 1px solid rgba(220, 38, 38, 0.15);
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) { .devices-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .devices-grid { grid-template-columns: repeat(6, 1fr); } }

.device-badge-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.device-badge-box:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
}

.device-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.device-badge-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-gray-200);
}

/* ==========================================================================
   SERVERS & GUARANTEES
   ========================================================================== */
.servers-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0d0709 0%, #170a0d 50%, #0d0709 100%);
  position: relative;
}

.server-stat-card {
  background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.15) 0%, rgba(20, 10, 13, 0.7) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 4rem auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.server-highlight-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) { .server-highlight-title { font-size: 3rem; } }

.server-highlight-desc {
  font-size: 1.0625rem;
  color: var(--text-gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) { .guarantees-grid { grid-template-columns: repeat(3, 1fr); } }

.guarantee-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.guarantee-card:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-4px);
}

.guarantee-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.guarantee-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.guarantee-desc {
  font-size: 0.875rem;
  color: var(--text-gray-400);
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background: #0a0a0d;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(4, 1fr); } }

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-img-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #111;
}

.testimonial-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-smooth);
}

.testimonial-card:hover .testimonial-img-box img {
  transform: scale(1.05);
}

.testimonial-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.testimonial-stars {
  display: flex;
  color: #eab308;
  gap: 2px;
}

.testimonial-user {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
}

.testimonial-status {
  font-size: 0.75rem;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(185, 28, 28, 0.1) 0%, rgba(10, 10, 13, 1) 70%);
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30, 12, 16, 0.7) 0%, rgba(18, 9, 12, 0.9) 100%);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) { .faq-container { padding: 3rem 2.5rem; } }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(22, 10, 13, 0.6);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(28, 12, 16, 0.85);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: #fca5a5;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-gray-300);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  transition: max-height 0.45s ease-in-out;
  padding-bottom: 1.25rem;
}

.faq-support-box {
  margin-top: 3rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-support-box p {
  color: var(--text-gray-300);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

/* ==========================================================================
   CLOSING CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 6rem 0;
  background: #0a0a0d;
}

.cta-box {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.35) 0%, rgba(244, 63, 94, 0.25) 100%);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: var(--radius-xl);
  padding: 3.5rem 1.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(220, 38, 38, 0.2);
}

@media (min-width: 640px) { .cta-box { padding: 4.5rem 3rem; } }

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

@media (min-width: 768px) { .cta-title { font-size: 2.75rem; } }

.cta-desc {
  font-size: 1.125rem;
  color: var(--text-gray-200);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060608;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand p {
  color: var(--text-gray-400);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1.25rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray-400);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-gray-500);
  font-size: 0.875rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--color-whatsapp);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   SUBSCRIBE PAGE WIZARD & CHECKOUT STYLES
   ========================================================================== */
.subscribe-page-wrapper {
  min-height: 100vh;
  padding: 140px 0 80px 0;
  background: radial-gradient(circle at 50% 10%, rgba(185, 28, 28, 0.2) 0%, rgba(10, 10, 13, 1) 60%);
}

.subscribe-card-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(18, 10, 13, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
}

@media (min-width: 640px) { .subscribe-card-container { padding: 3.5rem 3rem; } }

.wizard-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
}

.device-picker-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.device-pick-btn {
  padding: 0.75rem 0.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-gray-300);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.device-pick-btn:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.4);
  color: #ffffff;
}

.device-pick-btn.selected {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: var(--glow-red);
}

.plan-picker-group {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) { .plan-picker-group { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .plan-picker-group { grid-template-columns: repeat(4, 1fr); } }

.plan-pick-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-pick-card:hover {
  border-color: rgba(220, 38, 38, 0.4);
  background: rgba(220, 38, 38, 0.08);
}

.plan-pick-card.selected {
  border-color: var(--color-primary-light);
  background: rgba(220, 38, 38, 0.18);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.35);
}

.contact-method-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: var(--transition-fast);
}

.contact-method-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.contact-method-card.selected.whatsapp {
  border-color: var(--color-whatsapp);
  background: rgba(37, 211, 102, 0.12);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-card.whatsapp .contact-method-icon {
  background: rgba(37, 211, 102, 0.2);
  color: var(--color-whatsapp);
}

.order-summary-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-gray-300);
}

.summary-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.75rem;
  padding-top: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page-wrapper {
  padding: 150px 0 80px 0;
  min-height: 100vh;
}

.legal-article-container {
  max-width: 850px;
  margin: 0 auto;
  background: rgba(18, 10, 13, 0.7);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  backdrop-filter: blur(16px);
}

.legal-article-container h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.legal-last-updated {
  font-size: 0.875rem;
  color: var(--text-gray-400);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-article-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #fca5a5;
}

.legal-article-container p {
  color: var(--text-gray-300);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-article-container ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-gray-300);
  font-size: 0.9375rem;
}

.legal-article-container li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   CINEMATIC SHOWCASE BANNER & OVERLAPPING CAROUSEL
   Netflix / Disney+ aesthetic with dynamic crossfade & poster carousel
   ========================================================================== */

.cinematic-showcase-section {
  position: relative;
  background-color: #090a0e;
  overflow: hidden;
  padding-bottom: 2.5rem;
}

/* Banner Component */
.cinematic-hero-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.cinematic-backdrop-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cinematic-backdrop-bg.current-backdrop {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.cinematic-backdrop-bg.next-backdrop {
  z-index: 2;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.cinematic-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: 
    linear-gradient(to right, rgba(9, 10, 14, 0.95) 0%, rgba(9, 10, 14, 0.8) 45%, rgba(9, 10, 14, 0.35) 70%, rgba(9, 10, 14, 0.8) 100%),
    linear-gradient(to top, #090a0e 0%, rgba(9, 10, 14, 0.75) 30%, transparent 65%);
  pointer-events: none;
}

.cinematic-banner-container {
  position: relative;
  z-index: 4;
  padding-top: 4rem;
  padding-bottom: 9rem;
}

.cinematic-banner-content {
  max-width: 640px;
}

.cinematic-meta-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.meta-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-gray-200);
  backdrop-filter: blur(8px);
}

.meta-badge-match {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-weight: 700;
}

.cinematic-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.875rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cinematic-description {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  transition: opacity 0.3s ease;
}

.cinematic-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cinematic-btn-group {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.btn-cinematic-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #e50914 0%, #dc2626 50%, #b91c1c 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.625rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.45);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-cinematic-play:hover {
  background: linear-gradient(135deg, #ff2a38 0%, #e50914 50%, #dc2626 100%);
  box-shadow: 0 6px 28px rgba(229, 9, 20, 0.7);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-cinematic-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 45, 52, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-cinematic-info:hover {
  background: rgba(70, 70, 80, 0.75);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.cinematic-controls-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cinematic-sound-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 20, 25, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cinematic-sound-toggle:hover {
  background: rgba(220, 38, 38, 0.25);
  border-color: #ef4444;
  transform: scale(1.08);
}

.cinematic-maturity-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 20, 25, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid #dc2626;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* Overlapping Carousel Area */
.media-carousel-overlap-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -115px;
  padding-bottom: 1rem;
}

.media-carousel-container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.carousel-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 25;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e50914;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 16px rgba(229, 9, 20, 0.5);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-nav-btn:hover {
  background: #ff2a38;
  transform: translateY(-50%) scale(1.14);
  box-shadow: 0 8px 28px rgba(229, 9, 20, 0.85);
}

.carousel-nav-btn.nav-btn-left {
  left: 6px;
}

.carousel-nav-btn.nav-btn-right {
  right: 6px;
}

.media-carousel-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1.25rem 0.5rem 1.75rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.media-carousel-track::-webkit-scrollbar {
  display: none;
}

.media-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.media-card {
  flex: 0 0 174px;
  max-width: 174px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  outline: none;
  border-radius: 10px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-card:hover {
  transform: translateY(-8px) scale(1.03);
}

.media-poster-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #15161e;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.media-card.active .media-poster-frame,
.media-card:focus-visible .media-poster-frame {
  border-color: #ef4444;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5), 0 0 18px rgba(239, 68, 68, 0.35);
}

.media-card:hover .media-poster-frame {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85);
}

.media-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-card:hover .media-poster-img {
  transform: scale(1.05);
}

.media-poster-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

/* Circular Rating Score Badge (Bottom-Left) */
.rating-badge-circle {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0d1117;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
  z-index: 5;
}

.rating-progress-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rating-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 3.5;
}

.rating-circle-fg {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.rating-number {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

/* Card Meta */
.media-card-info {
  padding: 0.625rem 0.15rem 0 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.media-card-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-card-date {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 400;
}

/* Netflix-Style Cinematic Modal */
.cinematic-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.25rem;
}

.cinematic-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cinematic-modal-dialog {
  background: #13141b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-modal-overlay.open .cinematic-modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(220, 38, 38, 0.4);
  border-color: #ef4444;
  transform: scale(1.1);
}

.modal-banner-header {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center 25%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #13141b 0%, rgba(19, 20, 27, 0.7) 45%, transparent 100%);
}

.modal-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.modal-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-iptv-badge {
  font-size: 0.8125rem;
  color: #fca5a5;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .modal-body-grid {
    grid-template-columns: 1.75fr 1fr;
  }
}

.modal-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.modal-match-score {
  color: #34d399;
  font-weight: 700;
  font-size: 0.9375rem;
}

.modal-year-pill,
.modal-maturity-pill,
.modal-duration-pill,
.modal-quality-badge,
.modal-audio-badge {
  font-size: 0.8125rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--text-gray-200);
}

.modal-synopsis-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-gray-200);
  margin-bottom: 1.5rem;
}

.modal-iptv-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
}

.iptv-feature-chip {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-gray-300);
}

.modal-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
}

.modal-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-info-label {
  font-size: 0.75rem;
  color: var(--text-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-info-value {
  font-size: 0.875rem;
  color: var(--text-gray-200);
  line-height: 1.45;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .cinematic-hero-banner {
    min-height: 460px;
  }
  .cinematic-banner-container {
    padding-top: 2.5rem;
    padding-bottom: 7.5rem;
  }
  .cinematic-title {
    font-size: 2.15rem;
  }
  .media-carousel-overlap-wrapper {
    margin-top: -95px;
  }
  .media-card {
    flex: 0 0 150px;
    max-width: 150px;
  }
}

@media (max-width: 640px) {
  .cinematic-hero-banner {
    min-height: 400px;
  }
  .cinematic-banner-container {
    padding-top: 2rem;
    padding-bottom: 6rem;
  }
  .cinematic-title {
    font-size: 1.75rem;
  }
  .cinematic-description {
    font-size: 0.9375rem;
  }
  .media-carousel-overlap-wrapper {
    margin-top: -70px;
  }
  .media-card {
    flex: 0 0 135px;
    max-width: 135px;
  }
  .rating-badge-circle {
    width: 32px;
    height: 32px;
    bottom: 6px;
    left: 6px;
  }
  .rating-number {
    font-size: 0.6875rem;
  }
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
  }
  .carousel-nav-btn svg {
    width: 18px;
    height: 18px;
  }
  .carousel-nav-btn.nav-btn-left {
    left: 2px;
  }
  .carousel-nav-btn.nav-btn-right {
    right: 2px;
  }
  .site-header {
    height: 84px;
  }
  .mobile-drawer {
    top: 84px;
  }
  .hero-section {
    padding-top: 84px;
  }
  .header-container .logo-img,
  .header-container .custom-logo,
  .logo-img {
    height: 68px;
    max-height: 68px;
  }
}

@media (max-width: 420px) {
  .site-header {
    height: 76px;
  }
  .mobile-drawer {
    top: 76px;
  }
  .hero-section {
    padding-top: 76px;
  }
  .header-container .logo-img,
  .header-container .custom-logo,
  .logo-img {
    height: 56px;
    max-height: 56px;
  }
}



/* ==========================================================================
   LEGAL POLICIES NAVIGATION TABS & VIEWER
   ========================================================================== */
.legal-nav-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.35rem;
    background: rgba(18, 24, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(12px);
}
.legal-nav-tabs::-webkit-scrollbar {
    display: none;
}
.legal-tab-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray-400, #9ca3af);
    background: transparent;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.legal-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.legal-tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #e50914 0%, #b80710 100%);
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.35);
}
.legal-tab-pane {
    display: none;
    animation: legalFadeIn 0.25s ease forwards;
}
.legal-tab-pane.active {
    display: block;
}
@keyframes legalFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.legal-article-container h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.legal-article-container h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f3f4f6;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.4rem;
}
.legal-article-container h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.legal-article-container p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray-300, #d1d5db);
    margin-bottom: 1rem;
}
.legal-article-container ul {
    margin: 0.75rem 0 1.25rem 1.5rem;
    padding: 0;
    color: var(--text-gray-300, #d1d5db);
}
.legal-article-container li {
    font-size: 0.975rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}
.legal-article-container a {
    color: #ef4444;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}
.legal-article-container a:hover {
    color: #f87171;
}

/* ==========================================================================
   SETUP GUIDE PAGE & DEVICE ACCORDIONS
   ========================================================================== */
.setup-guide-wrapper {
  padding: 135px 0 90px 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 120px, rgba(220, 38, 38, 0.12) 0%, rgba(10, 10, 13, 1) 70%);
}

.setup-hero-box {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
}

.setup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.setup-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.setup-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

.setup-desc {
  font-size: 1.05rem;
  color: var(--text-gray-300);
  line-height: 1.6;
}

/* Quick Jump Filter Pills */
.setup-pills-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  max-width: 900px;
  margin: 2rem auto 3rem auto;
}

.setup-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-gray-200);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.setup-pill-btn img,
.setup-pill-btn svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.setup-pill-btn:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

.setup-pill-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary-light);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.4);
}

/* Accordion Container */
.setup-accordion-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.setup-accordion-item {
  background: rgba(18, 10, 14, 0.72);
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.setup-accordion-item:hover {
  border-color: rgba(239, 68, 68, 0.42);
}

.setup-accordion-item.active {
  border-color: rgba(239, 68, 68, 0.65);
  background: rgba(24, 11, 16, 0.92);
  box-shadow: 0 10px 36px rgba(220, 38, 38, 0.25);
}

/* Accordion Header Button */
.setup-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background 0.2s ease;
}

.setup-accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.setup-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.setup-device-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
  transition: all 0.3s ease;
}

.setup-accordion-item.active .setup-device-icon-wrap {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.35);
}

.setup-device-icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.setup-device-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: #fca5a5;
}

.setup-device-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.setup-device-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.setup-device-platform-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.setup-accordion-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fca5a5;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.setup-accordion-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.setup-accordion-item.active .setup-accordion-arrow {
  background: var(--color-primary);
  border-color: var(--color-primary-light);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

.setup-accordion-item.active .setup-accordion-arrow svg {
  transform: rotate(180deg);
}

/* Accordion Content Panel */
.setup-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.setup-accordion-item.active .setup-accordion-panel {
  max-height: 4500px;
}

.setup-panel-inner {
  padding: 0.5rem 1.75rem 2rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Guide Section Headings */
.setup-guide-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1.25rem 0 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.setup-app-subcard {
  background: rgba(10, 6, 8, 0.65);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.setup-app-subcard:last-child {
  margin-bottom: 0;
}

.setup-app-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

/* Step-by-Step Items */
.setup-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.setup-step-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.setup-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.setup-step-content {
  flex: 1;
  font-size: 0.965rem;
  line-height: 1.65;
  color: var(--text-gray-200);
}

.setup-step-content strong {
  color: #ffffff;
}

.setup-step-content a {
  color: #f87171;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.setup-step-content a:hover {
  color: #ffffff;
}

/* Downloader Code Box */
.setup-code-container {
  margin: 0.85rem 0;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.setup-code-num {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.08em;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary-light);
}

.btn-copy-code.copied {
  background: #16a34a;
  border-color: #22c55e;
  color: #ffffff;
}

/* Tutorial Image Containers */
.setup-img-figure {
  margin: 1.25rem 0;
  max-width: 720px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.setup-img-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.setup-img-figure figcaption {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-gray-400);
  background: rgba(18, 10, 14, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Callout Note Box */
.setup-note-box {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #fef08a;
  font-size: 0.875rem;
  line-height: 1.55;
}

.setup-note-box svg {
  width: 20px;
  height: 20px;
  color: #eab308;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact Link Chips */
.setup-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-sm);
  color: #86efac !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.setup-contact-chip:hover {
  background: rgba(37, 211, 102, 0.25);
  color: #ffffff !important;
}

.setup-contact-chip.email {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5 !important;
}

.setup-contact-chip.email:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff !important;
}

/* Bottom Assistance / Support Box */
.setup-support-banner {
  max-width: 920px;
  margin: 3.5rem auto 0 auto;
  background: linear-gradient(135deg, rgba(30, 12, 16, 0.9) 0%, rgba(18, 9, 12, 0.95) 100%);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.setup-support-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(239, 68, 68, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.setup-support-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.setup-support-desc {
  max-width: 620px;
  margin: 0 auto 2rem auto;
  color: var(--text-gray-300);
  font-size: 1rem;
  line-height: 1.6;
}

.setup-support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .setup-guide-wrapper {
    padding: 105px 0 60px 0;
  }
  .setup-accordion-header {
    padding: 1.1rem 1.25rem;
  }
  .setup-panel-inner {
    padding: 0.25rem 1.25rem 1.75rem 1.25rem;
  }
  .setup-code-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }
  .setup-support-banner {
    padding: 2rem 1.25rem;
  }
}
