/* ==========================================================================
   Proyecto Social: "Así suena Cesar" - Fundejar
   ========================================================================== */

/* --- Hero Section --- */
.ps-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 24, 33, 0.94) 0%, rgba(35, 23, 14, 0.92) 100%),
    url('../../assets/images/ProyectoImg.jpeg') center/cover no-repeat;
  color: #FFFFFF;
  padding: 6rem 1.5rem 5rem;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ps-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245, 134, 52, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.ps-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: rgba(245, 134, 52, 0.2);
  color: #FFA726;
  border: 1px solid rgba(245, 134, 52, 0.45);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  backdrop-filter: blur(8px);
}

.ps-badge .material-icons {
  font-size: 16px;
}

.ps-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
  color: #FFFFFF;
}

.ps-title-highlight {
  background: linear-gradient(90deg, #F58634 0%, #FBBF24 50%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ps-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #E5E7EB;
  max-width: 780px;
  margin: 0 auto var(--spacing-2xl);
  line-height: 1.6;
}

.ps-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: 3.5rem;
}

.ps-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--primary-color);
  color: #FFFFFF;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 134, 52, 0.4);
  transition: all var(--transition-fast);
}

.ps-btn-primary:hover {
  background: #E07324;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 134, 52, 0.5);
  color: #FFFFFF;
}

.ps-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.ps-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* --- Metrics Grid --- */
.ps-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.ps-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.ps-stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: rgba(245, 134, 52, 0.5);
}

.ps-stat-icon {
  color: #F58634;
  font-size: 28px;
}

.ps-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.ps-stat-label {
  font-size: 0.875rem;
  color: #D1D5DB;
  font-weight: 500;
  text-align: center;
}

/* --- Project Context / Narrative Section --- */
.ps-context {
  padding: 5rem 1.5rem;
  background-color: #F9FAFB;
}

.ps-context-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.ps-context-image-box {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.ps-context-image-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.ps-context-image-box:hover img {
  transform: scale(1.04);
}

.ps-context-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ps-context-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: var(--spacing-lg);
  line-height: 1.25;
}

.ps-context-text p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
}

.ps-context-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.ps-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
  line-height: 1.5;
}

