/* La roue des gages offered on the naughty pages (template/components/wheel-teaser.php): the evening of the
   game, a small wheel lying on the table that turns slowly, the flame of the logo at its heart. */

.lc-wheelTeaser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 32px 0;
  padding: 22px 24px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(247, 37, 133, .34), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, rgba(139, 44, 246, .36), transparent 70%),
    linear-gradient(160deg, #2a0f33 0%, #3b163f 52%, #4a1d6e 100%);
  box-shadow: 0 20px 52px rgba(59, 22, 63, .28);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}

.lc-wheelTeaser:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(59, 22, 63, .34);
}

/* Stars of the homepage night. */
.lc-wheelTeaser::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .7;
  background:
    radial-gradient(1.4px 1.4px at 12% 20%, rgba(255, 255, 255, .8), transparent 70%),
    radial-gradient(1.2px 1.2px at 46% 12%, rgba(255, 217, 138, .7), transparent 70%),
    radial-gradient(1.4px 1.4px at 78% 30%, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(1.2px 1.2px at 90% 76%, rgba(255, 255, 255, .55), transparent 70%);
}

.lc-wheelTeaser__wheel {
  position: relative;
  flex: none;
  width: 136px;
  height: 100px;
}

/* The wheel lying on the table: a disc squashed into an ellipse, with its edge at the front. */
.lc-wheelTeaser__disc {
  position: absolute;
  left: 0;
  top: 8px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  transform: scaleY(.58);
  transform-origin: 50% 0;
  background: #2a0b31;
  box-shadow: 0 8px 0 #5a1d6e, 0 18px 24px rgba(10, 2, 18, .55);
}

.lc-wheelTeaser__disc span {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  background:
    radial-gradient(circle, #fff 0 17%, rgba(247, 37, 133, .55) 17.5% 19%, transparent 19.5%),
    conic-gradient(#e0156f 0 54deg, #ffb070 54deg 84deg, #6c4dff 84deg 138deg, #b5179e 138deg 192deg, #ffd98a 192deg 222deg,
      #f72585 222deg 276deg, #9b3dff 276deg 330deg, #ffb070 330deg 360deg);
  animation: lc-wheelTeaser-spin 18s linear infinite;
}

.lc-wheelTeaser__wheel img {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 34px;
  height: 34px;
  translate: -50% 0;
  border-radius: 9px;
  box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(10, 2, 18, .5), 0 0 18px rgba(247, 37, 133, .5);
}

@keyframes lc-wheelTeaser-spin {
  to { transform: rotate(360deg); }
}

.lc-wheelTeaser__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.lc-wheelTeaser__kicker {
  color: #ffd98a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lc-wheelTeaser strong {
  color: #fff;
  font-size: clamp(1.45rem, 4.6vw, 1.9rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.lc-wheelTeaser__text {
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  line-height: 1.5;
}

.lc-wheelTeaser__cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0156f, #f0503a);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(240, 40, 100, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
}

@media (max-width: 560px) {
  .lc-wheelTeaser {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 14px;
    padding: 20px;
  }

  .lc-wheelTeaser__wheel {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-wheelTeaser__disc span {
    animation: none;
  }
}
