:root {
  --cb-blue: #0e0b24; /* bleu nuit très foncé */
  --cb-violet: #1b153e; /* violet nuit foncé */
  --cb-gold: #efdbae; /* doré froid */
  --cb-white: #dbdbdb; /* blanc */
  --cb-info: #201b45; /* fond plus clair pour la barre d'infos */
}

/* ===== NAVBAR + halo ===== */
.cb-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #2c293c, #211f2c);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(150, 120, 255, 0.28),
    inset 0 -4px 12px rgba(255, 215, 120, 0.16);
  font-family: "Truculenta", sans-serif;
  /*overflow: hidden;*/
}

.cb-navbar::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -25%;
  width: 80%;
  height: 10px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 220, 140, 0.85) 0%,
    rgba(255, 190, 80, 0.25) 40%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(10px);
  animation: navbarLightFlow 6s ease-in-out infinite alternate;
  opacity: 0.9;
}
@keyframes navbarLightFlow {
  0% {
    transform: translateX(-5%) scaleX(1);
    opacity: 0.5;
  }
  50% {
    transform: translateX(5%) scaleX(1.08);
    opacity: 1;
  }
  100% {
    transform: translateX(-5%) scaleX(1);
    opacity: 0.5;
  }
}

/*.cb-navbar-inner{display:flex;align-items:center;gap:.8rem;padding:.6rem 1rem;}*/
.cb-navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  justify-content: center;
}
.cb-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.cb-logo img {
  /*height:44px;*/
  width: 60%;
}
.logo-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /*background: radial-gradient(circle at 50% 60%, rgba(255,220,140,.16), rgba(140,160,255,.10) 40%, rgba(0,0,0,0) 60%);*/
  background: radial-gradient(
    circle at 20% 40%,
    rgb(255 220 140 / 13%),
    rgb(140 160 255 / 7%) 40%,
    rgba(0, 0, 0, 0) 60%
  );
  filter: blur(10px);
  border-radius: 50%;
  animation: logoPulse 5.5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

.cb-nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  align-items: center;
}
.cb-nav-links a {
  color: #f1f0ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.06);
  transition: color 0.2s, transform 0.2s;
}
.cb-nav-links a:hover,
.cb-nav-links a.active {
  color: var(--cb-gold);
  transform: translateY(-1px);
}
.cb-nav-links img {
  vertical-align: middle;
}

.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 115%;
  left: 0;
  background: rgba(20, 16, 45, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 240px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #cfcfcf;
  text-decoration: none;
  font-weight: 600;
  font-size: smaller;
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cb-gold);
}

