/* 1. 웹 폰트 불러오기  */
/* Pretendard Variable 폰트 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
/* Inter 폰트 */
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


/* 2. 전역 리셋 및 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  /* 모바일 터치 하이라이트 제거 */
  outline: none;
  /* 클릭 시 외곽선 제거 */
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  /* 한글 단어 단위 줄바꿈 */
  word-break: keep-all;
  text-align: center;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 3. 기본 태그 스타일링 */
a {
  text-decoration: none;
  color: inherit;
}

ul,
li,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* 4. 텍스트 정렬 유틸리티 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* 5. 폰트 굵기 (Font Weight) */
.fw-extrabold {
  font-weight: 800;
}

.fw-bold {
  font-weight: 700;
}

.fw-semibold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.fw-regular {
  font-weight: 400;
}

.fw-light {
  font-weight: 300;
}

.fw-extralight {
  font-weight: 200;
}

/* 6. 데스크탑 폰트 크기 (Desktop Font Size) */
.fs-87 {
  font-size: 87px;
}

.fs-80 {
  font-size: 80px;
}

.fs-60 {
  font-size: 60px;
}

.fs-55 {
  font-size: 55px;
}

.fs-54 {
  font-size: 54px;
}

.fs-52 {
  font-size: 52px;
}

.fs-50 {
  font-size: 50px;
}

.fs-48 {
  font-size: 48px;
}

.fs-45 {
  font-size: 45px;
}

.fs-40 {
  font-size: 40px;
}

.fs-38 {
  font-size: 38px;
}

.fs-37 {
  font-size: 37px;
}

.fs-36 {
  font-size: 36px;
}

.fs-35 {
  font-size: 35px;
}

.fs-34 {
  font-size: 34px;
}

.fs-33 {
  font-size: 33px;
}

.fs-32 {
  font-size: 32px;
}

.fs-30 {
  font-size: 30px;
}

.fs-28 {
  font-size: 28px;
}

.fs-27 {
  font-size: 27px;
}

.fs-26 {
  font-size: 26px;
}

.fs-25 {
  font-size: 25px;
}

.fs-24 {
  font-size: 24px;
}

.fs-23 {
  font-size: 23px;
}

.fs-22 {
  font-size: 22px;
}

.fs-21 {
  font-size: 21px;
}

.fs-20 {
  font-size: 20px;
}
.fs-19 {
  font-size: 19px;
}

.fs-18 {
  font-size: 18px;
}
.fs-12 {
  font-size: 12px;
}

/* 7. 줄 간격 및 자간 */
/* 줄 간격 */
.lh-0 {
  line-height: 1;
}

.lh-1 {
  line-height: 1.1;
}

.lh-2 {
  line-height: 1.2;
}

.lh-3 {
  line-height: 1.3;
}

.lh-4 {
  line-height: 1.4;
}

.lh-5 {
  line-height: 1.5;
}

.lh-6 {
  line-height: 1.6;
}

.lh-7 {
  line-height: 1.7;
}

/* 자간 */
.ls-m1 {
  letter-spacing: -0.01em;
}

.ls-m2 {
  letter-spacing: -0.02em;
}

.ls-m3 {
  letter-spacing: -0.03em;
}

.ls-m4 {
  letter-spacing: -0.04em;
}

.ls-m5 {
  letter-spacing: -0.05em;
}

.ls-p1 {
  letter-spacing: 0.01em;
}

.ls-p2 {
  letter-spacing: 0.02em;
}

.ls-p3 {
  letter-spacing: 0.03em;
}

.ls-p4 {
  letter-spacing: 0.04em;
}

.ls-p5 {
  letter-spacing: 0.05em;
}

/* 8. 레이아웃 및 정렬 */

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-inline {
  display: inline;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.items-stretch {
  align-items: stretch;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* 9. 디스플레이 및 반응형 노출 제어 */
.d-none {
  display: none;
}

.v-hidden {
  visibility: hidden;
}

.v-visible {
  visibility: visible;
}

@media screen and (max-width: 768px) {

  /* display */
  .m-d-none {
    display: none;
  }

  .m-d-block {
    display: block;
  }

  .m-d-inline-block {
    display: inline-block;
  }

  .m-d-inline {
    display: inline;
  }

  .m-d-flex {
    display: flex;
  }

  /* flex-direction */
  .m-flex-column {
    flex-direction: column;
  }

  .m-flex-row {
    flex-direction: row;
  }

  /* justify-content */
  .m-justify-start {
    justify-content: flex-start;
  }

  .m-justify-end {
    justify-content: flex-end;
  }

  .m-justify-center {
    justify-content: center;
  }

  .m-justify-between {
    justify-content: space-between;
  }

  /* align-items */
  .m-items-start {
    align-items: flex-start;
  }

  .m-items-end {
    align-items: flex-end;
  }

  .m-items-center {
    align-items: center;
  }

  /* text-align */
  .m-text-left {
    text-align: left;
  }

  .m-text-center {
    text-align: center;
  }

  .m-text-right {
    text-align: right;
  }
}

@media screen and (max-width: 768px) {
  .only-pc {
    display: none !important;
  }
}

@media screen and (min-width: 769px) {
  .only-mobile {
    display: none !important;
  }
}

/* 10. 모바일 폰트 크기 및 최적화 (< 768px) */
@media screen and (max-width: 768px) {
  :root {
    font-size: min(4vw, 16px);
    /* 화면 너비에 따른 유동적 폰트 기준 */
  }

  .fs-m-44 {
    font-size: 2.75rem;
  }

  .fs-m-30 {
    font-size: 1.875rem;
  }

  .fs-m-27 {
    font-size: 1.6875rem;
  }

  .fs-m-25 {
    font-size: 1.5625rem;
  }

  .fs-m-24 {
    font-size: 1.5rem;
  }

  .fs-m-23 {
    font-size: 1.5rem;
  }

  .fs-m-22 {
    font-size: 1.375rem;
  }

  .fs-m-21 {
    font-size: 1.3125rem;
  }

  .fs-m-20 {
    font-size: 1.25rem;
  }

  .fs-m-19 {
    font-size: 1.1875rem;
  }

  .fs-m-18 {
    font-size: 1.125rem;
  }

  .fs-m-17 {
    font-size: 1.0625rem;
  }

  .fs-m-16 {
    font-size: 1rem;
  }

  .fs-m-15 {
    font-size: 0.9375rem;
  }

  .fs-m-14 {
    font-size: 0.875rem;
  }

  .fs-m-13 {
    font-size: 0.8125rem;
  }

  .fs-m-12 {
    font-size: 0.75rem;
  }

  .fs-m-11 {
    font-size: 0.6875rem;
  }

  .fs-m-10 {
    font-size: 0.625rem;
  }

  .fs-m-9 {
    font-size: 0.5625rem;
  }
}

/* 11. 접근성 및 특수 유틸리티 */
.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  margin: -1px;
  overflow: hidden;
}

.cursor-pointer {
  cursor: pointer;
}

/* 키보드 접근성을 위한 포커스 스타일 (선택사항) */
/* *:focus-visible {
  outline: 2px solid #0066FF;
  outline-offset: 2px;
} */