/* 업사이클링 & 음식물 쓰레기 줄이기 플랫폼 - Monochrome Premium */

:root {
  --black: #0a0a0a;
  --gray-900: #141414;
  --gray-800: #1a1a1a;
  --gray-700: #2a2a2a;
  --gray-600: #404040;
  --gray-500: #666666;
  --gray-400: #888888;
  --gray-300: #a3a3a3;
  --gray-200: #cccccc;
  --gray-100: #e5e5e5;
  --gray-50: #f5f5f5;
  --white: #ffffff;
  --bg-primary: #fafafa;
  --bg-secondary: #f0f0f0;
  --text-primary: var(--black);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --border-light: var(--gray-100);
  --border-medium: var(--gray-200);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* 다크모드 변수 */
[data-theme="dark"] {
  --black: #e0e0e0;
  --gray-900: #d4d4d4;
  --gray-800: #b8b8b8;
  --gray-700: #a0a0a0;
  --gray-600: #808080;
  --gray-500: #666666;
  --gray-400: #4a4a4a;
  --gray-300: #333333;
  --gray-200: #2a2a2a;
  --gray-100: #1f1f1f;
  --gray-50: #161616;
  --white: #0f0f0f;
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --border-light: #2a2a2a;
  --border-medium: #333333;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  background: var(--bg-primary);
  min-height: 100vh;
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* 스크롤바 커스텀 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* 페이드인 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* 페이지 트랜지션 애니메이션 */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navbarSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageEnter 0.4s ease-out;
}

.navbar {
  animation: navbarSlideDown 0.4s ease-out;
}

/* 네비게이션 바 */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

[data-theme="dark"] .navbar {
  background: rgba(15, 15, 15, 0.95);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.04em;
  position: relative;
  transition: opacity 0.2s ease;
}

.navbar-brand:hover {
  opacity: 0.7;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.navbar-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.625rem 1.125rem;
  border-radius: 100px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.navbar-nav a:hover {
  color: var(--text-primary);
  background: var(--gray-50);
}

.navbar-nav a.active {
  background: var(--black);
  color: var(--white);
}

[data-theme="dark"] .navbar-nav a.active {
  background: #e0e0e0;
  color: #0f0f0f;
}

/* 다크모드 토글 버튼 */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.theme-toggle:hover svg {
  color: var(--text-primary);
}

.theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

/* 메인 컨테이너 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* 히어로 섹션 */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: #0a0a0a;
  border-radius: var(--radius-xl);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

[data-theme="dark"] .hero {
  background: #1a1a1a;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* 섹션 디바이더 */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.section-divider span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* 카드 그리드 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* 카드 스타일 */
.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out both;
  position: relative;
}

[data-theme="dark"] .card {
  background: #1a1a1a;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.2s; }

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #f5f5f5;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: var(--text-secondary);
}

[data-theme="dark"] .card-icon {
  background: #2a2a2a;
}

.card:hover .card-icon {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffffff;
}

[data-theme="dark"] .card:hover .card-icon {
  background: #e0e0e0;
  border-color: #e0e0e0;
  color: #0f0f0f;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  transition: color 0.25s ease;
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.9rem;
  flex-grow: 1;
}

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: #f5f5f5;
  color: var(--text-secondary);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .card-tag {
  background: #2a2a2a;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.card:hover .card-link {
  gap: 0.75rem;
}

.card-link::after {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--text-primary);
  transition: width 0.2s ease;
}

.card:hover .card-link::after {
  width: 24px;
}

/* 폼 섹션 */
.form-section {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

[data-theme="dark"] .form-section {
  background: #1a1a1a;
}

.form-section h2 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: #ffffff;
  font-family: inherit;
  color: var(--text-primary);
}

[data-theme="dark"] .form-control {
  background: #252525;
  border-color: #333333;
  color: #e0e0e0;
}

.form-control:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .form-control:focus {
  border-color: #e0e0e0;
  box-shadow: 0 0 0 3px rgba(224, 224, 224, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* 버튼 스타일 */
.btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: #0a0a0a;
  color: #ffffff;
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-primary {
  background: #e0e0e0;
  color: #0f0f0f;
}

[data-theme="dark"] .btn-primary:hover {
  background: #d4d4d4;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #cccccc;
}

[data-theme="dark"] .btn-secondary {
  background: #252525;
  color: #e0e0e0;
  border-color: #333333;
}

[data-theme="dark"] .btn-secondary:hover {
  background: #2a2a2a;
  border-color: #404040;
}

/* 결과 카드 */
.result-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  opacity: 0;
  animation: scaleIn 0.4s ease-out 0.15s both;
  transition: all 0.2s ease;
}

[data-theme="dark"] .result-card {
  background: #1a1a1a;
}

.result-card:hover {
  box-shadow: var(--shadow-md);
}

.result-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.result-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.875rem;
}

.recipe-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.recipe-steps li {
  margin-bottom: 0.375rem;
  line-height: 1.6;
}

.recipe-steps strong {
  color: var(--text-primary);
  margin-right: 0.25rem;
}

.result-card .badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: #f5f5f5;
  color: var(--text-secondary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.75rem;
  border: 1px solid var(--border-light);
}

[data-theme="dark"] .result-card .badge {
  background: #2a2a2a;
}

/* 이미지 업로드 영역 */
.upload-area {
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 3.5rem 2rem;
  text-align: center;
  background: #f5f5f5;
  cursor: pointer;
  transition: all 0.25s ease;
}

[data-theme="dark"] .upload-area {
  background: #2a2a2a;
  border-color: #333333;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: #0a0a0a;
  background: #ffffff;
}

[data-theme="dark"] .upload-area:hover,
[data-theme="dark"] .upload-area.dragover {
  border-color: #e0e0e0;
  background: #252525;
}

.upload-area .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

[data-theme="dark"] .upload-area .icon {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

.upload-area .icon::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 2px solid #0a0a0a;
  border-radius: 3px;
  position: relative;
}

[data-theme="dark"] .upload-area .icon::before {
  border-color: #e0e0e0;
}

.upload-area .icon::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 12px;
  background: #0a0a0a;
  border-radius: 1px;
  margin-top: -6px;
}

