/* 프리텐다드 폰트 import */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* CSS Reset - 브라우저 기본 스타일 완전 제거 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 모든 요소의 기본 스타일 초기화 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 링크와 버튼의 기본 스타일 완전 제거 */
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

button:focus {
  outline: none;
}

button:active {
  outline: none;
}

/* 입력 필드 기본 스타일 제거 */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: transparent;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
}

/* 기본 스타일 재설정 */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.4;
  background-color: var(--color-background);
  overflow-x: hidden;
}

/* Root 스타일 및 CSS 변수 - Style Guide 기반 */
:root {
  /* ============================================
     Style Guide - Primary Brand Color
     ============================================ */
  --primary-brand: #3399ff;
  --primary-brand-hover: #2a7fd9;
  --primary-brand-light: rgba(51, 153, 255, 0.1);
  --primary-brand-shadow: rgba(51, 153, 255, 0.3);

  /* ============================================
     Style Guide - Font Colors
     ============================================ */
  --font-default: #333333;
  --font-sub: #666666;
  --font-disable: #b3b3b3;
  --font-primary: #3399ff;
  --font-white: #ffffff;

  /* ============================================
     Style Guide - Border Colors
     ============================================ */
  --border-dark: #cccccc;
  --border-default: #dddddd;
  --border-light: #eeeeee;

  /* ============================================
     Style Guide - Background Colors
     ============================================ */
  --bg-white: #ffffff;
  --bg-verylight-gray: #fafbfc;
  --bg-light-gray: #f8f9fa;
  --bg-gray: #f9f9f9;

  /* ============================================
     기존 호환성을 위한 변수 (Style Guide 기반으로 업데이트)
     ============================================ */
  --color-primary-gradient: rgba(0, 172, 160, 1);
  --color-text: var(--font-default);
  --color-text-secondary: var(--font-sub);
  --color-border: var(--border-default);
  --color-background: var(--bg-white);
  --primary-color: var(--primary-brand);
  --primary-light: var(--primary-brand-light);
  --primary-dark: var(--primary-brand-hover);
  --danger-color: #e74c3c;
  --text-primary: var(--font-default);
  --text-secondary: var(--font-sub);
  --text-muted: var(--font-disable);
  --bg-light: var(--bg-light-gray);
  --bg-lighter: var(--bg-verylight-gray);
  --border-color: var(--border-default);
  --border-radius: 8px;
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);

  /* ============================================
     Style Guide - Typography (Web)
     ============================================ */
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Web Typography */
  --font-h1-size: 40px;
  --font-h1-line-height: 48px;
  --font-h1-letter-spacing: -0.8px;
  --font-h1-weight: 600;

  --font-h2-size: 32px;
  --font-h2-line-height: 38.4px;
  --font-h2-letter-spacing: -0.64px;
  --font-h2-weight: 600;

  --font-h3-size: 24px;
  --font-h3-line-height: 28.8px;
  --font-h3-letter-spacing: -0.48px;
  --font-h3-weight: 600;

  --font-body-size: 18px;
  --font-body-line-height: 25.2px;
  --font-body-letter-spacing: -0.36px;
  --font-body-weight: 400;
  --font-body-bold-weight: 600;

  --font-button-size: 16px;
  --font-button-line-height: 19.2px;
  --font-button-letter-spacing: -0.32px;
  --font-button-weight: 700;

  --font-subcopy-size: 16px;
  --font-subcopy-line-height: 19.2px;
  --font-subcopy-letter-spacing: -0.32px;
  --font-subcopy-weight: 400;
  --font-subcopy-bold-weight: 600;

  --font-small-size: 14px;
  --font-small-line-height: 16.8px;
  --font-small-letter-spacing: -0.28px;
  --font-small-weight: 400;
  --font-small-bold-weight: 600;

  --font-caption-size: 12px;
  --font-caption-line-height: 14.4px;
  --font-caption-letter-spacing: -0.24px;
  --font-caption-weight: 400;

  --font-form-label-size: 16px;
  --font-form-label-line-height: 19.2px;
  --font-form-label-letter-spacing: -0.32px;
  --font-form-label-weight: 600;

  /* Mobile Typography */
  --font-mobile-h1-size: 32px;
  --font-mobile-h1-line-height: 38.4px;
  --font-mobile-h1-letter-spacing: -0.64px;

  --font-mobile-h2-size: 28px;
  --font-mobile-h2-line-height: 33.6px;
  --font-mobile-h2-letter-spacing: -0.56px;

  --font-mobile-h3-size: 18px;
  --font-mobile-h3-line-height: 21.6px;
  --font-mobile-h3-letter-spacing: -0.36px;

  --font-mobile-body-size: 16px;
  --font-mobile-body-line-height: 19.2px;
  --font-mobile-body-letter-spacing: -0.32px;

  /* 기존 호환성을 위한 변수 */
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */

  /* 간격 변수 */
  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */

  /* 헤더 높이 */
  --header-height: 110px;
  --header-height-mobile: 65px;

  /* 컨테이너 최대 너비 */
  --container-max-width: 1280px;

  /* 반응형 계산 기준 너비 */
  --container-width: 900;
  --container-width-tablet: 750;
  --container-width-desktop: 1280;

  /* 트랜지션 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* 그림자 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

  /* ============================================
     Style Guide - Button Heights
     ============================================ */
  --button-primary-height: 64px;
  --button-secondary-height-54: 54px;
  --button-secondary-height-34: 34px;
  --button-border-radius: 50px;
}