/* ===== Barre d’infos (fond légèrement plus clair) ===== */
.cb-info-bar {
  background: linear-gradient(90deg, #2c293c, #211f2c);
  color: #eee;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-around;
  border-top: 1px solid rgb(255 213 122 / 35%);
}
.cb-stats {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  flex-wrap: wrap;
}
.cb-stats .stat strong {
  color: var(--cb-gold);
}
.sl-link img {
  opacity: 0.9;
  transition: 0.2s;
}
.sl-link img:hover {
  opacity: 1;
}

/* Badge joueur (intégré à droite) */
/* ===== BADGES LOGIN / PROFILE ===== */
.cb-user-badge {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
/* Style de base des badges */
.badge-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #f1f0ff;
  background: linear-gradient(
    145deg,
    rgba(40, 36, 70, 0.8),
    rgba(25, 20, 50, 0.7)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.05),
    0 0 10px rgba(140, 120, 255, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
/* Halo magique au survol (sauf login) */
.badge-btn:not(.login):hover {
  border-color: rgb(239 219 174 / 23%);
  box-shadow: 0 0 10px rgb(243 228 196 / 14%), 0 0 14px rgb(104 100 135 / 32%);
  transform: translateY(-1px);
}

/* Animation subtile de lueur interne */
.badge-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 215, 120, 0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.badge-btn:not(.login):hover::before {
  opacity: 1;
}
/* Icône + texte */
.badge-btn img {
  height: 20px;
  filter: drop-shadow(0 0 2px rgba(255, 215, 120, 0.3));
}

/* ===== Badge : Profil joueur connecté ===== */
.badge-btn[href="player.php"] {
  background: linear-gradient(145deg, rgb(68 63 86), rgb(48 45 68));
  border-color: rgb(20 20 19 / 85%);
  color: #ffffff;
}

/* ===== Badge : Logout ===== */
.badge-btn.logout {
  background: linear-gradient(145deg, rgb(68 63 86), rgb(48 45 68));
  border-color: rgb(20 20 19 / 85%);
  color: #ffffff;
}
.badge-btn.logout:hover {
  border-color: rgb(239 219 174 / 23%);
  box-shadow: 0 0 10px rgb(243 228 196 / 14%), 0 0 14px rgb(104 100 135 / 32%);
}
.badge-btn:hover {
  background: rgba(120, 120, 180, 0.35);
}
/* ===== Badge : Login (non cliquable) ===== */
.badge-btn.login {
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
  color: #ffffff;
  background: linear-gradient(145deg, rgb(71 69 86 / 70%), rgb(34 32 46));
  border: 1px solid rgba(255, 215, 120, 0.2);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.05);
}
.badge-btn.login img {
  filter: grayscale(0.3) opacity(0.8);
}

/* Icône d’enveloppe (message non lu) */
.unread {
  color: var(--cb-gold);
  text-shadow: 0 0 6px rgba(255, 215, 120, 0.4);
}

/* ===== Panneaux (Spotlight + Jackpot + Events) ===== */
.cb-panels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 0.9rem;
  padding: 0.6rem 0.8rem 0.9rem;
  transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
  border-top: thin solid rgb(255 213 122 / 35%);
}
.cb-panels::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 80%;
  height: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 220, 140, 0.25),
    rgba(255, 255, 255, 0.08),
    rgba(255, 220, 140, 0.25)
  );
  filter: blur(6px);
  animation: panelGlow 8s ease-in-out infinite alternate;
  z-index: -1;
}
@keyframes panelGlow {
  0% {
    opacity: 0.5;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
  100% {
    opacity: 0.5;
    transform: scaleX(1);
  }
}

.cb-panel {
  background: rgba(18, 14, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
  color: #ecebff;
  backdrop-filter: blur(12px);
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.cb-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 120, 0.32);
  box-shadow: 0 0 22px rgba(180, 140, 255, 0.38),
    0 0 12px rgba(255, 215, 120, 0.18);
}
.cb-panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.35rem;
  justify-content: center;
}
.cb-panel-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--cb-white);
  text-shadow: 0 0 10px rgba(255, 215, 120, 0.35);
  letter-spacing: 0.2px;
}
.cb-panel-date {
  margin-left: 0.35rem;
  color: #b7b0ff;
  font-size: 0.86rem;
}
.cb-panel-body {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.cb-panel-body.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cb-panel-img {
  width: 56px;
  height: 56px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cb-panel-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.86rem;
}
.cb-panel-name {
  color: var(--cb-gold);
  font-size: 0.96rem;
}
.cb-panel-set {
  color: #a8a0ff;
}
.cb-panel-desc {
  color: #d0cdff;
  font-size: 0.82rem;
  line-height: 1.15;
}
.cb-panel-tip {
  color: #c9c3ff;
  font-size: 0.78rem;
}
.cb-panel-winners {
  color: #ffeeb0;
  font-size: 0.84rem;
}
.cb-link {
  color: #e1dbce;
  text-decoration: none;
  font-weight: 700;
}
.cb-link:hover {
  color: var(--cb-gold);
  text-decoration: underline;
}

/* Jackpot specifics */
.cb-jackpot-amount {
  font-size: 2rem;
  color: var(--cb-gold);
  text-shadow: 0 0 12px rgba(255, 215, 120, 0.5);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  justify-content: center;
}
.cb-jackpot-currency {
  font-size: 0.98rem;
  color: #e9e6f5;
}
.tipJackpot {
  margin: 0.2rem 0 0.4rem;
  color: #ffffffb0;
  font-size: 0.9rem;
  opacity: 0.95;
  font-style: italic;
}
.cb-jackpot-winners {
  overflow: hidden;
  height: auto;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}
.cb-jackpot-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: scrollWinners 25s linear infinite;
  color: #ffeebb;
  font-size: 0.86rem;
  padding: 0.1rem 0.3rem;
}
.cb-jackpot-label {
  color: var(--cb-gold);
  font-weight: 700;
  margin-right: 0.35rem;
}
@keyframes scrollWinners {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Active Events list */
.events-list {
  flex-direction: column;
  gap: 0.35rem;
}
#events-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  border: 1px solid #ebc47300;
  background-color: #f8f9fa00;
}
.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.92rem;
}
.event-row .ev-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.event-row .ev-title {
  font-weight: 800;
}
.event-row .ev-desc {
  opacity: 0.95;
}
.event-row .ev-right {
  color: #ffeeb0;
  font-weight: 700;
}
.event-row.empty {
  justify-content: center;
  opacity: 0.85;
}
.event-row.mine {
  box-shadow: 0 0 14px rgba(255, 180, 60, 0.22) inset;
}
.event-row.blossom {
  box-shadow: 0 0 14px rgba(255, 120, 180, 0.2) inset;
}
.event-row.scales {
  box-shadow: 0 0 14px rgba(120, 200, 255, 0.2) inset;
}

