/* Index (Home) - estilos específicos da página */

/* Prevenção de overflow horizontal */
.container,
.main-content {
  overflow-x: hidden;
}

/* Enhanced mobile overflow prevention */
@media (max-width: 768px) {
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    /* Evitar transformações que afetem elementos fixos como o header */
  }
  
  /* Ensure proper stacking context */
  section {
    position: relative;
    z-index: 1;
    /* CSS Containment for performance */
    contain: layout style paint;
  }
  
  .noticias-carousel,
  .videos-carousel,
  .carousel-track {
    width: 100%;
    max-width: 100%;
    /* Optimize compositing layers */
    will-change: transform;
    transform: translateZ(0);
  }
  
  .carousel-track-inner {
    /* Ensure carousel doesn't exceed viewport */
    min-width: 0;
    contain: layout;
    touch-action: pan-x;
    /* Ensure proper interaction */
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Hero content mobile improvements */
  .hero-content-main {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
    /* Optimize rendering */
    contain: layout style;
    transform: translateZ(0);
  }
  
  /* Better touch targets for mobile */
  .carousel-item,
  .video-item {
    -webkit-tap-highlight-color: transparent;
    /* Allow pan for swipe gestures */
    touch-action: pan-y pinch-zoom;
    /* GPU acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  /* Permitir gestos de swipe nos carrosséis */
  .carousel-track,
  .videos-carousel .carousel-track {
    touch-action: pan-x pan-y;
  }
  
  
  /* Disable hover effects on mobile to prevent performance issues */
  .produto-card:hover,
  .btn:hover,
  .card-link:hover {
    transform: none !important;
    transition: none !important;
  }
  
  /* Optimize scroll performance */
  .hero,
  .produtos,
  .sobre,
  .noticias,
  .contato {
    contain: layout;
    transform: translateZ(0);
  }
  
  /* Optimize animations for mobile */
  * {
    animation-duration: 0.3s !important;
    transition-duration: 0.3s !important;
  }
  
  /* Preservar funcionalidade de clique nos elementos interativos */
  .video-item,
  .carousel-item,
  .carousel-btn,
  .play-overlay {
    pointer-events: auto !important;
    cursor: pointer;
  }
  
  .video-item {
    -webkit-tap-highlight-color: rgba(44, 90, 160, 0.3);
  }
}

/* Hero principal com glassmorphism */
.hero-background-main {
  background-image: url('../images/banners/sala-de-musicoterapia.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay-main {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(44, 90, 160, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content-main {
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.65) 0%, rgba(74, 123, 200, 0.55) 100%);
  padding: 4rem 3rem;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.15);
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .hero-content-main {
    padding: 2.5rem 2rem;
  }
}

/* Sobre (full width) e Carrossel de Notícias */
.sobre-full .sobre-text-full {
  max-width: 100%;
}
.sobre-full .container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.25rem;
}

.sobre-full .sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.sobre-news { margin-top: 1.5rem; width: 100%; }

.sobre-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1rem 0 0.5rem;
  justify-content: center; /* centraliza o título */
}

.sobre-tagline h3 {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
  color: var(--primary-color);
  margin: 0;
  white-space: nowrap;
}

.sobre-tagline::before,
.sobre-tagline::after {
  content: '';
  height: 1px;
  background: var(--gray-300);
  flex: 1;
  opacity: 0.9;
}

/* Centraliza o título principal da seção Sobre */
.sobre-full .sobre-text-full .section-title {
  text-align: center;
}

