/* HYDRA CASINO - nutzt die Tokens aus app.css. Nur Spielgeld. */

/* ------------------------------------------------------------------ Lobby */
.cas-note {
  display: flex; gap: 12px; align-items: center; padding: 12px 16px; margin: -6px 0 22px;
  background: rgba(201, 107, 255, .12); border-left: 5px solid var(--bolt); color: #F4F7FF; font-size: .92rem;
}.cas-note svg, .cas-note img.sym3d { width: 24px; height: 24px; flex: none; }
.cas-wallet { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.cas-lbl { display: block; font-size: .78rem; color: var(--mute); text-transform: uppercase; margin-bottom: 6px; letter-spacing: .04em; }
.cas-big { display: flex; align-items: center; gap: 12px; font-size: clamp(2rem, 5vw, 3.1rem); color: var(--bolt); text-shadow: 0 4px 0 var(--navy); line-height: 1.05; }
.cas-big .coin-ico { width: 34px; height: 34px; box-shadow: inset 0 -4px 0 #9A6C00, 0 3px 0 var(--navy); }
.cas-wstats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; color: var(--mute); font-size: .88rem; }
.cas-wstats b { color: #fff; font-weight: 800; }
.cas-wallet-actions { display: flex; flex-direction: column; gap: 8px; min-width: 230px; }

.cas-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cas-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; min-height: 232px; color: #fff; text-decoration: none !important;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  border-bottom: 5px solid rgba(0, 0, 0, .32);
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .2s ease-out, filter .15s;
}
.cas-card:hover { transition: transform .05s linear; filter: brightness(1.06); }
.cas-card:focus-visible { outline: none; box-shadow: inset 0 0 0 4px var(--bolt); }
.cas-card-art { height: 132px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 40%, rgba(255, 255, 255, .18), transparent 70%); }
.cas-card-txt { flex: 1; padding: 10px 14px 16px; background: rgba(4, 8, 36, .55); }
.cas-card h3 { font-size: 1.25rem; text-shadow: 0 3px 0 var(--navy); }
.cas-card p { margin: 4px 0 0; font-size: .84rem; color: #D7E6FF; line-height: 1.35; }
.cas-card-shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .3), transparent 45%); }
.cas-card:hover .cas-card-shine { opacity: 1; }/* Karten-Motive */
.art-svg, /* Karten-Motive */
.art-img.sym3d { width: 80%; height: 116px; filter: drop-shadow(0 4px 0 rgba(10, 20, 70, .55)); }.art-svg.round, .art-img.sym3d.round { width: auto; height: 112px; }
.art-slots { display: flex; gap: 6px; padding: 9px; background: rgba(10, 20, 70, .6); border: 3px solid var(--bolt); box-shadow: 0 4px 0 var(--navy); }
.art-slots > div { width: 46px; height: 60px; display: grid; place-items: center; padding: 6px; background: linear-gradient(180deg, #1A0533, #1B2F9A 50%, #1A0533); }.art-slots svg, .art-slots img.sym3d { width: 100%; height: 100%; }
.art-bj { position: relative; width: 124px; height: 112px; }
.art-bj .cas-cardp { position: absolute; top: 6px; width: 66px; height: 94px; }
.art-bj .cas-cardp:first-child { left: 8px; transform: rotate(-12deg); }
.art-bj .cas-cardp:last-child { left: 48px; transform: rotate(10deg); }
.art-bj .cp-mid { inset: 24px 15px; }
.art-bj .cp-corner { font-size: .85rem; }.art-bj .cp-corner svg, .art-bj .cp-corner img.sym3d { width: 10px; height: 10px; }
.art-mines { display: grid; grid-template-columns: repeat(3, 32px); gap: 5px; }
.art-mines > div { width: 32px; height: 32px; padding: 4px; background: linear-gradient(180deg, #3D8BFF, #1C4FC2); box-shadow: inset 0 -3px 0 #12338A; }
.art-mines > div.g { background: linear-gradient(180deg, #19E6C1, #0E9C83); box-shadow: inset 0 -3px 0 #0A6F5D; }
.art-mines > div.b { background: linear-gradient(180deg, #FF4D6A, #A8203A); box-shadow: inset 0 -3px 0 #6E1426; }.art-mines svg, .art-mines img.sym3d { width: 100%; height: 100%; }
.art-coin { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; transform: rotate(-10deg);
  background: radial-gradient(circle at 35% 30%, #FFF6B0, #FFD000 45%, #C08A00 100%); border: 5px solid #E0A800; box-shadow: 0 5px 0 #9A6C00; }
.art-coin span { font-size: 3.1rem; color: var(--navy); line-height: 1; }
.art-wheel { position: relative; }.art-wheel svg, .art-wheel img.sym3d { height: 112px; width: auto; }
.art-wheel i { position: absolute; left: 50%; top: -6px; width: 0; height: 0; transform: translateX(-50%);
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 16px solid var(--bolt); }
.art-dice { display: flex; gap: 12px; }
.art-die { width: 64px; height: 64px; filter: drop-shadow(0 4px 0 rgba(10, 20, 70, .6)); }.art-dice svg:first-child, .art-dice img.sym3d:first-child { transform: rotate(-12deg); }.art-dice svg:last-child, .art-dice img.sym3d:last-child { transform: rotate(9deg) translateY(10px); }

/* Bestenliste & Gewinne */
.cas-side { display: flex; flex-direction: column; gap: 14px; }
.cas-lb { display: flex; flex-direction: column; gap: 4px; }
.cas-lb-row { display: grid; grid-template-columns: 28px 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 8px; background: rgba(255, 255, 255, .05); font-size: .9rem; }
.cas-lb-row.top { background: rgba(201, 107, 255, .1); }
.cas-lb-row .av { width: 32px; height: 32px; object-fit: cover; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); background: linear-gradient(135deg, #3D8BFF, var(--violet)); display: grid; place-items: center; font-size: .95rem; }
.cas-lb-row img.rk { width: 28px; height: 28px; object-fit: contain; }
.cas-lb-n { text-align: center; color: var(--mute); }
.cas-lb-row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cas-wins { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; }
.cas-win { padding: 8px 10px; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--good); }
.cas-win b { color: var(--bolt); font-weight: 800; }
.cas-win small { display: block; margin-top: 2px; color: var(--mute); font-size: .74rem; }

/* ------------------------------------------------------------------ Spielseite */
.cas-gamehead { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 4px 0 18px; }
.cas-gtitle { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cas-balpill { display: flex; flex-direction: column; align-items: flex-end; padding: 8px 18px; background: var(--panel);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.cas-balpill .coins { font-size: 1.35rem; }
.cas-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 16px; align-items: start; }
.cas-controls { display: flex; flex-direction: column; gap: 14px; }
.cas-stage { position: relative; min-height: 380px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.cas-main { width: 100%; }
.cas-foot { margin-top: 18px; }
.cas-login { max-width: 640px; }

.cas-bet { display: flex; flex-direction: column; gap: 8px; }
.cas-bet .cas-lbl { margin-bottom: 0; }
.cas-bet-in { position: relative; }
.cas-bet-in input { width: 100%; padding-left: 38px; font-size: 1.2rem; }
.cas-bet-in .coin-ico { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.cas-controls input[type="number"], .cas-controls input[type="text"] { width: 100%; }
.cas-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.cas-quick button, .cas-seg button {
  font: inherit; font-size: .85rem; cursor: pointer; border: 0; color: #DCE8FF; background: rgba(255, 255, 255, .1); padding: 8px 6px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.cas-quick button:hover:not(:disabled), .cas-seg button:hover:not(:disabled):not(.on) { background: rgba(255, 255, 255, .2); color: #fff; }
.cas-quick button:disabled, .cas-seg button:disabled { opacity: .5; cursor: not-allowed; }
.cas-seg { display: flex; width: 100%; }
.cas-seg button { flex: 1; text-transform: uppercase; }
.cas-seg button.on { background: var(--bolt); color: var(--navy); }
.cas-mstats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cas-mstats .stat b { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; }
.cas-total-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(255, 255, 255, .06); }
.cas-total-row .coins { font-size: 1.25rem; }

.cas-result {
  min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 14px; font-size: 1.3rem; text-transform: uppercase; text-align: center; color: #DCE8FF; background: rgba(255, 255, 255, .05);
}
.cas-result b { font-weight: 800; color: #fff; }
.cas-result .coins { font-size: 1.3rem; }
.cas-result.win { background: rgba(59, 227, 122, .16); animation: casPop .4s cubic-bezier(.2, .9, .3, 1.3); }
.cas-result.win .coins { color: var(--good); }
.cas-result.lose { background: rgba(255, 77, 106, .14); }
.cas-result.lose .coins { color: var(--bad); }
.cas-result.even .coins { color: #fff; }
@keyframes casPop { 0% { transform: scale(.92); } 60% { transform: scale(1.04); } 100% { transform: none; } }
.cas-canvas { display: block; width: 100%; }
.cas-canvas.round { max-width: 440px; margin: 0 auto; }
.cas-canvas.plinko { max-width: 680px; margin: 0 auto; }

/* ------------------------------------------------------------------ Slots */
.cas-machine {
  --cell: 96px; --pad: 14px;
  position: relative; width: 100%; max-width: 580px; margin: 0 auto; padding: var(--pad);
  background: linear-gradient(180deg, #1B2F9A, #0D1A63); border: 3px solid var(--bolt); box-shadow: 0 5px 0 var(--navy);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.cas-reels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cas-reel { position: relative; height: calc(var(--cell) * 3); overflow: hidden; background: linear-gradient(180deg, #1A0533, #16257A 50%, #1A0533); }
.cas-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 36, .6), transparent 24%, transparent 76%, rgba(4, 8, 36, .6)); }
.cas-strip { will-change: transform; }
.cas-cell { height: var(--cell); display: grid; place-items: center; padding: 12%; }.cas-cell svg, .cas-cell img.sym3d { width: 100%; height: 100%; max-width: 78px; filter: drop-shadow(0 3px 0 rgba(4, 8, 36, .55)); }.cas-reel.spinning .cas-cell svg, .cas-reel.spinning .cas-cell img.sym3d { filter: blur(1.4px); }
.cas-cell.hit { background: radial-gradient(circle, rgba(201, 107, 255, .45), rgba(201, 107, 255, .08) 70%); box-shadow: inset 0 0 0 3px var(--bolt); animation: casHit .8s ease-in-out 2; }
@keyframes casHit { 50% { box-shadow: inset 0 0 0 3px #fff; } }
.cas-lines { position: absolute; left: var(--pad); top: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); pointer-events: none; overflow: visible; }
.cas-lines polyline { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2400; stroke-dashoffset: 2400;
  animation: casDraw .7s ease-out forwards; filter: drop-shadow(0 0 3px rgba(4, 8, 36, .9)); }
@keyframes casDraw { to { stroke-dashoffset: 0; } }
.cas-winlist { display: flex; flex-direction: column; gap: 4px; max-width: 580px; width: 100%; margin: 0 auto; }
.cas-winrow { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: rgba(255, 255, 255, .06); font-size: .9rem; }
.cas-winrow .ln { width: 24px; height: 24px; display: grid; place-items: center; color: var(--navy); font-size: .8rem; flex: none; }.cas-winrow .ic svg, .cas-winrow .ic img.sym3d { width: 26px; height: 26px; display: block; }
.cas-winrow b { color: var(--good); font-weight: 800; }
.cas-pay summary { cursor: pointer; text-transform: uppercase; font-size: .85rem; color: var(--bolt); padding: 4px 0; }
.cas-payrow { display: grid; grid-template-columns: 32px repeat(3, minmax(0, 1fr)); gap: 6px; align-items: center; padding: 3px 0; font-size: .85rem; text-align: center; }
.cas-payrow.head { color: var(--mute); font-size: .72rem; text-transform: uppercase; margin-top: 6px; }.cas-payrow .ic svg, .cas-payrow .ic img.sym3d { width: 28px; height: 28px; display: block; }

/* ------------------------------------------------------------------ Blackjack */
.cas-felt {
  display: flex; flex-direction: column; gap: 18px; min-height: 430px; padding: 20px 14px;
  background: radial-gradient(120% 90% at 50% 40%, #1F8A55, #0C5133 70%, #073A24); border: 4px solid #C9A800;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.cas-hand-row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cas-hand-lbl { display: flex; align-items: center; gap: 8px; color: #E7FFE9; font-size: .88rem; text-transform: uppercase; }
.cas-total { min-width: 40px; padding: 3px 10px; text-align: center; background: var(--navy); color: var(--bolt); }
.cas-total.bust { background: var(--bad); color: #fff; }
.cas-hand { display: flex; justify-content: center; min-height: 128px; perspective: 700px; }
.cas-hand .cas-cardp + .cas-cardp { margin-left: -32px; }
.cas-felt-mid { padding: 6px; text-align: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .5);
  border-top: 2px solid rgba(201, 107, 255, .35); border-bottom: 2px solid rgba(201, 107, 255, .35); }
.cas-cardp { position: relative; flex: none; width: 88px; height: 124px; border-radius: 7px; background: #FDFDFE; color: #14182E; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.cas-cardp.red { color: #E3263F; }
.cp-corner { position: absolute; left: 6px; top: 5px; display: flex; flex-direction: column; align-items: center; font-size: 1.1rem; line-height: 1; }
.cp-corner b { font-weight: 800; }.cp-corner svg, .cp-corner img.sym3d { width: 14px; height: 14px; margin-top: 2px; fill: currentColor; }
.cp-corner.br { left: auto; top: auto; right: 6px; bottom: 5px; transform: rotate(180deg); }
.cp-mid { position: absolute; inset: 32px 20px; display: grid; place-items: center; }.cp-mid svg, .cp-mid img.sym3d { width: 100%; height: 100%; fill: currentColor; }
.cas-cardp.back { display: grid; place-items: center; border: 4px solid #fff; background: repeating-linear-gradient(45deg, #2E6BFF 0 8px, #1532B8 8px 16px); }
.cb-mark { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bolt); color: var(--navy);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); }
.cas-cardp.deal { animation: casDeal .4s cubic-bezier(.2, .8, .3, 1.1) backwards; }
.cas-cardp.flip { animation: casFlip .45s ease-out backwards; }
@keyframes casDeal { from { transform: translate(180px, -140px) rotate(20deg); opacity: 0; } }
@keyframes casFlip { from { transform: rotateY(90deg); } }
.cas-bj-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cas-bj-actions .btn:last-child { grid-column: 1 / -1; }

/* ------------------------------------------------------------------ Roulette */
.cas-rl-top { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-items: center; }
.cas-rl-side { display: flex; flex-direction: column; gap: 6px; }
.cas-rl-num { width: 100%; height: 84px; display: grid; place-items: center; font-size: 2.6rem; background: rgba(255, 255, 255, .08); text-shadow: 0 3px 0 rgba(0, 0, 0, .4); margin-bottom: 8px; }
.cas-rl-hist, .cas-crash-hist, .cas-coin-hist, .cas-dice-hist { display: flex; flex-wrap: wrap; gap: 4px; }
.cas-rl-hist span { width: 30px; height: 30px; display: grid; place-items: center; font-size: .82rem; }
.c-red { background: #E3263F; color: #fff; }
.c-black { background: #14182E; color: #fff; }
.c-green { background: #19B35A; color: #fff; }
.cas-table-wrap { overflow-x: auto; padding: 10px 10px 4px 0; }
.cas-table { display: grid; grid-template-columns: 1.2fr repeat(12, minmax(0, 1fr)) 1.2fr; grid-template-rows: repeat(3, 46px) 40px 40px; gap: 3px; min-width: 560px; }
.cas-table button { position: relative; padding: 0; border: 0; cursor: pointer; font: inherit; font-size: .9rem; color: #fff; background: rgba(255, 255, 255, .1); }
.cas-table button.o { font-size: .76rem; text-transform: uppercase; }
.cas-table button.c-red { background: #E3263F; }
.cas-table button.c-black { background: #14182E; }
.cas-table button.c-green { background: #19B35A; }
.cas-table button:hover { filter: brightness(1.25); outline: 2px solid var(--bolt); outline-offset: -2px; }
.cas-table.locked button { cursor: default; }
.cas-table button.win { outline: 3px solid var(--bolt); outline-offset: -3px; animation: casWinCell .9s ease-in-out 3; }
@keyframes casWinCell { 50% { filter: brightness(1.6); } }
.cas-chip { position: absolute; right: 0; top: 0; z-index: 2; min-width: 24px; height: 24px; padding: 0 3px; display: grid; place-items: center; transform: translate(40%, -40%);
  border-radius: 50%; border: 3px dashed #fff; background: var(--bolt); color: var(--navy); font-size: .6rem; pointer-events: none; box-shadow: 0 2px 0 var(--navy); }
.cas-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cas-chips button { width: 48px; height: 48px; border-radius: 50%; border: 4px dashed rgba(255, 255, 255, .85); cursor: pointer; font: inherit; font-size: .78rem;
  color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .45); box-shadow: 0 3px 0 var(--navy); transition: transform .1s; }
.cas-chips button.on { outline: 3px solid var(--bolt); outline-offset: 2px; transform: translateY(-3px); }
.cas-chips button:disabled { opacity: .55; cursor: not-allowed; }

/* ------------------------------------------------------------------ Crash */
.cas-crash-hist span { padding: 4px 8px; font-size: .8rem; }
.cas-crash-hist .lo { background: rgba(255, 77, 106, .25); color: #FFB3C0; }
.cas-crash-hist .mid { background: rgba(46, 155, 255, .25); color: #BFE0FF; }
.cas-crash-hist .hi { background: rgba(201, 107, 255, .25); color: var(--bolt); }

/* ------------------------------------------------------------------ Mines */
.cas-mines { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 480px; margin: 0 auto; }
.cas-tile {
  aspect-ratio: 1; padding: 18%; display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #3D8BFF, #1C4FC2); box-shadow: inset 0 -6px 0 #12338A;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform .1s, filter .15s;
}
.cas-tile:hover:not(:disabled) { filter: brightness(1.18); transform: translateY(-2px); }
.cas-tile:disabled { cursor: default; }.cas-tile svg, .cas-tile img.sym3d { width: 100%; height: 100%; }
.cas-tile.pending { filter: brightness(1.35); }
.cas-tile.gem { background: linear-gradient(180deg, #19E6C1, #0E9C83); box-shadow: inset 0 -6px 0 #0A6F5D; animation: casTile .35s ease-out; }
.cas-tile.boom { background: linear-gradient(180deg, #FF4D6A, #A8203A); box-shadow: inset 0 -6px 0 #6E1426; animation: casShake .45s; }
.cas-tile.mine { background: #1A2560; box-shadow: none; opacity: .8; }
.cas-tile.dim { opacity: .45; animation: none; }
@keyframes casTile { from { transform: rotateY(90deg) scale(.9); } }
@keyframes casShake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* ------------------------------------------------------------------ Münzwurf */
.cas-coin-scene { position: relative; height: 300px; display: grid; place-items: center; }
.cas-coin-toss { perspective: 900px; z-index: 1; }
.cas-coin-toss.up { animation: casToss 1.6s cubic-bezier(.3, .6, .4, 1); }
@keyframes casToss { 0% { transform: translateY(0); } 42% { transform: translateY(-110px) scale(1.12); } 100% { transform: translateY(0); } }
.cas-coin { position: relative; width: 190px; height: 190px; transform-style: preserve-3d; }
.cas-coin .face {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, #FFF6B0, #FFD000 45%, #C08A00 100%); border: 8px solid #E0A800;
  box-shadow: inset 0 0 0 6px rgba(160, 110, 0, .45);
}
.cas-coin .face.heads { transform: translateZ(7px); }
.cas-coin .face.tails { transform: rotateY(180deg) translateZ(7px); }
.cas-coin .edge { position: absolute; inset: 2px; border-radius: 50%; background: #B07A00; box-shadow: inset 0 0 0 4px #8A5E00; }
.cas-coin .face span { font-size: 6rem; line-height: 1; color: var(--navy); text-shadow: 0 3px 0 rgba(255, 255, 255, .5); }.cas-coin .face svg, .cas-coin .face img.sym3d { width: 55%; height: 55%; }
.cas-coin-shadow { position: absolute; bottom: 22px; left: 50%; width: 150px; height: 18px; transform: translateX(-50%); border-radius: 50%; background: rgba(4, 8, 36, .45); }
.cas-coin-hist .c { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; color: var(--navy);
  background: radial-gradient(circle at 35% 30%, #FFF6B0, #FFD000 55%, #C08A00 100%); }.cas-coin-hist .c svg, .cas-coin-hist .c img.sym3d { width: 60%; height: 60%; }

/* ------------------------------------------------------------------ Glücksrad */
.cas-wlegend { display: flex; flex-direction: column; gap: 4px; }
.cas-wl-row { display: grid; grid-template-columns: 16px 64px 1fr; gap: 10px; align-items: center; font-size: .85rem; padding: 4px 0; }
.cas-wl-row i { width: 16px; height: 16px; display: block; border: 2px solid var(--navy); }

/* ------------------------------------------------------------------ Würfel */
.cas-dice-wrap { padding: 20px 10px 6px; }
.cas-dice-num { text-align: center; font-size: clamp(3rem, 10vw, 5.6rem); line-height: 1; text-shadow: 0 5px 0 var(--navy); font-variant-numeric: tabular-nums; }
.cas-dice-num.win { color: var(--good); }
.cas-dice-num.lose { color: var(--bad); }
.cas-dice-bar { position: relative; height: 26px; margin: 52px 12px 10px; background: rgba(255, 77, 106, .85); box-shadow: 0 4px 0 var(--navy); }
.cas-dice-bar .zone { position: absolute; top: 0; bottom: 0; background: var(--good); }
.cas-dice-bar .tgt { position: absolute; top: -8px; bottom: -8px; width: 4px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 2px var(--navy); }
.cas-dice-mark { position: absolute; top: -40px; transform: translateX(-50%); padding: 4px 9px; font-size: .9rem; white-space: nowrap; background: var(--bolt); color: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 58% 78%, 50% 100%, 42% 78%, 0 78%); padding-bottom: 10px; }
.cas-dice-mark.win { background: var(--good); }
.cas-dice-mark.lose { background: #fff; }
.cas-dice-scale { display: flex; justify-content: space-between; margin: 0 12px; font-size: .75rem; color: var(--mute); }
.cas-range { width: 100%; padding: 0; border: 0; background: none; accent-color: var(--bolt); }
.cas-dice-hist span { padding: 4px 8px; font-size: .8rem; }
.cas-dice-hist .w { background: rgba(59, 227, 122, .22); color: #B8FFD3; }
.cas-dice-hist .l { background: rgba(255, 77, 106, .22); color: #FFB3C0; }

/* ------------------------------------------------------------------ Responsiv */
@media (max-width: 1100px) {
  .cas-wallet { grid-template-columns: 1fr; }
  .cas-wallet-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .cas-wallet-actions .btn { flex: 1 1 200px; }
}
@media (max-width: 900px) {
  .cas-layout { grid-template-columns: 1fr; }
  .cas-stage { order: 1; min-height: 0; }
  .cas-controls { order: 2; }
  .cas-rl-top { grid-template-columns: 1fr; }
  .cas-rl-num { height: 60px; font-size: 2rem; }
}
@media (max-width: 560px) {
  .cas-machine { --cell: 56px; --pad: 8px; }
  .cas-reels { gap: 4px; }
  .cas-cardp { width: 64px; height: 92px; }
  .cp-mid { inset: 24px 14px; }
  .cp-corner { font-size: .9rem; }.cp-corner svg, .cp-corner img.sym3d { width: 11px; height: 11px; }
  .cas-hand { min-height: 96px; }
  .cas-hand .cas-cardp + .cas-cardp { margin-left: -24px; }
  .cas-felt { min-height: 340px; }
  .cas-coin { width: 150px; height: 150px; }
  .cas-coin .face span { font-size: 4.6rem; }
  .cas-coin-scene { height: 250px; }
  .cas-games { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .cas-card { min-height: 200px; }
  .cas-card-art { height: 104px; transform: scale(.85); }
  .cas-balpill { padding: 6px 14px; }
  .cas-result { font-size: 1.05rem; }
  .cas-mines { gap: 5px; }
  .cas-tile { padding: 16%; }
}
@media (prefers-reduced-motion: reduce) {
  .cas-card { transform: none !important; transition: none; }
}

/* 3D-Assets (Blender-Renders) */
img.sym3d { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 6px 10px rgba(4, 8, 36, .55)); }
.art-coin img.sym3d { width: 120px; height: 120px; animation: coin-bob 2.4s ease-in-out infinite; }
@keyframes coin-bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(6deg); } }
.art-dice img.sym3d { width: 46%; height: auto; }
.cas-coin .face.heads { background: transparent; border: 0; box-shadow: none; }
.cas-coin .face img.sym3d.full { width: 100%; height: 100%; filter: none; }
.cas-coin .face.tails img.sym3d { width: 56%; height: 56%; filter: drop-shadow(0 2px 0 rgba(120, 80, 0, .6)); }