.ps-highlight-item .material-icons {
  color: #059669;
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Video Showcase Section --- */
.ps-showcase {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ps-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.ps-section-badge {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.ps-section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.ps-section-subtitle {
  color: #4B5563;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Filter Tabs */
.ps-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.ps-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--text-gray);
  border: 1.5px solid #E5E7EB;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ps-filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(245, 134, 52, 0.05);
}

.ps-filter-btn.active {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(245, 134, 52, 0.35);
}

.ps-filter-btn .material-icons {
  font-size: 18px;
}

/* Video Grid */
.ps-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.ps-video-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #F3F4F6;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.ps-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(245, 134, 52, 0.3);
}

.ps-video-poster {
  position: relative;
  min-height: 185px;
  padding: 1.25rem 1.25rem 1.4rem;
  background: linear-gradient(145deg, #182234 0%, #0F172A 100%);
  border-bottom: 2px solid rgba(245, 134, 52, 0.25);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.ps-video-poster::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 15%, rgba(245, 134, 52, 0.16) 0%, transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.ps-video-card:hover .ps-video-poster {
  background: linear-gradient(145deg, #222E44 0%, #111B30 100%);
  border-bottom-color: rgba(245, 134, 52, 0.6);
}

.ps-poster-content {
  position: relative;
  z-index: 2;
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ps-video-poster-title {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.ps-play-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(245, 134, 52, 0.95);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245, 134, 52, 0.4);
  transition: all var(--transition-fast);
}

.ps-play-icon .material-icons {
  font-size: 30px;
  margin-left: 2px;
}

.ps-video-card:hover .ps-play-icon {
  transform: scale(1.1);
  background: #F58634;
  box-shadow: 0 0 25px rgba(245, 134, 52, 0.7);
}

.ps-video-badges {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.ps-tag-category {
  background: rgba(16, 185, 129, 0.9);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.ps-tag-territory {
  background: rgba(17, 24, 39, 0.8);
  color: #FBBF24;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  backdrop-filter: blur(4px);
}

.ps-tag-territory .material-icons {
  font-size: 13px;
}

.ps-video-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ps-video-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.ps-video-desc {
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.ps-video-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #F3F4F6;
  padding-top: 1rem;
}

.ps-card-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: rgba(245, 134, 52, 0.1);
  color: var(--primary-color);
  border: 1.5px solid rgba(245, 134, 52, 0.3);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ps-card-play-btn:hover {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(245, 134, 52, 0.35);
  transform: translateY(-2px);
}

.ps-card-play-btn .material-icons {
  font-size: 22px;
}

/* --- Project Photo Gallery Section --- */
.ps-gallery {
  padding: 5rem 1.5rem;
  background: #F9FAFB;
}

.ps-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ps-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ps-gallery-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.ps-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ps-gallery-item:hover img {
  transform: scale(1.08);
}

.ps-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.ps-gallery-item:hover .ps-gallery-overlay,
.ps-gallery-item:focus-visible .ps-gallery-overlay {
  opacity: 1;
}

.ps-gallery-zoom-badge {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-fast);
}

.ps-gallery-item:hover .ps-gallery-zoom-badge {
  transform: scale(1.1);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.ps-gallery-caption-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ps-gallery-title {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.ps-gallery-caption {
  color: #D1D5DB;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}

/* Modal Image Viewer */
.ps-image-viewer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 320px;
  max-height: 75vh;
  background: #0B0F19;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ps-image-viewer-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  animation: fadeIn 0.3s ease;
}

/* --- CTA Banner --- */
.ps-cta {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ps-cta-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, #E07324 100%);
  border-radius: var(--radius-2xl);
  padding: 4rem 2rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 15px 40px rgba(245, 134, 52, 0.35);
  position: relative;
  overflow: hidden;
}

.ps-cta-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.ps-cta-card p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.ps-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.ps-cta-btn-white {
  background: #FFFFFF;
  color: var(--primary-color);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.ps-cta-btn-white:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  color: #D36718;
}

/* --- Video and Image Modal Viewer Simplificado --- */
.ps-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 15000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  touch-action: pan-y;
}

.ps-modal.active {
  opacity: 1;
  visibility: visible;
}

.ps-modal-container {
  background: transparent;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.ps-modal.active .ps-modal-container {
  transform: scale(1);
}

/* Barra superior con botón de cerrar integrado sobre el medio */
.ps-modal-topbar {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 0 2px;
}

.ps-modal-close {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.ps-modal-close:hover,
.ps-modal-close:focus-visible {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  outline: none;
}

.ps-modal-close .material-icons {
  font-size: 20px;
}

.ps-modal-close-label {
  letter-spacing: 0.02em;
}

.ps-modal-hint {
  display: none;
}

.ps-modal-body {
  padding: 0;
  position: relative;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.ps-video-frame-container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video: Formato 16:9 y recorte del toolbar de Google Drive para eliminar la barra blanca y popout */
.ps-video-frame-container.is-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  background: #000000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ps-video-frame-container.is-video iframe {
  position: absolute;
  top: -52px;
  left: 0;
  width: 100%;
  height: calc(100% + 52px);
  border: none;
  display: block;
  background: #000000;
}

/* Imagen: Ajuste sin distorsión */
.ps-video-frame-container.is-image {
  max-width: 95vw;
  max-height: 82vh;
  background: transparent;
}

.ps-video-frame-container.is-image .ps-image-viewer-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeIn 0.25s ease;
}

.ps-video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0D1117;
  color: #D1D5DB;
  gap: 0.75rem;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.ps-video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.ps-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(245, 134, 52, 0.2);
  border-top-color: #F58634;
  border-radius: 50%;
  animation: psSpin 0.8s linear infinite;
}

@keyframes psSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .ps-context-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ps-context-image-box img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .ps-hero {
    padding: 4.5rem 1rem 3.5rem;
  }

  .ps-video-grid {
    grid-template-columns: 1fr;
  }

  .ps-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ps-stats-grid {
    grid-template-columns: 1fr;
  }

  .ps-filter-nav {
    gap: 0.5rem;
  }

  .ps-filter-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 640px) {
  .ps-modal {
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
  }

  .ps-modal-container {
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
  }

  .ps-modal-topbar {
    width: 100%;
    padding: 0 2px;
    display: flex;
    justify-content: flex-end;
  }

  .ps-modal-close {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
  }

  .ps-modal-close .material-icons {
    font-size: 18px;
  }

  /* Optimización móvil: mayor altura y encuadre natural para que los controles no tapen a los músicos */
  .ps-video-frame-container.is-video {
    width: 100%;
    aspect-ratio: 16 / 10.5;
    min-height: 240px;
    max-height: 68vh;
    border-radius: var(--radius-lg);
  }

  .ps-video-frame-container.is-video iframe {
    top: -46px;
    height: calc(100% + 46px);
  }

  .ps-video-frame-container.is-image .ps-image-viewer-img {
    max-height: 75vh;
    border-radius: var(--radius-lg);
  }

  /* Aviso sutil para interacción táctil en móviles */
  .ps-modal-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    text-align: center;
    margin-top: 0.2rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .ps-modal-hint .material-icons {
    font-size: 16px;
    color: #F58634;
  }
}

/* En caso de rotación horizontal del dispositivo */
@media (max-width: 900px) and (orientation: landscape) {
  .ps-modal-container {
    max-height: 96vh;
    gap: 0.25rem;
  }

  .ps-video-frame-container.is-video {
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    min-height: unset;
  }

  .ps-video-frame-container.is-video iframe {
    top: -46px;
    height: calc(100% + 46px);
  }
}