/* Estilos Globales para Team Player App */

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .glass-effect {
        @apply bg-surface/80 backdrop-blur-md border border-slate-700/50 shadow-lg;
    }
    
    .glass-effect-strong {
        @apply bg-surface/60 backdrop-blur-xl border border-white/10 shadow-xl;
    }

    .card-hover {
        @apply transition-all duration-300 hover:-translate-y-1 hover:shadow-xl hover:shadow-primary/10 border border-transparent hover:border-primary/20;
    }

    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }
    .no-scrollbar {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
}

/* Animaciones Personalizadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-scale {
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Efectos de pulso suave */
.pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .7;
    }
}

/* Ocultar elementos en móviles e inyectar espaciado al content para el bottom nav */
.pb-nav {
    padding-bottom: 90px;
}