/* ==========================================================================
   CINE DE FE - STYLESHEET (MOBILE-FIRST NETFLIX DARK THEME IN SPANISH)
   ========================================================================== */

:root {
  --bg-color: #0d0d0d;
  --bg-card: #161618;
  --bg-glass: rgba(22, 22, 24, 0.92);
  --primary-red: #E50914;
  --primary-red-hover: #c10710;
  --accent-gold: #FFD700;
  --accent-gold-glow: rgba(255, 215, 0, 0.4);
  --text-main: #FFFFFF;
  --text-muted: #9E9E9E;
  --text-sub: #666666;
  --border-color: rgba(255, 255, 255, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.85);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #000000;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* APP MOBILE CONTAINER (CENTRALIZED CONTAINER ON DESKTOP, FULL-SCREEN ON MOBILE) */
.app-wrapper {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  max-height: 1000px;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden; /* FIX: Prevents outer container scroll bugs */
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  .app-wrapper {
    max-width: 100%;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }
}

/* SCREEN MANAGEMENT */
.screen {
  display: none;
  width: 100%;
  height: 100%;
  flex: 1;
  overflow: hidden;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   1. WELCOME / LOGIN SCREEN
   ========================================================================== */
.welcome-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px 24px 30px 24px;
  background: radial-gradient(circle at top center, #1c0506 0%, #0d0d0d 65%);
  overflow-y: auto;
}

.welcome-logo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.brand-play-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.play-icon-inner {
  color: #FFFFFF;
  font-size: 14px;
  margin-left: 2px;
}

.logo-text-welcome {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.logo-accent-red {
  color: var(--primary-red);
}

.welcome-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.welcome-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.welcome-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.welcome-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #E2E2E2;
}

.check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.welcome-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.input-label-uppercase {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: 2px;
}

.input-group-modern {
  position: relative;
  width: 100%;
  margin-bottom: 6px;
}

.input-icon-modern {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #777777;
  font-size: 16px;
}

.input-group-modern input {
  width: 100%;
  background: #141417;
  border: 1px solid #2a2a2e;
  border-radius: var(--radius-md);
  padding: 16px 16px 16px 46px;
  color: #FFFFFF;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

.input-group-modern input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.25);
}

.btn-primary-red {
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.glow-red-btn {
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.45);
}

.btn-primary-red:active {
  transform: scale(0.98);
  background: var(--primary-red-hover);
}

.welcome-footer-text {
  font-size: 12px;
  color: #555555;
  text-align: center;
  margin-top: 30px;
  line-height: 1.4;
}

/* ==========================================================================
   BUTTONS & MODALS COMMON
   ========================================================================== */
.btn-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000000;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.2s ease;
}

.btn-gold:active {
  transform: scale(0.98);
}

.full-width {
  width: 100%;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  display: none !important;
}

.glass-modal {
  background: var(--bg-glass);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.95);
}

.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ANIMATIONS */
.animate-pop {
  animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ==========================================================================
   2. POP-UP REGALO (US$97)
   ========================================================================== */
#gift-modal {
  align-items: center;
  padding: 20px;
}

.gift-card-popup {
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 400px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background: radial-gradient(circle at top, #2d2407 0%, #17171a 80%);
}

.gift-icon-header {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.gift-pulse-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: giftPulse 1.8s infinite;
}

@keyframes giftPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.gift-icon {
  font-size: 32px;
  color: var(--accent-gold);
}

.gift-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.gift-body-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
}

.whatsapp-alert-box {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid #25D366;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #25D366;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 24px;
}

/* ==========================================================================
   3. APP HEADER & FLOATING PULSING TUTORIALS BUTTON
   ========================================================================== */
.app-header {
  width: 100%;
  height: 64px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.header-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-red);
}

.header-logo .logo-accent {
  color: #FFFFFF;
}

/* CENTRALIZED FLOATING TUTORIALS BUTTON WITH PULSE AND GLOW */
.tutorials-pulse-btn {
  position: relative;
  background: linear-gradient(135deg, #FFD700 0%, #FF9900 100%);
  color: #000000;
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: glowPulse 2s infinite alternate;
}

.pulse-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 34px;
  border: 2px solid var(--accent-gold);
  animation: pulseExpand 1.6s infinite;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
  100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.9); }
}

