@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;600&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e65100;
}

/* Hide Scrollbar for Carousels */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Blob Animation */
@keyframes float {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.blob {
    animation: float 7s infinite ease-in-out;
}

/* Bottom Nav Active State */
.nav-item.active {
    color: #FF6B00;
}

.nav-item.active i {
    fill: rgba(255, 107, 0, 0.2);
}

/* Card Hover Effect */
.app-card {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-card:active {
    transform: scale(0.95);
}

/* Flip Card Core Classes */
.perspective-1000 {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.group:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.backface-hidden {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Safari support */
}

.rotate-y-180 {
    transform: rotateY(180deg);
}

/* Modal */
.modal-open {
    overflow: hidden;
}

/* Logo Animation */
.rotate-360 {
    transform: rotate(360deg);
}

/* Rates List Optimization */
.rate-list-item {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.rate-list-item:last-child {
    border-bottom: none;
}

.rate-list-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.rate-list-item h4 {
    text-shadow: none;
}