/* Verão.AI - Custom Styles */

/* Animações personalizadas */
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Classes utilitárias personalizadas */
.animate-pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

.animate-bounce-subtle {
  animation: bounce-subtle 3s ease-in-out infinite;
}

.bg-gradient-animated {
  background: linear-gradient(-45deg, #ff9a8b, #ffeaa7, #fab1a0, #fd79a8, #fdcb6e);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

/* Estilo para botões com efeito hover melhorado */
.btn-summer {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-summer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn-summer:hover::before {
  left: 100%;
}

/* Cards com efeito glass */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Inputs customizados */
.input-summer {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.3s ease;
}

.input-summer:focus {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* Texto com gradiente */
.text-gradient-summer {
  background: linear-gradient(135deg, #ff9a8b, #ffa726, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container com bordas arredondadas e sombra */
.container-summer {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Efeito de loading */
.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #ff6b6b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsividade melhorada */
@media (max-width: 768px) {
  .container-summer {
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .btn-summer {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Animação de entrada para elementos */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

/* Estilo para notificações */
.notification {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Progress bar */
.progress-summer {
  background: linear-gradient(90deg, #ff9a8b, #ffeaa7, #81ecec);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-summer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); width: 30%; }
  100% { transform: translateX(300%); width: 30%; }
}

/* Emoji bounce */
.emoji-bounce {
  display: inline-block;
  animation: bounce-subtle 2s ease-in-out infinite;
}

/* Hover effects para cards */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff9a8b, #ffa726);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff6b6b, #ff9800);
}