/* 새 애니메이션 */
.bird-fly-in {
    animation: flyIn 2s ease-out forwards;
}

@keyframes flyIn {
    0% {
        transform: translate(-100vw, -100px) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translate(0, -50px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

/* 날개 펄럭임 */
.bird .wing {
    animation: flapWings 0.3s infinite alternate;
    transform-origin: center;
}

@keyframes flapWings {
    0% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
    }
}

/* 모달 애니메이션 */
#message-modal.flex {
    animation: fadeIn 0.3s ease-out;
}

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

#message-modal .bg-white {
    animation: slideUp 0.5s ease-out;
}

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

/* 라디오 버튼 스타일 향상 */
input[type="radio"]:checked + span {
    font-weight: 700;
    color: #2563eb;
}

input[type="radio"]:checked ~ * {
    border-color: #2563eb;
    background-color: #eff6ff;
}

/* 버튼 호버 효과 */
button {
    transition: all 0.2s ease;
}

/* 스크롤바 스타일 (선택사항) */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: #555;
}