/* =========================================================================
   css/victory-modals.css
   Modern Zafer ekranı (Finiş Ekranı), Oyun Sonu İstatistikleri ve Geçmiş Kartları
   ========================================================================= */

/* --- Modern Zafer (Finiş) Ekranı --- */
#victory-modal { backdrop-filter: blur(10px); background-color: rgba(255, 255, 255, 0.5); z-index:3000; animation:fadeIn .4s ease forwards; }

#v-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-radius: 36px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: scale(.9);
    opacity: 0;
    animation: vPopIn .6s cubic-bezier(.34,1.56,.64,1) forwards;
    will-change: transform, opacity;
}

@keyframes vPopIn { to { transform:scale(1); opacity:1; } }

.v-header { position:relative; padding:45px 20px 20px; display:flex; flex-direction:column; align-items:center; background:linear-gradient(180deg,rgba(255,255,255,.6) 0%,transparent 100%); }
.v-glow { position:absolute; top:30%; left:50%; transform:translate(-50%,-50%); width:160px; height:160px; border-radius:50%; filter:blur(45px); opacity:.65; z-index:0; animation:vGlowPulse 2.5s infinite alternate ease-in-out; pointer-events:none; }
@keyframes vGlowPulse { from { transform:translate(-50%,-50%) scale(.8); opacity:.4; } to { transform:translate(-50%,-50%) scale(1.2); opacity:.8; } }

.v-avatar { position:relative; z-index:1; font-size:60px; width:110px; height:110px; display:flex; align-items:center; justify-content:center; background:#fff; border-radius:50%; box-shadow:0 12px 30px rgba(0,0,0,.15),inset 0 -4px 12px rgba(0,0,0,.05); border:4px solid #fff; animation:vFloat 3.5s ease-in-out infinite; overflow:hidden; }
@keyframes vFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.v-badge { position:relative; z-index:2; margin-top:-14px; background:#1d1d1f; color:#fff; font-size:11px; font-weight:800; padding:6px 18px; border-radius:20px; letter-spacing:1px; text-transform:uppercase; box-shadow:0 6px 15px rgba(0,0,0,.2); border:2px solid #fff; }
.v-body { padding:15px 25px 20px; text-align:center; position:relative; z-index:1; }
.v-name { margin:0; font-size:30px; font-weight:800; letter-spacing:-1px; color:var(--text-main); line-height:1.1; }
.v-subtitle { margin:6px 0 22px; font-size:15px; font-weight:600; color:var(--text-secondary); }

.v-actions { display:flex; gap:15px; justify-content:center; margin-bottom:25px; padding:0 25px; }
.v-btn-icon { width:54px; height:54px; border-radius:18px; background:#fff; border:1px solid rgba(0,0,0,.03); color:var(--c); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .3s cubic-bezier(.34,1.56,.64,1); box-shadow:0 8px 20px rgba(0,0,0,.06); }
.v-footer { padding:0 25px 25px; display:flex; flex-direction:column; gap:10px; }
.v-btn { margin:0!important; height:54px; border-radius:20px!important; font-size:16px!important; box-shadow:0 8px 20px rgba(0,122,255,.2); }
.v-btn-alt { margin:0!important; height:54px; border-radius:20px!important; background:rgba(0,0,0,.04)!important; color:var(--text-main)!important; font-size:15px!important; box-shadow:none; border:1px solid transparent; }

/* =========================================================================
   📊 ZAFER EKRANI MAÇ ÖZETİ VE İSTATİSTİK STİLLERİ
   ========================================================================= */

#victory-stats {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 20px;
    height: auto !important; 
    overflow: visible !important; 
}

.v-modern-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v-summary-header {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted, #86868b);
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    text-align: left;
}

.v-kills-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v-kill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.v-kill-icon { font-size: 14px; }

.v-v-text { 
    color: var(--text-secondary); 
    font-weight: 600; 
    font-size: 11px; 
}

.v-p-name {
    font-weight: 800;
}

.v-k-count { 
    margin-left: auto; 
    color: var(--text-secondary); 
    font-weight: 800; 
}

.v-friendly-game {
    text-align: center;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 15px 0;
}

.v-friendly-game span { 
    font-size: 24px; 
    margin-bottom: 5px; 
    display: block; 
}

.v-rewards-banner {
    border-radius: 10px;
    border: 1px solid;
    padding: 10px;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.v-rewards-banner span:first-child { font-size: 18px; }

/* --- Oyun Geçmişi Kartları (History Menu) --- */
.history-modern-card { background:rgba(255,255,255,.65); border:1px solid rgba(255,255,255,.8); border-radius:20px; padding:15px; margin-bottom:15px; box-shadow:0 8px 20px rgba(0,0,0,.03); transition:transform .2s cubic-bezier(.34,1.56,.64,1); }
.history-m-header { display:flex; justify-content:space-between; align-items:center; padding-bottom:12px; border-bottom:1px dashed rgba(0,0,0,.08); margin-bottom:12px; }
.history-m-winner { display:flex; align-items:center; gap:12px; }
.history-m-avatar { width:44px; height:44px; border-radius:14px; background:#fff; box-shadow:0 4px 10px rgba(0,0,0,.1); font-size:24px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.history-m-title { font-size:10px; font-weight:800; color:var(--text-secondary); text-transform:uppercase; letter-spacing:.5px; margin-bottom:2px; text-align:left; }
.history-m-name { font-size:16px; font-weight:800; color:var(--text-main); line-height:1; text-align:left; }
.history-m-meta { text-align:right; display:flex; flex-direction:column; gap:6px; align-items:flex-end; }
.history-m-mode { font-size:10px; font-weight:800; background:rgba(0,0,0,.05); padding:4px 8px; border-radius:8px; color:var(--text-main); display:inline-block; }
.history-m-date { font-size:10px; font-weight:600; color:var(--text-secondary); }
.history-m-stats { background:rgba(255,255,255,.5); border-radius:12px; padding:10px; }
.history-stat-row { display:flex; align-items:center; gap:8px; font-size:13px; margin-bottom:6px; padding:6px 10px; background:rgba(255,255,255,.7); border-radius:8px; border:1px solid rgba(0,0,0,.02); }
.history-stat-row:last-child { margin-bottom:0; }

@media (hover: hover) {
    .v-btn-icon:hover { transform:translateY(-4px) scale(1.05); box-shadow:0 12px 25px rgba(0,0,0,.1); background:var(--c); color:#fff; border-color:transparent; }
    .history-modern-card:hover { transform:scale(1.02); box-shadow:0 12px 25px rgba(0,0,0,.06); }
