* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-bounce-in {
    animation: bounce-in 0.4s ease-out forwards;
    opacity: 0;
}

button:active {
    transform: scale(0.98);
}

input:focus {
    outline: none;
    border-color: #6366F1;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

@media (max-width: 380px) {
    .w-11 {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

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

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}
