* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Sans-serif, Verdana;
  background-color: #93d8f5;
  background-image: url("map.svg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: auto 100vh;
}
@media (max-width: 767px) and (orientation: portrait) {
  body {
    background-position: bottom center;
    background-size: contain;
  }
}
@media (min-device-width: 375px) and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  body {
    background-position: bottom center;
    background-size: contain;
  }
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

#wheel-container {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background-color: #fff5b4;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  aspect-ratio: 1;
  top: 10%;
  left: 10%;
}

#wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  transform: rotate(0deg);
  transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
}

.sector {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 60%;
  padding-top: 5%;
  color: #000;
  font-weight: bold;
  text-align: center;
}
.sector:after {
  content: "";
  clip-path: polygon(51% 50%, 101% 0%, 100% 100%, 270% -11%);
  background: linear-gradient(60deg, #fff 75%, #0065dc 95%);
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  left: 0;
  top: 0;
  z-index: -1;
}
.sector:nth-child(even):after {
  background: linear-gradient(60deg, #0065dc 35%, #fff 75%);
}
.sector:nth-child(1) {
  transform: rotate(-60deg);
}
.sector:nth-child(2) {
  transform: rotate(-30deg);
}
.sector:nth-child(3) {
  transform: rotate(0deg);
}
.sector:nth-child(4) {
  transform: rotate(30deg);
}
.sector:nth-child(5) {
  transform: rotate(60deg);
}
.sector:nth-child(6) {
  transform: rotate(90deg);
}
.sector:nth-child(7) {
  transform: rotate(120deg);
}
.sector:nth-child(8) {
  transform: rotate(150deg);
}
.sector:nth-child(9) {
  transform: rotate(180deg);
}
.sector:nth-child(10) {
  transform: rotate(210deg);
}
.sector:nth-child(11) {
  transform: rotate(240deg);
}
.sector:nth-child(12) {
  transform: rotate(270deg);
}
.sector.rau:after {
  background: linear-gradient(60deg, #fff 75%, #ff4532 95%);
}
.sector.surpriza:after {
  background: linear-gradient(60deg, #fff 75%, green 95%);
}

.content {
  transform: translateY(-110px) translateX(45px) rotate(60deg);
  text-align: center;
  padding-top: 60px;
  position: relative;
  min-height: 60px;
  min-width: 100px;
}

.number {
  position: relative;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  color: #333;
}
.number.start {
  color: #006dff;
}

.label {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

#spin {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  top: calc(50% - 70px);
  left: calc(50% - 70px);
  z-index: 9;
  background-image: radial-gradient(50% 50% at 50% 50%, rgba(108, 182, 247, 0.5) 0%, rgba(0, 106, 207, 0.5) 100%);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
}
#spin span {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(50% 50% at 50% 50%, #83afff 0%, #0065dc 100%);
  box-shadow: -7px 7px 7px rgba(0, 0, 0, 0.25);
  font-size: 28px;
  font-weight: 900;
  color: #fff5bb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  top: 10px;
  left: 10px;
  text-transform: uppercase;
}
#spin span i {
  font-size: 15px;
}

.arrow {
  position: absolute;
  left: calc(50% - 30px);
  top: -30px;
  z-index: 9;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 30px 0 30px;
  border-color: #ff4532 transparent transparent transparent;
  transform: rotate(0deg);
  filter: drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
}

#stats {
  position: absolute;
  width: 110px;
  right: 30px;
  top: 20px;
  background: linear-gradient(315deg, rgb(206, 196, 255) 0%, rgb(188, 248, 255) 100%);
  border-radius: 7px;
  padding: 20px;
  line-height: 25px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: "Segoe UI", sans-serif;
}
.modal.hidden {
  display: none;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}
.modal-box {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  z-index: 10000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: modal-fadein 0.3s ease-out;
}
.modal-header h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  text-align: center;
  color: #2b2b2b;
}
.modal-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
}
.modal-footer {
  text-align: center;
  margin-top: 1.5rem;
}
.modal-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.modal-btn:hover {
  background-color: #0056b3;
}

@keyframes modal-fadein {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 767px) and (orientation: portrait) {
  #wheel-container {
    left: 50%;
    top: 10%;
    transform: translateX(-50%) scale(0.88);
    transform-origin: top center;
  }
  #stats {
    position: static;
    margin: 14px auto 0;
    width: min(260px, 90vw);
    text-align: center;
  }
}
@media (min-device-width: 375px) and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  #wheel-container {
    left: 50%;
    top: 10%;
    transform: translateX(-50%) scale(0.82);
    transform-origin: top center;
  }
}
@media (max-width: 360px) {
  #wheel-container {
    transform: translateX(-50%) scale(0.78);
  }
}

/*# sourceMappingURL=styles.css.map */
