/* Banner motivacional pós-rodada (jogador) */
.gp-motivation {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--header-height, 56px) + 10px);
  z-index: 450;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
}
.gp-motivation__card {
  pointer-events: auto;
  max-width: min(520px, 94vw);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 14px;
  border-radius: 16px;
  color: #f0f9ff;
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(34, 243, 255, .22), transparent 55%),
    radial-gradient(ellipse 70% 100% at 100% 50%, rgba(250, 204, 21, .14), transparent 50%),
    linear-gradient(105deg, rgba(8, 24, 56, .97), rgba(12, 18, 40, .98));
  border: 1px solid rgba(34, 243, 255, .45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .04),
    0 12px 40px rgba(0, 0, 0, .45),
    0 0 32px rgba(34, 243, 255, .18);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .55s cubic-bezier(.22, 1.2, .36, 1), opacity .35s ease;
}
/* Vitória — verde alegre */
.gp-motivation--win .gp-motivation__card {
  color: #ecfdf5;
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(74, 222, 128, .28), transparent 55%),
    radial-gradient(ellipse 70% 100% at 100% 50%, rgba(250, 204, 21, .18), transparent 50%),
    linear-gradient(105deg, rgba(6, 40, 24, .98), rgba(8, 28, 18, .99));
  border: 1px solid rgba(74, 222, 128, .55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .05),
    0 12px 40px rgba(0, 0, 0, .45),
    0 0 36px rgba(74, 222, 128, .28);
}
.gp-motivation--win .gp-motivation__icon {
  color: #bbf7d0;
  background: rgba(74, 222, 128, .18);
  border-color: rgba(74, 222, 128, .5);
  box-shadow: 0 0 18px rgba(74, 222, 128, .4);
}
.gp-motivation--win .gp-motivation__title {
  text-shadow: 0 0 14px rgba(74, 222, 128, .45);
}
.gp-motivation--win .gp-motivation__sub {
  color: rgba(167, 243, 208, .9);
}
/* Perda — ciano/dourado (já existente) */
.gp-motivation--loss .gp-motivation__card { /* base styles já bastam */ }

.gp-motivation--show .gp-motivation__card {
  transform: translateX(0);
  opacity: 1;
}
.gp-motivation--hide .gp-motivation__card {
  transform: translateX(120%);
  opacity: 0;
  transition: transform .45s ease-in, opacity .35s ease;
}
.gp-motivation__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fde047;
  background: rgba(250, 204, 21, .12);
  border: 1px solid rgba(250, 204, 21, .35);
  box-shadow: 0 0 16px rgba(250, 204, 21, .25);
}
.gp-motivation__text {
  flex: 1;
  min-width: 0;
}
.gp-motivation__title {
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .01em;
  text-shadow: 0 0 12px rgba(34, 243, 255, .35);
}
.gp-motivation__sub {
  margin-top: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(186, 230, 253, .85);
}
.gp-motivation__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.65);
  cursor: pointer;
  font-size: .9rem;
}
.gp-motivation__close:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
@media (max-width: 480px) {
  .gp-motivation {
    top: calc(var(--header-height, 56px) + 6px);
  }
  .gp-motivation__card { padding: 12px; }
  .gp-motivation__title { font-size: .9rem; }
}
