/* ==========================================================================
   MMO11 — VİDEO GELİŞİM MERKEZİ PAGE (hub view #hubViewVideoCenter)
   On the EventPage base (Game/Screens/Events/eventPage.css). Step 1: one big card + the watch button.
   Step 2: the won card · the squad list · the before → after preview. Odds: a window with ✕.
   ========================================================================== */

/* ---------------------------------------------------------------- top bar's right slot */
.vc-quota {
  background: #ffffff;
  border: 1px solid #bfe0fb;
  border-radius: 14px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 170px;
}
.vc-quota-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #64748b; }
.vc-quota-row b { font-size: 22px; color: #1f2937; }
.vc-quota small { font-size: 12px; color: #64748b; }
.vc-dots { display: flex; gap: 5px; }
.vc-dot { flex: 1; height: 8px; border-radius: 4px; background: #e2e8f0; }
.vc-dot.on { background: linear-gradient(90deg, #ffb547, #ff8a3d); }

/* ---------------------------------------------------------------- 2 steps */
.vc-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.vc-step { flex: 1; display: flex; align-items: center; gap: 10px; opacity: 0.5; }
.vc-step.now, .vc-step.done { opacity: 1; }
.vc-step-num {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  background: #e2e8f0;
  color: #64748b;
}
.vc-step.now .vc-step-num { background: linear-gradient(135deg, #ffb547, #ff8a3d); color: #ffffff; box-shadow: 0 4px 12px rgba(255, 138, 61, 0.4); }
.vc-step.done .vc-step-num { background: #22c55e; color: #ffffff; }
.vc-step-text { display: flex; flex-direction: column; line-height: 1.15; }
.vc-step-text b { font-size: 17px; color: #1f2937; }
.vc-step-text small { font-size: 13px; color: #64748b; }
.vc-step-arrow { font-size: 26px; color: #cbd5e1; font-weight: 800; }

/* ---------------------------------------------------------------- stage */
.vc-stage {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.vc-stage-give { align-items: stretch; }

.vc-card {
  width: 320px;
  max-width: 100%;
  min-height: 230px;
  box-sizing: border-box;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #e3f2ff 100%);
  border: 2px solid #bfe0fb;
  position: relative;
}
.vc-card-back { border-style: dashed; }
.vc-card-q {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e3f2ff;
  color: #2f9be8;
  font-size: 34px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-card-skill { font-size: 28px; font-weight: 800; color: #1f2937; }
.vc-card-back .vc-card-skill { font-size: 19px; color: #64748b; }
.vc-card-pts { font-size: 60px; font-weight: 900; line-height: 1; color: #2f9be8; }
.vc-card-back .vc-card-pts { font-size: 22px; color: #94a3b8; }
.vc-card-tag {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
}
.vc-card.vc-spinning { animation: vc-shake 0.18s linear infinite; }
.vc-card.vc-spinning .vc-card-skill,
.vc-card.vc-spinning .vc-card-pts { filter: blur(1px); }
.vc-card.vc-landed { animation: vc-land 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes vc-shake { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes vc-land { 0% { transform: scale(0.85); } 100% { transform: scale(1); } }

/* point tiers: +1/+2 calm blue, +3 sky, +4 coral, +5 gold */
.vc-tier3 { border-color: #7cc4f5; }
.vc-tier3 .vc-card-tag { background: #dff0ff; color: #1d6fb0; }
.vc-tier4 { border-color: #ff9c7a; background: linear-gradient(165deg, #ffffff 0%, #fff0ea 100%); box-shadow: 0 8px 22px rgba(255, 120, 80, 0.2); }
.vc-tier4 .vc-card-pts { color: #f0643c; }
.vc-tier4 .vc-card-tag { background: #ffe3d8; color: #c2410c; }
.vc-tier5 { border-color: #f5b301; background: linear-gradient(165deg, #fffdf3 0%, #fff1c7 100%); box-shadow: 0 10px 28px rgba(245, 179, 1, 0.35); }
.vc-tier5 .vc-card-pts { color: #d48a00; }
.vc-tier5 .vc-card-tag { background: #ffe9a8; color: #92400e; }

.vc-hint { margin: 0; text-align: center; font-size: 15px; color: #64748b; }
.vc-hint b { color: #1f2937; }
.vc-watch { display: flex; justify-content: center; }

/* ---------------------------------------------------------------- step 2: give */
.vc-give { display: grid; grid-template-columns: 240px minmax(0, 1fr) 250px; gap: 14px; align-items: stretch; }
.vc-won { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vc-won-title { font-size: 15px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }
.vc-won .vc-card { width: 100%; min-height: 200px; }
.vc-won .vc-card-pts { font-size: 52px; }

.vc-players { display: flex; flex-direction: column; gap: 4px; max-height: 400px; overflow-y: auto; padding-right: 4px; }
.vc-player-head,
.vc-player { display: grid; grid-template-columns: 52px minmax(0, 1fr) 46px 110px; align-items: center; gap: 8px; }
.vc-player-head { font-size: 12px; font-weight: 800; color: #64748b; padding: 0 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.vc-group { font-size: 13px; font-weight: 800; color: #2f9be8; letter-spacing: 1px; text-transform: uppercase; margin: 8px 0 2px; }
.vc-player {
  width: 100%;
  border: 1px solid #e3eef9;
  background: #ffffff;
  border-radius: 12px;
  padding: 7px 10px;
  font-family: inherit;
  font-size: 15px;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
}
.vc-player.on { border-color: #ff8a3d; background: #fff4ea; box-shadow: 0 4px 12px rgba(255, 138, 61, 0.2); }
.vc-player:disabled { opacity: 0.45; cursor: default; }
.vc-player-pos { font-size: 13px; font-weight: 800; text-align: center; border-radius: 8px; padding: 2px 4px; background: #e3f2ff; color: #1d6fb0; }
.vc-player-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-player-ovr { font-weight: 800; text-align: center; color: #64748b; }
.vc-player-val { text-align: right; font-weight: 700; color: #64748b; }
.vc-player-val i { font-style: normal; color: #cbd5e1; }
.vc-player-val b { color: #16a34a; }

.vc-preview {
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #fff4ea 100%);
  border: 1px solid #ffe0c7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}
.vc-prev-name { font-size: 22px; font-weight: 800; color: #1f2937; }
.vc-prev-skill { font-size: 16px; color: #64748b; margin-top: 2px; }
.vc-prev-nums { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-weight: 900; font-size: 46px; line-height: 1; }
.vc-prev-old { color: #94a3b8; }
.vc-prev-arrow { color: #cbd5e1; font-size: 30px; }
.vc-prev-new { color: #16a34a; }
.vc-prev-gain { margin-top: 6px; font-size: 15px; color: #16a34a; font-weight: 700; }
.vc-prev-empty { font-size: 15px; color: #64748b; line-height: 1.5; text-align: center; padding: 10px; }
.vc-confirm { margin-top: 14px; }

/* ---------------------------------------------------------------- odds window (GameWindow panel, ✕) */
.vc-odds-modal {
  position: absolute;
  inset: 0;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  padding: clamp(8px, 2.5%, 28px);
  box-sizing: border-box;
}
.vc-odds-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 20px;
  color: #1f2937;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.vc-odds-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #bfe0fb;
  background: #e3f2ff;
  color: #1d6fb0;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.vc-odds-title { margin: 0; font-size: 24px; font-weight: 800; }
.vc-odds-lead { margin: 2px 0 12px; font-size: 15px; color: #64748b; }
.vc-odds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; }
.vc-odds-box { background: #f8fbff; border: 1px solid #e3eef9; border-radius: 16px; padding: 12px 14px; }
.vc-odds-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; align-items: center; gap: 10px; padding: 5px 0; font-size: 16px; }
.vc-odds-row b { text-align: right; }
.vc-pts-chip { text-align: center; font-weight: 900; padding: 3px 6px; border-radius: 10px; background: #e3f2ff; color: #1d6fb0; border: 1px solid #bfe0fb; }
.vc-odds-bar { height: 10px; border-radius: 5px; background: #e2e8f0; overflow: hidden; }
.vc-odds-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb547, #ff8a3d); }
.vc-odds-note { margin: 10px 0 0; font-size: 14px; color: #64748b; }
.vc-odds-skills { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.vc-odds-skill { display: flex; justify-content: space-between; font-size: 15px; padding: 4px 0; border-bottom: 1px solid #eef2f7; }
.vc-odds-skill b { color: #1d6fb0; }

/* ---------------------------------------------------------------- phone landscape */
@media (max-width: 980px) {
  .vc-step-text small { display: none; }
  .vc-stage { padding: 12px; gap: 10px; }
  .vc-card { width: 260px; min-height: 170px; }
  .vc-card-skill { font-size: 22px; }
  .vc-card-pts { font-size: 44px; }
  .vc-give { grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 10px; }
  .vc-won .vc-card { min-height: 150px; }
  .vc-won .vc-card-pts { font-size: 40px; }
  .vc-player-head, .vc-player { grid-template-columns: 44px minmax(0, 1fr) 36px 84px; }
  .vc-players { max-height: 250px; }
  .vc-prev-nums { font-size: 34px; }
}
@media (max-width: 640px) {
  .vc-give, .vc-odds { grid-template-columns: minmax(0, 1fr); }
}
