/* ==========================================================================
   GAMERSPLAY.com — Shared Creator Profile Pop-Up Modal
   Matches the Pick of the Week Creator Profile modal on index.html
   ========================================================================== */

.gp-profile-trigger {
  cursor: pointer;
  color: #f8fafc;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.45);
  transition: color 0.16s ease, border-color 0.16s ease, text-shadow 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gp-profile-trigger:hover {
  color: #00f0ff;
  border-bottom-color: #00f0ff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

.gp-creator-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 7, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gp-creator-modal-backdrop.is-open {
  display: flex;
  animation: gpModalFadeIn 0.2s ease;
}

@keyframes gpModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gp-creator-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(0, 240, 255, 0.12) 0%, transparent 55%),
    radial-gradient(100% 90% at 100% 100%, rgba(139, 92, 246, 0.14) 0%, transparent 55%),
    #0c111e;
  border: 2px solid rgba(0, 240, 255, 0.52);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(0, 240, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gp-creator-modal::before {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #fbbf24 0%, #00f0ff 50%, #8b5cf6 100%);
}

.gp-creator-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.gp-creator-modal-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.gp-creator-modal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #07090e;
  background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 55%, #a78bfa 100%);
  border: 2px solid rgba(0, 240, 255, 0.65);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.3);
  overflow: hidden;
  flex-shrink: 0;
}

.gp-creator-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-creator-modal-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  word-break: break-word;
}

.gp-creator-modal-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #00f0ff;
  text-decoration: none;
}

.gp-creator-modal-social:hover {
  text-decoration: underline;
}

.gp-creator-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.gp-creator-modal-close:hover {
  color: #07090e;
  background: #00f0ff;
  border-color: #00f0ff;
}

.gp-creator-modal-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gp-creator-modal-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gp-cm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gp-cm-badge--rank {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.14));
  border: 1px solid rgba(251, 191, 36, 0.6);
  color: #fde68a;
}

.gp-cm-badge--game {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.gp-cm-badge--cat {
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #ddd6fe;
}

.gp-cm-badge--votes {
  background: rgba(0, 240, 255, 0.14);
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: #00f0ff;
}

.gp-creator-modal-field {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(7, 10, 19, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.gp-creator-modal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 5px;
}

.gp-creator-modal-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.5;
}

.gp-creator-modal-desc {
  font-size: 0.92rem;
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

.gp-creator-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
}

.gp-creator-modal-clip-btn {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 11px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #07090e;
  background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 55%, #a78bfa 100%);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.gp-creator-modal-clip-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.55);
}
