/* 히어로 배너 */
.ticket-hero {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  height: 430px;
  overflow: hidden;
  /* 배경 이미지 */
  picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* 텍스트/티켓 오버레이 (좌: 텍스트 / 우: 티켓 이미지) */
  .ticket-hero-inner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1225px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 98px;
    padding: 0 40px 0 120px;
    z-index: 2;
    pointer-events: none;
  }
  .ticket-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 456px;
    letter-spacing: -0.4px;
    z-index: 3;
  }
  .ticket-hero-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    height: 32px;
    padding: 10px 22px 6px;
    font-family: "SBAggro";
    font-size: 16px;
    color: #fff;
    background: #ff4e47;
    border-radius: 50px;
  }
  .ticket-hero-text-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    letter-spacing: -0.4px;
  }
  .ticket-hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    color: #fff;
  }
  .ticket-hero-date,
  .ticket-hero-subtitle {
    font-size: 20px;
    line-height: 30px;
    color: #fff;
  }
  .ticket-hero-ticket {
    flex-shrink: 0;
    width: 308px;
    filter: drop-shadow(0 4px 4px rgba(7, 135, 255, 0.25));
  }
  .ticket-hero-ticket img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* 이벤트 탭  */
.ticket-event-tabs {
  margin-bottom: 50px;
}
.ticket-tab-list {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticket-event-tab {
  width: 320px;
  height: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  background: transparent;
  border: 1px solid #000;
  border-right: none;
  letter-spacing: -0.03em;
  &.active {
    color: #fff;
    background: #000;
  }
  &:disabled {
    color: #878792;
    cursor: not-allowed;
  }
  &:last-child {
    border-right: 1px solid #000;
  }
}

/* 이벤트 탭 패널 (진행중인 이벤트 / 당첨자발표) */
/* 대응 탭이 active일 때만 표시 */
.ticket-tab-panel {
  display: none;
}
.ticket-tab-panel.active {
  display: block;
}

/* 당첨자 발표 게시판 */
.winner-section {
  background: #fff;
  padding-bottom: 150px;
  .notice-wrap {
    padding-top: 20px;
  }
  .customer-content {
    margin-top: -36px;
  }
}
.section01:has(.ticket-event-tab[data-event-tab="winner"].active) {
  padding-bottom: 40px;
  background: #fff;
}
.section01:has(.ticket-event-tab[data-event-tab="winner"].active) .ticket-event-tabs {
  margin-bottom: 0;
}
.winner-head {
  width: 100%;
  text-align: center;
}
.winner-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.03px;
  color: #000;
}
.winner-subtitle {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.04px;
  color: #0b0c0f;
}
.winner-section .notice-answer {
  text-align: center;
}

