/* === Sudoku — décoration animée du banner ===
   Le layout banner (wrapper, home, title) vient de banner.css partagé,
   chargé via le proxy local css-banner.php depuis SHARED_PATH/banner.php.
*/

/* === Sudoku — Bandeau identitaire persistant (toutes les pages) === */

/* Grille décorative en fond du body */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(139,92,246,0.03) 0px, rgba(139,92,246,0.03) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(139,92,246,0.03) 0px, rgba(139,92,246,0.03) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
  z-index: 0;
}

#app {
  position: relative; z-index: 1;
}

/* Bandeau compact */

/* Mini-grilles décoratifs dans les coins */

/* Cellules décoratives flottantes */

.cell-deco {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900;
  animation: cell-banner-float 3s ease-in-out infinite;
  will-change: transform;
}
.cell-deco:nth-child(2) {
  animation-delay: -1s;
}
.cell-deco:nth-child(3) {
  animation-delay: -2s;
}
.cell-purple-light {
  background: rgba(192,132,252,0.2);
  box-shadow: 0 3px 8px rgba(139,92,246,0.3), inset 0 -2px 3px rgba(255,255,255,0.05);
  color: #c084fc;
  border: 1px solid rgba(192,132,252,0.3);
}
.cell-purple-mid {
  background: rgba(168,85,247,0.25);
  box-shadow: 0 3px 8px rgba(139,92,246,0.3), inset 0 -2px 3px rgba(255,255,255,0.05);
  color: #a855f7;
  border: 1px solid rgba(168,85,247,0.3);
}
.cell-purple-dark {
  background: rgba(139,92,246,0.2);
  box-shadow: 0 3px 8px rgba(139,92,246,0.3), inset 0 -2px 3px rgba(255,255,255,0.05);
  color: #8b5cf6;
  border: 1px solid rgba(139,92,246,0.3);
}
@keyframes cell-banner-float {

  0%, 100% {
  transform: translateY(0);
}
  50% {
  transform: translateY(-5px);
}
}

/* Titre-lien */

/* Responsive */
@media (max-width: 480px) {

  
  
  .cell-deco {
  width: 22px; height: 22px; font-size: 0.85rem;
}
}

/* === Bouton retour à l'accueil (aligné verticalement avec .banner-title via `bottom`) === */

/* === FIN bouton retour à l'accueil === */
