/* Podio reutilizable (SPACE INVADERS, PAC-MAN, futuros juegos) */

.gp-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 12000;
  box-sizing: border-box;
}

.gp-panel {
  width: min(520px, calc(100vw - 32px));
  background: rgba(10, 14, 20, 0.92);
  border: 1px solid rgba(120, 150, 200, 0.25);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  padding: 18px 18px 16px;
  text-align: center;
  color: #e8eef7;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

.gp-title {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 4px 0 10px;
  line-height: 1.15;
}

.gp-status {
  opacity: 0.85;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.35;
}

.gp-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  text-align: left;
}

.gp-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(120, 150, 200, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(17, 26, 36, 0.65);
  overflow: visible;
}

.gp-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #10141b;
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 2;
}

.gp-badge.gold {
  background: linear-gradient(180deg, #ffd86b, #d7a821);
}

.gp-badge.silver {
  background: linear-gradient(180deg, #ecf1f7, #a6b2c5);
}

.gp-badge.bronze {
  background: linear-gradient(180deg, #f1bb8d, #b36e38);
}

.gp-medal {
  position: relative;
  width: 36px;
  height: 52px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.gp-medal::before,
.gp-medal::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 13px;
  height: 24px;
  background: linear-gradient(180deg, #2d67ba, #18478c);
  border: 1px solid rgba(255, 216, 107, 0.55);
  z-index: 1;
}

.gp-medal::before {
  left: 4px;
  transform: skewX(-12deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}

.gp-medal::after {
  right: 4px;
  transform: skewX(12deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}

.gp-badge.gp-rank {
  background: rgba(130, 150, 175, 0.2);
  color: #e8eef7;
  border-color: rgba(130, 150, 175, 0.45);
}

.gp-text {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.9;
}

.gp-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.gp-close {
  border-radius: 14px;
  border: 1px solid rgba(120, 150, 200, 0.35);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  color: #e8eef7;
  background: linear-gradient(180deg, rgba(80, 170, 255, 0.95), rgba(55, 135, 230, 0.95));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.08s ease, filter 0.12s ease;
  user-select: none;
}

.gp-close:active {
  transform: translateY(1px);
  filter: brightness(0.95);
}

.gp-login-hint {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.95;
}

.gp-login-hint .gp-close {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
}