/* ============================================
   Style Guide - Typography Classes
   ============================================ */

/* Web Typography */
h1 {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-h1-weight);
  font-size: var(--font-h1-size);
  line-height: var(--font-h1-line-height);
  letter-spacing: var(--font-h1-letter-spacing);
  color: var(--font-default);
}

h2 {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-h2-weight);
  font-size: var(--font-h2-size);
  line-height: var(--font-h2-line-height);
  letter-spacing: var(--font-h2-letter-spacing);
  color: var(--font-default);
}

h3 {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-h3-weight);
  font-size: var(--font-h3-size);
  line-height: var(--font-h3-line-height);
  letter-spacing: var(--font-h3-letter-spacing);
  color: var(--font-default);
}

.body-text {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-body-weight);
  font-size: var(--font-body-size);
  line-height: var(--font-body-line-height);
  letter-spacing: var(--font-body-letter-spacing);
  color: var(--font-default);
}

.body-text-bold {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-body-bold-weight);
  font-size: var(--font-body-size);
  line-height: var(--font-body-line-height);
  letter-spacing: var(--font-body-letter-spacing);
  color: var(--font-default);
}

.button-text {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-button-weight);
  font-size: var(--font-button-size);
  line-height: var(--font-button-line-height);
  letter-spacing: var(--font-button-letter-spacing);
  color: var(--font-default);
}

.subcopy-text {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-subcopy-weight);
  font-size: var(--font-subcopy-size);
  line-height: var(--font-subcopy-line-height);
  letter-spacing: var(--font-subcopy-letter-spacing);
  color: var(--font-default);
}

.subcopy-text-bold {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-subcopy-bold-weight);
  font-size: var(--font-subcopy-size);
  line-height: var(--font-subcopy-line-height);
  letter-spacing: var(--font-subcopy-letter-spacing);
  color: var(--font-default);
}

.small-text {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-small-weight);
  font-size: var(--font-small-size);
  line-height: var(--font-small-line-height);
  letter-spacing: var(--font-small-letter-spacing);
  color: var(--font-default);
}

.small-text-bold {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-small-bold-weight);
  font-size: var(--font-small-size);
  line-height: var(--font-small-line-height);
  letter-spacing: var(--font-small-letter-spacing);
  color: var(--font-default);
}

.caption-text {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-caption-weight);
  font-size: var(--font-caption-size);
  line-height: var(--font-caption-line-height);
  letter-spacing: var(--font-caption-letter-spacing);
  color: var(--font-default);
}

.form-label-text {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: var(--font-form-label-weight);
  font-size: var(--font-form-label-size);
  line-height: var(--font-form-label-line-height);
  letter-spacing: var(--font-form-label-letter-spacing);
  color: var(--font-default);
}

