/* ---- Reumatimes Videos - Frontend Styles ---- */

.rt-videos-wrap {
  --bg:      #f6faff;
  --surface: #ffffff;
  --fg:      #031b4e;
  --muted:   #7884ac;
  --border:  #e1eeff;
  --accent:  #31e0ff;
  --shadow-sm: 0 1px 3px rgba(3, 27, 78, 0.06);
  --shadow-md: 0 4px 20px rgba(3, 27, 78, 0.08);
  --shadow-lg: 0 12px 48px rgba(3, 27, 78, 0.12);
  --radius: 6px;
  --font-display: 'Rajdhani', 'Work Sans', system-ui, sans-serif;
  --font-body:    'Work Sans', 'Arimo', system-ui, sans-serif;

  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rt-videos-wrap *,
.rt-videos-wrap *::before,
.rt-videos-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.rt-videos-wrap a {
  color: inherit;
  text-decoration: none;
}
.rt-videos-wrap a:hover {
  color: var(--accent);
}
.rt-videos-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rt-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section ---- */
.rt-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.rt-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.rt-section-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.rt-section-kicker::before,
.rt-section-kicker::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.rt-section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 12px;
}

.rt-section-desc {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
}

.rt-section-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
  border: 0;
  border-radius: 2px;
  position: relative;
}
.rt-section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 56px;
  width: 12px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.3;
}

/* ---- Program Bar ---- */
.rt-program-bar {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.rt-program-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 10px;
  border-bottom: 1px solid var(--border);
}

.rt-program-bar-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}

.rt-program-bar-instruction {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.rt-days-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--border);
  overflow: hidden;
}
@media (max-width: 599px) {
  .rt-days-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .rt-days-grid::-webkit-scrollbar { display: none; }
}

.rt-day-card {
  background: var(--surface);
  padding: 18px 10px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  user-select: none;
}
.rt-day-card:hover {
  background: #eef5ff;
}
.rt-day-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 32px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(49, 224, 255, 0.3);
}
.rt-day-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.rt-day-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  transition: color 0.3s;
}

.rt-day-label {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}

.rt-day-card.rt-featured {
  position: relative;
}
.rt-day-card.rt-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 0 8px rgba(49, 224, 255, 0.2);
}

.rt-day-card.rt-active {
  background: var(--fg);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(3, 27, 78, 0.18);
}
.rt-day-card.rt-active .rt-day-num {
  color: var(--accent);
}
.rt-day-card.rt-active .rt-day-label {
  color: rgba(255, 255, 255, 0.5);
}
.rt-day-card.rt-active::after {
  transform: translateX(-50%) scaleX(1);
}
.rt-day-card.rt-active:hover {
  background: var(--fg);
}

/* ---- Video Grid ---- */
.rt-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rt-video-grid.rt-swapping {
  opacity: 0;
}

.rt-video-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
  border-radius: var(--radius);
}
.rt-video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(49, 224, 255, 0);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none;
}
.rt-video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.rt-video-card:hover::before {
  border-color: rgba(49, 224, 255, 0.2);
  box-shadow: 0 0 30px rgba(49, 224, 255, 0.06);
}

.rt-video-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://reuma.studioweb-ec.com/wp-content/uploads/2026/06/rt.jpg') 50% 30% / auto 100% no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.rt-video-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.08) 0%, rgba(3,27,78,0.40) 100%);
}
.rt-video-card:hover .rt-video-card-bg {
  transform: scale(1.05);
}

.rt-video-card-bg svg {
  display: none;
}

.rt-video-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 24px 24px 20px;
  background: linear-gradient(transparent 0%, rgba(3, 27, 78, 0.55) 50%, rgba(3, 27, 78, 0.70) 100%);
}

.rt-video-card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(49, 224, 255, 0.1);
  padding: 3px 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(49, 224, 255, 0.15);
}

.rt-video-card-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.rt-video-card .rt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(49, 224, 255, 0.5);
  background: rgba(49, 224, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s, box-shadow 0.3s, border-color 0.3s,
              opacity 0.35s ease;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
}
.rt-video-card .rt-play-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(49, 224, 255, 0);
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.rt-video-card:hover .rt-play-btn,
.rt-video-card .rt-play-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(49, 224, 255, 0.25);
}
.rt-video-card:hover .rt-play-btn::after {
  border-color: rgba(49, 224, 255, 0.15);
  transform: scale(1.1);
}
.rt-play-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--fg);
  margin: 0 0 0 2px;
  transition: transform 0.3s;
}
.rt-video-card:hover .rt-play-btn svg {
  color: var(--fg);
  transform: scale(1.05);
}

.rt-video-card iframe {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
}

