/* ===== Şeker Patlaması — Mobildokun 7x7 cluster slot ===== */
#vx-seker {
  position: fixed; inset: 0; z-index: 9960; display: none;
  font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
  -webkit-tap-highlight-color: transparent; color: #fff;
}
#vx-seker.sk-open { display: block; }
body.sk-open-body { overflow: hidden; }

#vx-seker .sk-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 15% 0, #57104a 0, transparent 60%),
    radial-gradient(70% 60% at 85% 10%, #241a6b 0, transparent 62%),
    radial-gradient(120% 100% at 50% 50%, #1a0726 0, #0c0312 70%, #04000a 100%);
}
#vx-seker .sk-win {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(1180px, 97vw); height: min(880px, 96vh);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(180deg, #2b0a3d 0%, #1d0730 55%, #140422 100%);
  border: 2px solid #ffb84d; border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 4px #2a0b3f, 0 0 70px #ff5ec455, 0 26px 80px #000d;
}
#vx-seker .sk-win::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 38% at 50% 0, #ffd76a22, transparent 72%);
}

/* ---------- üst bar ---------- */
#vx-seker .sk-top {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: linear-gradient(180deg, #3a0c52, #23062f);
  border-bottom: 2px solid #c9922f;
}
#vx-seker .sk-brand { display: flex; flex-direction: column; line-height: 1; }
#vx-seker .sk-brand b {
  font-family: 'Impact', 'Arial Black', sans-serif; font-size: 19px; letter-spacing: 1.4px;
  background: linear-gradient(180deg, #fff4c0, #ffcf3f 55%, #e08a00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: .6px #5c2a00;
}
#vx-seker .sk-brand b span { color: #ff64b8; -webkit-text-fill-color: #ff64b8; }
#vx-seker .sk-brand i { font-style: normal; font-size: 8.5px; letter-spacing: 2px; color: #c9a6e6; margin-top: 3px; }
#vx-seker .sk-user { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
#vx-seker .sk-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #ffb84d; background: #3b1560; }
#vx-seker .sk-uinfo { display: flex; flex-direction: column; line-height: 1.1; }
#vx-seker .sk-name { font-size: 12.5px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#vx-seker .sk-lv {
  font-size: 9.5px; font-weight: 800; color: #ffe9a8; align-self: flex-start; margin-top: 2px;
  background: linear-gradient(180deg, #7a2ac0, #46108a); border: 1px solid #b57bff;
  border-radius: 6px; padding: 0 6px;
}
#vx-seker .sk-bal {
  display: flex; align-items: center; gap: 6px; margin-left: 2px;
  background: linear-gradient(180deg, #4a1268, #280740); border: 1px solid #c98fe8;
  border-radius: 10px; padding: 5px 9px; color: #ffe9a8; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 14px;
}
#vx-seker .sk-bal i {
  font-style: normal; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center;
  font-size: 13px; color: #06210a; background: linear-gradient(180deg, #8ef0a0, #1fa838); border: 1px solid #0a5c1d;
}
#vx-seker .sk-nav { margin-left: auto; display: flex; gap: 5px; }
#vx-seker .sk-nav button {
  font: inherit; font-size: 14px; color: #eadcff; cursor: pointer;
  background: linear-gradient(180deg, #52187f, #2c0b48); border: 1px solid #9a63e0;
  border-radius: 9px; padding: 6px 9px; line-height: 1;
}
#vx-seker .sk-nav button:hover { filter: brightness(1.2); }
#vx-seker .sk-nav .sk-back { color: #ffe9a8; border-color: #c9922f; }

/* ---------- sahne ---------- */
#vx-seker .sk-stage {
  position: relative; z-index: 2; min-height: 0; padding: 10px 12px;
  display: grid; grid-template-columns: 148px minmax(0, 1fr) 168px; gap: 12px;
}
#vx-seker .sk-side { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
#vx-seker .sk-stat {
  background: linear-gradient(180deg, #33104d, #1e0830); border: 1px solid #7a3fa5;
  border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: inset 0 1px 0 #ffffff12;
}
#vx-seker .sk-stat span { font-size: 9px; letter-spacing: 1.4px; color: #c9a6e6; font-weight: 700; }
#vx-seker .sk-stat b { font-size: 20px; color: #ffe9a8; letter-spacing: .5px; word-break: break-all; }
#vx-seker .sk-stat small { font-size: 8.5px; color: #9c7bbd; letter-spacing: 1px; }
#vx-seker .sk-stat.vurgu { border-color: #ffb84d; box-shadow: 0 0 18px #ffb84d33 inset; }
#vx-seker .sk-stat.vurgu b { color: #8dffb0; }
#vx-seker .sk-fs {
  background: linear-gradient(180deg, #4a1230, #2a0718); border: 1px dashed #ff7ab8;
  border-radius: 12px; padding: 8px 10px; opacity: .55; display: flex; flex-direction: column; gap: 1px;
}
#vx-seker .sk-fs.aktif { opacity: 1; border-style: solid; box-shadow: 0 0 16px #ff5ec444; }
#vx-seker .sk-fs span { font-size: 8.5px; letter-spacing: 1.2px; color: #ffc3e2; font-weight: 700; }
#vx-seker .sk-fs b { font-size: 22px; color: #ffdf7a; }
#vx-seker .sk-fs small { font-size: 8.5px; color: #d59cbd; letter-spacing: 1px; }

