/* === Belote — Bandeau identitaire persistant (toutes les pages) === */

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(45deg, rgba(16,185,129,0.03) 0px, rgba(16,185,129,0.03) 2px, transparent 2px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(4,120,87,0.02) 0px, rgba(4,120,87,0.02) 2px, transparent 2px, transparent 20px);
  pointer-events: none;
  z-index: 0;
}

#app, .container, #table-jeu { position: relative; z-index: 1; }

.belote-banner {
  position: relative;
  z-index: 1;
  margin: -28px -24px 16px;
  padding: 18px 20px 14px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(110,231,183,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(4,120,87,0.08) 0%, transparent 50%),
    rgba(0,0,0,0.15);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}

.belote-banner::before {
  content: '♠ ♥ ♦ ♣';
  position: absolute;
  top: 8px; right: 12px;
  font-size: 0.9rem;
  color: rgba(110,231,183,0.12);
  letter-spacing: 4px;
  transform: rotate(15deg);
  pointer-events: none;
}
.belote-banner::after {
  content: 'V 9 A 10';
  position: absolute;
  bottom: 6px; left: 12px;
  font-size: 0.8rem;
  color: rgba(16,185,129,0.1);
  letter-spacing: 3px;
  transform: rotate(-10deg);
  pointer-events: none;
}

.banner-cartes {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}
.belote-banner .carte-deco {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  animation: carte-banner-float 3s ease-in-out infinite;
  will-change: transform;
}
.belote-banner .carte-deco:nth-child(2) { animation-delay: -1s; }
.belote-banner .carte-deco:nth-child(3) { animation-delay: -2s; }
.carte-coeur {
  background: linear-gradient(135deg, #fca5a5, #ef4444);
  color: #fff;
  box-shadow: 0 3px 8px rgba(239,68,68,0.5), inset 0 -2px 3px rgba(255,255,255,0.15);
}
.carte-carreau {
  background: linear-gradient(135deg, #fdba74, #f97316);
  color: #fff;
  box-shadow: 0 3px 8px rgba(249,115,22,0.5), inset 0 -2px 3px rgba(255,255,255,0.15);
}
.carte-pique {
  background: linear-gradient(135deg, #cbd5e1, #64748b);
  color: #1e293b;
  box-shadow: 0 3px 8px rgba(100,116,139,0.5), inset 0 -2px 3px rgba(255,255,255,0.15);
}
@keyframes carte-banner-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.banner-title {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6ee7b7, #10b981, #047857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: opacity 0.2s;
}
.banner-title:hover { opacity: 0.8; }

@media (max-width: 480px) {
  .belote-banner { padding: 14px 14px 10px; border-radius: 20px 20px 0 0; }
  .banner-title { font-size: 1.1rem; }
  .belote-banner .carte-deco { width: 22px; height: 22px; font-size: 0.85rem; }
}
