@font-face{font-family:Cairo;font-style:normal;font-weight:400 900;font-display:swap;src:url(assets/fonts/cairo-variable-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Cairo;font-style:normal;font-weight:400 900;font-display:swap;src:url(assets/fonts/cairo-variable-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/barlow-condensed-600-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/barlow-condensed-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/barlow-condensed-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/barlow-condensed-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Berkshire Swash";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/berkshire-swash-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Berkshire Swash";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/berkshire-swash-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --naranja: #ff5100;
  --naranja-luz: #ff7a33;
  --naranja-hondo: #c93b00;
  --naranja-tinta: #b83600;
  --navy: #0f1820;
  --navy-suave: #3d4a57;
  --crema: #fff7ea;
  --crema-hondo: #f3e2c6;
  --oro: #e8c277;
  --oro-luz: #fff1c4;
  --oro-hondo: #b8862e;
  --rojo: #b3121d;
  --rojo-hondo: #8e0f18;
  --pino: #0d2f26;
  --pino-noche: #06140f;
  --titulos: Cairo, "Segoe UI", system-ui, sans-serif;
  --cifras: "Barlow Condensed", "Arial Narrow", sans-serif;
  --festiva: "Berkshire Swash", Cairo, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--pino-noche);
  color: #fff;
  font-family: var(--titulos);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-synthesis: none;
}

h1,
h2,
p {
  margin: 0;
}

img,
svg {
  display: block;
}

.ceja {
  font-family: var(--cifras);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rueda {
  position: relative;
  aspect-ratio: 1;
  flex: none;
}

.rueda__guirnalda {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
}

.rueda__sombra {
  position: absolute;
  left: 7%;
  top: 11%;
  width: 86%;
  height: 86%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.74) 80%, rgba(0, 0, 0, 0) 100%);
}

.rueda__adorno {
  display: none;
  position: absolute;
  height: auto;
  pointer-events: none;
}

.rueda__adorno--izquierda,
.rueda__adorno--derecha {
  bottom: 7%;
  width: 24%;
}

.rueda__adorno--izquierda {
  left: 1%;
}

.rueda__adorno--derecha {
  right: 1%;
}

.rueda__adorno--franja {
  left: 24%;
  bottom: 2.5%;
  width: 52%;
}

.regalo-festejo {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.festejo .regalo-festejo {
  animation: sube 700ms cubic-bezier(0.16, 1, 0.3, 1) 900ms both;
}

.festejo .regalo-festejo--derecha {
  animation-delay: 1050ms;
}

.rueda__cuerpo {
  position: absolute;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
}

.rueda__cuerpo::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 190, 90, 0) 82%, rgba(255, 196, 100, 0.5) 88%, rgba(255, 170, 60, 0.16) 95%, rgba(255, 170, 60, 0) 100%);
}

