/* Mood Cards con Icone - Stile moderno */

.mood-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.mood-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #fff 0%, #fff7f8 100%);
  border: 2px solid #ffd3d7;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 180px;
}

.mood-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(239, 90, 102, 0.2);
  border-color: #ef5a66;
  background: linear-gradient(135deg, #fff7f8 0%, #ffd3d7 100%);
}

.mood-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef5a66 0%, #f47481 100%);
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(239, 90, 102, 0.3);
}

.mood-card:hover .mood-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(239, 90, 102, 0.4);
}

.mood-icon svg {
  width: 36px;
  height: 36px;
  color: white;
  stroke-width: 2.5;
}

.mood-label {
  font-size: 16px;
  font-weight: 800;
  color: #333;
  text-align: center;
  font-family: Poppins, Inter, sans-serif;
  margin-bottom: 8px;
}

.mood-card:hover .mood-label {
  color: #ef5a66;
}

.mood-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  opacity: 0;
  transition: all 0.3s ease;
}

.mood-card:hover .mood-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.mood-arrow svg {
  width: 100%;
  height: 100%;
  color: #ef5a66;
  stroke-width: 2.5;
}

/* Responsive */
@media (max-width: 1100px) {
  .mood-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .mood-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .mood-card {
    padding: 24px 16px;
    min-height: 160px;
  }
  
  .mood-icon {
    width: 56px;
    height: 56px;
  }
  
  .mood-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .mood-label {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .mood-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .mood-card {
    flex-direction: column;
    justify-content: center;
    padding: 20px 16px;
    min-height: 160px;
    aspect-ratio: 1;
  }
  
  .mood-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    flex-shrink: 0;
  }
  
  .mood-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .mood-label {
    flex: 0;
    text-align: center;
    margin-bottom: 0;
    font-size: 14px;
  }
  
  .mood-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0;
  }
  
  .mood-card:hover .mood-arrow {
    opacity: 1;
    transform: translateX(4px);
  }
}

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

.mood-card {
  animation: fadeInUp 0.5s ease backwards;
}

.mood-card:nth-child(1) { animation-delay: 0.1s; }
.mood-card:nth-child(2) { animation-delay: 0.2s; }
.mood-card:nth-child(3) { animation-delay: 0.3s; }
.mood-card:nth-child(4) { animation-delay: 0.4s; }
.mood-card:nth-child(5) { animation-delay: 0.5s; }
.mood-card:nth-child(6) { animation-delay: 0.6s; }