@keyframes pulseExpand {
  0% { transform: scale(0.96); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   4. HOME SCREEN & HERO BANNER
   ========================================================================== */
#main-app.screen.active {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.tab-content.active {
  display: block;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 360px;
  background: #111;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.75);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #0d0d0d 0%, rgba(13, 13, 13, 0.4) 60%, rgba(13, 13, 13, 0.8) 100%);
}

.hero-details {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-red);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-synopsis {
  font-size: 12px;
  color: #DDD;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.hero-buttons {
  display: flex;
  gap: 10px;
}

.btn-play {
  flex: 1;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-info {
  flex: 1;
  background: rgba(109, 109, 110, 0.7);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   5. MOVIE ROWS & TOP 10 CAROUSEL
   ========================================================================== */
.movie-rows-container {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.movie-row-section {
  width: 100%;
}

.row-header {
  padding: 0 16px;
  margin-bottom: 10px;
}

.row-header h2 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top10-title-badge {
  background: var(--primary-red);
  color: #FFF;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}

.row-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 10px 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.row-carousel::-webkit-scrollbar {
  display: none;
}

/* STANDARD MOVIE CARD */
.movie-card {
  flex: 0 0 115px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.movie-card:active {
  transform: scale(0.95);
}

.movie-poster-box {
  width: 100%;
  height: 165px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: #252528;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.movie-poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-card-title {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #E5E5E5;
}

/* TOP 10 CARD SPECIAL STYLING */
.top10-card {
  flex: 0 0 145px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.top10-number {
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 900;
  line-height: 0.8;
  color: #000000;
  -webkit-text-stroke: 4px #555555;
  position: absolute;
  left: -8px;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.top10-poster-box {
  width: 105px;
  height: 155px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-left: 35px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.top10-poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   6. SEARCH & FAVORITES & PROFILE
   ========================================================================== */
.search-header-container {
  padding: 16px;
}

.search-input-box {
  background: #1c1c20;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-color);
}

.search-input-box input {
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 14px;
  padding-bottom: 4px;
}

.pill {
  background: #2a2a2e;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.pill.active {
  background: var(--primary-red);
  color: #FFF;
  border-color: var(--primary-red);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}

.section-title-bar {
  padding: 16px;
}

.section-title-bar h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
}

.section-title-bar p {
  color: var(--text-muted);
  font-size: 12px;
}

/* PROFILE CARD */
.profile-card {
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-red) 0%, #600000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #FFF;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.profile-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-badge {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid #25D366;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.profile-stats {
  display: flex;
  width: 100%;
  justify-content: space-around;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

.profile-options-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-opt {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.text-danger { color: #ff4d4d; }
.text-gold { color: var(--accent-gold); }
.text-red { color: var(--primary-red); }
.text-success { color: #25D366; }

/* ==========================================================================
   7. FIXED DOCKED BOTTOM NAVIGATION BAR (FIXED AT THE VERY BOTTOM, NO FLOATING BUG)
   ========================================================================== */
.bottom-nav {
  width: 100%;
  height: 65px;
  background: rgba(14, 14, 16, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  flex-shrink: 0; /* FIX: Prevents bottom nav from collapsing or moving inside scrollable area */
}

.nav-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: color 0.2s ease;
  width: 25%;
}

.nav-item i {
  font-size: 18px;
}

.nav-item.active {
  color: var(--primary-red);
  font-weight: 700;
}

/* ==========================================================================
   8. MOVIE DETAILS MODAL & TELEGRAM MODAL
   ========================================================================== */
.details-banner-box {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.details-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-banner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-card) 0%, transparent 70%);
}

.fav-floating-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  color: #FFF;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fav-floating-btn.active i {
  color: var(--primary-red);
}

.details-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 14px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.badge-rating {
  background: #333;
  color: #FFF;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
}

.category-tag {
  color: var(--accent-gold);
  font-weight: 600;
}

.details-synopsis {
  font-size: 13px;
  color: #CCC;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gold-glow-btn {
  background: linear-gradient(135deg, var(--primary-red) 0%, #b80710 100%);
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.5);
  font-size: 15px;
}

.similar-movies-box {
  margin-top: 24px;
}

.similar-movies-box h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 12px;
}

.similar-movies-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

/* TELEGRAM MODAL */
.telegram-card {
  text-align: center;
}

.telegram-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0088cc;
  color: #FFF;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.6);
}

.telegram-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.telegram-header p {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 20px;
}

.telegram-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  text-align: left;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0088cc;
  color: #FFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.step-info strong {
  display: block;
  font-size: 13px;
  color: #FFF;
}

.step-info p {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-telegram-direct {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #FFF;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

/* ==========================================================================
   9. TUTORIALES MODAL & WISTIA PLAYERS
   ========================================================================== */
.tutorials-card {
  max-height: 85vh;
}

.tutorials-header {
  margin-bottom: 16px;
}

.tutorials-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tutorials-title h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
}

.tutorials-header p {
  color: var(--text-muted);
  font-size: 12px;
}

.tutorials-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.tut-tab {
  background: #25252a;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tut-tab.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  font-weight: 800;
}

.tut-pane {
  display: none;
}

.tut-pane.active {
  display: block;
}

.tut-guide-box h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 10px;
}

.tut-guide-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.tut-highlight-card {
  margin-top: 14px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #FFF;
}

.tut-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #DDD;
}

.tv-options-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.tv-subtab {
  flex: 1;
  background: #28282c;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tv-subtab.active {
  background: var(--primary-red);
  color: #FFF;
  border-color: var(--primary-red);
}

.tv-player-box {
  width: 100%;
}

.video-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.wistia-embed-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

/* Cine de Fe */
.tutorial-pendiente{background:#1b1b1f;border:1px solid #333;border-radius:10px;padding:1.25rem;color:#ccc;font-size:.95rem;line-height:1.5}
.tutorial-pendiente a{color:#e50914;text-decoration:none}
.canal-pendiente{opacity:.45;pointer-events:none}
.app-soporte{text-align:center;padding:1.5rem 1rem 2.5rem;color:#777;font-size:.85rem}
.app-soporte a{color:#e50914;text-decoration:none}