.rueda__aro {
  position: absolute;
  left: 0.49%;
  top: 0.39%;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rueda__centro {
  position: absolute;
  left: 41.9%;
  top: 41.9%;
  width: 16.2%;
  height: 16.2%;
}

.rueda__centro-arte {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rueda__centro-simbolo {
  position: absolute;
  left: 29%;
  top: 29%;
  width: 42%;
  height: 42%;
  fill: var(--naranja);
}

.rueda__capa,
.rueda__giro {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rueda__capa--encima {
  pointer-events: none;
}

.rueda__giro {
  transform: rotate(0deg);
}

.rueda__puntero {
  position: absolute;
  left: 50%;
  top: -16.4%;
  width: 24.5%;
  aspect-ratio: 388 / 560;
  margin-left: -12.05%;
  transform-origin: 48.4% 9%;
}

.rueda__puntero-arte {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rueda__puntero-simbolo {
  position: absolute;
  left: 34.4%;
  top: 36%;
  width: 28%;
  height: 19.4%;
  fill: #fff;
}

.rueda__acebo {
  position: absolute;
  left: 19%;
  top: -4%;
  width: 62%;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 0.4em 0.5em rgba(40, 4, 6, 0.55));
  pointer-events: none;
}

.rueda--girando .rueda__giro,
.rueda--girando .rueda__puntero {
  will-change: transform;
}

.rueda__barrido {
  position: absolute;
  inset: 12.6%;
  border-radius: 50%;
  opacity: 0;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg 5deg, rgba(255, 255, 255, 0.22) 6deg, rgba(255, 255, 255, 0) 7.5deg 12deg),
    repeating-conic-gradient(from 0deg, #ff7a2e 0deg, #ffd9b0 30deg, #ffeedd 60deg, #ffd9b0 90deg, #ff7a2e 120deg);
  pointer-events: none;
}

.sonido {
  position: absolute;
  right: 6px;
  top: max(4px, env(safe-area-inset-top));
  z-index: 6;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--oro-luz);
  cursor: pointer;
}

.sonido__icono {
  width: 26px;
  height: 26px;
  margin: 9px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sonido__ondas,
.sonido__tache {
  fill: none;
}

.sonido[aria-pressed="true"] .sonido__tache,
.sonido[aria-pressed="false"] .sonido__ondas {
  display: none;
}

.sonido[aria-pressed="false"] {
  color: rgba(255, 241, 196, 0.6);
}

.sonido:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 1px;
}

.rueda__nombre {
  font-family: var(--cifras);
  font-weight: 700;
  font-size: 41px;
  letter-spacing: 1.6px;
  fill: #fff;
}

.rueda__gajo--claro .rueda__nombre {
  fill: var(--navy);
}

.rueda__foco {
  opacity: 0.3;
}

.rueda--girando .rueda__foco {
  transition: opacity 140ms linear;
}

.rueda--girando .rueda__foco--a,
.rueda--girando.rueda--par .rueda__foco--b {
  opacity: 1;
}

.rueda--girando .rueda__foco--b,
.rueda--girando.rueda--par .rueda__foco--a {
  opacity: 0.06;
}

.rueda__gana {
  opacity: 0;
}

.rueda__gajo--gana .rueda__gana {
  animation:
    gana 300ms ease-in-out 3,
    queda 320ms ease-out 900ms forwards;
}

.rueda--premiada .rueda__puntero {
  animation: asienta 640ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.rueda--premiada .rueda__foco {
  animation: ola 380ms ease-in-out var(--ola, 0ms) 2;
}

.rueda--premiada .rueda__cuerpo {
  animation: latido 420ms cubic-bezier(0.2, 1.5, 0.4, 1);
}

.rueda__tajo {
  position: absolute;
  inset: 12.6%;
  border-radius: 50%;
  background: rgba(3, 9, 7, 0.74);
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%);
  opacity: 0;
  pointer-events: none;
}

.tension .rueda--premiada .rueda__tajo {
  opacity: 1;
  transition: opacity 240ms ease-out;
}

.tension .rueda--premiada .rueda__cuerpo {
  animation: corazon 760ms cubic-bezier(0.3, 0.7, 0.4, 1) 60ms both;
  will-change: transform;
}

.tension .rueda--premiada .rueda__foco {
  animation: carrera 340ms linear calc(var(--ola, 0ms) * 0.5) 2;
}

@keyframes corazon {
  0% {
    transform: scale(1);
  }
  16% {
    transform: scale(1.055);
  }
  32% {
    transform: scale(0.995);
  }
  48% {
    transform: scale(1.035);
  }
  70%,
  100% {
    transform: scale(1);
  }
}

@keyframes carrera {
  0%,
  100% {
    opacity: 0.25;
  }
  30% {
    opacity: 1;
  }
}

@keyframes ola {
  0%,
  100% {
    opacity: 0.3;
  }
  45% {
    opacity: 1;
  }
}

@keyframes gana {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.78;
  }
}

@keyframes queda {
  to {
    opacity: 0.34;
  }
}

@keyframes asienta {
  0% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(5deg);
  }
  72% {
    transform: rotate(-2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes latido {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}

.titular {
  font-family: var(--cifras);
  font-weight: 700;
  line-height: 0.94;
  text-transform: uppercase;
}

.titular__uno,
.titular__dos {
  display: block;
}

.titular__uno {
  font-size: 0.56em;
  letter-spacing: 0.075em;
  color: var(--oro-luz);
  text-shadow:
    0 0.05em 0 rgba(0, 0, 0, 0.45),
    0 0.16em 0.5em rgba(0, 0, 0, 0.6);
}

.titular__dos {
  margin-top: 0.04em;
  letter-spacing: 0.012em;
  color: var(--naranja);
  text-shadow:
    0 0.03em 0 #d9361a,
    0 0.055em 0 var(--rojo),
    0 0.08em 0 var(--rojo-hondo),
    0 0.18em 0.3em rgba(40, 4, 6, 0.65),
    0 0 0.7em rgba(255, 110, 50, 0.35);
}

.titular__dos.titular__nombre {
  position: relative;
  margin-top: 0.02em;
  padding-bottom: 0.1em;
  font-family: var(--festiva);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: break-word;
  text-shadow:
    -0.014em -0.014em 0 #ffd98a,
    0.014em -0.014em 0 #ffd98a,
    0 0.03em 0 #d9361a,
    0 0.055em 0 var(--rojo),
    0 0.09em 0 var(--rojo-hondo),
    0 0.19em 0.3em rgba(40, 4, 6, 0.7),
    0 0 0.7em rgba(255, 120, 60, 0.4);
}

.titular__dos.titular__nombre::after {
  content: attr(data-texto);
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 252, 236, 0.96) 50%, rgba(255, 255, 255, 0) 60%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  opacity: 0;
  pointer-events: none;
}

.filete {
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: var(--oro);
}

.filete::before,
.filete::after {
  content: "";
  flex: 1;
  height: 0.3em;
  min-height: 3px;
  background:
    linear-gradient(90deg, rgba(232, 194, 119, 0), var(--oro)) top / 100% 40% no-repeat,
    linear-gradient(90deg, rgba(179, 18, 29, 0), var(--rojo) 70%, #d9361a) bottom / 100% 34% no-repeat;
}

.filete::after {
  background:
    linear-gradient(90deg, var(--oro), rgba(232, 194, 119, 0)) top / 100% 40% no-repeat,
    linear-gradient(90deg, #d9361a, var(--rojo) 30%, rgba(179, 18, 29, 0)) bottom / 100% 34% no-repeat;
}

.filete__rombo {
  width: 0.9em;
  height: 0.9em;
  background: radial-gradient(circle at 35% 30%, #f2433f 0%, var(--rojo) 55%, var(--rojo-hondo) 100%);
  box-shadow:
    0 0 0 0.14em var(--oro),
    0 0 0 0.24em var(--rojo-hondo),
    0 0 0.9em rgba(217, 54, 26, 0.6);
  transform: rotate(45deg);
}

.liston {
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 0.25em 0.3em rgba(60, 20, 0, 0.35));
}

.liston::before {
  content: "";
  position: absolute;
  inset: -0.14em -0.3em;
  z-index: -1;
  background: linear-gradient(180deg, #fff8dc 0%, #e8c277 45%, #a9781f 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.82em) 50%, 100% 100%, 0 100%, 0.82em 50%);
}

.liston::after {
  content: "";
  position: absolute;
  inset: 0.3em -0.3em -0.34em;
  z-index: -2;
  background: #5e0a10;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.82em) 50%, 100% 100%, 0 100%, 0.82em 50%);
}

.liston__texto {
  display: block;
  padding: 0.34em 1.7em 0.26em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(90deg, var(--rojo-hondo) 0%, var(--rojo) 22%, #d9361a 50%, var(--rojo) 78%, var(--rojo-hondo) 100%);
  text-shadow: 0 0.08em 0 rgba(60, 4, 8, 0.6);
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.7em) 50%, 100% 100%, 0 100%, 0.7em 50%);
  color: #fff;
  font-family: var(--cifras);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.trofeo {
  position: relative;
  aspect-ratio: 1;
  flex: none;
}

.trofeo__rayos {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 204, 110, 0.34) 0deg 6deg, rgba(255, 196, 92, 0) 6deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 96%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 96%);
}

.trofeo::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 196, 100, 0.42) 0%, rgba(255, 160, 50, 0.16) 55%, rgba(255, 160, 50, 0) 100%);
}

