/* =========================================================
   ARC Raiders 한국 공식 디스코드 오픈 이벤트
   - Breakpoints
       Desktop  : >= 1024px
       Tablet   : 769px ~ 1023px
       Mobile   : <= 768px (다운 사이즈는 360까지)
   ========================================================= */

/* ---------- Page wrapper ---------- */
.aeb-page {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
  font-family: Noto Sans KR, sans-serif;
}

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

.aeb-page a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   1) MAIN SECTION (HERO)
   ========================================================= */
.aeb-page .aeb-sec-main {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  background: #07060f;
  overflow: hidden;
}

.aeb-page .aeb-sec-main__bg {
  display: block;
  box-sizing: border-box;
  width: 100%;
}

.aeb-page .aeb-sec-main__bg img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   2) NPAY SECTION
   ========================================================= */
.aeb-page .aeb-sec-npay {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  background-image: url("../images/npay_bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-color: #f3ecda;
  padding: 95px 0 105px;
}

.aeb-page .aeb-sec-npay__inner {
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* --- Title --- */
.aeb-page .aeb-npay-title {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 0 30px;
}

.aeb-page .aeb-npay-title__lead {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: #1a1a1e;
  margin: 0;
}

.aeb-page .aeb-npay-title__logo {
  width: 130px;
  height: 18px;
  flex: 0 0 auto;
}

.aeb-page .aeb-npay-title__sub {
  position: relative;
  box-sizing: border-box;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #1a1a1e;
  margin: 0;
}

.aeb-page .aeb-npay-title__sub .aeb-hl {
  box-sizing: border-box;
  background-image: linear-gradient(to top, #01de5a 0 6px, transparent 6px);
  background-position: 0 60%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 2px;
}

/* --- Date box --- */
.aeb-page .aeb-npay-date {
  position: relative;
  box-sizing: border-box;
  height: 115px;
  width: min(700px, 100%);
  background-image: url("../images/npay_date_bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aeb-page .aeb-npay-date__box {
  display: inline-flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.aeb-page .aeb-npay-date__row {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  font-size: 18px;
  line-height: 24px;
}

.aeb-page .aeb-npay-date__row dt {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  font-weight: 500;
  color: #1a1a1e;
  position: relative;
  margin: 0;
}

.aeb-page .aeb-npay-date__row dt::after {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  width: 22px;
  height: 1px;
  border-top: 1px dashed #4c4c4c;
  margin: 0 8px;
}

.aeb-page .aeb-npay-date__row dd {
  box-sizing: border-box;
  font-weight: 500;
  color: #4c4c4c;
  margin: 0;
}

.aeb-page .aeb-npay-date__sticker {
  position: absolute;
  box-sizing: border-box;
  right: 40px;
  top: -38px;
  width: 168px;
  pointer-events: none;
}

/* --- Prize circle --- */
.aeb-page .aeb-npay-prize {
  position: relative;
  box-sizing: border-box;
  width: 524px;
  max-width: 100%;
  aspect-ratio: 524 / 516;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/npay_circle.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 50%;
}

.aeb-page .aeb-npay-prize__product {
  position: relative;
  box-sizing: border-box;
  width: 326px;
  height: auto;
  margin-top: -40px;
}

.aeb-page .aeb-npay-prize__image {
  display: block;
  width: 100%;
  height: auto;
}

.aeb-page .aeb-npay-prize__caption {
  position: absolute;
  box-sizing: border-box;
  z-index: 2;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  color: #ffffff;
  white-space: nowrap;
  margin: 0;
}

.aeb-page .aeb-npay-prize__badge {
  position: absolute;
  box-sizing: border-box;
  z-index: 3;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  width: 26%;
  max-width: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #01de5a;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aeb-page .aeb-npay-prize__badge::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  inset: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

/* =========================================================
   3) JOIN SECTION
   ========================================================= */
.aeb-page .aeb-sec-join {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  background-image: url("../images/join_bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  background-color: #1a1a2e;
  padding: 170px 60px 140px;
  color: #ede3cb;
  overflow: hidden;
}

.aeb-page .aeb-sec-join__inner {
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* --- Heading --- */
.aeb-page .aeb-join-title {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.aeb-page .aeb-join-title__logo {
  width: 98px;
  height: auto;
}

.aeb-page .aeb-join-title__heading {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  color: #ede3cb;
  margin: 0;
}

.aeb-page .aeb-deco {
  display: inline-block;
  box-sizing: border-box;
  width: 78px;
  height: 11px;
  background-image: url("../images/deco_line.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.aeb-page .aeb-deco--right {
  transform: scaleX(-1);
}

/* --- Steps --- */
.aeb-page .aeb-steps {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 80px;
  margin: 0;
  padding-top: 120px;
  padding-left: 0;
  list-style: none;
}

.aeb-page .aeb-step__head {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.aeb-page .aeb-step__num {
  box-sizing: border-box;
  flex: 0 0 30px;
  width: 30px;
  height: 37px;
  display: inline-flex;
  align-items: flex-end;
}

.aeb-page .aeb-step__num img {
  width: 30px;
  height: 37px;
  object-fit: contain;
}

.aeb-page .aeb-step__title {
  box-sizing: border-box;
  flex: 1 1 auto;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #ede3cb;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.aeb-page .aeb-step__icon {
  box-sizing: border-box;
  width: 28px;
  height: auto;
  margin: 0 4px;
  vertical-align: middle;
}

.aeb-page .aeb-step__desc {
  box-sizing: border-box;
  padding-left: 48px;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  opacity: 0.5;
  margin: 0;
  span {
    display: block;
  }
}

.aeb-page .aeb-step__action {
  box-sizing: border-box;
  padding-left: 48px;
  margin: 0;
}

/* --- Discord button --- */
.aeb-page .aeb-btn-discord {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 70px;
  margin-top: 14px;
  padding: 0 20px;
  border-radius: 70px;
  background: #f1aa1c;
  color: #1a1a1e;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.aeb-page .aeb-btn-discord__logo {
  width: 98px;
  height: auto;
}

.aeb-page .aeb-btn-discord__arrow {
  width: 37px;
  height: 10px;
}

/* --- Note --- */
.aeb-page .aeb-note {
  box-sizing: border-box;
  margin-top: 120px;
}

.aeb-page .aeb-note__deco {
  display: block;
  box-sizing: border-box;
  width: 500px;
  height: 1px;
  margin-bottom: 60px;
  opacity: 0.2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 40.87%, #000 100%), #ffffff;
}

.aeb-page .aeb-note__title {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  gap: 28px;
  font-weight: 800;
  font-size: 22px;
  line-height: 30px;
  color: #f1aa1c;
  margin: 0 0 14px;
}

.aeb-page .aeb-note__icon {
  box-sizing: border-box;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1aa1c;
  color: #1a1a1e;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aeb-page .aeb-note__list {
  box-sizing: border-box;
  margin: 0;
  padding-left: 48px;
  list-style: none;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  opacity: 0.5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aeb-page .aeb-note__list li {
  position: relative;
  box-sizing: border-box;
  padding-left: 16px;
  span {
    display: block;
  }
}

.aeb-page .aeb-note__list li::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

/* =========================================================
   ============ MOBILE (<= 768px) ==========================
   ========================================================= */
@media (max-width: 768px) {
  .aeb-page .aeb-sec-npay {
    padding: 70px 0 80px;
  }

  .aeb-page .aeb-sec-npay__inner {
    gap: 30px;
  }

  .aeb-page .aeb-npay-title {
    padding: 0 18px;
  }

  .aeb-page .aeb-npay-title__lead {
    font-size: 18px;
    line-height: 24px;
    flex-direction: column;
    gap: 10px;
  }

  .aeb-page .aeb-npay-title__sub {
    font-size: 18px;
    line-height: 24px;
  }

  .aeb-page .aeb-npay-title__sub .aeb-hl {
    background: none;
  }

  .aeb-page .aeb-npay-date {
    height: auto;
    text-align: center;
    background-image: none;
    /* padding: 0 35px; */
    padding: 0 18px;
  }

  .aeb-page .aeb-npay-date__box {
    gap: 10px;
  }

  .aeb-page .aeb-npay-date__row {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 16px;
    line-height: 24px;
  }

  .aeb-page .aeb-npay-date__row dt {
    width: auto;
    font-weight: 800;
  }

  .aeb-page .aeb-npay-date__row dt::after {
    display: none;
  }

  .aeb-page .aeb-npay-date__sticker {
    display: none;
  }

  /* Prize - mobile */
  .aeb-page .aeb-npay-prize {
    width: 132%;
    max-width: 470px;
    margin-top: 10px;
  }

  .aeb-page .aeb-npay-prize__product {
    width: 65%;
    max-width: 300px;
    margin-top: -30px;
  }

  .aeb-page .aeb-npay-prize__caption {
    font-size: 18px;
    line-height: 22px;
    bottom: 18%;
  }

  .aeb-page .aeb-npay-prize__badge {
    font-size: clamp(12px, 5vw, 16px);
    top: -30px;
  }

  /* Join - mobile */
  .aeb-page .aeb-sec-join {
    padding: 150px 35px 70px;
    background-image: url("../images/join_bg_mobile.png");
  }

  .aeb-page .aeb-join-title__heading {
    font-size: 36px;
    line-height: 42px;
    gap: 16px;
  }

  .aeb-page .aeb-deco {
    display: none;
  }

  .aeb-page .aeb-steps {
    padding-top: 70px;
  }

  .aeb-page .aeb-step__head {
    gap: 12px;
  }

  .aeb-page .aeb-step__title {
    font-size: 20px;
    line-height: 28px;
  }

  .aeb-page .aeb-step__icon {
    width: 22px;
  }

  .aeb-page .aeb-step__desc {
    padding-left: 42px;
    font-size: 16px;
    line-height: 22px;
    span {
      display: inline;
    }
  }

  .aeb-page .aeb-step__action {
    padding-left: 42px;
  }

  .aeb-page .aeb-btn-discord {
    height: 60px;
    margin-top: 12px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 16px;
    gap: 4px;
  }

  .aeb-page .aeb-btn-discord__logo {
    width: 80px;
  }

  .aeb-page .aeb-btn-discord__arrow {
    width: 18px;
    height: 8px;
  }

  .aeb-page .aeb-note {
    margin-top: 80px;
  }

  .aeb-page .aeb-note__deco {
    display: none;
  }

  .aeb-page .aeb-note__title {
    gap: 16px;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 12px;
  }

  .aeb-page .aeb-note__list {
    padding-left: 28px;
    font-size: 15px;
    line-height: 22px;
    gap: 10px;
  }

  .aeb-page .aeb-note__list li {
    span {
      display: inline;
    }
  }

  .aeb-page .aeb-note__list li::before {
    top: 8px;
    width: 4px;
    height: 4px;
  }
}

/* =========================================================
   ============ EXTRA SMALL (<= 359px) =====================
   ========================================================= */
@media (max-width: 359px) {
  .aeb-page .aeb-sec-npay {
    /* padding: 50px 18px 50px; */
  }

  .aeb-page .aeb-sec-join {
    padding: 90px 18px 70px;
  }

  .aeb-page .aeb-join-title__heading {
    font-size: 30px;
    line-height: 36px;
    gap: 12px;
  }

  .aeb-page .aeb-step__title {
    font-size: 18px;
    line-height: 26px;
  }
}