.rt-empty-state {
  grid-column: 1 / -1;
  padding: 60px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.rt-empty-state::before {
  content: '⊡';
  display: block;
  font-size: 32px;
  color: var(--border);
  margin-bottom: 12px;
}

/* ---- Video Modal ---- */
.rt-modal-overlay {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.rt-modal-overlay.rt-open {
  display: flex !important;
}

.rt-modal-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #0a0a0a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 60px 160px rgba(0,0,0,0.5),
    0 0 0 1px rgba(49,224,255,0.06),
    0 0 60px rgba(49,224,255,0.03);
  transform: scale(0.88) translateY(40px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease;
}
.rt-modal-overlay.rt-open .rt-modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}


.rt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  font-family: var(--font-body);
  padding: 0;
  text-align: center;
}
.rt-modal-close:hover {
  background: rgba(49,224,255,0.15);
  border-color: var(--accent);
  transform: scale(1.08) rotate(90deg);
}

.rt-modal-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.rt-modal-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rt-modal-spinner {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}
.rt-modal-spinner svg {
  display: block;
  width: 44px;
  height: 44px;
  animation: rtSpin 0.9s linear infinite;
  color: var(--accent);
  opacity: 0.7;
}
@keyframes rtSpin {
  to { transform: rotate(360deg); }
}

.rt-modal-loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(49, 224, 255, 0.4));
  width: 0;
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(49, 224, 255, 0.2);
}
.rt-modal-loader-bar.rt-loading {
  width: 80%;
}

.rt-modal-info {
  padding: 14px 24px;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rt-modal-info-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(49,224,255,0.08);
  padding: 3px 10px;
  border: 1px solid rgba(49,224,255,0.08);
  flex-shrink: 0;
}

.rt-modal-info-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Animations ---- */
.rt-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.rt-fade-in.rt-visible {
  opacity: 1;
}

.rt-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.rt-slide-up.rt-visible {
  opacity: 1;
  transform: translateY(0);
}

.rt-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.rt-stagger.rt-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.rt-stagger.rt-visible > *:nth-child(1) { transition-delay: 0s; }
.rt-stagger.rt-visible > *:nth-child(2) { transition-delay: 0.08s; }
.rt-stagger.rt-visible > *:nth-child(3) { transition-delay: 0.16s; }
.rt-stagger.rt-visible > *:nth-child(4) { transition-delay: 0.24s; }
.rt-stagger.rt-visible > *:nth-child(5) { transition-delay: 0.32s; }
.rt-stagger.rt-visible > *:nth-child(6) { transition-delay: 0.40s; }
.rt-stagger.rt-visible > *:nth-child(7) { transition-delay: 0.48s; }
.rt-stagger.rt-visible > *:nth-child(8) { transition-delay: 0.56s; }

/* ---- Extra animations ---- */
@keyframes rtFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes rtPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes rtGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(49, 224, 255, 0.15); }
  50% { box-shadow: 0 0 24px rgba(49, 224, 255, 0.35); }
}

@keyframes rtShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.rt-section-divider {
  animation: rtPulse 3s ease-in-out infinite;
}

.rt-section-kicker::before,
.rt-section-kicker::after {
  animation: rtFloat 4s ease-in-out infinite;
}
.rt-section-kicker::after {
  animation-delay: -2s;
}

.rt-day-card.rt-active {
  animation: rtGlow 3s ease-in-out infinite;
}



/* ---- Loading skeleton ---- */
.rt-loading-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rt-loading-skeleton .rt-skel {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--border) 25%, #f0f6ff 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: rtShimmer 1.5s ease-in-out infinite;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .rt-section { padding: 40px 0; }
  .rt-video-grid { grid-template-columns: 1fr; gap: 16px; }
  .rt-video-card-body { padding: 16px 16px 14px; }
  .rt-video-card-title { font-size: 13px; }
  .rt-video-card .rt-play-btn { width: 40px; height: 40px; opacity: 1; pointer-events: auto; }
  .rt-video-card .rt-play-btn svg { width: 14px; height: 14px; margin-left: 1px; }
  .rt-program-bar-header { flex-direction: column; gap: 4px; align-items: flex-start; padding: 12px 16px 8px; }
  .rt-day-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 80px;
    padding: 14px 12px;
  }
  .rt-day-num { font-size: 16px; }
  .rt-day-label { font-size: 8px; }
  .rt-modal-overlay { padding: 12px; }
  .rt-modal-close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 18px; }
  .rt-modal-info { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .rt-loading-skeleton { grid-template-columns: 1fr; }
}

/* ============================================================
   Muro de acceso + modo cine con controles propios (v2.0)
   ============================================================ */

/* El contenedor del reproductor ocupa todo el área del video */
.rt-modal-iframe-wrap #rtPlayer,
.rt-modal-iframe-wrap #rtPlayer iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* Coraza: intercepta clics para que no lleguen al iframe de YouTube */
.rt-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  cursor: pointer;
}