/* 이미지 섹션 공통  */
.ticket-section {
  position: relative;
  line-height: 1;
  overflow: hidden;
  &.section01 {
    padding: 40px 0 100px 0;
    background: linear-gradient(107deg, #cdf0ff 11.58%, #dee5ff 45.39%);
  }
  &.section02 {
    padding: 138px 0 100px 0;
    background: #010206;
  }
  &.section03 {
    padding: 90px 0 95px 0;
    background: linear-gradient(180deg, #58a1fe 0.12%, #b6c1ff 100.12%);
  }
  &.section04 {
    padding: 90px 0 80px 0;
    background: #6ec3e8;
  }
  &.section05 {
    padding: 90px 0 100px 0;
    background: #6f5cb8;
  }
}

/* 섹션 공통 컨텐츠 */
.section-content {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  text-align: center;
}

/* 이벤트 뱃지 */
.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 36px;
  padding: 0 20px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 50px;
  &.event-badge-primary {
    color: #5355ee;
    border: 1px solid #5355ee;
  }
  &.event-badge-white {
    color: #fff;
    border: 1px solid #fff;
  }
}

/* 섹션 헤더 (타이틀 영역) */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

/* --- 섹션 타이틀 --- */
.section-title {
  font-family: "SBAggro";
  font-size: 40px;
  line-height: 60px;
  &.section-title-primary {
    color: #5355ee;
    font-weight: 500;
    line-height: 34px;
  }
  &.section-title-white {
    color: #fff;
    font-weight: 700;
    line-height: 60px;
  }
  &.section-title-white-light {
    color: #fff;
    font-weight: 300;
    line-height: 60px;
  }
}
.section-title-group {
  text-align: center;
}
.section-subtitle {
  text-align: center;
  p {
    font-family: "SBAggro";
    font-size: 30px;
    line-height: 40px;
    color: #161616;
  }
  .section-subtitle-light {
    font-weight: 300;
  }
  .section-subtitle-medium {
    font-weight: 500;
  }
}
.section-desc {
  font-size: 24px;
  line-height: 1.4;
  color: #000;
  strong {
    font-weight: 600;
  }
  &.section-desc--white {
    color: #fff;
    font-weight: 500;
    font-size: 26px;
    line-height: 34px;
  }
  &.section-desc--white-sub {
    color: #fff;
    font-size: 24px;
    line-height: 34px;
  }
  &.section-desc-light {
    color: #e8e8e8;
    font-weight: 500;
    font-size: 26px;
    line-height: 34px;
  }
}
.section-desc-group {
  text-align: center;
}
.section-divider {
  width: 700px;
  max-width: 90%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.text-yellow {
  color: #fff07d;
  font-style: normal;
}

/* ===== 섹션1: 런칭 기념 이벤트 ===== */
.section01 {
  .section-header {
    margin-bottom: 0;
  }
}
.applicant-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  margin: 20px 0 90px;
}
.applicant-counter-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  height: 46px;
  line-height: 1;
  padding: 0 15px;
  font-size: 24px;
  font-weight: 400;
  font-family: "SBAggro";
  color: #21284b;
  background: linear-gradient(
    94deg,
    #fff 0.02%,
    #dee4ff 19.09%,
    #fff 49.91%,
    #dee4ff 95.4%,
    rgba(255, 255, 255, 0.5) 101.76%
  );
  border: 1px solid #fff;
  border-radius: 50px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  letter-spacing: -0.02em;
}
.applicant-counter-digits {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.applicant-counter-total {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: #91a1e0;
}

/* 플립 카드 */
.flip-card {
  position: relative;
  width: 137px;
  height: 200px;
  perspective: 500px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 15px;
}
.flip-card::before,
.flip-card::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 15px;
  background: #373737;
  z-index: 10;
}
.flip-card::before {
  left: -2px;
}
.flip-card::after {
  right: -2px;
}

/* 카드 face 공통 (상/하 반쪽) */
.flip-face {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  background: #373737;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip-face .digit-value {
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  font-family: "Post No Bills Jaffna";
  font-weight: 600;
  font-size: 90px;
  line-height: 210px;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
}
.flip-top-static,
.flip-top-anim {
  top: 0;
  background: linear-gradient(180deg, #242424 42.79%, #4a4a4a 100%);
  border-radius: 15px 15px 0 0;
  transform-origin: 50% 100%;
  ::before {
    content: "";
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
  }
}
.flip-top-static .digit-value,
.flip-top-anim .digit-value {
  top: -2px;
}
.flip-bottom-static,
.flip-bottom-anim {
  bottom: 0;
  border-radius: 0 0 15px 15px;
  transform-origin: 50% 0%;
}
.flip-bottom-static .digit-value,
.flip-bottom-anim .digit-value {
  bottom: -1px;
}
.flip-top-anim,
.flip-bottom-anim {
  z-index: 3;
}
.flip-top-anim {
  transform: rotateX(0);
}
.flip-bottom-anim {
  transform: rotateX(90deg);
}
.flip-card.flipping .flip-top-anim {
  animation: flip-old-top 0.3s ease-in forwards;
}
.flip-card.flipping .flip-bottom-anim {
  animation: flip-new-bottom 0.3s 0.3s ease-out forwards;
}
.applicant-counter.counting-up .flip-card.flipping .flip-top-anim {
  animation-duration: 0.06s;
}
.applicant-counter.counting-up .flip-card.flipping .flip-bottom-anim {
  animation-duration: 0.06s;
  animation-delay: 0.06s;
}
@keyframes flip-old-top {
  0% {
    transform: rotateX(0);
  }
  100% {
    transform: rotateX(-90deg);
  }
}
@keyframes flip-new-bottom {
  0% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0);
  }
}

