/* Daily Spin Wheel v1.6.0 - sector label mobile refinement */
#sw-wheel-overlay,
#sw-wheel-overlay *,
#sw-wheel-teaser,
#sw-wheel-teaser * {
  box-sizing: border-box;
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-family: 'Commissioner', sans-serif;
}

#sw-wheel-hp,
.sw-wheel-hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sw-wheel-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.48);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: inherit;
}

.sw-wheel-overlay.is-visible {
  display: flex;
}

.sw-wheel-modal {
  position: relative;
  width: min(1120px, 96vw);
  min-height: 500px;
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  overflow: visible;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  max-height: 92vh;
}

.sw-wheel-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #101827;
  font-size: 36px;
  line-height: 32px;
  font-weight: 300;
  cursor: pointer;
  z-index: 6;
}

.sw-wheel-left {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-left: 0;
}

.sw-wheel {
  position: relative;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  border: 14px solid #142033;
  background: conic-gradient(from -90deg,
    #f3c0d3 0deg 30deg,
    #f8d4cf 30deg 60deg,
    #8fdde1 60deg 90deg,
    #e9437d 90deg 120deg,
    #f3c0d3 120deg 150deg,
    #f8d4cf 150deg 180deg,
    #e9acc5 180deg 210deg,
    #8fdde1 210deg 240deg,
    #e9437d 240deg 270deg,
    #f3c0d3 270deg 300deg,
    #f8d4cf 300deg 330deg,
    #e9437d 330deg 360deg
  );
  transform: rotate(0deg);
  transition: transform 5.2s cubic-bezier(0.16, 0.78, 0.18, 1);
  box-shadow: 0 10px 32px rgba(0,0,0,.25);
}

.sw-wheel::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  pointer-events: none;
}

.sw-wheel-center {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0%, #bebebe 44%, #4f4f4f 100%);
  box-shadow: 0 3px 10px rgba(0,0,0,.35);
  z-index: 4;
}

.sw-wheel-pointer {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 31px solid transparent;
  border-right: 31px solid transparent;
  border-top: 62px solid #6f9b42;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.22));
  z-index: 5;
}

/* Desktop labels */
.sw-wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 20px;
  margin-left: -66px;
  margin-top: -10px;
  text-align: center;
  color: #ed3e78;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.12;
  transform-origin: 66px 10px;
  text-shadow: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  user-select: none;
  -webkit-user-select: none;
  display: inline-flex;
  justify-content: start;
  gap: 6px;
  padding-left: 5px;
}

.sw-wheel-label span {
  font-size: 20px;
  display: inline-block;
  font-weight: 800;
  line-height: .95;
}

/* Labels are placed in the center of each 30deg sector */
.label-0 { transform: rotate(15deg) translateY(-124px) rotate(90deg); }
.label-1 { transform: rotate(45deg) translateY(-124px) rotate(90deg); }
.label-2 { transform: rotate(75deg) translateY(-124px) rotate(90deg); }
.label-3 { transform: rotate(105deg) translateY(-124px) rotate(90deg); }
.label-4 { transform: rotate(135deg) translateY(-124px) rotate(90deg); }
.label-5 { transform: rotate(165deg) translateY(-124px) rotate(90deg); }
.label-6 { transform: rotate(195deg) translateY(-124px) rotate(90deg); }
.label-7 { transform: rotate(225deg) translateY(-124px) rotate(90deg); }
.label-8 { transform: rotate(255deg) translateY(-124px) rotate(90deg); }
.label-9 { transform: rotate(285deg) translateY(-124px) rotate(90deg); }
.label-10 { transform: rotate(315deg) translateY(-124px) rotate(90deg); }
.label-11 { transform: rotate(345deg) translateY(-124px) rotate(90deg); }

/* Fine tuning for longer desktop labels */
.label-1,
.label-6,
.label-9,
.label-11 {
  width: 132px;
  margin-left: -66px;
  transform-origin: 66px 10px;
}

.label-0,
.label-2,
.label-5,
.label-8 {
  font-size: 13px;
}

.sw-wheel-label-light,
.sw-wheel-label-light span {
  color: #ffffff !important;
}

.sw-wheel-right {
  padding: 46px 58px 46px 24px;
  text-align: center;
}

.sw-wheel-right h2 {
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  color: #333;
}

.sw-wheel-right p {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.45;
  color: #111;
}

#sw-wheel-email {
  width: 100%;
  height: 60px;
  border: 1px solid #cbd6e2;
  border-radius: 5px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 600;
  box-sizing: border-box;
  background: #fff;
}

#sw-wheel-email:focus {
  outline: none;
  border-color: #49a66d;
  box-shadow: 0 0 0 2px rgba(73,166,109,.12);
}