/* Compact mode (panneaux repliés) */
.cb-panels.collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
}

/* Bouton rond flottant (sobre, lueur au survol/actif) */
/* === Bouton intégré au coin du bloc === */
.cb-fab {
  position: absolute;
  right: 10px;
  bottom: 6px; /* collé au bord du panneau */
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 120, 0.25);
  background: linear-gradient(
    145deg,
    rgba(25, 22, 45, 0.85),
    rgba(35, 30, 60, 0.75)
  );
  color: #f2f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 12;
  backdrop-filter: blur(6px);
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.08),
    inset -2px -2px 4px rgba(0, 0, 0, 0.6), 0 0 6px rgba(255, 215, 120, 0.1);
}

/* Effet lumineux au survol / actif */
.cb-fab:hover,
.cb-fab.active {
  background: linear-gradient(
    145deg,
    rgba(40, 36, 70, 0.95),
    rgba(50, 44, 90, 0.85)
  );
  border-color: rgba(255, 215, 120, 0.45);
  box-shadow: 0 0 10px rgba(255, 215, 120, 0.35),
    0 0 8px rgba(120, 160, 255, 0.25), inset 0 0 6px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Icône ou flèche */
.cb-fab i {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Animation d’état : rotation douce quand changement open/close */
.cb-fab.active i {
  transform: rotate(180deg);
}

.cb-panels.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}
.cb-panels {
  transition: all 0.5s ease;
}

/* Responsive */
@media (max-width: 1100px) {
  .cb-panels {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}
@media (max-width: 820px) {
  .cb-nav-links a {
    font-size: 1rem;
  }
  .badge-btn span {
    display: none;
  }
}

/* ===== MENU RESPONSIVE (hamburger) ===== */

/* Bouton hamburger caché sur grand écran */
.cb-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cb-gold);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.cb-menu-toggle:hover {
  color: #fff3b0;
}

/* Menu déroulant sur petit écran */
@media (max-width: 900px) {
  .cb-navbar-inner {
    justify-content: space-between;
  }

  .cb-menu-toggle {
    display: block;
  }

  .cb-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(20, 16, 40, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 215, 120, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
  }

  .cb-nav-links.open {
    max-height: 600px;
    opacity: 1;
  }

  .cb-nav-links li {
    text-align: center;
    width: 100%;
  }

  .cb-nav-links a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.1rem;
  }

  /* Désactive les sous-menus complexes sur mobile */
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: none;
    border: none;
    padding: 0;
  }
  .dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}