/* ---- Controles propios ---- */
.rt-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(3, 27, 78, 0.6);
  border: 1px solid rgba(49, 224, 255, 0.25);
  border-radius: 8px;
}
.rt-controls[hidden] { display: none; }
.rt-ctrl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.rt-ctrl-btn:hover { background: rgba(49, 224, 255, 0.16); color: var(--accent, #31e0ff); }
.rt-time {
  font: 600 13px/1 var(--font-body, sans-serif);
  color: #dfe7f5;
  font-variant-numeric: tabular-nums;
  min-width: 42px;
  text-align: center;
}
.rt-seek {
  position: relative;
  flex: 1 1 auto;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
  touch-action: none;
}
.rt-seek-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: var(--accent, #31e0ff);
  border-radius: 999px;
}
.rt-seek-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ---- Aviso paywall (sin sesión) — una sola capa, imagen full-bleed ---- */
.rt-modal-overlay.rt-modal--lock .rt-modal-container {
  max-width: 720px;
  background: #041a52;
}
.rt-modal-overlay.rt-modal--lock .rt-modal-iframe-wrap,
.rt-modal-overlay.rt-modal--lock .rt-controls,
.rt-modal-overlay.rt-modal--lock .rt-modal-info { display: none !important; }

.rt-lock {
  position: relative;
  z-index: 5;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rt-lock[hidden] { display: none; }

/* Imagen cubriendo TODO el cuadro, sin franjas */
.rt-lock-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://reumatimes.com/wp-content/uploads/2026/07/New-logo1-scaled.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Overlay oscuro para legibilidad */
.rt-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3,16,52,0.72) 0%, rgba(3,16,52,0.80) 100%),
    radial-gradient(90% 90% at 50% 45%, rgba(3,16,52,0.35) 0%, rgba(3,16,52,0.85) 100%);
}

/* Contenido centrado, sin caja interna */
.rt-lock-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 40px;
}
.rt-lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(49, 224, 255, 0.14);
  border: 1.5px solid rgba(49, 224, 255, 0.5);
  color: var(--accent, #31e0ff);
  box-shadow: 0 0 30px rgba(49, 224, 255, 0.25);
}
.rt-lock-title {
  color: #fff;
  font: 700 clamp(1.35rem, 2.8vw, 1.7rem)/1.2 var(--font-display, var(--font-body, sans-serif));
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.rt-lock-text {
  color: rgba(233, 240, 250, 0.88);
  font: 400 1rem/1.55 var(--font-body, sans-serif);
  max-width: 380px;
  margin: 0 0 28px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.rt-lock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 220px;
  padding: 15px 34px;
  background: var(--accent, #31e0ff);
  color: #04173f;
  font: 700 1rem/1 var(--font-body, sans-serif);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, background 0.18s ease;
}
.rt-lock-btn svg { stroke: #04173f; transition: transform 0.2s ease; }
.rt-lock-btn:hover {
  transform: translateY(-2px);
  background: #4fe8ff;
}
.rt-lock-btn:hover svg { transform: translateX(4px); }

@media (max-width: 600px) {
  .rt-controls { gap: 8px; padding: 8px 10px; }
  .rt-ctrl-btn { width: 36px; height: 36px; }
  .rt-time { min-width: 36px; font-size: 12px; }
  .rt-lock-content { padding: 0 24px; }
  .rt-lock-icon { width: 52px; height: 52px; }
  .rt-lock-title { font-size: 1.2rem; }
  .rt-lock-text { font-size: 0.92rem; }
}

/* ============================================================
   Shield global — videos interceptados (Elementor, posts, etc.)
   ============================================================ */
.rt-shield-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.2em 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #031b4e;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}
.rt-shield-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.rt-shield-video:hover .rt-shield-thumb { transform: scale(1.04); filter: brightness(0.8); }

/* Póster con el logo del sitio + capa oscura (sin sesión) */
.rt-shield-video.-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #041c4f 0%, #05246a 100%);
}
.rt-shield-video.-locked {
  display: block;
  background: #041c4f;
}
.rt-shield-video.-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 40, 0.15);
  z-index: 1;
}
.rt-shield-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}
.rt-shield-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rt-shield-poster-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
}

/* Botón de play — esquina inferior derecha (no tapa el logo) */
.rt-shield-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(3, 27, 78, 0.78);
  border: 2px solid var(--accent, #31e0ff);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.rt-shield-btn svg { width: 24px; height: 24px; margin-left: 2px; }
.rt-shield-video:hover .rt-shield-btn {
  background: var(--accent, #31e0ff);
  color: #031b4e;
  transform: scale(1.1);
}
.rt-shield-video:focus-visible { outline: 3px solid var(--accent, #31e0ff); outline-offset: 2px; }

/* Envoltorio dentro de Elementor: respeta el ancho del widget */
.rt-shield-elementor { width: 100%; }
.rt-shield-elementor .rt-shield-video { margin: 0; }