#vx-seker .sk-info {
  background: #200a33cc; border: 1px solid #5b2c78; border-radius: 11px; padding: 7px 8px;
}
#vx-seker .sk-info h4 { margin: 0 0 3px; font-size: 9px; letter-spacing: 1.1px; color: #ffd97a; }
#vx-seker .sk-info p { margin: 0; font-size: 9.5px; line-height: 1.35; color: #c3a9da; }
#vx-seker .sk-info.altin { border-color: #c9922f; background: #3a2210cc; }
#vx-seker .sk-info.altin p { color: #ffe6b8; }

#vx-seker .sk-board { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; }
#vx-seker .sk-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 9px;
  width: min(100%, 58vh, 560px); aspect-ratio: 1;
  background: radial-gradient(90% 70% at 50% 0, #4d1668, #230a38 70%, #170424);
  border: 2px solid #b06bff55; border-radius: 18px;
  box-shadow: inset 0 0 40px #0008, 0 10px 30px #0007;
  transition: box-shadow .3s;
}
#vx-seker .sk-cell {
  position: relative; aspect-ratio: 1; border-radius: 13px;
  background: linear-gradient(180deg, #38134f, #200a31);
  box-shadow: inset 0 0 0 1px #6b3a8c66, inset 0 -5px 12px #0006;
  display: grid; place-items: center;
}
#vx-seker .sk-sym { width: 100%; height: 100%; display: grid; place-items: center; }
#vx-seker .sk-ico { width: 88%; height: 88%; display: block; filter: drop-shadow(0 3px 3px #0009); }
#vx-seker .sk-mul {
  position: absolute; right: 2px; bottom: 2px; display: none;
  font-size: 10px; font-weight: 900; letter-spacing: .2px; color: #4a2200;
  background: linear-gradient(180deg, #fff3b8, #ffbb2e 60%, #d07a00);
  border: 1px solid #fff0b8; border-radius: 7px; padding: 1px 4px; line-height: 1.25;
  box-shadow: 0 0 10px #ffbe3daa; z-index: 2;
}
#vx-seker .sk-mul.gorunur { display: block; }
#vx-seker .sk-mul.yeni { animation: skMul .34s cubic-bezier(.2, .8, .3, 1.4); }
@keyframes skMul { 0% { transform: scale(.3) rotate(-14deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* kazanan / patlama / düşme */
#vx-seker .sk-cell.sk-kazandi {
  background: linear-gradient(180deg, #7a3c10, #3d1c05);
  box-shadow: inset 0 0 0 2px #ffd76a, 0 0 18px #ffcf4f99;
  animation: skKaz .28s ease-out;
}
#vx-seker .sk-cell.sk-kazandi .sk-ico { filter: drop-shadow(0 0 8px #ffe08a) brightness(1.25); }
@keyframes skKaz { 0% { transform: scale(.9); } 60% { transform: scale(1.09); } 100% { transform: scale(1); } }
#vx-seker .sk-cell.sk-patla .sk-sym { animation: skPat .3s ease-in forwards; }
@keyframes skPat {
  0% { transform: scale(1); opacity: 1; }
  45% { transform: scale(1.22); filter: brightness(2); opacity: .95; }
  100% { transform: scale(.15); opacity: 0; }
}
#vx-seker .sk-cell.sk-dustu .sk-sym { animation: skDus .46s cubic-bezier(.2, .72, .3, 1.05) both; }
@keyframes skDus { from { transform: translateY(-90px) scale(.82); opacity: 0; } to { transform: none; opacity: 1; } }
#vx-seker .sk-grid.sk-donuyor .sk-cell { animation: skDon .3s linear infinite; }
@keyframes skDon { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.45); } }
#vx-seker.sk-kutlama .sk-grid { box-shadow: inset 0 0 40px #0008, 0 0 46px #ffcf4f88; }

/* banner */
#vx-seker .sk-banner {
  position: absolute; left: 50%; top: 8%; transform: translate(-50%, -14px) scale(.94);
  padding: 8px 18px; border-radius: 14px; text-align: center; pointer-events: none;
  font-family: 'Impact', 'Arial Black', sans-serif; font-size: clamp(15px, 2.2vw, 26px); letter-spacing: 1px;
  color: #fff6cf; background: linear-gradient(180deg, #a3165b, #5c0730);
  border: 2px solid #ffd76a; box-shadow: 0 10px 30px #000a, 0 0 30px #ff5ec466;
  opacity: 0; transition: opacity .18s, transform .18s; line-height: 1.15; white-space: nowrap; z-index: 6;
}
#vx-seker .sk-banner b { color: #ffe066; }
#vx-seker .sk-banner.goster { opacity: 1; transform: translate(-50%, 0) scale(1); }