/* Spotlight header position pour le popover */
.cb-bow-header {
  position: relative;
}

/* Zone d’actions (icônes) */
.cb-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(40, 36, 70, 0.35) !important;
  color: #ecebff !important;
  text-decoration: none;
  transition: 0.2s;
}
.cb-icon-btn:hover {
  background: rgba(60, 54, 100, 0.55) !important;
  border-color: rgba(255, 215, 120, 0.45) !important;
  box-shadow: 0 0 10px rgba(255, 215, 120, 0.3),
    0 0 8px rgba(150, 180, 255, 0.18) !important;
}
.cb-icon-btn i {
  font-size: 0.95rem;
}

/* Popover info */
.cb-popover {
  position: absolute;
  right: 46px; /* sort près des icônes, côté droit */
  top: 52px; /* sous l’en-tête */
  max-width: 420px;
  padding: 0.6rem 0.75rem;
  font-size: 0.86rem;
  line-height: 1.25;
  color: #efeefe;
  background: rgba(22, 18, 44, 0.96);
  border: 1px solid rgba(255, 215, 120, 0.28);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 14px rgba(180, 140, 255, 0.25);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}
.cb-popover.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Petite flèche */
.cb-popover::after {
  content: "";
  position: absolute;
  right: 10px;
  top: -8px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(22, 18, 44, 0.96) transparent;
  filter: drop-shadow(0 -1px 0 rgba(255, 215, 120, 0.28));
}

/* Améliore la place si l’écran est étroit */
@media (max-width: 600px) {
  .cb-popover {
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

.cb-jackpot-header,
.cb-events-header {
  position: relative;
}

/* Harmonisation : les popovers partagent le même style que celui du Spotlight */
.cb-popover {
  max-width: 420px;
  font-size: 0.86rem;
  color: #efeefe;
  background: rgba(22, 18, 44, 0.96);
  border: 1px solid rgba(255, 215, 120, 0.28);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 14px rgba(180, 140, 255, 0.25);
}

/* Position spécifique par type */
.cb-jackpot-header .cb-popover {
  top: 50px;
  right: 46px;
}
.cb-events-header .cb-popover {
  top: 48px;
  right: 42px;
}

/* ===== Nouveau layout BOW ===== */
.bow-layout {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  padding: 0.3rem;
}

.bow-image {
  flex: 1;
  /*min-width: 48%; */
  max-width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.bow-img-main {
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 215, 120, 0.15);
  transition: transform 0.4s ease;
}
.bow-img-main:hover {
  transform: scale(1.04);
}

/* Texte à droite */
.bow-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.3rem 0.4rem;
}

.bow-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.bow-name {
  color: var(--cb-gold);
  font-size: 1.05rem;
  text-shadow: 0 0 8px rgba(255, 215, 120, 0.3);
}

.bow-from {
  color: #d0ccff;
  font-size: 0.9rem;
}

.bow-set {
  color: #e3e0ef;
  font-weight: 600;
}

.bow-desc {
  color: #e5e2ff;
  font-size: 0.88rem;
  line-height: 1.3;
  margin: 0.4rem 0;
}

.bow-sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0.4rem 0;
}

