/* Nexabet playable casino */
.nexa-casino-arena,
.nexa-casino-history {
    overflow: hidden;
    border: 1px solid #1e404d;
    border-radius: 13px;
    background: #091d26;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.nexa-casino-arena__header {
    min-height: 66px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    border-bottom: 1px solid #1b3a46;
    background: linear-gradient(135deg, #102d38, #0b222c);
}

.nexa-casino-arena__header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #849da7;
    font-size: 10px;
    font-weight: 800;
}

.nexa-casino-arena__header > a:hover { color: #4be0a8; }
.nexa-casino-arena__header > div { text-align: center; }
.nexa-casino-arena__header span { display: block; color: #45dfa5; font-size: 7px; font-weight: 900; letter-spacing: 1.8px; }
.nexa-casino-arena__header h1 { margin: 2px 0 0; color: #f2f9f9; font-size: 20px; line-height: 1.1; }
.nexa-casino-arena__header > button {
    width: 34px;
    height: 34px;
    justify-self: end;
    border: 1px solid #2a4b57;
    border-radius: 8px;
    background: #122f3a;
    color: #8da3ac;
    font-size: 17px;
}

.nexa-casino-arena__header > button:hover { border-color: #40dba2; color: #5de4b1; }

.nexa-casino-arena__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    min-height: 520px;
}

.nexa-casino-stage {
    isolation: isolate;
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 56px 30px 132px;
    background:
        radial-gradient(circle at 50% 36%, rgba(31, 212, 144, .2), transparent 34%),
        linear-gradient(145deg, #0c2631, #061820 70%);
}

.nexa-casino-stage::before,
.nexa-casino-stage::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(69, 223, 165, .08);
    border-radius: 50%;
}

.nexa-casino-stage::before { width: 430px; height: 430px; }
.nexa-casino-stage::after { width: 330px; height: 330px; }
.nexa-casino-stage__glow { position: absolute; inset: 16% 20%; z-index: -1; border-radius: 50%; background: rgba(25, 220, 147, .08); filter: blur(45px); }
.nexa-casino-stage__game { width: min(420px, 92%); min-height: 260px; display: grid; place-items: center; }

.nexa-casino-result {
    position: absolute;
    right: 24px;
    bottom: 23px;
    left: 24px;
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 14px 17px;
    border: 1px solid #234653;
    border-radius: 10px;
    background: rgba(7, 25, 33, .86);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
}

.nexa-casino-result span { color: #43dda4; font-size: 7px; font-weight: 900; letter-spacing: 1.5px; }
.nexa-casino-result strong { color: #eef8f7; font-size: 15px; }
.nexa-casino-result small { color: #78949e; font-size: 9px; }
.nexa-casino-arena.is-win .nexa-casino-result { border-color: rgba(66, 228, 164, .55); background: rgba(8, 54, 42, .9); }
.nexa-casino-arena.is-loss .nexa-casino-result { border-color: rgba(255, 93, 105, .45); background: rgba(60, 20, 28, .88); }
.nexa-casino-arena.is-loss .nexa-casino-result span { color: #ff7b86; }

.nexa-casino-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 18px;
    border-left: 1px solid #1b3b47;
    background: #0c222c;
}

.nexa-casino-controls__game { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid #1d3c47; }
.nexa-casino-controls__game img { width: 50px; height: 50px; object-fit: cover; border-radius: 10px; box-shadow: 0 9px 22px rgba(0, 0, 0, .28); }
.nexa-casino-controls__game div { display: grid; gap: 2px; }
.nexa-casino-controls__game strong { color: #f0f8f8; font-size: 13px; }
.nexa-casino-controls__game small { color: #70909b; font-size: 9px; }
.nexa-casino-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nexa-casino-rules > div { display: grid; gap: 4px; padding: 9px 5px; border: 1px solid #21424e; border-radius: 8px; background: #091b23; text-align: center; }
.nexa-casino-rules span { color: #6d8994; font-size: 7px; }
.nexa-casino-rules strong { color: #53dfaa; font-size: 10px; }
.nexa-casino-play-form { display: grid; gap: 8px; }
.nexa-casino-play-form > label { color: #8ca3ac; font-size: 8px; font-weight: 800; letter-spacing: .5px; }
.nexa-casino-stake { height: 44px; display: flex; align-items: center; overflow: hidden; border: 1px solid #2b4d59; border-radius: 8px; background: #071921; }
.nexa-casino-stake span { align-self: stretch; display: grid; place-items: center; padding: 0 11px; border-right: 1px solid #274751; color: #75919b; font-size: 8px; font-weight: 900; }
.nexa-casino-stake input { min-width: 0; width: 100%; height: 100%; padding: 0 11px; border: 0; outline: 0; background: transparent; color: #f5fbfb; font-size: 15px; font-weight: 850; text-align: right; }
.nexa-casino-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.nexa-casino-quick button { height: 29px; border: 1px solid #284a56; border-radius: 6px; background: #102c36; color: #93a9b2; font-size: 8px; font-weight: 850; }
.nexa-casino-quick button:hover { border-color: #40dca3; color: #54e0ab; }
.nexa-casino-target-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.nexa-casino-target-head label { margin: 0; color: #a4b7bd; font-size: 8px; font-weight: 850; }
.nexa-casino-target-head span { color: #63808a; font-size: 7px; }
.nexa-casino-target-input { height: 45px; display: flex; align-items: center; overflow: hidden; border: 1px solid #34705f; border-radius: 8px; background: linear-gradient(135deg, #08251e, #071b22); box-shadow: inset 0 0 0 1px rgba(77, 226, 170, .04); }
.nexa-casino-target-input input { min-width: 0; width: 100%; height: 100%; padding: 0 11px; border: 0; outline: 0; background: transparent; color: #67e7b7; font-size: 17px; font-weight: 900; text-align: right; }
.nexa-casino-target-input strong { align-self: stretch; min-width: 38px; display: grid; place-items: center; border-left: 1px solid #285447; color: #4bdca5; font-size: 12px; }
.nexa-casino-target-range { width: 100%; height: 4px; margin: 3px 0 1px; appearance: none; border-radius: 999px; outline: 0; background: #173a43; accent-color: #42dda4; }
.nexa-casino-target-range::-webkit-slider-thumb { width: 15px; height: 15px; appearance: none; border: 3px solid #0d2a24; border-radius: 50%; background: #4ce0aa; box-shadow: 0 0 0 2px rgba(76, 224, 170, .2); }
.nexa-casino-target-range::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid #0d2a24; border-radius: 50%; background: #4ce0aa; }
.nexa-casino-multiplier-quick { display: flex; gap: 5px; }
.nexa-casino-multiplier-quick button { min-width: 0; flex: 1; height: 28px; padding: 0 5px; border: 1px solid #285146; border-radius: 6px; background: rgba(36, 166, 116, .08); color: #77cfae; font-size: 7px; font-weight: 900; }
.nexa-casino-multiplier-quick button:hover { border-color: #49dda7; background: rgba(50, 210, 151, .13); color: #62e5b4; }
.nexa-casino-projected { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; border: 1px dashed #285247; border-radius: 7px; background: rgba(7, 34, 28, .38); }
.nexa-casino-projected span { color: #708d96; font-size: 8px; }
.nexa-casino-projected strong { color: #dff8ef; font-size: 9px; }
.nexa-casino-play-btn,
.nexa-casino-login a { min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 5px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #28d893, #16b878); color: #042118; font-size: 10px; font-weight: 950; box-shadow: 0 10px 24px rgba(31, 207, 139, .2); }
.nexa-casino-play-btn:disabled { cursor: wait; opacity: .55; }
.nexa-casino-play-btn b { color: inherit; font-size: inherit; font-weight: inherit; }
.nexa-casino-form-error { min-height: 14px; margin: 0; color: #ff818b; font-size: 8px; line-height: 1.4; }
.nexa-casino-login { display: grid; gap: 10px; }
.nexa-casino-login p { margin: 0; color: #7c97a1; font-size: 9px; line-height: 1.55; }
.nexa-casino-limits { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid #1e3d49; color: #718e99; font-size: 8px; }
.nexa-casino-limits strong { color: #afc0c6; font-size: 8px; }

/* Game illustrations */
.nexa-multiplier { display: grid; justify-items: center; gap: 7px; }
.nexa-multiplier small { color: #6f949c; font-size: 8px; font-weight: 900; letter-spacing: 2px; }
.nexa-multiplier strong { color: #60e8b4; font-size: clamp(58px, 8vw, 94px); line-height: 1; letter-spacing: -5px; text-shadow: 0 0 35px rgba(72, 226, 168, .32); }
.nexa-multiplier span { padding: 7px 12px; border: 1px solid #2a4e59; border-radius: 999px; background: #0d2933; color: #8ba3ac; font-size: 9px; }
.nexa-casino-arena.is-playing .nexa-multiplier strong { animation: nexa-casino-pulse .38s infinite alternate; }

.nexa-dice { display: flex; gap: 25px; perspective: 700px; }
.nexa-dice span { width: 112px; height: 112px; display: grid; place-items: center; border: 1px solid rgba(104, 234, 186, .45); border-radius: 25px; background: linear-gradient(145deg, #46e2aa, #15966b); color: #06291f; font-size: 70px; box-shadow: 0 24px 46px rgba(16, 175, 115, .28); }
.nexa-casino-arena.is-playing .nexa-dice span:first-child { animation: nexa-dice-roll .5s infinite; }
.nexa-casino-arena.is-playing .nexa-dice span:last-child { animation: nexa-dice-roll .5s .12s infinite reverse; }

.nexa-wheel { width: 230px; height: 230px; position: relative; display: grid; place-items: center; border: 16px solid #173843; border-radius: 50%; background: repeating-conic-gradient(#de4f59 0 10deg, #102b35 10deg 20deg); box-shadow: inset 0 0 0 8px #d9a74d, 0 24px 50px rgba(0, 0, 0, .34); }
.nexa-wheel::after { content: ""; position: absolute; inset: 44px; border: 5px solid #d7a549; border-radius: 50%; background: #092029; }
.nexa-wheel span { z-index: 2; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: #17333d; color: #fff; font-size: 30px; font-weight: 900; box-shadow: 0 8px 24px #0008; }
.nexa-wheel > i { position: absolute; top: -25px; z-index: 3; border-right: 10px solid transparent; border-left: 10px solid transparent; border-top: 25px solid #58e3ae; }
.nexa-casino-arena.is-playing .nexa-wheel { animation: nexa-wheel-spin .78s linear infinite; }
.nexa-casino-arena.is-playing .nexa-wheel span { animation: nexa-wheel-spin .78s linear infinite reverse; }

.nexa-mines-grid { width: min(330px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nexa-mines-grid span { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #2b5964; border-radius: 10px; background: linear-gradient(145deg, #1c4652, #102f3a); color: #64838d; font-size: 26px; box-shadow: 0 7px 0 #071820; transition: .2s ease; }
.nexa-mines-grid span.is-safe { border-color: #45dea6; background: #1cc386; color: #05251b; transform: translateY(5px); box-shadow: 0 2px 0 #071820; }
.nexa-mines-grid span.is-mine { border-color: #ff6d79; background: #8d2934; color: #fff; transform: translateY(5px); box-shadow: 0 2px 0 #071820; }
.nexa-casino-arena.is-playing .nexa-mines-grid span { animation: nexa-tile-flash .6s infinite alternate; }

.nexa-plinko-board { width: 280px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 19px 22px; position: relative; }
.nexa-plinko-board > i { width: 8px; height: 8px; border-radius: 50%; background: #45dda6; box-shadow: 0 0 10px rgba(66, 228, 164, .55); }
.nexa-plinko-board > span { position: absolute; top: -32px; left: calc(50% - 10px); color: #f6b958; font-size: 19px; }
.nexa-casino-arena.is-playing .nexa-plinko-board > span { animation: nexa-plinko-drop .9s infinite ease-in; }

.nexa-keno-balls { max-width: 360px; display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; }
.nexa-keno-balls span { width: 72px; height: 72px; display: grid; place-items: center; border: 6px solid #15333e; border-radius: 50%; background: linear-gradient(145deg, #58e5b0, #1daf78); color: #05291f; font-size: 22px; font-weight: 950; box-shadow: 0 13px 26px rgba(10, 174, 112, .25); }
.nexa-casino-arena.is-playing .nexa-keno-balls span { animation: nexa-ball-bounce .5s infinite alternate; }
.nexa-casino-arena.is-playing .nexa-keno-balls span:nth-child(even) { animation-delay: .13s; }

.nexa-tower { width: min(330px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; transform: perspective(450px) rotateX(12deg); }
.nexa-tower span { min-height: 61px; display: grid; place-items: center; border: 1px solid #2a515e; border-radius: 8px; background: linear-gradient(145deg, #173b47, #0d2a35); color: #557680; font-size: 20px; }
.nexa-tower span.is-safe { border-color: #4be0aa; background: #1ac083; color: #05271d; }
.nexa-casino-arena.is-playing .nexa-tower span { animation: nexa-tile-flash .5s infinite alternate; }

.nexa-casino-history { margin-top: 14px; }
.nexa-casino-history__head { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 15px; border-bottom: 1px solid #1e3f4b; background: #102a34; }
.nexa-casino-history__head > div { display: flex; align-items: center; gap: 8px; }
.nexa-casino-history__head i { color: #4ce0a8; font-size: 18px; }
.nexa-casino-history__head h2 { margin: 0; color: #eef8f7; font-size: 13px; }
.nexa-casino-history__head > span { color: #68838e; font-size: 8px; }
.nexa-casino-history table { width: 100%; }
.nexa-casino-history th,
.nexa-casino-history td { padding: 11px 14px; border-bottom: 1px solid #183640; color: #8ba2ab; font-size: 9px; text-align: left; }
.nexa-casino-history th { background: #091c24; color: #698590; font-size: 7px; letter-spacing: .7px; text-transform: uppercase; }
.nexa-casino-history td:first-child { color: #d3dfdf; font-weight: 800; }
.nexa-casino-history .is-win,
.nexa-casino-history .is-loss { display: inline-flex; padding: 4px 7px; border-radius: 5px; font-size: 7px; font-weight: 900; }
.nexa-casino-history .is-win { background: rgba(57, 220, 160, .13); color: #55e0aa; }
.nexa-casino-history .is-loss { background: rgba(255, 100, 113, .12); color: #ff7b87; }

@keyframes nexa-casino-pulse { to { transform: scale(1.05); filter: brightness(1.3); } }
@keyframes nexa-dice-roll { 50% { transform: rotateX(135deg) rotateY(95deg) scale(.9); } 100% { transform: rotateX(270deg) rotateY(190deg); } }
@keyframes nexa-wheel-spin { to { transform: rotate(360deg); } }
@keyframes nexa-tile-flash { to { border-color: #4bdca7; filter: brightness(1.25); } }
@keyframes nexa-plinko-drop { 0% { transform: translate(0, 0); } 50% { transform: translate(70px, 125px); } 100% { transform: translate(-25px, 255px); } }
@keyframes nexa-ball-bounce { to { transform: translateY(-10px) rotate(8deg); filter: brightness(1.25); } }

@media (max-width: 1040px) {
    .nexa-casino-arena__body { grid-template-columns: 1fr; }
    .nexa-casino-controls { border-top: 1px solid #1b3b47; border-left: 0; }
    .nexa-casino-rules { max-width: 460px; }
}

@media (max-width: 680px) {
    .nexa-casino-arena { border-radius: 10px; }
    .nexa-casino-arena__header { min-height: 55px; grid-template-columns: 72px 1fr 38px; gap: 5px; padding: 8px 9px; }
    .nexa-casino-arena__header h1 { font-size: 16px; }
    .nexa-casino-arena__header > a { font-size: 9px; }
    .nexa-casino-arena__body,
    .nexa-casino-stage { min-height: auto; }
    .nexa-casino-stage { height: 440px; padding: 35px 11px 120px; }
    .nexa-casino-stage::before { width: 330px; height: 330px; }
    .nexa-casino-stage::after { width: 260px; height: 260px; }
    .nexa-casino-stage__game { min-height: 225px; }
    .nexa-casino-result { right: 10px; bottom: 12px; left: 10px; min-height: 90px; padding: 12px; }
    .nexa-casino-result strong { font-size: 13px; }
    .nexa-casino-controls { padding: 14px; }
    .nexa-dice { gap: 13px; }
    .nexa-dice span { width: 84px; height: 84px; border-radius: 18px; font-size: 52px; }
    .nexa-wheel { width: 190px; height: 190px; }
    .nexa-mines-grid { max-width: 270px; gap: 7px; }
    .nexa-plinko-board { width: 235px; gap: 16px 18px; }
    .nexa-keno-balls span { width: 57px; height: 57px; font-size: 17px; }
    .nexa-tower { max-width: 270px; }
    .nexa-tower span { min-height: 50px; }
    .nexa-casino-history__head { align-items: flex-start; flex-direction: column; }
    .nexa-casino-history th,
    .nexa-casino-history td { padding: 9px 10px; }
}
