/* 기본 스타일 */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --kiosk-32-scale: 1.5;
  --kiosk-24-scale: 1.2;
  --mobile-scale: 1.0;
}

body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.main-content {
  padding-top: 120px;
  padding-bottom: 50px;
}

/* 메뉴 카드 스타일 */
.menu-card {
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.menu-card .icon-wrapper {
  transition: transform 0.3s ease;
}

.menu-card:hover .icon-wrapper {
  transform: scale(1.1);
}

/* 히어로 섹션 */
.hero-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 네비게이션 */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 버튼 스타일 */
.btn {
  border-radius: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 배지 스타일 */
.feature-badge {
  position: absolute;
  top: 20px;
  right: 20px;
}

.card-body {
  position: relative;
}

/* 알림 스타일 */
.alert {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 모달 스타일 */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 터치 친화적 요소 */
.btn-lg {
  min-height: 60px;
  font-size: 1.25rem;
}

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

.menu-card {
  animation: fadeInUp 0.6s ease forwards;
}

.menu-card:nth-child(1) {
  animation-delay: 0.1s;
}
.menu-card:nth-child(2) {
  animation-delay: 0.2s;
}
.menu-card:nth-child(3) {
  animation-delay: 0.3s;
}
.menu-card:nth-child(4) {
  animation-delay: 0.4s;
}
.menu-card:nth-child(5) {
  animation-delay: 0.5s;
}
.menu-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* 접근성 개선 */
.menu-card:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* 고대비 모드 지원 */
@media (prefers-contrast: high) {
  .menu-card {
    border: 2px solid #000;
  }

  .bg-gradient {
    background: #fff;
  }
}

/* 움직임 감소 모드 지원 */
@media (prefers-reduced-motion: reduce) {
  .menu-card {
    animation: none;
    transition: none;
  }

  .menu-card:hover {
    transform: none;
  }
}
