/* Výherný automat – skrinka s osvetlením, 3 valce, LCD displej, pokladňa vpravo. */
.slot-page { background: radial-gradient(1200px 600px at 30% -10%, #2a1640 0%, transparent 60%), radial-gradient(900px 500px at 90% 10%, #3a1a14 0%, transparent 60%), var(--night); }
.slot-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding-block: 26px 64px; align-items: start; }
@media (max-width: 1000px) { .slot-main { grid-template-columns: 1fr; } }
.small { font-size: 12.5px; margin: 0; }
.icon-btn { padding: 8px 12px; }

/* jackpoty */
.marquee { margin-bottom: 14px; }
.jp-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 10px; }
.jp { position: relative; border-radius: 8px; padding: 10px 14px; text-align: center; background: linear-gradient(180deg, #1d1230, #120b1f); border: 1px solid #4a2f6e; overflow: hidden; }
.jp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4.5s infinite; }
.jp:nth-child(2)::after { animation-delay: 1.5s; } .jp:nth-child(3)::after { animation-delay: 3s; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.jp .n { font-family: var(--f-display); font-size: 20px; letter-spacing: 1px; }
.jp .v { font-family: var(--f-num); font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; }
.jp.mini .n { color: #6be38a; } .jp.major .n { color: #4fc1ff; }
.jp.grand { border-color: #b8860b; background: linear-gradient(180deg, #2e2008, #170f03); }
.jp.grand .n { color: var(--gold); } .jp.grand .v { color: var(--gold); text-shadow: 0 0 16px rgba(255,213,79,.45); font-size: 26px; }
.jp.locked { filter: grayscale(.7); opacity: .65; }
.jp .lk { font-size: 11px; color: var(--muted); display: block; }

/* skrinka */
.cabinet { position: relative; border-radius: 18px; padding: 22px 22px 18px; background: linear-gradient(180deg, #5a1010 0%, #3a0a0a 45%, #250606 100%);
  border: 2px solid #8a6a1f; box-shadow: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -6px 0 rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.55), 0 0 0 6px #1a0404; }
.bulbs { position: absolute; inset: 8px; border-radius: 14px; pointer-events: none;
  background: radial-gradient(circle, #ffe08a 0 2.5px, transparent 3.5px) 0 0 / 22px 22px; mask: linear-gradient(#000 0 0) top/100% 10px no-repeat, linear-gradient(#000 0 0) bottom/100% 10px no-repeat; animation: bulbs 1.2s steps(2) infinite; opacity: .8; }
@keyframes bulbs { 50% { background-position: 11px 0; } }
.cabinet.winning .bulbs { animation-duration: .25s; opacity: 1; }
.cab-title { text-align: center; font-family: var(--f-display); font-size: clamp(30px, 5vw, 46px); color: #ffd54f; text-shadow: 0 3px 0 #7a4a00, 0 0 20px rgba(255,200,60,.5); margin: 4px 0 12px; letter-spacing: 2px; }
.cab-title span { color: #fff3c4; }
.free-banner { text-align: center; font-family: var(--f-display); font-size: 22px; color: #04111f; background: linear-gradient(90deg, #ffd54f, #ffb547, #ffd54f); border-radius: 6px; padding: 4px 10px; margin: -4px auto 10px; max-width: 420px; animation: pulseB 1s infinite; }
@keyframes pulseB { 50% { filter: brightness(1.25); } }

/* okno s valcami */
.window { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin: 0 auto; border-radius: 12px; padding: 12px; background: linear-gradient(180deg, #0a0a12, #14141f);
  box-shadow: inset 0 0 0 3px #b8860b, inset 0 0 0 6px #2b1a00, inset 0 10px 30px rgba(0,0,0,.8); }
.reels { position: absolute; inset: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reel { position: relative; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #d9d2c3 0%, #fbf7ee 18%, #fffdf8 50%, #fbf7ee 82%, #d9d2c3 100%); box-shadow: inset 0 12px 18px rgba(0,0,0,.35), inset 0 -12px 18px rgba(0,0,0,.35); }
.strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.reel.spinning .strip { filter: blur(1.6px) saturate(1.2); }
.cell { height: var(--cell, 100px); display: grid; place-items: center; }
.cell svg, .cell img.sym { width: 78%; height: 78%; filter: drop-shadow(0 3px 2px rgba(0,0,0,.25)); transition: transform .3s; }
.cell img.sym { width: 84%; height: 84%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.cell.hit svg, .cell.hit img.sym { animation: hit .7s ease-in-out infinite alternate; filter: drop-shadow(0 0 10px rgba(255,215,0,.95)) drop-shadow(0 3px 2px rgba(0,0,0,.25)); }
@keyframes hit { to { transform: scale(1.12); } }
.cell.dim { opacity: .35; }
.paylines { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); pointer-events: none; }
.paylines polyline { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px currentColor); stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.win-label { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(10,10,18,.85); border: 1px solid #b8860b; color: #ffd54f; border-radius: 6px; padding: 4px 12px;
  font-family: var(--f-num); font-weight: 600; font-size: 15px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.win-label.show { opacity: 1; }
.lock-over { position: absolute; inset: 0; border-radius: 12px; background: rgba(8,8,16,.82); backdrop-filter: blur(3px); display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; z-index: 3; }
.lock-over .big-lock { font-size: 44px; }

/* LCD a ovládanie */
.lcd { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; margin: 16px auto 0; max-width: 560px; }
.lcd-cell { background: #060a06; border: 2px solid #2a3a1a; border-radius: 6px; padding: 6px 10px; text-align: center; box-shadow: inset 0 0 14px rgba(120,255,120,.08); min-width: 0; }
.lcd-cell span { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .15em; color: #6f9f6f; }
.lcd-cell b { font-family: var(--f-num); font-weight: 600; font-size: 19px; color: #b8ffb0; text-shadow: 0 0 8px rgba(120,255,120,.45); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lcd-cell.win b { color: #ffd54f; text-shadow: 0 0 8px rgba(255,213,79,.5); }
.bet-ctl { display: flex; align-items: center; justify-content: center; gap: 8px; }
.bet-ctl button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #2a3a1a; color: #b8ffb0; font-size: 18px; line-height: 1; cursor: pointer; transition: transform .1s, background .2s; }
.bet-ctl button:hover { background: #3c5426; } .bet-ctl button:active { transform: scale(.9); }
.controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 18px auto 4px; max-width: 560px; }
.auto { display: flex; align-items: center; gap: 8px; }
.auto select { font-family: var(--f-mono); background: var(--field); color: var(--text); border: 1px solid #6a4a1a; border-radius: 4px; padding: 7px 8px; }
.spin-btn { width: 104px; height: 104px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-content: center; gap: 2px;
  background: radial-gradient(circle at 35% 30%, #ff8a65, #e53935 45%, #8e1010 100%); color: #fff; font-family: var(--f-display); font-size: 30px; letter-spacing: 2px;
  box-shadow: 0 8px 0 #5a0808, 0 12px 26px rgba(0,0,0,.5), inset 0 3px 0 rgba(255,255,255,.35); transition: transform .08s, box-shadow .08s, filter .2s; }
.spin-btn small { font-family: var(--f-body); font-size: 10px; letter-spacing: 0; opacity: .75; }
.spin-btn:hover { filter: brightness(1.1); }
.spin-btn:active, .spin-btn.pressed { transform: translateY(6px); box-shadow: 0 2px 0 #5a0808, 0 4px 10px rgba(0,0,0,.5), inset 0 3px 0 rgba(255,255,255,.35); }
.spin-btn[disabled] { filter: grayscale(.6) brightness(.8); cursor: default; }
.spin-btn.auto-on { background: radial-gradient(circle at 35% 30%, #ffe082, #ffb300 45%, #a86b00 100%); box-shadow: 0 8px 0 #6b4400, 0 12px 26px rgba(0,0,0,.5); color: #2a1600; }
.gamble { justify-self: end; display: grid; justify-items: end; gap: 4px; }
.gamble .k { font-size: 12px; text-align: right; }
.gamble .btn { animation: wiggle 1.4s infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-4deg); } 90% { transform: rotate(4deg); } 95% { transform: rotate(-2deg); } }
.msg-line { text-align: center; min-height: 22px; font-size: 14px; color: #ffd8a8; margin-top: 8px; }
.msg-line.err { color: #ff8a80; }
@media (max-width: 560px) { .lcd { grid-template-columns: 1fr 1fr; } .lcd-cell:last-child { grid-column: 1 / -1; } .controls { grid-template-columns: 1fr 1fr; } .spin-btn { grid-column: 1 / -1; grid-row: 1; justify-self: center; } .jp-row { grid-template-columns: 1fr 1fr; } .jp.grand { grid-column: 1 / -1; } .cabinet { padding: 16px 12px; } }

/* bočný panel */
.slot-side { display: grid; gap: 14px; position: sticky; top: 80px; }
@media (max-width: 1000px) { .slot-side { position: static; } }
.slot-side .side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; display: grid; gap: 10px; }
.slot-side h3 { font-size: 24px; }
.row2 { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.row2 b { font-family: var(--f-num); font-weight: 600; font-variant-numeric: tabular-nums; }
.dep { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { font-family: var(--f-num); font-weight: 600; font-size: 12.5px; background: var(--field); color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 5px 9px; cursor: pointer; transition: border-color .15s, transform .1s; }
.quick button:hover { border-color: var(--torch); } .quick button:active { transform: scale(.94); }
.paytable { display: grid; gap: 6px; }
.pay { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.pay svg, .pay img.sym { width: 34px; height: 34px; background: #fffdf8; border-radius: 6px; padding: 3px; }
.pay img.sym { width: 38px; height: 38px; padding: 2px; object-fit: contain; }
.pay .v { font-family: var(--f-num); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.pay .v small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.lines-mini { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.lines-mini svg { width: 100%; aspect-ratio: 1; background: var(--field); border: 1px solid var(--line); border-radius: 3px; }
.rules { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.rules b { color: var(--text); font-weight: 600; }

/* veľká výhra a mince */
.big-win { position: fixed; inset: 0; z-index: 35; display: grid; place-items: center; background: radial-gradient(circle, rgba(60,30,0,.6), rgba(0,0,0,.75)); animation: fadeIn .3s; cursor: pointer; }
.bw-in { text-align: center; animation: zoomIn .6s cubic-bezier(.2,1.6,.4,1); }
.bw-t { font-family: var(--f-display); font-size: clamp(44px, 9vw, 96px); color: #ffd54f; text-shadow: 0 4px 0 #8a5a00, 0 0 40px rgba(255,200,60,.8); }
.bw-v { font-family: var(--f-num); font-weight: 600; font-size: clamp(36px, 7vw, 72px); color: #fff; text-shadow: 0 0 24px rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { transform: scale(.3); opacity: 0; } }
#coins { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 36; }

.slot-side .side-card.lockd { opacity: .55; pointer-events: none; }

/* rozloženie 3 stĺpce: pokladňa + štatistiky | automat | tabuľka + pravidlá */
.slot-main { max-width: 1480px; grid-template-columns: 290px minmax(0, 1fr) 310px; position: relative; z-index: 1; }
.machine-col { min-width: 0; max-width: 680px; width: 100%; justify-self: center; }
.slot-left, .slot-right { position: sticky; top: 80px; }
@media (max-width: 1200px) {
  .slot-main { grid-template-columns: 1fr 1fr; }
  .machine-col { grid-column: 1 / -1; order: -1; }
  .slot-left, .slot-right { position: static; }
}
@media (max-width: 760px) { .slot-main { grid-template-columns: 1fr; } }

/* ilustrácia v pozadí (8 %) */
.slot-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .08; display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(24px, 5vw, 140px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 30%, transparent 45% 55%, #000 70%); mask-image: linear-gradient(90deg, #000 0 30%, transparent 45% 55%, #000 70%); }
.slot-bg img { image-rendering: auto; height: min(70vh, 640px); width: auto; }
.slot-bg img:first-child { transform: none; }
.slot-bg img:last-child { height: min(60vh, 520px); transform: none; }
.slot-main { overflow-x: clip; }
/* 1.9.5 – obrázky namiesto emoji */
.icon-btn .gi { width: 22px; height: 22px; vertical-align: middle; }
h3 .gi { width: 1.35em; height: 1.35em; vertical-align: -.32em; margin-right: 3px; }