[data-theme="dark"] .upload-area .icon::after {
  background: #e0e0e0;
}

.upload-area:hover .icon {
  border-color: #0a0a0a;
}

[data-theme="dark"] .upload-area:hover .icon {
  border-color: #e0e0e0;
}

.upload-area p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.upload-area p strong {
  color: var(--text-primary);
  font-weight: 600;
}

#fileInput {
  display: none;
}

#previewImage {
  max-width: 100%;
  max-height: 320px;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  display: none;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* 인포 배너 */
.info-banner {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: fadeInUp 0.5s ease-out 0.1s both;
}

[data-theme="dark"] .info-banner {
  background: #1a1a1a;
}

.info-banner-icon {
  width: 48px;
  height: 48px;
  background: #f5f5f5;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .info-banner-icon {
  background: #2a2a2a;
}

.info-banner-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 50%;
}

[data-theme="dark"] .info-banner-icon::before {
  background: #e0e0e0;
}

.info-banner p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.info-banner strong {
  color: var(--text-primary);
}

/* 팁 카드 */
.tip-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

[data-theme="dark"] .tip-card {
  background: #1a1a1a;
}

/* 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.modal-body {
  color: var(--text-primary);
  line-height: 1.8;
}

.modal-body ol {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
}

.modal-body li {
  margin-bottom: 0.75rem;
}

.modal-warning {
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  font-size: 0.9rem;
  border-left: none;
}

[data-theme="dark"] .modal-warning {
  color: rgba(255, 255, 255, 0.6);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tip-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.625rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.tip-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.85rem;
}

/* 스탯 카드 */
.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  opacity: 0;
  animation: scaleIn 0.5s ease-out both;
  position: relative;
}

[data-theme="dark"] .stat-card {
  background: #1a1a1a;
}

.stat-card:nth-child(1) { animation-delay: 0.4s; }
.stat-card:nth-child(2) { animation-delay: 0.45s; }
.stat-card:nth-child(3) { animation-delay: 0.5s; }

.stat-card h4 {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .stat-card .stat-value {
  color: #e0e0e0;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* 섹션 타이틀 */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2.5rem 0 1.25rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* 반응형 */
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    gap: 0.875rem;
  }

  .navbar-nav {
    gap: 0.125rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3.5rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .info-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* 유틸리티 */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden {
  display: none;
}

/* 로딩 인디케이터 */
.loading-dots {
  display: inline-flex;
  gap: 0.375rem;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  background: #0a0a0a;
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}

[data-theme="dark"] .loading-dots span {
  background: #e0e0e0;
}

.loading-dots span:nth-child(2) { animation-delay: 0.15s; }
.loading-dots span:nth-child(3) { animation-delay: 0.3s; }