/* ============================================
   Style Guide - Button Classes
   ============================================ */

.btn-primary-64 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: var(--button-primary-height);
  background: var(--primary-brand);
  color: var(--font-white);
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--button-border-radius);
  font-family: var(--font-family);
  font-weight: var(--font-button-weight);
  font-size: var(--font-button-size);
  line-height: var(--font-button-line-height);
  letter-spacing: var(--font-button-letter-spacing);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 6px 15px 0px var(--primary-brand-shadow);
}

.btn-primary-64:hover {
  background: var(--primary-brand-hover);
  box-shadow: 0px 8px 20px 0px rgba(51, 153, 255, 0.4);
}

.btn-secondary-54 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: var(--button-secondary-height-54);
  background: #000000;
  color: var(--font-white);
  border: 1px solid var(--border-default);
  border-radius: var(--button-border-radius);
  font-family: var(--font-family);
  font-weight: var(--font-button-weight);
  font-size: var(--font-button-size);
  line-height: var(--font-button-line-height);
  letter-spacing: var(--font-button-letter-spacing);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary-54:hover {
  background: #1a1a1a;
}

.btn-secondary-34 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: var(--button-secondary-height-34);
  background: #000000;
  color: var(--font-white);
  border: 1px solid var(--border-default);
  border-radius: var(--button-border-radius);
  font-family: var(--font-family);
  font-weight: var(--font-button-weight);
  font-size: var(--font-button-size);
  line-height: var(--font-button-line-height);
  letter-spacing: var(--font-button-letter-spacing);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary-34:hover {
  background: #1a1a1a;
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: var(--button-primary-height);
  background: var(--bg-gray);
  color: var(--font-sub);
  border: 1px solid var(--border-light);
  border-radius: var(--button-border-radius);
  font-family: var(--font-family);
  font-weight: var(--font-button-weight);
  font-size: var(--font-button-size);
  line-height: var(--font-button-line-height);
  letter-spacing: var(--font-button-letter-spacing);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-tertiary:hover {
  background: var(--bg-light-gray);
}

/* ============================================
   Style Guide - Form Elements
   ============================================ */

.form-input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: var(--font-form-label-size);
  font-weight: 400;
  color: var(--font-default);
  background: var(--bg-white);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-brand);
  box-shadow: 0 0 0 3px var(--primary-brand-light);
}

.form-input::placeholder {
  color: var(--font-disable);
}

.form-input:disabled {
  background: var(--bg-gray);
  color: var(--font-disable);
  border: 1px solid var(--border-default);
  cursor: not-allowed;
}

.form-input.error {
  border-color: #e74c3c;
}

.form-select {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  padding-right: 40px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: var(--font-form-label-size);
  font-weight: 400;
  color: var(--font-default);
  background: var(--bg-white);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 28px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary-brand);
  box-shadow: 0 0 0 3px var(--primary-brand-light);
}

.form-select:disabled {
  background: var(--bg-gray);
  color: var(--font-disable);
  border: 1px solid var(--border-default);
  cursor: not-allowed;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: var(--font-form-label-weight);
  font-size: var(--font-form-label-size);
  line-height: var(--font-form-label-line-height);
  letter-spacing: var(--font-form-label-letter-spacing);
  color: var(--font-default);
  margin-bottom: 16px;
}

.form-label .text-danger {
  color: #e74c3c;
  font-weight: 700;
}

.form-text {
  font-family: var(--font-family);
  font-size: var(--font-small-size);
  line-height: var(--font-small-line-height);
  letter-spacing: var(--font-small-letter-spacing);
  color: var(--font-sub);
  margin-top: 8px;
}

.form-text.text-error {
  color: #e74c3c;
}

/* ============================================
   Style Guide - Checkbox & Radio
   ============================================ */

.form-checkbox {
  width: 24px;
  height: 24px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--bg-white);
  position: relative;
  transition: all 0.3s ease;
}

.form-checkbox:checked {
  background: var(--primary-brand);
  border-color: var(--primary-brand);
}