.bow-winners {
  font-size: 0.86rem;
  color: #ffeeb0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Responsive : image au-dessus du texte */
@media (max-width: 900px) {
  .bow-layout {
    flex-direction: column;
  }
  .bow-image {
    min-width: 30%;
  }
  .bow-img-main {
    width: 80%;
    height: auto;
  }
}

/* ============================== */
/* 🔧 UNIVERSAL RESPONSIVE FIX     */
/* ============================== */

/* ✅ Grille : passe en colonne fluide sur petits écrans */
@media (max-width: 1200px) {
  .cb-panels {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.6rem 0.5rem 1rem;
  }
  .cb-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* ============================== */
/* 🦋 BOW — Mobile Layout propre   */
/* ============================== */
@media (max-width: 900px) {
  .bow-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    padding: 0.8rem 0.6rem;
  }

  .bow-image {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    overflow: hidden;
  }

  .bow-img-main {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 10px rgba(255, 215, 120, 0.2);
  }

  .bow-info {
    width: 100%;
    padding: 0.6rem 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .bow-title {
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
  }

  .bow-name {
    font-size: 1.2rem;
  }
  .bow-from {
    font-size: 0.9rem;
  }
  .bow-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.4rem 0 0.6rem;
  }
  .bow-winners {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }
}

/* ============================== */
/* 💰 JACKPOT — Mobile            */
/* ============================== */
@media (max-width: 900px) {
  .cb-panel-jackpot {
    text-align: center;
    padding: 0.9rem 0.6rem;
  }

  .cb-jackpot-amount {
    font-size: 1.8rem;
  }

  .cb-jackpot-winners {
    max-width: 100%;
    overflow: hidden;
    border-radius: 0.6rem;
  }

  .cb-jackpot-scroll {
    animation-duration: 35s; /* ralentit sur mobile */
  }
}

/* ============================== */
/* ⚡ EVENTS — Mobile             */
/* ============================== */
@media (max-width: 900px) {
  .cb-panel-events {
    text-align: center;
    padding: 0.8rem 0.6rem;
  }

  .event-row {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
    padding: 0.5rem 0.7rem;
  }

  .event-row .ev-left {
    justify-content: center;
    flex-wrap: wrap;
  }

  .event-row .ev-right {
    font-size: 0.9rem;
  }
}

/* ============================== */
/* 📱 Ajustements généraux        */
/* ============================== */
@media (max-width: 600px) {
  .cb-panel-header h3 {
    font-size: 0.95rem;
  }
  .cb-panel-date {
    font-size: 0.8rem;
  }
  .cb-panel {
    padding: 0.6rem 0.5rem;
  }
  .cb-panel-body {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== MENU RESPONSIVE (hamburger overlay fixe) ===== */
@media (max-width: 900px) {
  .cb-navbar-inner {
    justify-content: space-between;
  }

  .cb-menu-toggle {
    display: block;
    position: relative;
    z-index: 2001;
  }

  /* Le menu devient un overlay couvrant toute la largeur sous la navbar */
  .cb-nav-links {
    position: fixed;
    top: 60px; /* hauteur approximative de la navbar */
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0 3rem;
    background: rgba(15, 12, 30, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 120, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.35s ease;
    z-index: 2000;
  }

  .cb-nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .cb-nav-links li {
    width: 100%;
    text-align: center;
  }

  .cb-nav-links a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1.15rem;
    color: #f1f0ff;
    text-decoration: none;
    transition: background 0.2s ease;
  }

  .cb-nav-links a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--cb-gold);
  }

  /* Désactivation du hover sur les sous-menus complexes */
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  .dropdown-menu {
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .dropdown-menu a {
    font-size: 1rem;
    padding: 0.4rem 1rem;
    color: #cfcfcf;
    font-size: smaller;
  }

  /* Empêche le scroll du corps quand le menu est ouvert */
  body.menu-open {
    overflow: hidden;
  }
}

/* ===== FIX HOVER GAP — Dropdown menu stable ===== */
.dropdown {
  position: relative;
}

.dropdown > a {
  position: relative;
  z-index: 2;
}

/* Le menu se superpose et ne quitte jamais la zone du lien parent */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* pile sous le lien parent */
  left: 0;
  z-index: 1000;
  margin-top: 0; /* supprime le petit espace mort */
  background: rgb(50 47 64);
  border: 1px solid rgb(226 189 113 / 49%);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 240px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  width: max-content;
}

/* Quand le parent est survolé, affiche le menu proprement */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Pour éviter les flickers : zone invisible tampon */
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px; /* espace tampon entre le lien et le menu */
  background: transparent;
  z-index: 1;
}
.dropdown-menu {
  animation: dropdownFade 0.25s ease forwards;
  z-index: 5000 !important;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Celestial Breaking Bar (rotation) === */
.cb-breaking-bar {
  width: 100%;
  height: 38px;
  background: linear-gradient(
    90deg,
    rgba(25, 20, 45, 0.9),
    rgba(35, 30, 60, 0.9)
  );
  border-top: 1px solid rgba(255, 215, 120, 0.25);
  border-bottom: 1px solid rgba(255, 215, 120, 0.25);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 15px rgba(255, 215, 120, 0.08);
  user-select: none;
}

/* Icône cloche */
.cb-breaking-icon {
  width: 42px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cb-gold);
  font-size: 1.1rem;
  text-shadow: 0 0 8px rgba(255, 215, 120, 0.4);
}

