:root {
  --btnShadow: #ae5b00;
}

* {
  box-sizing: border-box;
  margin: 0;
}

/* Core family */
@font-face {
  font-family: "Formula1";
  src: url("../font/Formula1-Regular.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formula1";
  src: url("../font/Formula1-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formula1";
  src: url("../font/Formula1-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formula1 Wide";
  src: url("../font/Formula1-Wide.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-stretch: expanded;
  font-display: swap;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Formula1";
  color: #fff;
  background: #000;
}

svg text {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0 16px 48px;
  position: relative;
  overflow-x: hidden;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  inset-inline: 0;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.girl-img-col {
  position: absolute;
  inset-inline: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.girl-img {
  position: absolute;
  width: 50%;
  height: auto;
  object-fit: contain;
  object-position: right;
  right: 18px;
  top: 158px;
  z-index: 1;
  transition: opacity 0.25s ease;
  will-change: opacity;
}

.girl-anim {
  opacity: 0;
  pointer-events: none;
}

.girl-still {
  opacity: 1;
}

.girl-img-col.show-anim .girl-anim {
  opacity: 1;
}

.girl-img-col.show-anim .girl-still {
  opacity: 0;
}

.stage {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.logo-lockup-img {
  max-width: 386px;
  height: 235px;
  margin: 0 auto;
}

.wheel-wrap {
  width: min(92vw, 418px);
  aspect-ratio: 1/1;
  position: relative;
  filter: drop-shadow(0 18px 60px rgba(0, 0, 0, 0.55));
}

.fire-ring-img {
  width: 127%;
  height: 127%;
  position: absolute;
  left: -14%;
  right: 0;
  margin: 0 auto;
  top: -56px;
  bottom: 0;
}

/* Pointer */
.pointer {
  position: absolute;
  inset-inline: 0;
  top: 20px;
  display: grid;
  place-items: center;
  z-index: 8;
}

img.indicator-img {
  width: 66px;
  height: auto;
  object-fit: contain;
}

/* SVG layers */
svg {
  position: absolute;
  inset: 0;
}

#rotor {
  transition: transform 5s cubic-bezier(0.15, 0.01, 0.02, 1);
  transform-origin: 50% 50%;
}

/* Label styles (SVG text) */
.lab-num {
  stroke: #3a280d;
  stroke-width: 2;
  text-align: center;
  -webkit-text-stroke-width: 1.66px;
  -webkit-text-stroke-color: rgba(47, 47, 47, 0.6);
  font-family: "Formula1";
  font-size: 60px;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  letter-spacing: -1.988px;
  text-transform: uppercase;
}

.lab-sub {
  text-align: center;
  font-family: "Formula1";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 96%;
  letter-spacing: 0.794px;
  text-transform: uppercase;
  dominant-baseline: text-before-edge;
}

/* Center badge (fixed, not rotating) */
.badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 7;
}

/* CTA */
.cta {
  margin-top: 12px;
  display: flex;
  width: 100%;
  max-width: 283px;
  height: 61px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid #ffc800;
  background: linear-gradient(0deg, #f80 0%, #ffba54 100%);
  border: none;
  outline: none;
  cursor: pointer;
  transition: transform 0.05s ease, filter 0.2s ease;
  position: relative;
  z-index: 9;
}

.cta span {
  text-align: center;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 1px 0 rgba(0, 0, 0, 0.25);
  font-family: Roboto;
  font-size: 23px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  color: #000;
}

.cta:active {
  transform: translateY(3px);
  box-shadow: 0 7px 0 var(--btnShadow), 0 20px 28px rgba(255, 138, 0, 0.25);
}

.cta[disabled] {
  filter: grayscale(0.35) brightness(0.85);
  cursor: not-allowed;
}

.jackpot-city-img {
  width: 116px;
  height: 34px;
  margin: 0 auto;
  position: relative;
  z-index: 9;
}

.text {
  color: #fff;
  text-align: center;
  font-family: Roboto;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.4;
  max-width: 348px;
  margin: 0 auto;
  position: relative;
  z-index: 9;
}

img.free-spains-img {
  position: absolute;
  width: 112px;
  height: 65px;
}

img.centre-circle-img {
  position: absolute;
  width: 158px;
  height: auto;
  margin-top: 34px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 9;
  display: none;
}

.claim-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 9;
  margin: 0 auto;
  display: none;
}

.claim-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 17px;
}

.coins-img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  margin: 0 auto;
  object-fit: contain;
}

.claim-btn {
  width: 206px;
  height: 48px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  display: flex;
  border-radius: 7.881px;
  border: 0.788px solid #000;
  background: linear-gradient(0deg, #01ffd0 0%, #00ff26 100%);
  border: none;
  outline: none;
  cursor: pointer;
}

.claim-btn:active {
  transform: translateY(3px);
}

.claim-btn[disabled] {
  filter: grayscale(0.35) brightness(0.85);
  cursor: not-allowed;
}

.claim-btn span {
  text-align: center;
  font-family: Roboto;
  font-size: 18.282px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  background: linear-gradient(180deg, #000 28.57%, #666 116.07%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.claim-screen p {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 4px #000;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.claim-screen h4 {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 4px #000;
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin-top: -20px;
}

.claim-screen .spin-score {
  text-align: center;
  font-family: Formula1;
  font-size: 73px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -4.437px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ff0 0%, #ff7300 67.31%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.claim-screen h3 {
  text-align: center;
  font-family: Formula1;
  font-size: 21.803px;
  font-style: normal;
  font-weight: 700;
  line-height: 96%;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #999 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

img.claim-logo-img {
  max-width: 430px;
  height: auto;
  margin: 0 auto;
}

.wrap b {
  width: 100%;
  height: 100%;
  position: absolute;
}

.wrap.show-win {
  height: 100vh;
  overflow: hidden;
}

.wrap-row {
  display: none;
}

.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  height: 100%;
}

.countdown-timer-screen {
  width: 100%;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0 16px 48px;
  position: relative;
  overflow-x: hidden;
}

img.countdown-logo-img {
  height: 262px;
  width: auto;
}

.countdown-wrapper h4 {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 4px #000;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: -23px;
}

.countdown-wrapper h3 {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 4px #000;
  font-family: Roboto;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  max-width: 296px;
  margin: 0 auto;
  margin-top: -15px;
}

.countdown-wrapper h3 span {
  color: #01fe53;
}

.countdown-timer {
  max-width: 322px;
  margin: 0 auto;
  position: relative;
  min-height: 268px;
  padding: 16px 24px;
  border-radius: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.countdown-timer img.countdown-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 38px;
  object-fit: cover;
}

img.dots {
  max-width: 230px;
  height: auto;
  margin: 0 auto;
}

.timer-col {
  border-radius: 13px;
  border: 1px solid #202020;
  background: #000;
  box-shadow: 0 -2.042px 2.723px 0 rgba(255, 255, 255, 0.1),
    0 2.723px 2.723px 0 rgba(0, 0, 0, 0.6);
  padding: 13px 20px 16px;
  width: 100%;
  text-align: center;
}

.timer-col h5 {
  text-align: center;
  font-family: Formula1;
  font-size: 12.254px;
  font-style: normal;
  font-weight: 700;
  line-height: 96%; /* 11.764px */
  letter-spacing: 0.858px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #999 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.time-container {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.time-col {
  display: flex;
  flex-direction: column;
}

.time-col span.time {
  min-width: 100px;
  text-align: center;
  font-family: Formula1;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -3.867px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #01fed7 0%, #01ff3f 67.31%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.time-col .label {
  text-align: center;
  font-family: Formula1;
  font-size: 19.061px;
  font-style: normal;
  font-weight: 700;
  line-height: 96%;
  letter-spacing: 1.334px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #999 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

span.separator {
  text-align: center;
  font-family: Formula1;
  font-size: 64.445px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -3.867px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #01fed7 0%, #01ff3f 67.31%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.play-btn {
  display: flex;
  max-width: 2645px;
  height: 41px;
  justify-content: center;
  align-items: center;
  gap: 6.808px;
  width: 100%;
  border-radius: 6.808px;
  border: 0.681px solid #000;
  background: linear-gradient(0deg, #0f3 0%, #00ffe5 100%);
  text-decoration: none;
}

.play-btn:active {
  transform: translateY(3px);
}

.play-btn span {
  text-align: center;
  font-family: Formula1;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  background: linear-gradient(180deg, #000 28.57%, #666 116.07%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.countdown-screen-wrapper .countdown-timer {
  border-radius: 20px;
  border: 2px solid #ff900e;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  max-width: 100%;
  min-height: 194px;
  min-width: 283px;
}

.countdown-screen-wrapper .time-col {
  position: relative;
  padding: 13px 20px 6px;
}

.time-col img.number-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.countdown-screen-wrapper .time-container {
  gap: 8px;
}

.countdown-screen-wrapper span.separator {
  text-align: center;
  font-family: Roboto;
  font-weight: 700;
  background: linear-gradient(180deg, #01ffcc 0%, #00ff41 67.31%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  left: -3px;
}

.countdown-screen-wrapper .play-btn {
  max-width: 283px;
  height: 61px;
  border-radius: 10px;
  border: 1px solid #ffc800;
  background: linear-gradient(0deg, #f80 0%, #ffba54 100%);
}

.countdown-screen-wrapper .play-btn span {
  text-align: center;
  font-family: Roboto;
  font-size: 23px;
  font-weight: 900;
  background: linear-gradient(180deg, #000 28.57%, #666 116.07%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-screen-wrapper .timer-col {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.countdown-screen-wrapper .timer-col h5 {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.91px;
}

.countdown-screen-wrapper .time-col span.time {
  text-align: center;
  font-family: Roboto;
  font-size: 64.445px;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  letter-spacing: -3.867px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #01ffcc 0%, #01ff50 67.31%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-screen-wrapper .time-col .label {
  font-family: Roboto;
}

.video-bg {
  opacity: 0.5;
}

@media (min-width: 1700px) {
  .wheel-wrap {
    width: min(92vw, 700px);
  }

  img.centre-circle-img {
    width: 195px;
  }

  img.free-spains-img {
    width: 183px;
    height: auto;
  }
}

@media (max-width: 1080px) {
  .girl-img {
    width: 81%;
    height: 100%;
    right: -168px;
    top: 191px;
  }
}

@media (max-width: 560px) {
  .wheel-wrap {
    width: 100%;
    max-width: 90%;
  }

  .lab-num {
    font-size: 50px;
  }

  .lab-sub {
    font-size: 25px;
  }

  .pointer {
    top: 3px;
  }

  img.indicator-img {
    width: 35px;
    height: auto;
    object-fit: contain;
  }

  .logo-lockup-img {
    width: 100%;
    max-width: 351px;
    height: 214px;
  }

  .girl-img {
    width: 100%;
    height: 100%;
    right: -112px;
    top: 85px;
  }

  .note {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
  }

  .cta {
    max-width: 237px;
    height: 52px;
  }

  .cta span {
    font-size: 18px;
  }

  .coins-img {
    width: 666px;
    height: 666px;
    object-fit: fill;
  }

  img.claim-logo-img {
    max-width: 285px;
  }
}
