/* MMO11 — YENİ TRANSFER KUTLAMA & HAVAİ FİŞEK MODALI (transferCelebration.css) */
/* Pencere İçi Panel Kuralı (§4.2): position: absolute; inset: 0; GameWindow uyumlu */

.transfer-celebration-modal {
  position: absolute;
  inset: 0;
  z-index: 10000;
  background: rgba(3, 7, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2%, 30px);
  overflow: hidden;
  animation: tcFadeIn 0.3s ease-out;
}

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

.tc-card {
  width: 100%;
  max-width: 540px;
  background: radial-gradient(circle at top, #1e1b4b, #090d16 80%);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.45), 0 25px 50px rgba(0, 0, 0, 0.9);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  animation: tcPopUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tcPopUp {
  0% { transform: scale(0.7) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* HAVAİ FİŞEK VE IŞIK PATLAMASI */
.tc-fireworks-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: tcPulse 2s infinite alternate;
}

@keyframes tcPulse {
  0% { opacity: 0.4; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.tc-badge-top {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #030712;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
  margin-bottom: 12px;
}

.tc-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: #f8fafc;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 10px rgba(250, 204, 21, 0.5);
}

/* OYUNCU KUTLAMA KARTI */
.tc-player-card {
  width: 220px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border: 2px solid #38bdf8;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.tc-ovr-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 30px;
  color: #040b18;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.5);
  margin-bottom: 8px;
}

.tc-pos-badge {
  background: #38bdf8;
  color: #040b18;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.tc-player-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 19px;
  color: #f8fafc;
  margin-bottom: 4px;
}

.tc-player-sub {
  font-size: 12px;
  color: #94a3b8;
}

/* ATEŞ ROZETİ (ON FIRE / KENDİNİ KANITLAMA) */
.tc-fire-badge {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
  animation: tcFireGlow 1.2s infinite alternate;
  position: relative;
}
/* composited: only transform / opacity animate (a box-shadow / filter / left animation repainted every frame) */
.tc-fire-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.8);
  opacity: 0;
  pointer-events: none;
  animation: tcFireGlowGlow 1.2s infinite alternate;
}

@keyframes tcFireGlow {
  0% { transform: scale(0.96); }
  100% { transform: scale(1.04); }
}
@keyframes tcFireGlowGlow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.tc-desc {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 22px;
  max-width: 440px;
  line-height: 1.4;
}

.tc-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.tc-btn-squad {
  flex: 1;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border: none;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.15s;
}

.tc-btn-squad:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.tc-btn-close {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.tc-btn-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* GENEL OYUNCU ATEŞ ROZETİ (Kadro & Kartlar için sade 🔥 emojisi) */
.player-fire-tag, .player-fire-emoji {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.9));
  cursor: help;
  vertical-align: middle;
}
