/* 페이지 전환 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.page-transition {
    animation: fadeIn 0.3s ease-out;
}

.page-transition-fade-out {
    animation: fadeOut 0.2s ease-in forwards;
}

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

/* 그라데이션 애니메이션 */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.gradient-animated {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* 호버 효과 */
.hover-gradient-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-gradient-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 버튼 리플 효과 */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.button-ripple {
    position: relative;
    overflow: hidden;
}

.button-ripple::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    top: 50%;
    left: 50%;
    transform: scale(0);
    animation: ripple 0.6s;
    pointer-events: none;
}



/* 스크롤바 숨김 - 스크롤은 가능하지만 스크롤바는 보이지 않음 */
/* SPA 페이지의 모든 스크롤 가능한 영역에 적용 */
#scrollableContent,
main.overflow-y-auto,
#appContent,
main.flex-1.overflow-y-auto,
#bottomSheetContent,
.overflow-y-auto {
    /* Firefox */
    scrollbar-width: none;
    /* IE and Edge */
    -ms-overflow-style: none;
}

/* Webkit 브라우저 (Chrome, Safari, Edge) */
#scrollableContent::-webkit-scrollbar,
main.overflow-y-auto::-webkit-scrollbar,
#appContent::-webkit-scrollbar,
main.flex-1.overflow-y-auto::-webkit-scrollbar,
#bottomSheetContent::-webkit-scrollbar,
.overflow-y-auto::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