#vx-seker .sk-toast {
  position: absolute; left: 50%; bottom: 8px; transform: translate(-50%, 12px);
  background: #1b0b2acc; border: 1px solid #8d5cc0; border-radius: 10px;
  padding: 7px 14px; font-size: 12px; color: #f0e4ff; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: 90%; text-align: center; z-index: 7;
}
#vx-seker .sk-toast.gorunur { opacity: 1; transform: translate(-50%, 0); }
#vx-seker .sk-toast.kotu { border-color: #ff6a8a; color: #ffd9e2; background: #3a0a18cc; }
#vx-seker .sk-toast.iyi { border-color: #5fe08a; color: #d9ffe6; background: #0c2a18cc; }

/* ---------- alt kontroller ---------- */
#vx-seker .sk-foot {
  position: relative; z-index: 5; display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 9px 12px; background: linear-gradient(180deg, #26082f, #150320);
  border-top: 2px solid #c9922f;
}
#vx-seker .sk-bet {
  display: flex; flex-direction: column; gap: 2px; background: #2c0b44; border: 1px solid #8d5cc0;
  border-radius: 11px; padding: 5px 8px; min-width: 132px;
}
#vx-seker .sk-bet > span { font-size: 8.5px; letter-spacing: 1.4px; color: #c9a6e6; }
#vx-seker .sk-bet > div { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
#vx-seker .sk-bet b { font-size: 16px; color: #ffe9a8; min-width: 56px; text-align: center; }
#vx-seker .sk-bet button {
  width: 26px; height: 26px; border-radius: 8px; font: inherit; font-size: 17px; font-weight: 900;
  color: #fff; background: linear-gradient(180deg, #6b2aa8, #3a1070); border: 1px solid #a97bef; cursor: pointer; line-height: 1;
}
#vx-seker .sk-auto, #vx-seker .sk-spin {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border-radius: 13px; border: 1px solid #a97bef; cursor: pointer; font: inherit; color: #fff;
  background: linear-gradient(180deg, #5d1f92, #310c56); padding: 8px 18px;
}
#vx-seker .sk-auto span, #vx-seker .sk-spin span { font-size: 16px; line-height: 1; }
#vx-seker .sk-auto b, #vx-seker .sk-spin b { font-family: 'Arial Black', Arial; font-size: 13px; letter-spacing: 1px; }
#vx-seker .sk-auto i, #vx-seker .sk-spin i { font-style: normal; font-size: 8px; letter-spacing: .8px; color: #d3b6ea; }
#vx-seker .sk-spin {
  background: linear-gradient(180deg, #ff5fae, #b7095c 60%, #7d003c);
  border: 2px solid #ffd76a; padding: 9px 30px; box-shadow: 0 0 24px #ff5fae88;
}
#vx-seker .sk-spin b { font-size: 16px; }
#vx-seker .sk-spin:hover, #vx-seker .sk-auto:hover { filter: brightness(1.1); }
#vx-seker.sk-auto-acik .sk-auto { border-color: #8dffb0; box-shadow: 0 0 16px #53ff8c66; }
#vx-seker.sk-mesgul .sk-spin { filter: grayscale(.4) brightness(.85); pointer-events: none; }

