.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

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

/* Animate fade in for search suggestions */
.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}

/* Search Results Highlight */
mark {
    background-color: #fef08a;
    color: #1f2937;
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}

/* Search Results Scrollbar */
#search-results::-webkit-scrollbar {
    width: 6px;
}

#search-results::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 1rem 1rem 0;
}

#search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#search-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile Menu - No Animation on Slide */
#mobile-menu {
    max-height: 80vh;
    overflow-y: auto;
}

/* Mobile Menu Item Hover Effect */
.mobile-menu-item {
    transition: all 0.3s ease;
}

.mobile-menu-item:active {
    transform: scale(0.95);
}

/* Smooth scrollbar for mobile menu */
#mobile-menu::-webkit-scrollbar {
    width: 4px;
}

#mobile-menu::-webkit-scrollbar-track {
    background: transparent;
}

#mobile-menu::-webkit-scrollbar-thumb {
    background: rgba(5, 11, 83, 0.3);
    border-radius: 4px;
}

#mobile-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(5, 11, 83, 0.5);
}

/* Metallic Silver Text Effect */
.metallic-text {
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #e8e8e8 25%,
        #d1d1d1 50%,
        #c0c0c0 75%,
        #b8b8b8 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 2px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Metallic Shine Animation */
.metallic-shine {
    position: relative;
    overflow: hidden;
}

.metallic-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}
