.navigation-section {
  margin-bottom: 16px;
}

.navigation-section__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation-section__list-btn {
  height: 42px;
  display: flex;
  align-items: center;
  column-gap: 8px;
  padding: 0 13px 0 9px;
  background-color: var(--gray-light);
}

html[data-theme="dark"] .navigation-section__list-btn {
  background-color: #1e222b;
}

.navigation-section__list-btn:hover,
.navigation-section__list-btn:active {
  transform: scale(0.98);
}

.navigation-section__list-item:first-child .navigation-section__list-btn {
  border-radius: 10px 0 0 10px;
}

.navigation-section__list-item:last-child .navigation-section__list-btn {
  border-radius: 0 10px 10px 0;
}

.navigation-section__list-icon {
  flex-shrink: 0;
}

.navigation-section__list-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  white-space: nowrap;
  text-decoration: none;
}

html[data-theme="dark"] .navigation-section__list-title {
  color: #f4f6fa;
}

.index-wheel {
  position: relative;
  margin-bottom: 60px;
  margin-top: -60px;
  padding-top: 60px;
  overflow: hidden;
}

.index-wheel__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.index-wheel__inner {
  position: relative;
  height: 160px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 20px 30px;
  border-radius: 16px;
  background: linear-gradient(
    350deg,
    #ff5728 0%,
    #ff8d28 24%,
    #ffcc31 69%,
    #ffea31 100%
  );
}

.index-wheel__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

.index-wheel__bg::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -270px;
  width: 465px;
  height: 465px;
  border-radius: 50%;
  background-color: #fff387;
  transform: translateX(-50%);
  filter: blur(90px);
}

.index-wheel__left {
  position: relative;
}

.index-wheel__left h2 {
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.5px;
  color: var(--white);
  z-index: 1;
}

.index-wheel__left h2 span {
  width: fit-content;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  border-radius: 8px;
  background-color: var(--bg-color);
  color: var(--orange-dark);
  transform: rotate(-2deg);
}

html[data-theme="dark"] .index-wheel__left h2 span {
  background-color: #fff;
}

.index-wheel__left svg {
  position: absolute;
  top: 0;
  right: 44px;
  animation: float-star 3s ease-in-out infinite;
  animation-delay: 0.2s;
}

@keyframes float-star {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-5px) scale(1.2);
    opacity: 0.8;
  }
}

.index-wheel__image {
  position: absolute;
  bottom: -170px;
  left: 50%;
  width: 390px;
  height: 390px;
  transform: translateX(-50%);
}

.index-wheel__image-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: url("../../assets/wheel-spin.png") no-repeat center;
  background-size: 100%;
  transform: translate(-50%, -50%);
}

.index-wheel__image-arrow {
  position: absolute;
  top: calc(50% - 85px);
  left: 50%;
  width: 30px;
  height: 40px;
  background: url("../../assets/wheel/wheel-arrow.svg") no-repeat center;
  background-size: 100%;
  transform: translate(-50%, -50%);
}

.index-wheel__image-inner img {
  animation: wheelSpin 20s linear infinite;
}

@keyframes wheelSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.index-wheel__image-bg {
  display: none;
}

.index-wheel__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 20px;
}

.index-wheel__right p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 115%;
  letter-spacing: -0.5px;
  color: var(--white);
  text-align: right;
}

.index-wheel__right p svg {
  display: inline;
  margin-top: -2px;
}

.index-wheel__right p span {
  font-style: Italic;
}

.index-wheel__free {
  width: fit-content;
  height: 44px;
  display: flex;
  align-items: center;
  column-gap: 10px;
  padding: 7px 7px 7px 16px;
  border-radius: 8px;
  background-color: var(--lime);
}

.index-wheel__free-text {
  display: flex;
  align-items: center;
  column-gap: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--green-light);
}

.index-wheel__free-count {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 9px;
  border-radius: 6px;
  background-color: var(--green-light);
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
}

.articles-section {
  display: none;
  margin-bottom: 60px;
}

.articles-section .section-head {
  height: 44px;
}