/* ---------- modal ---------- */
#vx-seker .sk-modal { position: absolute; inset: 0; z-index: 20; display: none; background: #05000acc; place-items: center; }
#vx-seker .sk-modal.acik { display: grid; }
#vx-seker .sk-mwin {
  width: min(560px, 92%); max-height: 82%; display: flex; flex-direction: column;
  background: #1e0930; border: 2px solid #a97bef; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 60px #000c;
}
#vx-seker .sk-mwin header { display: flex; align-items: center; padding: 9px 12px; background: #2c0b44; border-bottom: 1px solid #8d5cc0; }
#vx-seker .sk-mwin header b { font-size: 13px; letter-spacing: .8px; }
#vx-seker .sk-mwin header button { margin-left: auto; background: none; border: 0; color: #d9c6ee; font-size: 20px; cursor: pointer; line-height: 1; }
#vx-seker .sk-mbody { padding: 12px; overflow: auto; font-size: 12px; }
#vx-seker .sk-note { color: #b9a2cf; font-size: 11.5px; line-height: 1.5; }
#vx-seker .sk-tablo { width: 100%; border-collapse: collapse; font-size: 11px; }
#vx-seker .sk-tablo th { text-align: left; color: #ffd97a; font-weight: 700; padding: 5px 6px; border-bottom: 1px solid #5b2c78; }
#vx-seker .sk-tablo td { padding: 5px 6px; border-bottom: 1px solid #33124c; color: #e2d3f2; }
#vx-seker .sk-tablo td.arti { color: #8dffb0; } #vx-seker .sk-tablo td.eksi { color: #ff9ab0; }
#vx-seker .sk-paketler { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 9px; }
#vx-seker .sk-paket {
  display: flex; flex-direction: column; gap: 3px; text-align: left; cursor: pointer; font: inherit;
  background: linear-gradient(180deg, #3d1260, #240a3a); border: 1px solid #8d5cc0; border-radius: 11px; padding: 10px; color: #fff;
}
#vx-seker .sk-paket b { font-size: 12.5px; color: #ffe9a8; }
#vx-seker .sk-paket span { font-size: 12px; color: #b8ffcf; }
#vx-seker .sk-paket i { font-style: normal; font-size: 10.5px; color: #c9a6e6; }
#vx-seker .sk-paket:hover { border-color: #ffd76a; }

#vx-seker.erisim-yok .sk-spin { filter: grayscale(1) brightness(.7); pointer-events: none; }

/* ---------- mobil ---------- */
@media (max-width: 900px) {
  #vx-seker .sk-win { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; border: 0; }
  #vx-seker .sk-stage {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
    padding: 6px 8px; gap: 6px;
  }
  #vx-seker .sk-side.sag { display: none; }
  #vx-seker .sk-side:first-child { flex-direction: row; gap: 6px; }
  #vx-seker .sk-side:first-child .sk-stat, #vx-seker .sk-side:first-child .sk-fs { flex: 1; padding: 5px 7px; }
  #vx-seker .sk-side:first-child .sk-stat b { font-size: 15px; }
  #vx-seker .sk-side:first-child .sk-fs b { font-size: 16px; }
  #vx-seker .sk-side:first-child .sk-stat small, #vx-seker .sk-side:first-child .sk-fs small { display: none; }
  #vx-seker .sk-grid { width: min(100%, 48vh, 94vw); gap: 4px; padding: 6px; border-radius: 14px; }
  #vx-seker .sk-cell { border-radius: 9px; }
  #vx-seker .sk-mul { font-size: 8.5px; padding: 0 3px; border-radius: 5px; }
  #vx-seker .sk-top { padding: 6px 8px; gap: 7px; }
  #vx-seker .sk-brand b { font-size: 15px; }
  #vx-seker .sk-brand i { font-size: 7px; letter-spacing: 1.2px; }
  #vx-seker .sk-user { display: none; }
  #vx-seker .sk-bal { font-size: 12.5px; padding: 4px 7px; }
  #vx-seker .sk-nav button { padding: 5px 7px; font-size: 12px; }
  #vx-seker .sk-foot { padding: 6px 8px; gap: 6px; }
  #vx-seker .sk-bet { min-width: 108px; }
  #vx-seker .sk-auto { padding: 6px 10px; }
  #vx-seker .sk-auto b, #vx-seker .sk-spin b { font-size: 11.5px; }
  #vx-seker .sk-spin { padding: 7px 18px; }
  #vx-seker .sk-spin i, #vx-seker .sk-auto i { display: none; }
}
@media (max-width: 400px) {
  #vx-seker .sk-brand i { display: none; }
  #vx-seker .sk-nav button[data-act="ses"] { display: none; }
  #vx-seker .sk-grid { width: min(100%, 44vh, 96vw); }
}
@media (max-height: 620px) and (max-width: 900px) {
  #vx-seker .sk-grid { width: min(100%, 56vh); }
}
@media (prefers-reduced-motion: reduce) {
  #vx-seker .sk-cell.sk-dustu .sk-sym,
  #vx-seker .sk-cell.sk-kazandi,
  #vx-seker .sk-grid.sk-donuyor .sk-cell { animation: none !important; }
}