/* Conteneur */
.cb-breaking-inner {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}

/* Une seule news visible à la fois */
.cb-news-item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.8s ease;
  text-align: left;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  justify-content: center;
}

/* News active visible */
.cb-news-item.active {
  opacity: 1;
}

/* Texte */
.cb-news-date {
  color: var(--cb-gold);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 215, 120, 0.15);
  text-shadow: 0 0 8px rgba(255, 215, 120, 0.2);
}

.cb-news-title {
  color: #ffd98f;
  font-weight: 700;
}

.cb-news-text {
  color: #dcd8ff;
  opacity: 0.85;
}

/* Halo décoratif */

.cb-breaking-bar::before {
  content: "";
  position: absolute;
  left: -20%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 215, 120, 0.15),
    rgba(255, 255, 255, 0)
  );
  filter: blur(4px);
  animation: cbLightSweep 6s linear infinite;
  opacity: 0.8;
  pointer-events: none;
}
@keyframes cbLightSweep {
  0% {
    left: -30%;
    opacity: 0.3;
  }
  50% {
    left: 110%;
    opacity: 0.8;
  }
  100% {
    left: 110%;
    opacity: 0.3;
  }
}

/* === Jackpot Carousel === */
.cb-jackpot-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  height: fit-content;
}

.cb-jackpot-label {
  display: block;
  font-weight: 700;
  color: var(--cb-gold);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.jackpot-slide-container {
  position: relative;
  width: 100%;
  height: 25px;
}

.jackpot-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  font-size: 0.9rem;
  color: #ffeeb0;
}

.jackpot-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.NameWinner {
  color: #ffd98f;
  font-weight: 700;
}
.jackpotAmountWinner {
  color: #e8e4ff;
  margin-left: 5px;
}
.date {
  color: #c7c3f5;
  margin-left: 5px;
  font-size: 0.85rem;
}

/* Lueur douce */
.jackpot-slide.active .NameWinner {
  text-shadow: 0 0 8px rgba(255, 215, 120, 0.4);
}

/* === Logo + Sous-lien Breedables === */
.cb-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cb-sub-link {
  font-family: "Truculenta", sans-serif;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  color: #ffd98f;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
  opacity: 0.9;
}

.cb-sub-link:hover {
  color: #fff9d0;
  text-shadow: 0 0 10px rgba(255, 215, 120, 0.5);
  transform: scale(1.05);
  opacity: 1;
}

.cb-sub-link i {
  margin-right: 5px;
  color: #ffeeb0;
}
/* === Logo + Sous-lien Breedables === */
.cb-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cb-sub-link {
  position: relative;
  display: inline-block;
  font-family: "Truculenta", sans-serif;
  font-size: 0.95rem;
  margin-top: 0.3rem;
  color: #ffd98f;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
  opacity: 0.9;
  overflow: hidden;
}

.cb-sub-link i {
  margin-right: 5px;
  color: #ffeeb0;
}

/* ✨ Halo doré subtil au survol */
.cb-sub-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 240, 180, 0.7),
    transparent
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: all 0.5s ease;
}