.articles-section .section-head h2 img {
  width: 30px;
  height: 30px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  height: 342px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.article-card > a {
  display: block;
  width: 100%;
  height: 100%;
}

.article-image {
  position: relative;
  height: 216px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  min-width: 74px;
  height: 26px;
  border-radius: 999px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 13px;
  letter-spacing: 0%;
  color: var(--white);
}

.article-card h3 {
  height: 30px;
  margin: 20px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.article-meta {
  padding: 0 20px;
  display: flex;
  gap: 5px;
}

.article-meta span {
  height: 32px;
  display: inline-flex;
  align-items: center;
  column-gap: 5px;
  padding: 0 12px;
  border-radius: 8px;
  background-color: var(--gray-light);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 14px;
  color: var(--gray);
}

html[data-theme="dark"] .article-meta span {
  background-color: #2a2e39;
  color: #a0a8b5;
}

.article-meta img {
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .navigation-section {
    margin-bottom: 12px;
  }

  .navigation-section__nav {
    border-radius: 10px;
    overflow: hidden;
  }

  .navigation-section__list {
    column-gap: 2px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .navigation-section__list::-webkit-scrollbar {
    display: none;
  }

  .navigation-section__list-btn {
    width: max-content;
    height: 38px;
    column-gap: 6px;
  }

  .navigation-section__list-title {
    font-size: 12px;
  }

  .index-wheel {
    margin-bottom: 40px;
  }

  .index-wheel__inner {
    height: 217px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    overflow: hidden;
  }

  .index-wheel__inner::after {
    content: "";
    position: absolute;
    top: -75px;
    right: -40px;
    width: 324px;
    height: 324px;
    border-radius: 50%;
    background-color: #fff387;
    filter: blur(90px);
    z-index: 1;
  }

  .index-wheel__bg {
    display: none;
  }

  .index-wheel__left {
    margin-bottom: 12px;
    z-index: 2;
  }

  .index-wheel__left p {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.5px;
    color: var(--white);
    z-index: 1;
  }

  .index-wheel__left p span {
    width: fit-content;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    padding: 0 12px;
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--orange-dark);
  }

  html[data-theme="dark"] .index-wheel__left p span {
    background-color: #fff;
  }

  .index-wheel__left svg {
    top: -10px;
    right: -30px;
  }

  .index-wheel__image {
    top: 0;
    right: 0;
    bottom: unset;
    left: unset;
    width: auto;
    height: 90%;
    aspect-ratio: 1 / 1;
    transform: rotate(-15deg);
    z-index: 2;
  }

  .index-wheel__image-inner {
    position: absolute;
    max-height: 70%;
    overflow: hidden;
  }

  .index-wheel__image-spin {
    width: 36%;
    height: 100%;
    top: 20%;
    transform: translateX(-50%);
  }

  .index-wheel__image-arrow {
    top: 40%;
    width: 15px;
    height: 25px;
  }

  .index-wheel__image-inner img {
    height: 100%;
    object-fit: contain;
  }

  .index-wheel__image-bg {
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 20%;
    display: block;
    background: linear-gradient(0deg, #ffd26a, #ffdb70);
    filter: blur(7px);
  }

  .index-wheel__right {
    align-items: flex-start;
    row-gap: 12px;
    z-index: 2;
  }

  .index-wheel__right p {
    font-size: 18px;
    text-align: left;
  }

  .index-wheel__right p svg {
    position: absolute;
    margin-left: 8px;
  }

  .index-wheel__free {
    height: 46px;
    column-gap: 7px;
    padding: 0 10px;
  }

  .index-wheel__free-text {
    font-size: 15px;
  }

  .index-wheel__free-count {
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
}

@media (max-width: 525px) {
  .index-wheel__inner::after {
    top: -215px;
    right: -87px;
    filter: blur(40px);
  }

  .index-wheel__image {
    height: 70%;
  }

  .index-wheel__image-bg {
    background: linear-gradient(0deg, #ffb747, #ffcc5a);
  }

  .index-wheel__image-arrow {
    width: 10px;
    height: 20px;
  }
}