.noticias-carousel {
  position: relative;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  /* Touch improvements */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.carousel-btn:hover { background: var(--gray-100); }

/* Mobile improvements for carousel buttons */
@media (max-width: 768px) {
  .carousel-btn {
    width: 44px;
    height: 44px;
    /* Increase touch target for better accessibility */
    min-width: 44px;
    min-height: 44px;
  }
}

.carousel-track {
  overflow: hidden;
  /* Touch improvements */
  touch-action: pan-x;
}

.carousel-track-inner {
  display: flex;
  gap: 8px;
  will-change: transform;
  transition: transform 0.4s ease;
  /* Prevent text selection during swipe */
  -webkit-user-select: none;
  user-select: none;
}

.carousel-item { 
  flex: 0 0 auto; 
  border-radius: 10px; 
  overflow: hidden; 
  background: var(--gray-200); 
  box-shadow: var(--shadow-base); 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
}

.carousel-item img { 
  height: clamp(120px, 18vw, 200px); 
  width: auto; 
  object-fit: contain; 
  display: block; 
  cursor: zoom-in; 
  /* Better image rendering - Edge compatible */
  image-rendering: -webkit-optimize-contrast;
}

/* Mobile optimizations for carousel images */
@media (max-width: 768px) {
  .carousel-item img {
    height: clamp(100px, 20vw, 160px);
    max-width: 80vw;
  }
  
  .carousel-item {
    min-width: 140px;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .carousel-item img {
    height: clamp(80px, 22vw, 140px);
    max-width: 75vw;
  }
  
  .carousel-item {
    min-width: 120px;
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .sobre-full .sobre-stats { 
    grid-template-columns: 1fr 1fr 1fr; 
  }
  
  /* Better spacing for mobile sections */
  .produtos,
  .sobre-full,
  .contato {
    padding: 2rem 0;
  }
  
  /* Fix section-header z-index on mobile */
  .produtos .section-header {
    position: relative;
    z-index: 50;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    border-radius: 8px;
  }
  
  .produtos-grid {
    gap: 1.5rem;
  }
  
  .produto-card {
    margin-bottom: 1rem;
  }
}

  /* Evita deslocamento vertical dos cards durante a animação inicial */
  .produtos-grid .produto-card[data-aos="fade-up"] {
    --aos-translate-distance: 0px;
  }

/* Lightbox para imagens do carrossel de notícias */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-base);
}

.lightbox-close:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Sobre Videos Section */
.sobre-videos {
  margin-top: 2rem;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  text-align: center;
}

/* Força visibilidade dos cards de vídeo */
.carousel-item.video-item {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.sobre-videos .sobre-tagline h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.videos-tagline-subtitle {
  color: var(--gray-600);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Videos Grid com iframes embutidos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.video-card-embed {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.video-card-embed:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-embed .video-info {
  padding: 1rem 1.25rem;
  background: var(--white);
}

.video-card-embed .video-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.video-card-embed .video-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Responsividade do grid de vídeos */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .video-card-embed .video-info {
    padding: 0.875rem 1rem;
  }
  
  .video-card-embed .video-info h4 {
    font-size: 0.95rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Videos Carousel na seção Sobre */
.sobre-videos .videos-carousel {
  position: relative;
  margin-bottom: 2rem;
  padding: 0 clamp(20px, 4vw, 60px);
  overflow-x: hidden;
  min-height: 300px;
}

.sobre-videos .carousel-track {
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.sobre-videos .carousel-track-inner {
  display: flex !important;
  transition: transform 0.4s ease-in-out;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  align-items: stretch;
  transform: translateX(0);
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 250px;
}

/* Garante que sempre haja espaço para pelo menos um card */
@media (max-width: 320px) {
  .video-item {
    width: calc(100vw - 40px) !important;
    min-width: 280px !important;
    max-width: calc(100vw - 40px) !important;
  }
  
  .sobre-videos .videos-carousel {
    padding: 0 5px;
  }
}

/* Video Thumbnails */
.video-item {
  flex: 0 0 auto;
  width: clamp(250px, calc(25vw - 20px), 320px);
  min-width: 250px;
  max-width: 320px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block !important;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Mobile optimizations for video items */
@media (max-width: 768px) {
  .video-item {
    width: clamp(200px, calc(70vw - 20px), 280px);
    min-width: 200px;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .video-item {
    width: clamp(180px, calc(80vw - 20px), 240px);
    min-width: 180px;
    max-width: 240px;
  }
  
  .play-overlay {
    width: 50px;
    height: 50px;
  }
  
  .play-overlay i {
    font-size: 18px;
  }
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: var(--gray-100);
  display: block;
  border: 1px solid #ddd;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  z-index: 1;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 1;
}

.video-item:hover .play-overlay {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  min-height: 80px;
  display: block;
}

.video-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover effects for better interaction */
.video-item:hover .video-info h4 {
  color: var(--secondary-color);
}

.video-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.video-description {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.video-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.stat-badge i {
  font-size: 0.875rem;
}

/* Videos Carousel Navigation */
.videos-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.videos-carousel .carousel-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.videos-carousel .carousel-btn:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

.videos-carousel .carousel-btn.prev {
  left: 5px;
}

.videos-carousel .carousel-btn.next {
  right: 5px;
}

/* Mobile improvements for video carousel buttons */
@media (max-width: 768px) {
  .videos-carousel .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    /* Better positioning for mobile */
    z-index: 20;
  }
  
  .videos-carousel .carousel-btn.prev {
    left: 2px;
  }
  
  .videos-carousel .carousel-btn.next {
    right: 2px;
  }
}

/* Video Indicators */
.videos-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.indicator:hover {
  background: var(--primary-color);
  opacity: 0.7;
}

/* Videos CTA */
.videos-cta {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary-color);
  color: var(--white);
}

.modal-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.experience-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin: 1rem auto;
  text-align: center;
  width: fit-content;
  max-width: fit-content;
}

.experience-badge i {
  font-size: 1.25rem;
  color: #FFD700;
}

.videos-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 0.875rem 2rem;
}

.videos-cta .btn i {
  font-size: 1.2rem;
}

/* Responsive adjustments for videos */
@media (max-width: 1024px) {
  .sobre-videos .carousel-btn.prev {
    left: 3px;
  }
  
  .sobre-videos .carousel-btn.next {
    right: 3px;
  }
  
  .modal-content {
    max-width: 95vw;
  }
}

@media (max-width: 768px) {
  .sobre-videos {
    margin-top: 1.5rem;
  }
  
  .sobre-videos .sobre-tagline h3 {
    font-size: 1.5rem;
  }
  
  .sobre-videos .videos-carousel {
    padding: 0 clamp(15px, 3vw, 40px);
  }
  
  .videos-tagline-subtitle {
    font-size: 1.08rem;
    margin-bottom: 1rem;
  }
  
  .sobre-videos .carousel-track-inner {
    gap: 0.75rem;
  }
  
  .video-item {
    width: clamp(200px, calc(30vw - 15px), 260px);
    min-width: 200px;
    max-width: 260px;
  }
  
  .video-info {
    padding: 0.75rem;
  }
  
  .video-info h4 {
    font-size: 0.9rem;
  }
  
  .video-info p {
    font-size: 0.8rem;
  }
  
  .play-overlay {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .sobre-videos .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .sobre-videos .carousel-btn.prev {
    left: 2px;
  }
  
  .sobre-videos .carousel-btn.next {
    right: 2px;
  }
  
  .experience-badge {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    text-align: center;
  }
  
  .modal-content {
    max-width: 98vw;
    max-height: 85vh;
  }
  
  .modal-close {
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sobre-videos .videos-carousel {
    padding: 0 10px;
  }
  
  .video-item {
    width: clamp(150px, calc(85vw - 20px), 180px);
    min-width: 150px;
    max-width: 180px;
  }
  
  .sobre-videos .carousel-track-inner {
    gap: 0.5rem;
  }
  
  .sobre-videos .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .sobre-videos .carousel-btn.prev {
    left: 1px;
  }
  
  .sobre-videos .carousel-btn.next {
    right: 1px;
  }
  
  .video-info {
    padding: 0.625rem;
  }
  
  .video-info h4 {
    font-size: 0.85rem;
  }
  
  .video-info p {
    font-size: 0.75rem;
  }
  
  .play-overlay {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .experience-badge {
    font-size: 0.8rem;
    padding: 0.625rem 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .modal-content {
    max-width: 95vw;
    max-height: 80vh;
  }
}