.form-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.form-radio {
  width: 24px;
  height: 24px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  background: var(--bg-white);
  position: relative;
  transition: all 0.3s ease;
}

.form-radio:checked {
  border-color: var(--primary-brand);
}

.form-radio:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-brand);
}

/* ============================================
   Mobile Typography (750px 이하)
   ============================================ */

@media (max-width: 750px) {
  h1 {
    font-size: var(--font-mobile-h1-size);
    line-height: var(--font-mobile-h1-line-height);
    letter-spacing: var(--font-mobile-h1-letter-spacing);
  }

  h2 {
    font-size: var(--font-mobile-h2-size);
    line-height: var(--font-mobile-h2-line-height);
    letter-spacing: var(--font-mobile-h2-letter-spacing);
  }

  h3 {
    font-size: var(--font-mobile-h3-size);
    line-height: var(--font-mobile-h3-line-height);
    letter-spacing: var(--font-mobile-h3-letter-spacing);
  }

  .body-text,
  .body-text-bold {
    font-size: var(--font-mobile-body-size);
    line-height: var(--font-mobile-body-line-height);
    letter-spacing: var(--font-mobile-body-letter-spacing);
  }

  .btn-primary-64 {
    height: calc(128 / var(--container-width-tablet) * 100vw);
    font-size: calc(32 / var(--container-width-tablet) * 100vw);
  }

  .btn-secondary-54 {
    height: calc(108 / var(--container-width-tablet) * 100vw);
    font-size: calc(32 / var(--container-width-tablet) * 100vw);
  }

  .btn-secondary-34 {
    height: calc(68 / var(--container-width-tablet) * 100vw);
    font-size: calc(32 / var(--container-width-tablet) * 100vw);
  }

  .form-input,
  .form-select {
    height: calc(96 / var(--container-width-tablet) * 100vw);
    font-size: calc(32 / var(--container-width-tablet) * 100vw);
    padding: 0 calc(40 / var(--container-width-tablet) * 100vw);
  }

  .form-label {
    font-size: calc(32 / var(--container-width-tablet) * 100vw);
    margin-bottom: calc(32 / var(--container-width-tablet) * 100vw);
  }

  .form-text {
    font-size: calc(28 / var(--container-width-tablet) * 100vw);
  }

  .form-checkbox,
  .form-radio {
    width: calc(48 / var(--container-width-tablet) * 100vw);
    height: calc(48 / var(--container-width-tablet) * 100vw);
  }
}

/* 헤더 스타일 */
header {
  position: sticky;
  width: 100%;
  /* background-color: var(--color-background); */
  background: rgba(255, 255, 255, 0.5);
  /* border-bottom: 1px solid var(--color-border); */
  /* box-shadow: var(--shadow-md); */
  z-index: 1000;
  transition: var(--transition-normal);
  backdrop-filter: blur(3px);
}

/* 스크롤 시 헤더 효과 */
header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-lg);
}

/* 스피너 스타일 */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.spinner-overlay.show {
  opacity: 1;
  visibility: visible;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(229, 107, 54, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-text {
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  margin: 0;
}

/* 스피너 애니메이션 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 다양한 크기의 스피너 */
.spinner.small {
  width: 30px;
  height: 30px;
  border-width: 3px;
}

.spinner.large {
  width: 70px;
  height: 70px;
  border-width: 5px;
}

/* 다중 링 스피너 */
.spinner-multi {
  position: relative;
  width: 50px;
  height: 50px;
}

.spinner-multi::before,
.spinner-multi::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-multi::before {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(229, 107, 54, 0.1);
  border-top: 4px solid var(--primary-color);
  animation-duration: 1s;
}

.spinner-multi::after {
  width: 30px;
  height: 30px;
  top: 10px;
  left: 10px;
  border: 3px solid rgba(229, 107, 54, 0.2);
  border-top: 3px solid var(--primary-light);
  animation-duration: 0.8s;
  animation-direction: reverse;
}

/* 펄스 스피너 */
.spinner-pulse {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.8);
    opacity: 1;
  }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .spinner,
  .spinner-multi::before,
  .spinner-multi::after,
  .spinner-pulse {
    animation: none;
  }
}
