:root {
  --c-link: #2A5885;
  --c-white: #FFFFFF;
  --c-black: #000;
  --c-gray: #939393;
  --c-icon: #2A5885;
  --c-dark: #818C99;
  --c-accent: #e74c3c;
  --color: #1B1A3C;
  --body-bg: #E3E6E6;
  --top-date: #202323;
  --text-white: #0F1111;
  --text-light: #202323;
  --btn-bg: linear-gradient(0deg, #FFC329 0%, #FFCD50 51.56%, #FFD772 100%);
  --btn-border: 1px solid #FCD200;
  --finish-bg: #fff;
  --finish-badge: #5A2B8D;
  --finish-primary: #5A2B8D;
  --finish-secondary: #FCD200;
  --wheel-frame: url(../img/frame.svg);
  --wheel: url(../img/wheel.png);
  --popup-title: var(--text-light);
  --popup-img: url(../img/popup-img.png);
  --list-color: var(--top-date);
  --list-color-accent: var(--text-white);
  --timer-bg: var(--text-light);
  --prelodaer: var(--text-light);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

html {
  font-size: 16px;
  font-family: serif;
  font-family: "Exo 2", sans-serif;
  background: var(--body-bg);
  background-size: cover;
}
@media screen and (max-width: 480px) {
  html {
    font-size: 13px;
  }
}
html.wheel_lock {
  overflow: hidden;
}

.wheel_container {
  max-width: 960px;
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wheel_badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  height: 22px;
  padding: 0.2em 0.5em;
  color: #fff;
  background-color: #232F3E;
  font-size: 12px;
  white-space: nowrap;
}
.wheel_badge::after {
  content: "";
  position: absolute;
  right: -10px;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-top: 22px solid;
  color: #232F3E;
  flex: none;
}
.wheel_badge span {
  color: #F69931;
}

.wheel_d-flex {
  display: flex;
}
.wheel_d-none {
  display: none !important;
}

.wheel_flex-column {
  flex-direction: column;
}

.wheel_gap-1 {
  gap: 8px;
}
.wheel_gap-2 {
  gap: 14px;
}

.wheel_mb-1 {
  margin-bottom: 0.25rem;
}
.wheel_mb-2 {
  margin-bottom: 0.5rem;
}
.wheel_mb-3 {
  margin-bottom: 0.75rem;
}
.wheel_mb-4 {
  margin-bottom: 1rem;
}
.wheel_ml-auto {
  margin-left: auto;
}

.wheel_ai-center {
  align-items: center;
}
.wheel_ai-baseline {
  align-items: baseline;
}

small {
  font-size: 12px;
}

.wheel_text-gray {
  color: #cecece;
}

.wheel_btn {
  font-size: 17px;
  text-transform: uppercase;
  display: inline-flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 8px;
  border: 0;
  min-width: 200px;
  color: var(--text-white);
  background: var(--btn-bg);
  cursor: pointer;
  transition: 0.25s ease;
  text-decoration: none;
  border: var(--btn-border);
}
.wheel_btn:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.wheel_header {
  color: #fff;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #5d80a6;
}

.wheel_logo {
  max-width: 75px;
}

.wheel_like {
  display: flex;
  align-items: center;
  gap: 4px;
  fill: var(--c-gray);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}
.wheel_like._active {
  fill: var(--c-accent);
}
.wheel_like svg {
  margin-top: 1px;
  flex: none;
  fill: inherit;
}

.wheel_comments {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  padding: 20px;
  background-color: var(--c-white);
  max-width: 960px;
  margin: 0 auto;
}
.wheel_comments-nav {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 4px;
  color: #000;
  font-size: 12px;
  font-weight: 400;
}
.wheel_comments-nav::after {
  content: "";
  flex: none;
  height: 8px;
  width: 8px;
  margin-top: 4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.800049 0.700012L4.00005 3.30001L7.20005 0.700012' stroke='%232A5885' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.wheel_comments-header {
  display: flex;
  gap: 20px;
  padding-bottom: 14px;
}
.wheel_comments-header__col {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #626D7A;
  font-size: 14px;
}
.wheel_comments-header__col svg {
  fill: var(--c-dark);
}
.wheel_comments-footer {
  padding-top: 14px;
  font-size: 13px;
}
.wheel_comments-footer a {
  text-decoration: none;
  font-weight: 500;
  color: var(--c-link);
}

.wheel_comment {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  border-bottom: 1px solid #E7E8EC;
}
.wheel_comment-avatar {
  max-width: 34px;
}
.wheel_comment-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.wheel_comment-content__name {
  font-weight: 500;
  color: var(--c-link);
}
.wheel_comment-content__text {
  line-height: 1.36;
}
.wheel_comment-content__bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wheel_comment-date {
  color: var(--c-gray);
}
.wheel_comment-link {
  text-decoration: none;
  color: var(--c-link);
}

.wheel_page-content {
  text-align: center;
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wheel_page-content__date {
  font-size: 13px;
  color: var(--top-date);
}
.wheel_page-content__date::first-letter {
  text-transform: uppercase;
}
.wheel_page-content__title {
  font-size: 22px;
  text-align: center;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
}
.wheel_page-content__subtitle {
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  color: var(--text-white);
}
.wheel_page-content__text {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.4;
}

.wheel_finish {
  padding: 50px 16px;
}
.wheel_finish-text {
  color: var(--list-color);
}
.wheel_finish-date {
  color: var(--finish-primary);
}
.wheel_finish-timer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 16px;
  padding: 16px;
  background-color: var(--timer-bg);
  width: 100%;
}
.wheel_finish-timer__text {
  font-size: 13px;
  color: var(--body-bg);
}
.wheel_finish-timer__time {
  color: var(--finish-secondary);
  font-size: 17px;
}
.wheel_finish-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
  padding-left: 1.5em;
  color: var(--list-color);
}
.wheel_finish-list span {
  color: var(--list-color-accent);
}
.wheel_finish-wrap {
  background: var(--finish-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 360px;
  margin: 24px auto;
  padding: 24px 16px;
  color: #fff;
  border-radius: 16px;
}
.wheel_finish-wrap img {
  max-width: 240px;
}

.wheel_fortune {
  position: relative;
  display: block;
  overflow: hidden;
  max-width: 75vh;
  margin: 0 auto;
  z-index: 1;
  margin-bottom: 30px;
}
.wheel_fortune::after {
  content: "";
  display: block;
  padding-top: 100%;
}
.wheel_fortune-frame {
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: var(--wheel-frame);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.wheel_fortune-wheel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 82%;
  width: 82%;
  background-image: var(--wheel);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}
.wheel_fortune-wheel.wheel_spin1 {
  animation: spin1 6.6s ease forwards;
}
.wheel_fortune-wheel.wheel_spin2 {
  animation: spin2 6.6s ease forwards;
}
.wheel_fortune-wheel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-radius: 100%;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.wheel_dots {
  position: absolute;
  height: calc(90% + 3px);
  width: calc(90% + 3px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

[fill="#F0EA8F"] {
  animation: dot 0.3s ease infinite alternate;
}
[fill="#F0EA8F"].wheel_dot {
  animation-delay: 0.3s;
}

@keyframes dot {
  0% {
    fill: #F0EA8F;
  }
  100% {
    fill: #ff6a00;
  }
}
.wheel_popup {
  position: fixed;
  z-index: 10;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px;
  background-color: rgba(3, 3, 3, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.wheel_popup.wheel_active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wheel_popup-content {
  padding: 16px 16px 24px;
  border-radius: 12px;
  background-color: #fff;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.wheel_popup-content img {
  max-width: 190px;
}
.wheel_popup-img {
  height: 130px;
  width: 130px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: var(--popup-img);
}
.wheel_popup-title {
  color: var(--popup-title);
  font-size: 17px;
}
.wheel_popup-subtitle {
  font-size: 13px;
  color: var(--color);
}
.wheel_popup-text {
  font-size: 13px;
  opacity: 0.5;
  color: var(--color);
}

.wheel_preloader {
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--body-bg);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.35s ease;
}
.wheel_preloader.wheel_active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wheel_preloader.wheel_active .wheel_preloader-icon {
  animation: spin 2s linear infinite;
}
.wheel_preloader-icon {
  flex: none;
  border-radius: 100%;
  height: 150px;
  width: 150px;
  border-bottom: 5px solid var(--prelodaer);
}

.wheel_footer {
  padding: 1em;
  font-size: 12px;
  color: #b0aeae;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spin1 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  90% {
    transform: translate(-50%, -50%) rotate(3128deg);
  }
  95% {
    transform: translate(-50%, -50%) rotate(3128deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(3128deg);
  }
}
@keyframes spin2 {
  0% {
    transform: translate(-50%, -50%) rotate(3128deg);
  }
  90% {
    transform: translate(-50%, -50%) rotate(6324deg);
  }
  95% {
    transform: translate(-50%, -50%) rotate(6324deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(6324deg);
  }
}
@keyframes flash {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}