@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Montserrat:wght@600;700;800&family=Nanum+Myeongjo:wght@400;700;800&display=swap');

body { 
  font-family: 'Noto Sans KR', sans-serif; 
  overflow-x: hidden; 
  background-color: #f8fafc; 
  cursor: none; 
  word-break: keep-all; 
  overflow-wrap: break-word; 
}

.font-brand { font-family: 'Montserrat', sans-serif; }
.font-serif-kr { font-family: 'Nanum Myeongjo', serif; }

@media (pointer: coarse) {
    body { cursor: auto; }
    #customCursor { display: none; }
}

a, button, [role="button"], input, select, textarea { cursor: none; }

@keyframes pulse-slow {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.05); }
}
.animate-pulse-slow { animation: pulse-slow 20s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#customCursor {
  position: fixed; top: 0; left: 0; width: 20px; height: 20px;
  background: rgba(16, 185, 129, 0.3); 
  border-radius: 50%; pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(2px);
  transition: width 0.3s ease, height 0.3s ease;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.page-view {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  min-height: 100vh;
  padding-top: 70px;
}
.page-view.active {
  display: block;
  opacity: 1;
}

.popup-overlay {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}
.popup-overlay.show { opacity: 1; visibility: visible; }

.special-badge {
    background: linear-gradient(135deg, #ef4444 0%, #f43f5e 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
    animation: bounce 2s infinite;
    white-space: nowrap;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.shape-btn.active {
    background-color: #10b981;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.4);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.break-keep { word-break: keep-all; }