/* Custom CSS para complementar o TailwindCSS - Versão Simplificada */

/* Animações personalizadas */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glowing {
    0%, 100% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
    }
}

/* Estilos base otimizados para mobile */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
}

/* Botões animados de loading */
.loading-container .animate-bounce {
    animation: bounce 1s infinite;
}

/* Melhorar legibilidade em telas pequenas */
@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
    
    .text-6xl {
        font-size: 2.5rem !important;
    }
    
    .text-5xl {
        font-size: 2rem !important;
    }
    
    .text-4xl {
        font-size: 1.75rem !important;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .text-6xl {
        font-size: 2rem !important;
    }
    
    .text-5xl {
        font-size: 1.75rem !important;
    }
    
    .text-4xl {
        font-size: 1.5rem !important;
    }
}

/* Cores personalizadas para Tailwind */
.text-accent {
    color: #f59e0b;
}

.bg-dark-bg {
    background-color: #1a1a1a;
}

.bg-soft-black {
    background-color: #2d2d2d;
}

/* Efeitos de hover suaves */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Garantir que elementos não quebrem o layout */
.break-words {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsividade para diferentes orientações */
@media screen and (orientation: landscape) and (max-height: 500px) {
    body {
        font-size: 12px;
    }
    
    .text-6xl {
        font-size: 1.5rem !important;
    }
    
    .text-5xl {
        font-size: 1.25rem !important;
    }
    
    .py-12 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .py-8 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Melhorar contraste para acessibilidade */
@media (prefers-contrast: high) {
    body {
        background: #000000;
    }
    
    .text-gray-300 {
        color: #ffffff !important;
    }
    
    .text-gray-400 {
        color: #cccccc !important;
    }
}