/* 카드 영역 */
.event-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 400px;
  background: #fff;
  border: 1px solid #5355ee;
  border-radius: 30px;
  overflow: hidden;
}
.event-card-top {
  width: 100%;
  padding: 50px 60px 0 60px;
  .event-card-title {
    font-family: "SBAggro";
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
  }
}
.event-card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 50px 40px;
  flex: 1;
}
.event-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 55px;
  padding: 0 10px;
  font-family: "SBAggro";
  font-weight: 500;
  font-size: 20px;
  color: #5355ee;
  border: 1px solid #5355ee;
  border-radius: 50px;
  margin-bottom: 25px;
}

.event-card-line {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.5);
}
.event-card-desc {
  font-size: 20px;
  line-height: 1.4;
  color: #000;
  text-align: center;
  margin-bottom: 10px;
}
.event-card-note {
  font-size: 18px;
  line-height: 1.3;
  color: #494949;
  text-align: center;
}

/* 섹션1 버튼 */
.section01-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: calc(100% - 60px);
  max-width: 345px;
  height: 67px;
  margin: auto 30px 30px;
  padding: 12px 20px;
  font-size: 18px;
  color: #fff;
  font-family: "SBAggro";
  font-weight: 300;
  text-align: left;
  background: #000;
  border-radius: 50px;
  strong {
    font-weight: 500;
  }
  &:hover {
    background: #5355ee;
  }
  &.completed {
    background: #5355ee;
  }
}

/* 하트 풍선 이미지 둥둥 애니메이션 */
.balloon-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
  pointer-events: none;
}

/* 반짝이 별 */
.section01-stars-layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 557px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.section01-star {
  position: absolute;
  animation: twinkle 2.5s ease-in-out infinite;
}
.section01-star:nth-child(1) {
  width: 15px;
  top: 4%;
  left: 14%;
  animation-delay: 0s;
}
.section01-star:nth-child(2) {
  width: 34px;
  top: 21%;
  left: 5%;
  animation-delay: 0.5s;
}
.section01-star:nth-child(3) {
  width: 34px;
  top: 15%;
  right: 2%;
  animation-delay: 1s;
}
.section01-star:nth-child(4) {
  width: 17px;
  top: 27%;
  right: 9%;
  animation-delay: 1.5s;
}

.section01 .section-header,
.section01 .applicant-counter,
.section01 .event-cards {
  position: relative;
  z-index: 1;
}
.balloon-effect {
  position: absolute;
  animation: balloonFloatUp 3s ease-in-out infinite;
  &.section01-balloon01 {
    left: -125px;
    bottom: 10%;
    z-index: 2;
  }
  &.section01-balloon02 {
    right: -100px;
    bottom: 32%;
    animation: balloonFloatDown 3s ease-in-out infinite;
  }
}

@keyframes balloonFloatUp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
}

@keyframes balloonFloatDown {
  0%,
  100% {
    transform: translateY(-40px);
  }
  50% {
    transform: translateY(0);
  }
}