.trofeo__onda {
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  border: 0.4em solid #ffe6a6;
  opacity: 0;
}

.trofeo__guirnalda {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trofeo__estallido {
  position: absolute;
  left: -32%;
  top: -32%;
  width: 164%;
  height: 164%;
  max-width: none;
  pointer-events: none;
}

.trofeo__estallido:not([src]) {
  visibility: hidden;
}

.fuego {
  position: absolute;
  height: auto;
  opacity: 0;
  pointer-events: none;
}

.trofeo__sombra {
  position: absolute;
  left: 15%;
  top: 18%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7) 78%, rgba(0, 0, 0, 0) 100%);
}

.trofeo__plato {
  position: absolute;
  left: 19%;
  top: 19%;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 26%, #fff 0%, #fff8ec 52%, #efdcc0 100%);
  border: 0.3em solid var(--oro);
  box-shadow:
    inset 0 0 0 0.09em #fff8dc,
    inset 0 0 0 0.2em rgba(169, 120, 31, 0.75),
    0 0 0 0.07em #f6dc98,
    0 0 0 0.3em var(--rojo),
    0 0 0 0.37em #7a4f10,
    0 0 1.8em rgba(255, 140, 80, 0.6);
  display: grid;
  place-items: center;
}

.trofeo__plato::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 13%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 24, 32, 0.34), rgba(15, 24, 32, 0));
}

