/* sam quiz : carte Samoloski AI sur l'accueil */

.ai-hub {
  margin-bottom: 26px;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 60%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(67, 56, 202, 0.35);
  animation: fadeUp 0.5s ease both;
}

.hub-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-logo {
  flex: none;
  width: 64px;
  height: 64px;
  animation: float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
}

.hub-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: hubBlink 4.5s infinite;
}

@keyframes hubBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  96%           { transform: scaleY(0.1); }
}

.hub-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hub-sub {
  margin: 2px 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.hub-label {
  margin: 16px 0 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hub-hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  opacity: 0.75;
}

.hub-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hub-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease;
}

.hub-chip span {
  font-size: 1.4rem;
}

.hub-chip:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.3);
}