/* ===== 섹션2: 이벤트 참여 안내 */
.section02-poster {
  max-width: 1020px;
  margin: 0 auto 70px;
  img {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* 포스터 공개 전 : COMING SOON */
.section02-coming {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  max-width: 538px;
  margin: 0 auto;
  &::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 58px;
    z-index: -1;
    width: 852px;
    height: 398px;
    transform: translate(-50%, -50%);
    background: url(../images/sub/glow_effect_intro.png) no-repeat center / 100% 100%;
    filter: blur(6px);
    pointer-events: none;
  }
}
.section02-sparkles {
  position: absolute;
  left: -93px;
  top: -104px;
  width: 234px;
  height: 192px;
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}
.section02-sparkle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #d6bdff 0%, #7b2cff 100%);
  box-shadow: 0 0 10.67px rgba(255, 255, 255, 0.38);
  animation: twinkle 3.5s ease-in-out infinite;
}
.section02-sparkle:nth-child(1) {
  left: 22px;
  top: 10px;
  width: 18px;
  height: 18px;
  animation-delay: 0s;
}
.section02-sparkle:nth-child(2) {
  left: 206px;
  top: 57px;
  width: 18px;
  height: 18px;
  animation-delay: 0.5s;
}
.section02-sparkle:nth-child(3) {
  left: 10px;
  top: 117px;
  width: 24px;
  height: 24px;
  filter: blur(2px);
  animation-delay: 1s;
}
.section02-sparkle:nth-child(4) {
  left: 69px;
  top: 117px;
  width: 12px;
  height: 12px;
  animation-delay: 1.5s;
}
.section02-sparkle:nth-child(5) {
  left: 158px;
  top: 135px;
  width: 12px;
  height: 12px;
  animation-delay: 2s;
}
.section02-sparkle:nth-child(6) {
  left: 69px;
  top: 170px;
  width: 12px;
  height: 12px;
  animation-delay: 2.5s;
}
.section02-sparkle:nth-child(7) {
  left: 140px;
  top: 170px;
  width: 12px;
  height: 12px;
  animation-delay: 3s;
}
.section02-coming-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 192px;
  height: 32px;
  padding: 4px 20px 0;
  font-family: "SBAggro";
  font-weight: 500;
  font-size: 18px;
  color: #000;
  background: #fff;
  border-radius: 50px;
}
.section02-coming-title {
  font-family: "SBAggro";
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-align: center;
  letter-spacing: -0.03px;
}
.section-divider.section02-coming-divider {
  width: 50px;
  background: #fff;
}
.section02-coming-img {
  width: 100%;
  max-width: 421px;
  img {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* 동영상 영역 */
.section02-video {
  position: relative;
  z-index: 1;
  max-width: 1047px;
  margin: 90px auto 85px;
}
.section02-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  iframe,
  video,
  img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
.section02-info {
  position: relative;
  z-index: 0;
  max-width: 700px;
  margin: 0 auto;
}
.section02-info-title {
  font-family: "SBAggro";
  font-weight: 500;
  font-size: 30px;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}
.event-info-box {
  position: relative;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 25px 20px;
  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: -15px;
    left: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    filter: blur(7.5px);
  }
}
.event-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
  color: #0f1232;
  &:not(:last-child) {
    margin-bottom: 30px;
  }
  dt {
    font-family: "SBAggro";
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
  }
  dd {
    font-size: 22px;
    line-height: 30px;
  }
}

/* --- 섹션2 공통 --- */
.section02-block {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 130px;
  color: #fff;
}
.section02-block--notice {
  padding-top: 90px;
}
.glow-heading {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  &::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 825px;
    max-width: 130%;
    height: 218px;
    transform: translate(-50%, -50%);
    background: url(../images/sub/glow_effect_title.png) no-repeat center / 100% 100%;
    filter: blur(6px);
    pointer-events: none;
    z-index: 0;
  }
  h3 {
    position: relative;
    z-index: 1;
    padding: 23px 35px;
    min-width: 450px;
    font-family: "SBAggro";
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    text-align: center;
    background: linear-gradient(263deg, #c8f0ff 0%, #fff 91%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  h3::before,
  h3::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.7) 18%,
      rgba(255, 255, 255, 0.7) 82%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  h3::before {
    top: 0;
  }
  h3::after {
    bottom: 0;
  }
}

