
.card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #f5a623;
  transition: transform 0.3s ease, color 0.3s ease;
}

.cine-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
  transition: color 0.3s ease;
}

.cine-card p {
  font-size: 0.9rem;
  margin-bottom: 25px;
  color: #ccc;
  transition: color 0.3s ease;
}

.cine-btn {
  background: transparent;
  border: 2px solid #f5a623;
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cine-btn i {
  transition: transform 0.3s ease;
}

.cine-card:hover .card-content {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgb(0 0 0 / 30%);
}

.cine-card:hover .card-overlay { opacity: 0.7; }
.cine-card:hover .card-icon { transform: scale(1.1); color: #fff; }
.cine-card:hover h3, .cine-card:hover p { color: #fff; }
.cine-btn:hover { background: #f5a623; color: #111; }
.cine-btn:hover i { transform: translateX(3px); }

.projector-light {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 2%) 50%, rgb(255 255 255 / 0%) 100%);
  z-index: 1;
  animation: projectorScan 15s infinite linear;
  pointer-events: none;
}

.theater-curtains {
  position: relative;
  width: 100%;
  height: 100px;
  z-index: 10;
  overflow: hidden;
}

.curtain {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  transition: transform 1.5s ease-out;
}

.curtain-left {
  left: 0;
  background: linear-gradient(90deg, #000, #FBC02D);
  transform-origin: left;
}

.curtain-right {
  right: 0;
  background: linear-gradient(90deg, #FBC02D, #000);
  transform-origin: right;
}

.cinema-marquee {
  position: relative;
  height: 80px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 3px solid #FFEB3B;
}

.marquee-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 10%, #FFEB3B 150%);
  animation: marqueeGlow 3s infinite alternate;
  opacity: 0.3;
}

.marquee-title {
  position: relative;
  color: #FFEB3B;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: bold;
  text-shadow: 0 0 10px #FFF176, 0 0 20px #FFEB3B;
  z-index: 2;
  font-family: Montserrat, sans-serif;
}

.marquee-bulbs {
  position: absolute;
  bottom: -10px;
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.bulb {
  width: 20px;
  height: 20px;
  background: #FFEB3B;
  border-radius: 50%;
  box-shadow: 0 0 10px #FFEB3B, 0 0 20px #FFEB3B;
  animation: bulbFlicker 2s infinite alternate;
}

.bulb:nth-child(2n) { animation-delay: 0.5s; }

.programs-container {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(to bottom, #1a1a1a, #2a2a2a);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  overflow: hidden;
}

.programs-container::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;               /* encima del fondo pero debajo del contenido */
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.025;           /* muy bajo */
  mix-blend-mode: overlay;  /* más cinematográfico y menos impacto */
  animation: none;          /* ¡sin animación! */
  will-change: opacity;     /* solo por si acaso */
}

.programs-header {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  z-index: 4;
}

.led-marquee {
  display: inline-block;
  max-width: 700px;
  padding: 20px;
  margin-bottom: 25px;
  background: rgb(0 0 0 / 85%);
  border: 1px solid #FFEB3B;
  box-shadow: 0 0 15px rgb(255 235 59 / 20%);
}

.led-content {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.led-light {
  width: 15px;
  height: 15px;
  background: #FFEB3B;
  border-radius: 50%;
  margin: 0 10px;
  box-shadow: 0 0 10px #FFEB3B;
  animation: ledBlink 1s infinite;
}

.led-text {
  color: #FFF;
  font-size: 1.1rem;
  margin: 0;
  padding: 0 15px;
  line-height: 1.6;
  text-shadow: 0 0 5px rgb(255 235 59 / 50%);
}

.led-title {
  display: block;
  color: #FFEB3B;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.led-title span {
  animation: letterGlow 0.8s infinite alternate;
}

.led-title span:nth-child(2) { animation-delay: 0.1s; }
.led-title span:nth-child(3) { animation-delay: 0.2s; }
.led-title span:nth-child(4) { animation-delay: 0.3s; }
.led-title span:nth-child(5) { animation-delay: 0.4s; }
.led-title span:nth-child(6) { animation-delay: 0.5s; }
.led-title span:nth-child(7) { animation-delay: 0.6s; }
.led-title span:nth-child(8) { animation-delay: 0.7s; }
.led-title span:nth-child(10) { animation-delay: 0.8s; }
.led-title span:nth-child(11) { animation-delay: 0.9s; }
.led-title span:nth-child(12) { animation-delay: 1.0s; }
.led-title span:nth-child(13) { animation-delay: 1.1s; }
.led-title span:nth-child(14) { animation-delay: 1.2s; }
.led-title span:nth-child(15) { animation-delay: 1.3s; }
.led-title span:nth-child(16) { animation-delay: 1.4s; }
.led-title span:nth-child(17) { animation-delay: 1.5s; }

.small-leds {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.small-led {
  width: 8px;
  height: 8px;
  background: #FFEB3B;
  border-radius: 50%;
  box-shadow: 0 0 5px #FFEB3B;
  animation: smallLedBlink 2s infinite;
}

.small-led:nth-child(2) { animation-delay: 0.2s; }
.small-led:nth-child(3) { animation-delay: 0.4s; }
.small-led:nth-child(4) { animation-delay: 0.6s; }
.small-led:nth-child(5) { animation-delay: 0.8s; }

.spotlight {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgb(255 235 59 / 30%) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  z-index: 3;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.left-spotlight { top: -150px; left: -150px; }
.right-spotlight { bottom: -150px; right: -150px; }

.program-card {
  position: relative;
  width: 45%;
  height: 500px;
  margin: 0 2.5%;
  perspective: 1000px;
  z-index: 5;
}

.program-card .card-content {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(0 0 0 / 50%);
}

.film-strip {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22 viewBox=%220 0 100 100%22%3E%3Crect x=%220%22 y=%220%22 width=%22100%22 height=%22100%22 fill=%22none%22 stroke=%22%23FFEB3B%22 stroke-width=%222%22 stroke-dasharray=%225,5%22/%3E%3C/svg%3E');
  opacity: 0.1;
  z-index: 1;
}

.program-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease, transform 0.5s ease;
  filter: grayscale(20%) contrast(110%);
}

.program-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgb(0 0 0 / 90%), transparent);
  color: #fff;
  transform: translateY(100px);
  transition: transform 0.5s ease;
  z-index: 2;
}

.program-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #FFEB3B;
  font-family: Montserrat, sans-serif;
}

.program-overlay p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.program-card .cine-btn {
  border: 2px solid #FFEB3B;
  color: #FFEB3B;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-family: Montserrat, sans-serif;
  gap: 10px;
}

.clapboard {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 80px;
  background: #000;
  border: 3px solid #FFEB3B;
  z-index: 3;
  transform: rotate(10deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: clapboardFlip 3s infinite;
}

.clapboard-top {
  height: 30%;
  background: #FFEB3B;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.clapboard-bottom {
  height: 70%;
  color: #FFEB3B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: #FFEB3B;
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticle 10s ease-in-out infinite;
}

.why-chaplin-section {
  background: linear-gradient(135deg, #1a1a1a, #000);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.why-chaplin-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  animation: filmGrain 10s linear infinite;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.section-title h6 {
  color: #FFD700;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 50%);
  font-weight: bold;
  font-size: 2.5em;
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
}

.section-title p {
  color: #FFD700;
  font-size: 1.2em;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.feature-item {
  flex: 1 1 30%;
  margin: 15px;
  max-width: 300px;
}

.feature-card {
  background: rgb(255 255 255 / 95%);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgb(0 0 0 / 20%);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgb(255 215 0 / 30%);
  border-color: #FFD700;
}

.feature-icon {
  color: #FFD700;
  font-size: 2.5em;
  margin-bottom: 15px;
}

.feature-card h6 {
  color: #333;
  text-shadow: 1px 1px 2px rgb(0 0 0 / 10%);
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
}

.feature-card p {
  color: #555;
  font-size: 1em;
  line-height: 1.5;
}

.courses-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
  position: relative;
}

.courses-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.25' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.courses-title {
  text-align: center;
  margin-bottom: 40px;
}

.courses-title h6 {
  color: #333;
  font-size: 2.2em;
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
}

.courses-title p {
  color: #666;
  font-size: 1.1em;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.course-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgb(0 0 0 / 20%);
}

.course-figure {
  position: relative;
  overflow: hidden;
}