/* ==================================================================
   KONSEPT 5 - "Haxball / Siradaki Golu Kim Atar?"  |  300 x 600 sabit
   Haxball'in kendi duz vektor dili sadakatle korunur; cevresi iddaa.
   0..44 ust bar | 44..72 canli bant | 72..282 saha | 282..582 panel
   ================================================================== */

#stage { background: #12171a; }

/* ---------------- canli bant ---------------- */
.livebar {
  position: absolute;
  top: 44px; left: 0; right: 0;
  height: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  background: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
}
.livebar .spacer { flex: 1; }
.livebar .lv {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}
.livebar .lv i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: livePulse .9s steps(1,end) infinite; }
.livebar .lname { color: #b9c2c6; font-weight: 600; font-size: 10px; }
.livebar .lclock { color: var(--yellow); font-size: 12px; font-weight: 800; }

/* ---------------- saha ---------------- */
.field {
  position: absolute;
  top: 72px; left: 0;
  width: 300px; height: 210px;
  overflow: hidden;
}
#pitch { display: block; width: 300px; height: 210px; }

.gflash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.gword {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.05em;
  text-shadow: 0 0 16px rgba(0,0,0,.6), 0 3px 0 rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
}
.gword.on { animation: gw 1.5s var(--ease-out) forwards; }
@keyframes gw {
  0%   { opacity: 0; transform: scale(.35) rotate(-6deg); }
  18%  { opacity: 1; transform: scale(1.12) rotate(2deg); }
  30%  { transform: scale(1) rotate(-1deg); }
  82%  { opacity: 1; transform: scale(1) rotate(-1deg); }
  100% { opacity: 0; transform: scale(1.04); }
}

/* ---------------- paneller ---------------- */
.panel {
  position: absolute;
  left: 0; right: 0;
  top: 282px; bottom: 18px;
  padding: 0 16px;
  display: none;
  flex-direction: column;
  justify-content: center;
}
.panel.on  { display: flex; }
.panel.in  { animation: panIn .36s var(--ease-out); }
.panel.out { animation: panOut .2s var(--ease-in) forwards; }
@keyframes panIn  { from { opacity: 0; transform: translateY(14px); } }
@keyframes panOut { to   { opacity: 0; transform: translateY(-10px); } }

/* ---------------- 1: soru ---------------- */
.pq {
  margin: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.psub { margin-top: 8px; text-align: center; font-size: 11px; font-weight: 500; color: var(--muted); }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 14px; }
.pick {
  position: relative;
  min-height: 96px;
  padding: 26px 6px 12px;
  border-radius: 7px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform .12s var(--ease-out);
}
.pick:active { transform: scale(.97); }
.pick .pn { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.disc { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(0,0,0,.45); }
.disc.r { background: #e56e56; }
.disc.b { background: #5689e5; }
.pick .pv { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pick.red { border-color: #e56e56; }
.pick.red .pv { color: #c23b22; }

.pick.kral-pick {
  background: linear-gradient(180deg, #00b350, var(--green-dark));
  border-color: var(--green-lite);
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.22);
  overflow: hidden;
  animation: glowRing 2s var(--ease-both) infinite;
}
.pick.kral-pick::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.3) 50%, transparent 62%);
  background-size: 260% 100%;
  animation: sheen 2.4s linear infinite;
  pointer-events: none;
}
.pick.kral-pick .pv { color: #fff; }
.pick.kral-pick .pv s { display: block; font-size: 12px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.pcrown { position: absolute; top: 7px; left: 8px; width: 15px; height: 15px; z-index: 2; }
.pflag {
  position: absolute; top: 10px; left: 0; right: 0;
  text-align: center;
  font-size: 8px; font-weight: 900; letter-spacing: .12em;
  color: var(--crown-a); z-index: 2;
}
.pnote { text-align: center; font-size: 11px; font-weight: 500; color: #9aa4a8; }
.pnote b { color: var(--yellow); font-weight: 800; }

/* ---------------- 2: kupon ---------------- */
.slip { border-radius: 6px; overflow: hidden; box-shadow: 0 7px 18px rgba(0,0,0,.45); }
.sh { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 10px; background: var(--ink-3); font-size: 12px; font-weight: 700; }
.slive { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 3px; background: var(--red); font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.slive i { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: livePulse .9s steps(1,end) infinite; }
.sr { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px; background: #fff; color: var(--text); }
.sm b { display: block; font-size: 15px; font-weight: 800; }
.sm em { display: block; margin-top: 2px; font-size: 10px; font-style: normal; color: var(--muted); }
.so { font-size: 20px; font-weight: 800; color: var(--green-dark); }
.sf { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; background: var(--yellow); color: #000; font-size: 12px; font-weight: 700; }
.sf b { font-size: 16px; font-weight: 900; }
.swait { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); }
.swait i { width: 6px; height: 6px; border-radius: 50%; background: #4fc98a; animation: dotJump 1.1s var(--ease-both) infinite; }
.swait i:nth-child(2) { animation-delay: .14s; }
.swait i:nth-child(3) { animation-delay: .28s; margin-right: 5px; }
@keyframes dotJump { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ---------------- 3: sonuc ---------------- */
#pEnd { text-align: center; }
.wtag {
  align-self: center;
  padding: 4px 10px; border-radius: 4px;
  background: var(--green-dark);
  font-size: 10px; font-weight: 900; letter-spacing: .14em;
}
.wamt { margin-top: 10px; font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -.045em; color: var(--yellow); }
.wsub {
  margin: 10px auto 0;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 5px;
  background: rgba(0,134,65,.2);
  border: 1px solid rgba(0,210,102,.3);
  font-size: 11px; font-weight: 600; color: #d4f2e1;
}
.wsub img { width: 13px; height: 13px; }
.wsub b.y { color: var(--yellow); font-weight: 900; }
.wline { margin: 14px 0 12px; font-size: 12px; font-weight: 600; color: #c6ced2; }
.wline b { color: var(--yellow); font-weight: 900; }
#pEnd .cta { margin-bottom: 9px; }

#conf { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
