.ann14-section {
  background-image: url('../../images/minigames/ann-2025/desktop-bg.webp');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  width: 100vw;
  height: auto;
}

.ann14-wrap {
  background-image: url('../../images/minigames/ann-2025/slot-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: auto;
}

.ann14-content {
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.ann14-header {
  width: 621px;
  height: 253px;
  object-fit: contain;
  margin-top: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  z-index: 1;
}

.ann14-header h1 {
  font-family: DinProBold;
  font-weight: 700;
  font-size: 21px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 39%;
}

.ann14-header .event-period {
  font-family: DinProMedium;
  font-weight: 500;
  font-size: 11px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28%;
  text-align: center;
}

.slot-man1 {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  margin-left: -330px;
  z-index: 3;
}

.slot-man1 img {
  width: 346px;
  height: 285px;
  object-fit: contain;
}

.slot-man2 {
  position: absolute;
  top: 10px;
  right: 50%;
  transform: translateX(50%);
  margin-right: -500px;
  z-index: 3;
}

.slot-man2 img {
  width: 300px;
  height: 234px;
  object-fit: contain;
}

.slot-section {
  z-index: 1;
  width: 100%;
  margin-top: -60px;
  padding-bottom: 50px;
}

.slot-container {
  position: relative;
  width: 509px;
  height: 509px;
  margin: auto;
}

.slot-frame {
  width: 509px;
  height: 509px;
  background-image: url('../../images/minigames/ann-2025/slot-machine-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 3;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.handle {
  position: absolute;
  bottom: 25%;
  right: -100px;
  width: 121px;
  height: 299px;
  background-image: url('../../images/minigames/ann-2025/handle-1.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  z-index: 2;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 12px;
  position: relative;
}

.reward-box {
  background: rgba(217, 217, 217, 0.3);
  border: 3px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border 0.2s;
  height: 100px;
  width: 100px;
}

.reward-box.active {
  border: 3px solid white;
}

.reward-box img {
  width: 80px;
  height: 80px;
}

.spin-wrap {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
  color: white;
  text-align: center;
  cursor: pointer;
  user-select: none;
  z-index: 2;
  background-image: url('../../images/minigames/ann-2025/spin-bg.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 142px 142px;
  font-family: DinProMedium;
  font-weight: 500;
  font-size: 32px;
  line-height: 35px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spin-wrap span {
  font-family: DinProBold;
  font-weight: 700;
  font-size: 56px;
  line-height: 60px;
}

/* START OF popup */
#ann14-insufficient-spin-popup,
#ann14-result-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9;
}

#ann14-insufficient-spin-popup .result-popup-bg,
#ann14-result-popup .result-popup-bg {
  background-image: url('../../images/minigames/ann-2025/dialog-bg.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: calc(248/320 * 400px);
  line-height: initial;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

#ann14-insufficient-spin-popup .congrat-text {
  font-family: DinProBold;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}

#ann14-result-popup .congrat-text {
  font-family: DinProBold;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

#ann14-result-popup .prize-text {
  font-family: DinProBold;
  font-weight: 700;
  font-size: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

#ann14-result-popup .amt-txt {
  color: #FFB300;
  margin-left: 10px;
}

#ann14-insufficient-spin-popup .cta-question,
#ann14-result-popup .cta-question {
  margin-top: 24px;
  font-family: DinProMedium;
  font-weight: 500;
  font-size: 16px;
}

#ann14-insufficient-spin-popup .cta-question {
  margin: 24px 0px 12px;
}

#ann14-insufficient-spin-popup .cta-row,
#ann14-result-popup .cta-row {
  gap: 20px;
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#ann14-insufficient-spin-popup .cta-row .cta-btn,
#ann14-result-popup .cta-row .cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: DinProMedium;
  font-weight: 500;
  font-size: 16px;
  height: 40px;
  width: 81px;
}

#ann14-insufficient-spin-popup .cta-row .cta-btn {
  height: 40px;
  width: 100px;
}

#ann14-result-popup .cta-row .cta-btn {
  height: 40px;
  width: 81px;
}

#ann14-insufficient-spin-popup .cta-row .primary-btn,
#ann14-result-popup .cta-row .primary-btn {
  background-color: #419BCB;
  color: #fff;
  border: 1px solid #419BCB;
}

#ann14-insufficient-spin-popup .cta-row .secondary-btn,
#ann14-result-popup .cta-row .secondary-btn {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}
/* END OF popup */

.ann14-tnc-section {
  padding: 50px 0px 100px;
}

.ann14-tnc {
  margin: 0 auto;
  background-image: url('../../images/minigames/ann-2025/tnc-bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 922px;
  height: 526px;
  color: #fff;
  padding: 35px 40px;
  position: relative;
}

.ann14-tnc .tnc-subheader {
  font-family: DinProBold;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 1.2rem;
}

.ann14-tnc .tnc-text {
  font-family: DinProRegular;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 0.78rem;
}

.ann14-tnc .tnc-text strong {
  font-family: DinProBold;
  font-weight: 700;
}

.ann14-tnc .tnc-page {
  display: none;
}

.ann14-tnc .nav-row {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 10px;
}

.ann14-tnc .nav-row img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  cursor: pointer;
}

.ann14-tnc .nav-row .pagination-dot {
  font-family: DinProBold;
  font-weight: 700;
  font-size: 16px;
  height: 24px;
  width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.ann14-tnc .nav-row .pagination-dot.active {
  background-color: #419BCB;
  border-radius: 25px;
}