.sw-wheel-main-btn,
.sw-wheel-code,
.sw-wheel-secondary-btn {
  width: 80%;
  min-height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 5px;
  background: #000;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.sw-wheel-main-btn:hover,
.sw-wheel-code:hover,
.sw-wheel-secondary-btn:hover {
  opacity: .92;
  color: #fff;
}

.sw-wheel-main-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.sw-wheel-code {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
  font-size: 26px;
  margin: 0 auto;
  background-color: #16B26A;
}

.sw-wheel-secondary-btn {
  background: #000000;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 12px;
}

.sw-wheel-error {
  min-height: 26px;
  margin-top: 10px;
  color: #d91f35;
  font-size: 16px;
  font-weight: 700;
}

.sw-wheel-code-note {
  margin-top: 14px !important;
  margin-bottom: 4px !important;
  font-size: 15px !important;
  color: #555 !important;
}

.sw-wheel-min-total-note {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.sw-wheel-teaser {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e9437d;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.sw-wheel-teaser-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #e9437d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.sw-wheel-teaser:hover {
  transform: translateY(-1px);
}

.sw-wheel-code {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sw-wheel-code-value {
  display: inline-block;
}

.sw-wheel-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  pointer-events: none;
}

.sw-wheel-copy-icon svg {
  display: block;
  fill: currentColor;
}

.sw-wheel-copied-text {
  font-size: 16px;
  font-weight: 400;
}

.sw-wheel-teaser-icon {
  animation: swGiftWiggle 4.5s cubic-bezier(.34, 1.56, .64, 1) infinite;
  transform-origin: center center;
  will-change: transform;
}

@keyframes swGiftWiggle {
  0%,
  78%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  80% {
    transform: rotate(0deg) scale(1.08);
  }

  82% {
    transform: rotate(-5deg) scale(1.25);
  }

  84% {
    transform: rotate(7deg) scale(1.45);
  }

  86% {
    transform: rotate(-8deg) scale(1.55);
  }

  88% {
    transform: rotate(8deg) scale(1.52);
  }

  90% {
    transform: rotate(-6deg) scale(1.42);
  }

  92% {
    transform: rotate(5deg) scale(1.28);
  }

  94% {
    transform: rotate(-3deg) scale(1.14);
  }

  96% {
    transform: rotate(2deg) scale(1.05);
  }

  98% {
    transform: rotate(0deg) scale(1);
  }
}

.sw-wheel-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 4px;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  color: #333;
  cursor: pointer;
}

.sw-wheel-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  cursor: pointer;
}

.sw-wheel-consent span {
  display: block;
}

@media (max-width: 991px) {
  .sw-wheel-consent {
    font-size: 12px;
    margin-top: 12px;
  }
}

body.sw-wheel-open {
  overflow: hidden;
}

/* Mobile */
@media (max-width: 991px) {
  .sw-wheel-modal {
    grid-template-columns: 1fr;
    width: 94vw;
    max-height: 94vh;
    overflow-y: auto;
  }

  .sw-wheel-left {
    min-height: 350px;
    padding: 36px 0 0;
  }

  .sw-wheel {
    width: 300px;
    height: 300px;
    border-width: 10px;
  }

  .sw-wheel-pointer {
    top: 18px;
    border-left-width: 26px;
    border-right-width: 26px;
    border-top-width: 54px;
  }

  .sw-wheel-center {
    width: 34px;
    height: 34px;
  }

  /*
    On mobile we use data-mobile labels:
    €20, €10, €5, 10%, Подарък.
    The losing sectors keep "Опитай отново" with smaller font.
  */
  .sw-wheel-label {
    width: 70px;
    height: 20px;
    margin-left: -35px;
    margin-top: -10px;
    transform-origin: 35px 10px;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .sw-wheel-label span {
    font-size: 0;
  }

  .sw-wheel-label::after {
    content: attr(data-mobile);
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: inherit;
  }

  .sw-wheel-label-light::after {
    color: #fff !important;
  }

  .sw-wheel-label-try::after {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: -0.35px;
  }

  .label-0 { transform: rotate(15deg) translateY(-91px) rotate(90deg); }
  .label-1 { transform: rotate(45deg) translateY(-91px) rotate(90deg); }
  .label-2 { transform: rotate(75deg) translateY(-91px) rotate(90deg); }
  .label-3 { transform: rotate(105deg) translateY(-91px) rotate(90deg); }
  .label-4 { transform: rotate(135deg) translateY(-91px) rotate(90deg); }
  .label-5 { transform: rotate(165deg) translateY(-91px) rotate(90deg); }
  .label-6 { transform: rotate(195deg) translateY(-91px) rotate(90deg); }
  .label-7 { transform: rotate(225deg) translateY(-91px) rotate(90deg); }
  .label-8 { transform: rotate(255deg) translateY(-91px) rotate(90deg); }
  .label-9 { transform: rotate(285deg) translateY(-91px) rotate(90deg); }
  .label-10 { transform: rotate(315deg) translateY(-91px) rotate(90deg); }
  .label-11 { transform: rotate(345deg) translateY(-91px) rotate(90deg); }

  .sw-wheel-right {
    padding: 22px 24px 34px;
  }

  .sw-wheel-right h2 {
    font-size: 29px;
    margin-bottom: 16px;
  }

  .sw-wheel-right p {
    font-size: 17px;
    margin-bottom: 16px;
  }

  #sw-wheel-email,
  .sw-wheel-main-btn,
  .sw-wheel-code,
  .sw-wheel-secondary-btn {
    min-height: 52px;
    height: 52px;
    font-size: 16px;
  }

  .sw-wheel-code {
    font-size: 22px;
  }

  .sw-wheel-teaser {
    left: 12px;
    bottom: 12px;
    padding: 9px;
  }

  .sw-wheel-teaser-text {
    display: none;
  }
}