#promociones {
  background-color: var(--cream-main);
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;

  margin-top: -20px;

  animation: reveal-section linear both;
  animation-timeline: view();

  animation-range-start: entry 20%;
  animation-range-end: entry 80%;

  view-timeline-name: --promos;
  view-timeline-axis: block;

  clip-path: ellipse(140% 100% at 50% 100%);


  h1 {
    text-transform: uppercase;
    font-family: var(--title);
    font-weight: normal;
    font-size: 40px;
  }

  p {
    margin-top: -20px;
    width: 80%;
    font-size: 25px;

    background: linear-gradient(
      120deg,
      #000000 0%,
      #000000 35%,
      var(--purple-main) 45%,
      #000000 55%,
      #000000 100%
    );

    background-size: 250% auto;

    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;

    animation: shine-text 6s linear infinite;
  }
}

@keyframes reveal-section {
  from {
    opacity: 0;
    transform: translateY(200px) scale(0.9);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/*===========================================*/

#thursday-promo {
  width: 100%;
  height: 60%;
  background-image: url("/images/bubble_circles/background-circles.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/* ========================= */

#bubble-tea-1,
#bubble-tea-2 {
  width: 330px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 20px;

  filter: drop-shadow(-10px 10px 5px rgba(0, 0, 0, 0.64));

  animation-timeline: view();
  animation-fill-mode: both;
  animation-duration: 1ms;

  /* controla cuándo empieza y termina */
  animation-range: entry 50% cover 60%;
}

/* ========================= */

#bubble-tea-1,
#bubble-tea-2 {

  animation-duration: 10ms;
  animation-fill-mode: both;

  /* usar timeline del section */
  
  animation-timeline: --promos;

  animation-range: entry 10% cover 50%;
}

#bubble-tea-1 {
  animation-name: bubble-left;
}

#bubble-tea-2 {
  animation-name: bubble-right;
}

@keyframes bubble-left {
  from {
    opacity: 0;
    transform: translate(-500px, -40px) rotate(-10deg);
  }

  to {
    opacity: 1;
    transform: translate(130px, -60px) rotate(-10deg);
  }
}

@keyframes bubble-right {
  from {
    opacity: 0;
    transform: translate(500px, -10px) rotate(10deg);
  }

  to {
    opacity: 1;
    transform: translate(-130px, -40px) rotate(10deg);
  }
}