.glow-title {
  font-family: "SBAggro";
  font-weight: 500;
  font-size: 26px;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(263deg, #c8f0ff 0%, #fff 91%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section02-box {
  position: relative;
  background: rgba(27, 27, 27, 0.7);
  border-radius: 10px;
}
.section02-guide {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.section02-guide-bg {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 680px;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  img {
    display: block;
    width: 100%;
    height: 100%;
  }
}
.section02-guide-inner {
  position: relative;
  z-index: 1;
  padding: 55px 10px 30px;
  &::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 352px;
    z-index: -1;
    width: 701px;
    max-width: 110%;
    height: 717px;
    transform: translate(-50%, -50%);
    background: url(../images/sub/glow_effect_card.png) no-repeat center / 100% 100%;
    filter: blur(6px);
    pointer-events: none;
  }
}
.glow-title + .guide-info-list {
  margin-top: 65px;
}
.guide-info-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.guide-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  dd {
    font-size: 18px;
    line-height: 30px;
    color: #fff;
    strong {
      font-weight: 700;
    }
  }
}
.guide-info-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 32px;
  padding: 4px 20px 0;
  font-family: "SBAggro";
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  color: #000;
  background: #fff;
  border-radius: 50px;
}
.guide-info-strong {
  display: block;
  font-weight: 600;
}
.guide-info-sub {
  display: block;
  font-size: 16px;
  line-height: 30px;
  color: #c3cad3;
}
.section02-note {
  width: 570px;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 16px 32px;
  background: rgba(151, 151, 151, 0.1);
  border-radius: 10px;
  text-align: left;
  li {
    position: relative;
    padding-left: 14px;
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 13px;
      width: 4px;
      height: 4px;
      background: #fff;
      border-radius: 50%;
    }
  }
}

