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

/* Grille de plateau en fond du body */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(167,243,208,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,243,208,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Bandeau compact */
.othello-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(167,243,208,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(5,150,105,0.08) 0%, transparent 50%),
    rgba(0,0,0,0.15);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}

/* Grilles décoratives dans les coins */
.othello-banner::before {
  content: '';
  position: absolute;
  top: -15px; right: -20px;
  width: 120px; height: 120px;
  background-image:
    linear-gradient(rgba(167,243,208,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,243,208,0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: 14px;
  transform: rotate(15deg);
  opacity: 0.6;
  pointer-events: none;
}
.othello-banner::after {
  content: '';
  position: absolute;
  bottom: -10px; left: -15px;
  width: 100px; height: 100px;
  background-image:
    linear-gradient(rgba(5,150,105,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,150,105,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 12px;
  transform: rotate(-10deg);
  opacity: 0.5;
  pointer-events: none;
}

/* Disques décoratifs flottants */
.banner-discs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}
.othello-banner .disc-deco {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: disc-float 3s ease-in-out infinite;
}
.othello-banner .disc-deco:nth-child(2) { animation-delay: -1s; }
.othello-banner .disc-deco:nth-child(3) { animation-delay: -2s; }
.othello-banner .disc-black {
  background: radial-gradient(circle at 35% 35%, #555, #1a1a1a);
  box-shadow: 0 3px 8px rgba(0,0,0,0.5), inset 0 -2px 3px rgba(255,255,255,0.1);
}
.othello-banner .disc-white {
  background: radial-gradient(circle at 35% 35%, #fff, #e2e8f0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 -2px 3px rgba(0,0,0,0.1);
}
.othello-banner .disc-half {
  background: linear-gradient(135deg, #1a1a1a 50%, #fff 50%);
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}
@keyframes disc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Titre-lien */
.banner-title {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #a7f3d0, #34d399, #059669);
  -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;
}

/* Responsive */
@media (max-width: 480px) {
  .othello-banner { padding: 14px 14px 10px; border-radius: 20px 20px 0 0; }
  .banner-title { font-size: 1.1rem; }
  .othello-banner .disc-deco { width: 22px; height: 22px; }
}