.trofeo__foto {
  position: relative;
  z-index: 1;
  width: 74%;
  height: 70%;
  object-fit: contain;
}

.trofeo__caja {
  position: absolute;
  left: 28%;
  top: 27.7%;
  width: 44%;
  height: auto;
  max-width: none;
  opacity: 0;
  transform-origin: 50% 80%;
  filter: drop-shadow(0 0 0.9em rgba(255, 200, 100, 0.7)) drop-shadow(0 0.4em 0.6em rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.trofeo__luz {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fffdf2 0%, rgba(255, 246, 214, 0.96) 16%, rgba(255, 218, 140, 0.72) 34%, rgba(255, 168, 70, 0.3) 60%, rgba(255, 150, 50, 0) 100%);
  opacity: 0;
  pointer-events: none;
}

.trofeo__luz::after {
  content: "";
  position: absolute;
  inset: 14%;
  background: radial-gradient(circle, #fff 0%, #fff3c4 34%, var(--oro-luz) 60%, rgba(255, 214, 120, 0) 100%);
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%);
}

.destello {
  position: absolute;
  width: 1em;
  height: 1em;
  background: radial-gradient(circle, #fff 0%, var(--oro-luz) 40%, var(--oro) 100%);
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
}

.destello--1 {
  left: 6%;
  top: 14%;
  font-size: 1.5em;
}

.destello--2 {
  right: 4%;
  top: 22%;
  font-size: 2.1em;
}

.destello--3 {
  right: 16%;
  bottom: 6%;
  font-size: 1.2em;
}

.destello--4 {
  left: 12%;
  bottom: 12%;
  font-size: 1.8em;
}

.destello--5 {
  left: 30%;
  top: 2%;
  font-size: 1.1em;
}

.destello--6 {
  right: 2%;
  bottom: 30%;
  font-size: 1.5em;
}

.confeti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.velo {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, #fffbe9 0%, #ffe3a0 22%, #ffab45 48%, #ff6a12 74%, #e04a00 100%);
}

.velo--tapa {
  opacity: 1;
}

.velo--pasa {
  animation: velo-pasa 1000ms ease-out both;
}

.velo--abre {
  animation: velo-abre 700ms ease-out both;
}

.velo--estalla {
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #fffdf2 0%, #fff3cc 12%, rgba(255, 214, 128, 0.94) 26%, rgba(255, 150, 50, 0.72) 46%, rgba(230, 80, 0, 0.42) 70%, rgba(150, 40, 0, 0.2) 100%);
  animation: velo-estalla 620ms ease-out both;
  will-change: opacity;
}

@keyframes velo-estalla {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  28% {
    opacity: 1;
  }
  36% {
    opacity: 1;
    animation-timing-function: cubic-bezier(0.3, 0, 0.4, 1);
  }
  100% {
    opacity: 0;
  }
}

@keyframes velo-pasa {
  0% {
    opacity: 0;
  }
  32% {
    opacity: 1;
  }
  42% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes velo-abre {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.festejo .trofeo__rayos {
  animation: rayos 1700ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.festejo .trofeo::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 196, 100, 0.42) 0%, rgba(255, 160, 50, 0.16) 55%, rgba(255, 160, 50, 0) 100%);
}

.trofeo__onda {
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  border: 0.4em solid #ffe6a6;
  box-shadow: 0 0 1.2em rgba(255, 214, 120, 0.8), inset 0 0 1em rgba(255, 214, 120, 0.6);
  opacity: 0;
}

.trofeo__guirnalda {
  animation: corona 1050ms cubic-bezier(0.16, 1, 0.3, 1) 40ms both;
}

.festejo .trofeo__estallido {
  animation: estallido 5300ms linear both;
  will-change: transform, opacity;
}

.festejo .trofeo__sombra {
  animation: aparece 600ms ease-out 300ms both;
}

.festejo .trofeo__plato {
  animation: plato 640ms cubic-bezier(0.2, 1.35, 0.4, 1) 90ms both;
  will-change: transform;
}

.festejo .trofeo__foto {
  animation: sale 1050ms linear 90ms both;
  will-change: transform, opacity;
}

.caja .trofeo > :not(.trofeo__caja),
.caja .regalo-festejo,
.caja .titular--premio,
.caja .placa-premio,
.caja .placa-premio__comparte {
  visibility: hidden;
  animation: none;
}

.caja .trofeo__caja {
  animation: caja-late 760ms linear both;
  will-change: transform, opacity;
}

.festejo .trofeo__caja {
  animation: caja-abre 340ms linear both;
  will-change: transform, opacity;
}

.festejo .trofeo__luz {
  animation: luz 680ms linear both;
  will-change: transform, opacity;
}

.festejo .fuego {
  animation: fuego 1500ms linear both;
  will-change: transform, opacity;
}

.festejo .destello {
  animation: chispa 700ms cubic-bezier(0.2, 1.6, 0.4, 1) 1300ms both;
}

.festejo .destello--2 {
  animation-delay: 1500ms;
}

.festejo .destello--3 {
  animation-delay: 1700ms;
}

.festejo .destello--4 {
  animation-delay: 1900ms;
}

.festejo .destello--5 {
  animation-delay: 2050ms;
}

.festejo .destello--6 {
  animation-delay: 2200ms;
}

.festejo .trofeo::before {
  animation: aparece 900ms ease-out 120ms both;
}

.festejo .trofeo__onda {
  animation: onda 1000ms cubic-bezier(0.16, 1, 0.3, 1) 60ms both;
  will-change: transform, opacity;
}

.festejo .trofeo__onda--2 {
  animation-delay: 330ms;
}

.festejo .titular--premio .titular__uno {
  animation: golpe 520ms cubic-bezier(0.2, 1.5, 0.4, 1) 420ms both;
}

.festejo .titular--premio .titular__dos {
  animation: brinco 720ms cubic-bezier(0.2, 1.6, 0.35, 1) 700ms both;
}

.festejo .titular__dos.titular__nombre::after {
  animation:
    brillo 1000ms ease-in-out 1450ms both,
    brillo 1400ms ease-in-out 3900ms;
}

.festejo .placa-premio {
  animation: sube 620ms cubic-bezier(0.16, 1, 0.3, 1) 1200ms both;
}

.festejo .placa-premio .liston {
  animation: brinco 520ms cubic-bezier(0.2, 1.6, 0.35, 1) 1550ms both;
}

.festejo .placa-premio__nombre {
  animation: entra 460ms cubic-bezier(0.16, 1, 0.3, 1) 1620ms both;
}

.festejo .placa-premio__frase {
  animation: entra 520ms cubic-bezier(0.16, 1, 0.3, 1) 2050ms both;
}

.festejo .placa-premio__sigue {
  animation: aparece 500ms ease-out 2450ms both;
}

.festejo .placa-premio__comparte {
  animation: entra 520ms cubic-bezier(0.16, 1, 0.3, 1) 2800ms both;
}

@keyframes estallido {
  0% {
    opacity: 0;
    transform: rotate(-72deg) scale(0.12);
    animation-timing-function: cubic-bezier(0.2, 1.3, 0.4, 1);
  }
  13% {
    opacity: 1;
    transform: rotate(-60deg) scale(1.08);
    animation-timing-function: ease-in-out;
  }
  22% {
    opacity: 1;
    transform: rotate(-54deg) scale(1);
    animation-timing-function: cubic-bezier(0.3, 0.1, 0.35, 1);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes fuego {
  0% {
    opacity: 0;
    transform: scale(0.08);
    animation-timing-function: cubic-bezier(0.1, 0.9, 0.3, 1);
  }
  10% {
    opacity: 1;
  }
  52% {
    opacity: 0.96;
    transform: scale(1);
    animation-timing-function: ease-in;
  }
  100% {
    opacity: 0;
    transform: translateY(7%) scale(1.1);
  }
}

@keyframes brillo {
  0% {
    opacity: 1;
    background-position: 100% 0;
  }
  100% {
    opacity: 1;
    background-position: 0 0;
  }
}

@keyframes sacude {
  0%,
  100% {
    transform: translate(0, 0);
  }
  15% {
    transform: translate(-3px, 2px);
  }
  30% {
    transform: translate(3px, -2px);
  }
  45% {
    transform: translate(-2px, -1px);
  }
  60% {
    transform: translate(2px, 1px);
  }
  80% {
    transform: translate(-1px, 0);
  }
}

@keyframes onda {
  0% {
    opacity: 1;
    transform: scale(0.45);
  }
  100% {
    opacity: 0;
    transform: scale(2.7);
  }
}

@keyframes rayos {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(-50deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes corona {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes plato {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes caja-late {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.45);
    animation-timing-function: cubic-bezier(0.2, 1.5, 0.4, 1);
  }
  24% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    animation-timing-function: ease-in-out;
  }
  34% {
    transform: rotate(-7deg) scale(1.05);
    animation-timing-function: ease-in-out;
  }
  44% {
    transform: rotate(6deg) scale(1.01);
    animation-timing-function: ease-in-out;
  }
  54% {
    transform: rotate(-6deg) scale(1.09);
    animation-timing-function: ease-in-out;
  }
  64% {
    transform: rotate(5deg) scale(1.05);
    animation-timing-function: ease-in-out;
  }
  74% {
    transform: rotate(-4deg) scale(1.13);
    animation-timing-function: ease-in-out;
  }
  84% {
    transform: rotate(3deg) scale(1.1);
    animation-timing-function: ease-in;
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1.2);
  }
}

@keyframes caja-abre {
  0% {
    opacity: 1;
    transform: perspective(40em) rotateY(0deg) scale(1.2);
    animation-timing-function: cubic-bezier(0.55, 0, 0.8, 0.5);
  }
  65% {
    opacity: 1;
    transform: perspective(40em) rotateY(78deg) scale(1.45);
  }
  100% {
    opacity: 0;
    transform: perspective(40em) rotateY(90deg) scale(1.55);
  }
}

@keyframes luz {
  0% {
    opacity: 0;
    transform: rotate(-35deg) scale(0.3);
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1);
  }
  20% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    animation-timing-function: ease-out;
  }
  100% {
    opacity: 0;
    transform: rotate(25deg) scale(1.5);
  }
}

@keyframes sale {
  0% {
    opacity: 0;
    transform: translateY(4%) scale(0.12);
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.35, 1);
  }
  14% {
    opacity: 1;
  }
  52% {
    transform: translateY(0) scale(1.17);
    animation-timing-function: ease-in-out;
  }
  74% {
    transform: translateY(0) scale(0.95);
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chispa {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes golpe {
  0% {
    opacity: 0;
    transform: scale(1.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes brinco {
  0% {
    opacity: 0;
    transform: translateY(35%) scale(0.3);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sube {
  0% {
    opacity: 0;
    transform: translateY(3em);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes entra {
  0% {
    opacity: 0;
    transform: translateY(0.6em);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aparece {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rueda--premiada .rueda__foco,
  .rueda--premiada .rueda__cuerpo,
  .rueda--premiada .rueda__puntero {
    animation: none;
  }

  .rueda__gajo--gana .rueda__gana {
    animation: none;
    opacity: 0.34;
  }

  .confeti,
  .velo,
  .fuego,
  .trofeo__caja,
  .trofeo__luz {
    display: none;
  }

  .tension .rueda--premiada .rueda__tajo {
    transition: none;
  }

  .trofeo__guirnalda {
    animation: none;
  }
}

[hidden] {
  display: none !important;
}