/* --- 라인업 --- */
.section02-block--lineup {
  max-width: 998px;
  padding-right: 20px;
  padding-left: 20px;
}
.lineup-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 50px;
}
.lineup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lineup-thumb {
  position: relative;
  width: 100%;
  max-width: 215px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  &:empty {
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
}
.lineup-name {
  width: 100%;
  margin-top: 16px;
  font-size: 18px;
  line-height: 40px;
  color: #fff;
  text-align: center;
  word-break: normal;
}

/* --- 이벤트 유의사항 --- */
.section02-terms-notice {
  width: 570px;
  max-width: 100%;
  margin: 0 auto;
  padding: 17px 4px;
  text-align: center;
}
.section02-box-strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  color: #fff;
}
.section02-box-desc {
  margin-top: 22px;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
}
.section02-terms-list {
  width: 648px;
  max-width: 100%;
  margin: 60px auto 0;
  text-align: left;
  counter-reset: terms-item;
  li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 45px;
    font-size: 16px;
    line-height: 32px;
    color: #fff;
    counter-increment: terms-item;
    &:last-child {
      margin-bottom: 0;
    }
    &::before {
      content: counter(terms-item) ".";
      position: absolute;
      left: 0;
      top: 0;
    }
  }
}
.section02-goods {
  text-align: center;
}
.section02-goods-title,
.section02-goods-desc {
  position: relative;
  z-index: 1;
}
.section02-goods-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 26px;
  color: #fff;
}
.section02-goods-desc {
  margin-top: 26px;
  font-size: 18px;
  line-height: 26px;
  color: #fff;
}
.section02-goods-img {
  width: 512px;
  max-width: 100%;
  margin: -47px auto 0;
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* --- 공연 안내사항  --- */
.section02-dash-list {
  width: 636px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  li {
    font-size: 18px;
    line-height: 40px;
    color: #fff;
    &::before {
      content: "-";
      margin-right: 6px;
    }
    &:first-child {
      &::before {
        content: "•";
      }
    }
  }
}

/* --- 티켓 현장 수령 안내 --- */
.section02-receive {
  width: 666px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  li {
    font-size: 18px;
    line-height: 40px;
    color: #fff;
    &::before {
      content: "•";
      margin-right: 6px;
    }
    &:not(:last-child) {
      margin-bottom: 40px;
    }
    strong {
      font-weight: 600;
    }
  }
}

/* 유효 신분증 박스  */
.section02-id {
  width: 700px;
  max-width: 100%;
  margin: 59px auto 0;
  padding: 47px 21px 40px;
  text-align: left;
}
.section02-id-badge {
  position: absolute;
  left: 0;
  top: -19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 133px;
  height: 40px;
  padding: 2px 20px 0;
  font-family: "SBAggro";
  font-weight: 500;
  font-size: 18px;
  color: #000;
  background: #fff;
  border-radius: 50px;
}
.section02-id-list {
  padding: 0 0 11px 31px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  counter-reset: id-item;
  li {
    position: relative;
    font-size: 18px;
    line-height: 40px;
    color: #fff;
    counter-increment: id-item;
    &::before {
      content: counter(id-item);
      position: absolute;
      left: -31px;
      top: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      font-family: "SBAggro";
      font-weight: 300;
      font-size: 14px;
      line-height: 1;
      color: #000;
      background: #fff;
      border-radius: 50%;
    }
  }
}
.section02-id-notes {
  margin-top: 11px;
  li {
    position: relative;
    padding-left: 16px;
    font-size: 16px;
    line-height: 36px;
    color: #fff;
    &::before {
      content: "•";
      position: absolute;
      left: 0;
      top: 0;
    }
  }
}

/* ===== 섹션3: 티켓의 주인공은 누구? ===== */
.section03 {
  .section-header {
    margin-bottom: 10px;
  }
}
.section03-ticket {
  max-width: 250px;
  margin: 0 auto 30px;
  img {
    width: 100%;
    height: auto;
  }
}
.section03-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.section03-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 345px;
  height: 67px;
  padding: 12px 20px 12px 22px;
  font-size: 18px;
  color: #fff;
  font-family: "SBAggro";
  font-weight: 300;
  text-align: left;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  &:hover {
    color: #4776c5;
    background: rgba(255, 255, 255, 0.9);
    &::after {
      background-color: #4776c5;
    }
  }
  &::after {
    content: "";
    display: block;
    width: 28px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    mask-image: url(../images/common/icon_arrow_slink.svg);
    -webkit-mask-image: url(../images/common/icon_arrow_slink.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
  }
  &.completed {
    color: #5355ee;
    background: #fff;
    &::after {
      background-color: #5355ee;
    }
  }
  &.available {
    border: 1px solid #fff;
  }
}

/* ===== 섹션4: 기다림 없이 바로 GET! ===== */
.section04-desc {
  text-align: center;
  margin-bottom: 30px;
}
.section04-desc-title {
  font-family: "SBAggro";
  font-weight: 300;
  font-size: 26px;
  line-height: 34px;
  color: #fff;
  margin-bottom: 54px;
}
.section04-desc-text {
  font-family: "SBAggro";
  font-weight: 300;
  font-size: 26px;
  line-height: 34px;
  color: #fff;
}
.section04-ticket {
  max-width: 250px;
  margin: 0 auto 30px;
  img {
    width: 100%;
    height: auto;
  }
}
.section04-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.section04-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 345px;
  height: 67px;
  padding: 12px 20px 12px 22px;
  font-size: 18px;
  color: #6ec3e8;
  font-family: "SBAggro";
  font-weight: 300;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  &::after {
    content: "";
    display: block;
    width: 28px;
    height: 12px;
    background-color: #6ec3e8;
    mask-image: url(../images/common/icon_arrow_slink.svg);
    -webkit-mask-image: url(../images/common/icon_arrow_slink.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
  }
  &.completed {
    color: #4776c5;
    background: #fff;
    &::after {
      background-color: #4776c5;
    }
  }
  &:hover {
    color: #4776c5;
    background: #fff;
    &::after {
      background-color: #4776c5;
    }
  }
}

/* ===== 섹션5: 포인트 쉽게 모으는 방법 ===== */
.point-policy {
  max-width: 1100px;
  margin: 0 auto;
}
.point-policy-title {
  font-family: "SBAggro";
  font-weight: 300;
  font-size: 28px;
  line-height: 34px;
  color: #000;
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 25px;
  border-bottom: 1px solid #989898;
}
.point-policy-wrap {
  position: relative;
  background: #fdec58;
  padding: 45px 60px 20px 60px;
}
.point-policy-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 166px;
  transform: translateX(-50%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #6f5cb8;
}
.point-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 10px;
  text-align: center;
}
.point-grid-col {
  display: contents;
}
.point-grid-head {
  font-family: "SBAggro";
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  background: #ffc000;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}
.point-grid-cell {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.36px;
  color: #000;
  background: #fff;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 13px 0px 10px 0px;
}
.text-small {
  display: block;
  font-size: 14px;
  letter-spacing: -0.36px;
}
.point-policy-notice {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  text-align: center;
  margin-top: 20px;
}

/* ===== 이벤트 참여 팝업 ===== */
.popup-point {
  .popup-content-inner {
    padding: 40px;
  }
}
.popup-point-btns {
  display: flex;
  align-items: center;
  justify-content: center;
}
.point-cancel-btn {
  flex-shrink: 0;
  width: 153px;
  border: none;
  background: #6d6d6d;
}

@media (max-width: 979px) {
  /* 히어로 배너 모바일 : 텍스트 상단 좌측 / 티켓 우하단 (auction 배너 기준) */
  .ticket-hero {
    height: 500px;
    .ticket-hero-inner {
      max-width: none;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 0;
      padding: 60px 10px 0 20px;
    }
    .ticket-hero-content {
      gap: 12px;
    }
    .ticket-hero-ticket {
      position: absolute;
      right: 20px;
      bottom: 10px;
      width: 177px;
    }
    picture img {
      object-position: center bottom;
    }
  }

  /* 현재 응모자 */
  .applicant-counter {
    margin: 45px 0 50px;
  }
  .applicant-counter-total {
    margin-bottom: 10px;
    order: -1;
  }
  .applicant-counter-digits {
    justify-content: space-between;
    gap: 0;
    max-width: 354px;
    width: 100%;
  }
  /* 카드 개수별 너비 자동 조정 (3개 → 100px, 4개 → 85px, 5개 → 70px) */
  .applicant-counter-digits:has(.flip-card:nth-child(3):last-child) .flip-card {
    width: 100px;
  }
  .applicant-counter-digits:has(.flip-card:nth-child(4):last-child) .flip-card {
    width: 85px;
  }
  .applicant-counter-digits:has(.flip-card:nth-child(5):last-child) .flip-card {
    width: 70px;
  }
  .flip-card {
    height: 150px;
  }
  .flip-face .digit-value {
    height: 150px;
    line-height: 160px;
  }
  .flip-card::before,
  .flip-card::after {
    width: 5px;
    height: 12px;
  }

  /* 이벤트 탭 모바일 */
  .ticket-event-tabs {
    padding: 0 20px;
    margin-bottom: 45px;
  }
  .ticket-event-tab {
    width: auto;
    flex: 1;
  }

  /* 반짝이 별 모바일 */
  .section01-stars-layer {
    width: 100%;
  }
  .section01-star:nth-child(1) {
    left: 4%;
    top: 2%;
  }
  .section01-star:nth-child(3) {
    top: 5%;
  }
  .section01-star:nth-child(4) {
    top: 24%;
  }

  /* 이미지 섹션 공통  */
  .ticket-section {
    &.section01 {
      padding: 30px 0 70px 0;
    }
    &.section02 {
      padding: 70px 0 100px 0;
    }
    &.section03 {
      padding: 100px 0 100px 0;
    }
    &.section04 {
      padding: 100px 0 100px 0;
    }
    &.section05 {
      padding: 100px 0 100px 0;
    }
  }

  /* 섹션 헤더 */
  .section-header {
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 10px;
  }
  .section-title {
    &.section-title-white {
      line-height: 50px;
    }
    &.section-title-white-light {
      line-height: 50px;
      font-size: 32px;
    }
  }
  .section-desc {
    font-size: 22px;
    &.section-desc--white {
      font-size: 24px;
    }
    &.section-desc--white-sub {
      font-size: 22px;
    }
    &.section-desc-light {
      color: #fff;
    }
  }

  /* 섹션1 카드 */
  .balloon-area {
    display: none;
  }
  .event-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
  }
  .event-card {
    width: 100%;
    max-width: 400px;
  }
  .section01-btn {
    width: calc(100% - 40px);
    font-size: 15px;
    padding: 12px 10px;
    margin: auto 20px 30px;
    img {
      width: 50px;
    }
  }

  /* 섹션2 */
  .section02-poster {
    padding: 0 20px;
    margin-bottom: 60px;
    margin: 0 auto 90px;
  }
  .section02-coming {
    padding: 0 20px;
  }
  .section02-video {
    margin: 40px auto 50px;
    padding: 0 20px;
  }
  .section02-sparkles {
    left: 0;
    top: -46px;
    transform: scale(0.62);
    transform-origin: left top;
  }
  .section02-info {
    padding: 0 20px;
  }
  .section02-info-title {
    margin-bottom: 20px;
  }
  .event-info-box {
    padding: 24px 10px;
  }
  .event-info-item {
    dd {
      font-size: 18px;
    }
    &:not(:last-child) {
      margin-bottom: 24px;
    }
  }

  /* 섹션2 — 개편 블록 (COMING SOON 아래 5개) */
  .section02-coming-badge {
    min-width: 0;
  }
  .section02-block {
    max-width: none;
    padding: 90px 20px 0;
  }

  /* 라인업 */
  .lineup-list {
    column-gap: 20px;
    row-gap: 60px;
  }

  /* 이벤트 참여 안내 카드 */
  .section02-guide {
    max-width: none;
    margin: 0 20px;
  }
  .section02-guide-bg {
    width: 100%;
  }
  .section02-guide-inner {
    &::before {
      top: 240px;
      width: 100%;
      height: 320px;
    }
  }
  .section02-note {
    width: 100%;
    padding: 16px 20px;
  }

  /* 이벤트 유의사항 */
  .section02-terms-notice {
    width: 100%;
    padding: 17px 16px;
  }
  .section02-terms-list {
    width: 100%;
    margin-top: 40px;
  }

  /* 스타굿즈경매 */
  .section02-goods-img {
    margin-top: -20px;
  }

  /* 공연 안내사항 / 티켓 수령 */
  .section02-dash-list {
    width: 100%;
    li {
      line-height: 32px;
    }
  }
  .section02-receive {
    width: 100%;
    li {
      line-height: 30px;
      &:not(:last-child) {
        margin-bottom: 30px;
      }
    }
  }
  .section02-id {
    width: 100%;
  }
  .section02-id-list {
    padding-left: 28px;
    li {
      line-height: 30px;
      &::before {
        left: -28px;
        top: 4px;
      }
    }
  }
  .section02-id-notes {
    li {
      line-height: 30px;
    }
  }

  /* 섹션3 */
  .section03-btns {
    padding: 0 30px;
  }

  /* 섹션4 */
  .section04-desc-title,
  .section04-desc-text {
    margin-bottom: 30px;
  }
  .section04-btns {
    padding: 0 30px;
    margin-top: 15px;
  }
  .section04-btn {
    min-width: 100%;
  }

  /* 섹션5 포인트 정책 */
  .point-policy {
    padding: 0 20px;
  }
  .point-policy-wrap::before {
    display: none;
  }
  .point-policy-wrap {
    padding: 25px 7px 20px 7px;
  }
  .point-policy-title {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .point-grid {
    column-gap: 6px;
  }
  .point-grid-head {
    font-size: 16px;
    padding: 10px 0;
  }
  .point-grid-cell {
    font-size: 15px;
    line-height: 1.2;
    padding: 10px 0;
  }
  .text-small {
    font-size: 10px;
  }
  .point-policy-notice {
    margin-top: 25px;
  }
}

@media (max-width: 767px) {
  .section-divider {
    width: 250px;
  }
  .section03-btn {
    min-width: 100%;
  }

  .glow-heading {
    margin-bottom: 40px;
    h3 {
      min-width: 100%;
      padding: 23px 20px;
    }
  }

  .lineup-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .lineup-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