.cb-sub-link:hover .cb-sub-glow {
  left: 100%;
  opacity: 1;
}

.cb-sub-link:hover {
  color: #fff8d0;
  text-shadow: 0 0 10px rgba(255, 215, 120, 0.6);
  opacity: 1;
  transform: scale(1.05);
}

/* === 🦋 Papillon magique doré/bleuté derrière le logo === */
.cb-logo-wrapper {
  position: relative;
  z-index: 1; /* le logo reste au-dessus */
}

/* Ombre de papillon animée */
.cb-logo-wrapper::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 64%;
  transform: translateX(-50%);
  width: 70px;
  height: 95px;
  background: url("../images/Icons/Icon-GoldenButterfly2.png") no-repeat
    center/contain;
  opacity: 0.38;
  filter: drop-shadow(0 0 12px rgba(255, 215, 120, 0.45))
    drop-shadow(0 0 22px rgba(120, 160, 255, 0.35)) blur(0.6px);
  animation: butterflySpiritColor 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Animation douce et vivante : battement + halo énergétique */
@keyframes butterflySpiritColor {
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 0 12px rgba(255, 215, 120, 0.45))
      drop-shadow(0 0 20px rgba(140, 120, 255, 0.3));
    opacity: 0.35;
  }
  25% {
    transform: translateX(-50%) translateY(-6px) scale(1.05) rotate(4deg);
    filter: drop-shadow(0 0 18px rgba(255, 230, 150, 0.6))
      drop-shadow(0 0 28px rgba(160, 140, 255, 0.4));
    opacity: 0.45;
  }
  50% {
    transform: translateX(-50%) translateY(0) scale(1.02) rotate(-3deg);
    filter: drop-shadow(0 0 14px rgba(255, 215, 120, 0.4))
      drop-shadow(0 0 24px rgba(100, 160, 255, 0.3));
    opacity: 0.33;
  }
  75% {
    transform: translateX(-50%) translateY(-3px) scale(1.04) rotate(2deg);
    filter: drop-shadow(0 0 16px rgba(255, 220, 140, 0.5))
      drop-shadow(0 0 26px rgba(150, 180, 255, 0.35));
    opacity: 0.4;
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    filter: drop-shadow(0 0 12px rgba(255, 215, 120, 0.45))
      drop-shadow(0 0 20px rgba(140, 120, 255, 0.3));
    opacity: 0.35;
  }
}

.cb-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 90%;
  height: 0.1em;
  background: linear-gradient(
    90deg,
    transparent,
    #ffd87a,
    #a48cff,
    transparent
  );
  animation: energyLine 4.5s linear infinite;
  filter: blur(1.5px);
  opacity: 0.8;
}
@keyframes energyLine {
  0% {
    transform: translateX(-10%);
  }
  100% {
    transform: translateX(10%);
  }
}

.cb-navbar::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 90%;
  height: 18px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 215, 120, 0.25),
    rgba(150, 130, 255, 0.1),
    transparent 80%
  );
  filter: blur(10px);
  animation: navbarAura 8s ease-in-out infinite alternate;
  opacity: 0.6;
  pointer-events: none;
}
@keyframes navbarAura {
  0% {
    transform: translateX(-5%) scaleX(1);
    opacity: 0.5;
  }
  50% {
    transform: translateX(5%) scaleX(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translateX(-5%) scaleX(1);
    opacity: 0.5;
  }
}

.cb-nav-links a.active {
  color: var(--cb-gold);
  background: linear-gradient(
    90deg,
    rgb(167 160 215),
    rgb(255 255 255 / 15%),
    rgb(237 234 255)
  );
  background-size: 300% 100%;
  animation: linkGlow 5s ease-in-out infinite;
  background-clip: text;
  -webkit-text-fill-color: #f6d18bb0;
  text-shadow: 0 0 10px rgba(255, 215, 120, 0.3);
}
@keyframes linkGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
