
/*------------------- PROMO CONGELADOS --------------------*/
/* FREEZE SCREEN */

#freeze-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(200,240,255,.6),
    rgba(174,211,250,.9)
  );
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

#freeze-screen.active {
  opacity: 1;
  pointer-events: all;
  animation: freezeIn 1.2s ease-out forwards;
}

@keyframes freezeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* COPOS INDIVIDUALES */

#freeze-screen .snowflake {
  position: absolute;
  background: url("../img/CopoN.svg") no-repeat center / contain;
  pointer-events: none;
  animation: snowFloat 7s ease-in-out infinite;
}

#freeze-screen .snow-1 {
  top: 10%;
  left: 6%;
  width: 140px;
  height: 140px;
}

#freeze-screen .snow-2 {
  top: 14%;
  right: 8%;
  width: 180px;
  height: 180px;
  animation-duration: 9s;
}

#freeze-screen .snow-3 {
  bottom: 12%;
  left: 10%;
  width: 120px;
  height: 120px;
  animation-duration: 8s;
}

#freeze-screen .snow-4 {
  bottom: 10%;
  right: 12%;
  width: 160px;
  height: 160px;
  animation-duration: 10s;
}

#freeze-screen .snow-5 {
  right: 20%;
  width: 100px;
  height: 100px;
  animation-duration: 10s;
}
#freeze-screen .snow-6 {
  left: 10%;
  width: 100px;
  height: 100px;
  animation-duration: 10s;
}

@keyframes snowFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

/* TEXTO CONGELADO CENTRAL */

.freeze-message h1 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 35px rgba(180,230,255,.9));
  animation: textBounce 1.2s ease-out forwards;
}

.freeze-message .line-1 {
  display: block;
  font-size: 11.7rem;
  font-weight: 400;
  color: #3579f6;
  margin-bottom: 30px;
}

.freeze-message .line-2 {
  display: block;
  font-size: 6.5rem;
  font-weight: 800;
  transform: translateY(-50px);
  color: #ffffff;
}

.freeze-message .line-3 {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 34px;
  font-size: 3.5rem;
  font-weight: 500;
  text-transform: none;
  color: #3579f6;
  background: rgba(220,240,255,.95);
  border-radius: 50px;
  box-shadow:
    0 10px 25px rgba(53,121,246,.25),
    inset 0 0 12px rgba(255,255,255,.6);
  transform: translateY(-80px);
}

/*-------- Responsive Texto y Copos -----------*/

@media (max-width: 1600px) {

  .freeze-message .line-1 { font-size: 9.5rem; }
  .freeze-message .line-2 { font-size: 5.4rem;  }
  .freeze-message .line-3 { font-size: 3rem; padding: 12px 30px;  }

  .snow-1 { width: 120px; height: 120px; }
  .snow-2 { width: 150px; height: 150px; }
  .snow-3 { width: 100px; height: 100px; }
  .snow-4 { width: 130px; height: 130px; }
}

@media (max-width: 1400px) {

  .freeze-message .line-1 { font-size: 8rem; }
  .freeze-message .line-2 { font-size: 4.8rem; margin-top: 20px;}
  .freeze-message .line-3 { font-size: 2.6rem; padding: 10px 26px;}

  .snow-1,
  .snow-2,
  .snow-3,
  .snow-4 { opacity: .8; }
}

@media (max-width: 1200px) {

  .freeze-message .line-1 { font-size: 6.8rem; }
  .freeze-message .line-2 { font-size: 4rem;  }
  .freeze-message .line-3 { font-size: 2.2rem; }

  .snow-2,
  .snow-4 { display: none; }
}

@media (max-width: 992px) {

  .freeze-message .line-1 { font-size: 5.4rem; margin-bottom: 50px;}
  .freeze-message .line-2 { font-size: 3.2rem; margin-top: 0px;}
  .freeze-message .line-3 { font-size: 1.9rem; padding: 8px 22px; }

  .snowflake { opacity: .5; }
}

@media (max-width: 768px) {

  .freeze-message .line-1 { font-size: 3.6rem; margin-bottom: 20px;}
  .freeze-message .line-2 { font-size: 2.4rem; transform: translateY(-25px); }
  .freeze-message .line-3 {
    font-size: 1.4rem;
    padding: 6px 18px;
    transform: translateY(-60px);
  }

  .snowflake {
    width: 70px !important;
    height: 70px !important;
    opacity: .35;
  }
}


/*---------------------------------------------*/

@keyframes textBounce {
  0% { transform: scale(.6); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* UNFREEZE */

#freeze-screen.unfreeze {
  animation: unfreeze 1.2s ease-in forwards;
}

@keyframes unfreeze {
  to {
    opacity: 0;
    backdrop-filter: blur(0);
  }
}

/* LOGO FLOAT CONGELADOS */

#congelados-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 250px;
  height: 250px;
  z-index: 9999;
  opacity: 0;
  transform: scale(.4);
  transition: all .9s ease;
}

#congelados-float.show {
  opacity: 1;
  transform: scale(1);
}

#congelados-float img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Halo de hielo */
.ice-glow {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(180,230,255,.6),
    transparent 70%
  );
  opacity: 0;
  filter: blur(10px);
  transition: opacity .5s ease;
  z-index: 1;
}

#congelados-float:hover .ice-glow {
  opacity: 1;
}

/* HINT CLICK AQUÍ */

.hint {
  position: absolute;
  top: -55px;
  right: 65px;
  text-align: center;
  animation: hintFloat 1.6s ease-in-out infinite;
}

.hint span {
  font-size: 30px;
  font-weight: 600;
  color: #3579f6;
  letter-spacing: 1px;
}

.arrow {
  width: 2px;
  height: 55px;
  margin: 8px auto 0;
  background: linear-gradient(
    to bottom,
    rgba(200,240,255,.9),
    rgba(200,240,255,.1)
  );
}

@keyframes hintFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hover: ocultar hint */
#congelados-float:hover .hint {
  opacity: 0;
  transform: translateY(18px);
  transition: all .4s ease;
}

/*--------------------- Responsive logo --------------------------*/
@media (max-width: 1720px) {
  #congelados-float {
    width: 200px;
    height: 200px;
  }

  .hint {
    top: -50px;
    right: 45px;
  }

  .hint span {
    font-size: 28px;
  }

  .arrow {
    height: 48px;
  }
}

@media (max-width: 1400px) {
  #congelados-float {
    width: 190px;
    height: 190px;
  }

  .hint {
    top: -40px;
    right: 55px;
  }

  .hint span {
    font-size: 20px;
  }

  .arrow {
    height: 42px;
  }
}

@media (max-width: 1200px) {
  #congelados-float {
    width: 170px;
    height: 170px;
  }

  .hint {
    top: -40px;
    right: 45px;
  }

  .hint span {
    font-size: 20px;
  }

  .arrow {
    height: 36px;
  }
}

@media (max-width: 992px) {
  #congelados-float {
    width: 150px;
    height: 150px;
  }

  .hint {
    top: -50px;
    right: 40px;
  }

  .hint span {
    font-size: 17px;
  }

  .arrow {
    height: 30px;
  }
}

@media (max-width: 768px) {
  #congelados-float {
    width: 150px;
    height: 150px;
    bottom: 15px;
    right: 15px;
  }

  .hint {
    top: -40px;
    right: 40px;
  }

  .hint span {
    font-size: 16px;
  }

  .arrow {
    height: 24px;
  }
}