/* 디자인 토큰 정의 */
:root {
  --color-bg-light: #f9fbfd;
  --color-shadow: rgba(255, 87, 124, 0.4); /* 버튼의 핑크색 톤에 맞춘 그림자 색상 */
  
  /* 레이아웃 토큰 */
  --container-max-width: 920px;
  
  /* 상단 버튼 위치 비율 (welcomeback_01.png 내 픽셀 매칭 및 텍스트 경계 분석 기준) */
  --top-cta-x: 4.8913%;
  --top-cta-y: 75.4902%;
  --top-cta-w: 38.3696%;
  --top-cta-h: 12.0915%;
  
  /* 하단 버튼 위치 비율 (welcomeback_02.png 내 픽셀 매칭 값 기준) */
  --bottom-cta-x: 26.4130%;
  --bottom-cta-y: 84.0802%;
  --bottom-cta-w: 47.1739%;
  --bottom-cta-h: 10.0236%;
  
  /* 트랜지션 토큰 */
  --transition-fast: 0.2s ease-in-out;
}

/* 초기화 스타일 */

/* 레이아웃 컴포넌트 */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  display: flex;
  flex-direction: column;
  gap: 0; /* 두 섹션 간 공백 없음 */
}

/* 섹션 컴포넌트 */
.section {
  position: relative;
  width: 100%;
}

.section__inner {
  width: 100%;
}

.section__body {
  width: 100%;
}

/* 이벤트 배너 컴포넌트 */
.event-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.event-banner__image {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none; /* 드래그 및 우클릭 방지 */
}

/* 버튼 컴포넌트 */
.btn {
  position: absolute;
  display: block;
  cursor: pointer;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 호버 효과 */
.btn:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 12px var(--color-shadow));
}

/* 버튼 개별 변형 (Modifiers) */
.btn--cta-top {
  position: absolute;
  left: var(--top-cta-x);
  top: var(--top-cta-y);
  width: var(--top-cta-w);
  height: var(--top-cta-h);
}

.btn--cta-bottom {
  position: absolute;
  left: var(--bottom-cta-x);
  top: var(--bottom-cta-y);
  width: var(--bottom-cta-w);
  height: var(--bottom-cta-h);
}

/* 유틸리티 클래스 */
.u-bg-light {
  background-color: var(--color-bg-light);
}

/* 스크린 리더 전용 숨김 텍스트 (접근성) */
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  #ts-promotion > .container {
      padding: 0 10px !important;
  }
}