/* SnapEX Games — lobby: hero, perks, game cards, live feed. */

.cas-lobby {
    display: grid;
    gap: 30px;
    padding-top: 12px;
    padding-bottom: 44px;
}

/* ——— Hero ——— */

.cas-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 392px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    background: #0a0f17;
    color: #fff;
    box-shadow: var(--cas-shadow-game);
}

.cas-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(620px 400px at 84% 26%, rgba(129, 140, 248, 0.34), transparent 64%),
        radial-gradient(560px 380px at 58% 112%, rgba(16, 185, 129, 0.36), transparent 62%),
        radial-gradient(420px 300px at 102% 104%, rgba(245, 184, 61, 0.26), transparent 62%),
        radial-gradient(520px 320px at -6% -10%, rgba(16, 185, 129, 0.2), transparent 62%);
}

.cas-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 44%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 60% 70% at 72% 44%, #000 10%, transparent 72%);
}

.cas-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 54px 0 54px 54px;
}

.cas-hero__eyebrow {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 9px;
    padding: 6px 13px 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cas-hero__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: cas-pulse 2s infinite;
}

@keyframes cas-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.cas-hero__title {
    max-width: 580px;
    margin: 0;
    font-size: clamp(32px, 3.9vw, 52px);
    font-weight: 800;
    letter-spacing: -0.038em;
    line-height: 1.03;
}

.cas-hero__title em {
    background: linear-gradient(92deg, #34d399 0%, #a7f3d0 48%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.cas-hero__text {
    max-width: 470px;
    margin: 0;
    color: #aab4c5;
    font-size: 16px;
    line-height: 1.55;
}

.cas-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.cas-btn--glass {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    backdrop-filter: blur(6px);
}

.cas-btn--glass:hover {
    background: rgba(255, 255, 255, 0.13);
}

.cas-hero__stage {
    position: relative;
    min-height: 392px;
}

.cas-float {
    position: absolute;
    height: auto;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.5));
    animation: cas-float 7s ease-in-out infinite;
    will-change: transform;
}

@keyframes cas-float {
    0%, 100% { transform: translateY(0) rotate(var(--rot, -6deg)); }
    50% { transform: translateY(-14px) rotate(calc(var(--rot, -6deg) * -1)); }
}

@keyframes cas-spin {
    to { transform: rotate(360deg); }
}

.cas-float--rocket {
    top: 44px;
    right: 15%;
    width: 180px;
    --rot: -4deg;
    animation-duration: 6s;
    filter: drop-shadow(0 26px 38px rgba(129, 140, 248, 0.55));
}

.cas-float--gem {
    top: 222px;
    right: 44%;
    width: 112px;
    --rot: 8deg;
    animation-delay: -2s;
    filter: hue-rotate(-48deg) saturate(1.15) drop-shadow(0 18px 26px rgba(16, 185, 129, 0.5));
}

.cas-float--die {
    top: 44px;
    right: 55%;
    width: 100px;
    --rot: 14deg;
    animation-delay: -4s;
}

.cas-float--cherries {
    right: 9%;
    bottom: 30px;
    width: 96px;
    animation-delay: -1s;
}

.cas-float--coin {
    top: 170px;
    right: 3%;
    width: 76px;
    --rot: 12deg;
    animation-delay: -3s;
}

.cas-float--bomb {
    bottom: 34px;
    right: 70%;
    width: 64px;
    animation-delay: -5s;
    opacity: 0.92;
}

.cas-float--star {
    top: 26px;
    right: 4%;
    width: 52px;
    animation-delay: -2.5s;
}

.cas-hero__orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cas-hero__orbit--a {
    top: -30px;
    right: -60px;
    width: 440px;
    height: 440px;
    animation: cas-spin 70s linear infinite;
}

.cas-hero__orbit--b {
    top: 76px;
    right: 64px;
    width: 250px;
    height: 250px;
    border-color: rgba(52, 211, 153, 0.2);
    animation: cas-spin 44s linear infinite reverse;
}

.cas-hero__chip {
    position: absolute;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(12, 17, 26, 0.72);
    color: #fff;
    font-family: var(--cas-mono);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: cas-float 8s ease-in-out infinite;
    --rot: 0deg;
}

.cas-hero__chip--a {
    top: 76px;
    right: 38%;
    color: #6ee7b7;
}

.cas-hero__chip--b {
    right: 31%;
    bottom: 70px;
    color: #c7d2fe;
    animation-delay: -3s;
}

.cas-hero__chip--c {
    top: 272px;
    right: 4%;
    color: #fde68a;
    animation-delay: -5s;
}

/* ——— Perks ——— */

.cas-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: -6px;
}

.cas-perk {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    padding: 18px 20px;
    border: 1px solid var(--cas-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--cas-shadow-md);
    transition: transform 0.25s var(--cas-ease), box-shadow 0.25s;
}

.cas-perk::after {
    content: "";
    position: absolute;
    top: -50px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--perk, rgba(16, 185, 129, 0.16)), transparent);
    pointer-events: none;
}

.cas-perk:nth-child(2) {
    --perk: rgba(56, 189, 248, 0.16);
}

.cas-perk:nth-child(3) {
    --perk: rgba(245, 184, 61, 0.2);
}

.cas-perk:hover {
    transform: translateY(-2px);
    box-shadow: var(--cas-shadow-lg);
}

.cas-perk > div {
    position: relative;
    z-index: 1;
}

.cas-perk__art {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    flex: none;
    filter: drop-shadow(0 10px 12px rgba(15, 23, 42, 0.16));
    transition: transform 0.45s var(--cas-spring);
}

.cas-perk:hover .cas-perk__art {
    transform: rotate(-8deg) scale(1.08);
}

.cas-perk__title {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.cas-perk__text {
    margin: 0;
    color: var(--cas-muted);
    font-size: 13.5px;
    line-height: 1.45;
}

/* ——— Section heads ——— */

.cas-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cas-section-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cas-section-head p {
    margin: 0;
    color: var(--cas-muted);
    font-size: 14px;
}

/* ——— Game cards ——— */

.cas-games__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cas-gcard {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    background: #0b1018;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 22px 40px -26px rgba(7, 10, 16, 0.7);
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform 0.4s var(--cas-ease), box-shadow 0.4s;
}

.cas-gcard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(440px 260px at 50% -4%, color-mix(in srgb, var(--tone) 36%, transparent), transparent 70%),
        radial-gradient(300px 200px at 100% 100%, color-mix(in srgb, var(--tone) 10%, transparent), transparent 70%);
}

.cas-gcard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(320px 220px at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.12), transparent 62%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cas-gcard:hover {
    --lift: -4px;
    box-shadow: 0 34px 54px -26px color-mix(in srgb, var(--tone) 60%, rgba(7, 10, 16, 0.9));
}

.cas-gcard:hover::after {
    opacity: 1;
}

.cas-gcard:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--tone) 70%, transparent);
    outline-offset: 3px;
}

.cas-gcard__art {
    position: relative;
    display: grid;
    place-items: center;
    height: 214px;
    overflow: hidden;
}

.cas-gcard__body {
    display: grid;
    gap: 6px;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.cas-gcard__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cas-gcard__head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cas-gcard__rtp {
    flex: none;
    padding: 4px 9px;
    border: 1px solid color-mix(in srgb, var(--tone) 38%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--tone) 16%, transparent);
    color: color-mix(in srgb, var(--tone) 55%, #fff);
    font-family: var(--cas-mono);
    font-size: 11.5px;
    font-weight: 700;
}

.cas-gcard__text {
    min-height: 2.9em;
    margin: 0;
    color: #a3adbf;
    font-size: 13.5px;
    line-height: 1.45;
}

.cas-gcard__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.cas-gcard__cta .cas-i {
    width: 16px;
    height: 16px;
    color: color-mix(in srgb, var(--tone) 70%, #fff);
    transition: transform 0.25s var(--cas-ease);
}

.cas-gcard:hover .cas-gcard__cta .cas-i {
    transform: translateX(4px);
}

/* card art: mines */

.cas-art-mines {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 50px);
    gap: 8px;
    transform: perspective(640px) rotateX(20deg) translateY(4px);
}

.cas-art-mines__tile {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(180deg, #2b3547, #1c2432);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 0 #10151f, 0 10px 16px -8px rgba(0, 0, 0, 0.7);
}

.cas-art-mines__tile.is-open {
    background: linear-gradient(180deg, #0f2d24, #0b1f19);
    box-shadow: inset 0 0 0 1.5px rgba(52, 211, 153, 0.5), 0 0 20px -4px rgba(16, 185, 129, 0.6);
}

.cas-art-mines__tile.is-bomb {
    background: linear-gradient(180deg, #2c1219, #1f0c11);
    box-shadow: inset 0 0 0 1.5px rgba(244, 63, 94, 0.5);
}

.cas-art-mines__tile img {
    width: 34px;
    height: 34px;
    animation: cas-gem-pop 3.6s var(--cas-spring) infinite;
    animation-delay: calc(var(--i) * 0.3s);
}

.cas-art-mines__tile.is-gem img {
    filter: hue-rotate(-48deg) saturate(1.2) drop-shadow(0 4px 8px rgba(16, 185, 129, 0.55));
}

@keyframes cas-gem-pop {
    0%, 72%, 100% { transform: scale(1); }
    82% { transform: scale(1.2) translateY(-3px); }
}

.cas-art-mines__mult {
    position: absolute;
    top: -20px;
    right: -30px;
    padding: 6px 10px;
    border-radius: 10px;
    background: #10b981;
    color: #03281c;
    font-family: var(--cas-mono);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 20px -8px rgba(16, 185, 129, 0.9);
    transform: rotate(6deg);
}

/* card art: crash */

.cas-art-crash {
    position: absolute;
    inset: 0;
}

.cas-art-crash__chart {
    position: absolute;
    top: 18px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 18px);
}

.cas-art-crash__grid line {
    stroke: rgba(255, 255, 255, 0.07);
    stroke-dasharray: 4 6;
}

.cas-art-crash__line {
    filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.85));
}

.cas-art-crash__rocket {
    position: absolute;
    top: 30%;
    left: 81%;
    width: 84px;
    height: 84px;
    filter: drop-shadow(0 0 24px rgba(129, 140, 248, 0.75));
    animation: cas-rocket 2.6s ease-in-out infinite;
}

@keyframes cas-rocket {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-46%, -58%) rotate(-5deg); }
}

.cas-art-crash__mult {
    position: absolute;
    top: 22px;
    left: 22px;
    color: #fff;
    font-family: var(--cas-mono);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 0 26px rgba(129, 140, 248, 0.85);
    font-variant-numeric: tabular-nums;
}

.cas-art-crash__mult.is-bust {
    color: #fda4af;
    text-shadow: 0 0 22px rgba(244, 63, 94, 0.7);
}

.cas-art-crash__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 18% 32%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1px 1px at 42% 18%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 66% 58%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 88% 12%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1.5px 1.5px at 55% 40%, rgba(255, 255, 255, 0.55), transparent);
    background-size: 100% 100%;
    animation: cas-stars 9s linear infinite;
    opacity: 0.8;
}

@keyframes cas-stars {
    from { background-position: 0 0; }
    to { background-position: -320px 190px; }
}

/* card art: dice */

.cas-art-dice {
    position: absolute;
    inset: 0;
}

.cas-art-dice__die {
    position: absolute;
    height: auto;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
    animation: cas-tumble 5s ease-in-out infinite;
}

.cas-art-dice__die--a {
    top: 22px;
    left: calc(50% - 96px);
    width: 88px;
    --rot: -12deg;
}

.cas-art-dice__die--b {
    top: 42px;
    left: calc(50% + 6px);
    width: 72px;
    --rot: 22deg;
    animation-direction: reverse;
}

@keyframes cas-tumble {
    0%, 100% { transform: rotate(var(--rot)) translateY(0); }
    50% { transform: rotate(calc(var(--rot) + 16deg)) translateY(-10px); }
}

.cas-art-dice__track {
    position: absolute;
    right: 12%;
    bottom: 34px;
    left: 12%;
    display: flex;
    height: 12px;
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.04);
}

.cas-art-dice__lose {
    flex: 50;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(90deg, #be123c, #fb7185);
}

.cas-art-dice__win {
    flex: 50;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #10b981, #6ee7b7);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.55);
}

.cas-art-dice__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 26px;
    border-radius: 7px;
    background: linear-gradient(180deg, #fff, #dbe2ea);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -50%);
}

.cas-art-dice__roll {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 72%;
    padding: 5px 9px;
    border-radius: 9px;
    background: #10b981;
    color: #03281c;
    font-family: var(--cas-mono);
    font-size: 13px;
    font-weight: 800;
    transform: translateX(-50%);
    transition: left 0.7s var(--cas-spring), background 0.3s, color 0.3s;
    box-shadow: 0 8px 18px -8px rgba(16, 185, 129, 0.9);
}

.cas-art-dice__roll.is-loss {
    background: #fb7185;
    color: #3b0612;
    box-shadow: 0 8px 18px -8px rgba(244, 63, 94, 0.9);
}

/* card art: plinko */

.cas-art-plinko {
    width: 90%;
    max-width: 300px;
    height: auto;
    max-height: 190px;
    overflow: visible;
}

.cas-art-plinko text {
    fill: #2a1206;
    font-family: var(--cas-mono);
    font-size: 9.5px;
    font-weight: 800;
}

.cas-art-plinko__bin rect {
    filter: drop-shadow(0 0 6px rgba(251, 146, 60, 0.45));
    transform-box: fill-box;
    transform-origin: center;
}

.cas-art-plinko__bin.is-hit rect {
    animation: cas-bin-hit 3.2s infinite;
}

@keyframes cas-bin-hit {
    0%, 90% { transform: none; filter: drop-shadow(0 0 6px rgba(251, 146, 60, 0.45)); }
    94% { transform: translateY(3px) scale(1.06); filter: brightness(1.35) drop-shadow(0 0 12px #fdba74); }
    100% { transform: none; }
}

.cas-art-plinko__ball {
    filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.9));
}

/* card art: roulette */

.cas-art-roulette {
    position: relative;
    width: 172px;
    height: 172px;
}

.cas-art-roulette__wheel {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#fde68a, #b7791f, #fde68a, #b7791f, #fde68a);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.45), 0 22px 40px -12px rgba(0, 0, 0, 0.8), 0 0 46px -6px rgba(244, 63, 94, 0.55);
    animation: cas-spin 16s linear infinite;
}

.cas-art-roulette__pockets {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
    mask: radial-gradient(circle, transparent 54%, #000 55%);
}

.cas-art-roulette__wheel::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(253, 230, 138, 0.55) 0deg 0.6deg, transparent 0.6deg 9.73deg);
    -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
    mask: radial-gradient(circle, transparent 54%, #000 55%);
}

.cas-art-roulette__hub {
    position: absolute;
    inset: 29%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fde68a, #b7791f 58%, #6b3f02);
    box-shadow: 0 0 0 7px #151b25, 0 0 0 8px rgba(253, 230, 138, 0.4);
}

.cas-art-roulette__ball {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    margin: -6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #cbd5e1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    animation: cas-ball-orbit 4.2s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

@keyframes cas-ball-orbit {
    0% { transform: rotate(0deg) translateY(-72px); }
    100% { transform: rotate(-1080deg) translateY(-58px); }
}

.cas-art-roulette__result {
    position: absolute;
    right: -56px;
    bottom: 2px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(12, 17, 26, 0.86);
    color: #cbd5e1;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.7);
}

.cas-art-roulette__result b {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-right: 4px;
    border-radius: 50%;
    background: #131a24;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--cas-mono);
    font-size: 11px;
}

/* card art: slots */

.cas-art-slots {
    position: relative;
}

.cas-art-slots__defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.cas-art-slots__cabinet {
    position: relative;
    display: flex;
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
    background: #05080c;
    box-shadow: inset 0 0 0 1px rgba(245, 184, 61, 0.4), 0 0 0 7px #161d28, 0 0 0 8px rgba(245, 184, 61, 0.22), 0 24px 40px -14px rgba(0, 0, 0, 0.8), 0 0 50px -8px rgba(245, 184, 61, 0.45);
}

.cas-art-slots__reel {
    position: relative;
    width: 60px;
    height: 132px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg, #aaa396 0%, #ebe6dc 15%, #fffdf8 50%, #ebe6dc 85%, #aaa396 100%);
}

.cas-art-slots__reel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.34), transparent 22%, transparent 78%, rgba(10, 12, 16, 0.34));
}

.cas-art-slots__strip {
    display: grid;
    animation: cas-reel 6s cubic-bezier(0.55, 0, 0.25, 1) infinite;
    animation-delay: calc(var(--r) * 0.22s);
}

.cas-art-slots__strip img,
.cas-art-slots__strip svg {
    display: block;
    width: 40px;
    height: 44px;
    margin: 0 auto;
    object-fit: contain;
    padding: 4px 0;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.22));
}

.cas-art-slots__seven {
    overflow: visible;
}

.cas-art-slots__seven text {
    fill: url(#cas-g-seven);
    stroke: #fcd34d;
    stroke-width: 4px;
    stroke-linejoin: round;
    font-family: var(--cas-font);
    font-size: 62px;
    font-style: italic;
    font-weight: 900;
    paint-order: stroke;
}

@keyframes cas-reel {
    0%, 18% { transform: translateY(0); }
    38%, 62% { transform: translateY(-88px); }
    82%, 100% { transform: translateY(0); }
}

.cas-art-slots__line {
    position: absolute;
    top: 50%;
    right: 6px;
    left: 6px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fcd34d 20%, #fcd34d 80%, transparent);
    box-shadow: 0 0 10px #fcd34d;
}

.cas-art-slots__crown {
    position: absolute;
    top: -30px;
    right: -36px;
    width: 58px;
    height: 58px;
    --rot: 14deg;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
    animation: cas-float 5s ease-in-out infinite;
}

/* ——— Live feed ——— */

.cas-live {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    animation: cas-pulse-red 1.8s infinite;
}

@keyframes cas-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.cas-feed__card {
    overflow: hidden;
    border: 1px solid var(--cas-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--cas-shadow-md);
}

.cas-feed__head,
.cas-feed__row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}

.cas-feed__head {
    height: 42px;
    border-bottom: 1px solid var(--cas-border);
    background: var(--cas-surface-2);
    color: var(--cas-dim);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cas-feed__head span:nth-child(n + 3),
.cas-feed__row > :nth-child(n + 3) {
    text-align: right;
}

.cas-feed__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cas-feed__row {
    height: 52px;
    border-bottom: 1px solid var(--cas-border);
    font-size: 14px;
}

.cas-feed__row:last-child {
    border-bottom: 0;
}

.cas-feed__row.is-new {
    animation: cas-feed-in 0.6s var(--cas-ease);
}

@keyframes cas-feed-in {
    from { opacity: 0; transform: translateY(-12px); background: rgba(16, 185, 129, 0.1); }
}

.cas-feed__empty {
    padding: 26px 20px;
    color: var(--cas-muted);
    font-size: 14px;
    text-align: center;
}

.cas-feed__game {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
    color: var(--cas-text);
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.cas-feed__game:hover {
    color: var(--cas-accent-strong);
}

.cas-feed__game img,
.cas-feed__game svg {
    width: 26px;
    height: 26px;
    flex: none;
}

.cas-feed__player {
    overflow: hidden;
    color: var(--cas-muted);
    font-family: var(--cas-mono);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cas-feed__num {
    font-family: var(--cas-mono);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap;
}

.cas-feed__mult.is-hot {
    color: #d97706;
    font-weight: 800;
}

.cas-feed__pay.is-win {
    color: var(--cas-accent-strong);
    font-weight: 700;
}

.cas-feed__pay.is-zero {
    color: var(--cas-dim);
}

/* ——— Responsive ——— */

@media (max-width: 1080px) {
    .cas-hero__copy {
        padding: 44px 0 44px 40px;
    }

    .cas-float--rocket { width: 150px; right: 10%; }
    .cas-float--gem { width: 96px; right: 46%; }
    .cas-float--die { width: 86px; }
    .cas-hero__chip--a { right: 42%; }
}

@media (max-width: 960px) {
    .cas-games__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cas-perks {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

@media (max-width: 860px) {
    .cas-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .cas-hero__stage {
        order: -1;
        min-height: 230px;
    }

    .cas-hero__copy {
        gap: 14px;
        padding: 0 26px 30px;
    }

    .cas-hero::after {
        -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 22%, #000 10%, transparent 72%);
        mask-image: radial-gradient(ellipse 80% 50% at 50% 22%, #000 10%, transparent 72%);
    }

    .cas-float--rocket { top: 20px; right: 8%; width: 132px; }
    .cas-float--gem { top: 120px; right: auto; left: 30%; width: 82px; }
    .cas-float--die { top: 24px; right: auto; left: 7%; width: 76px; }
    .cas-float--cherries { right: 36%; bottom: 8px; width: 70px; }
    .cas-float--coin { top: 138px; right: 4%; width: 58px; }
    .cas-float--bomb { right: auto; bottom: 14px; left: 4%; width: 52px; }
    .cas-float--star { top: 12px; right: 44%; width: 40px; }
    .cas-hero__orbit--a { top: -120px; right: -80px; }
    .cas-hero__orbit--b { top: 10px; right: 20%; width: 200px; height: 200px; }
    .cas-hero__chip { font-size: 12.5px; padding: 6px 10px; }
    .cas-hero__chip--a { top: 88px; right: 30%; }
    .cas-hero__chip--b { right: auto; bottom: 30px; left: 22%; }
    .cas-hero__chip--c { top: auto; right: 6%; bottom: 20px; }
}

@media (max-width: 640px) {
    .cas-lobby {
        gap: 22px;
        padding-top: 4px;
    }

    .cas-hero {
        border-radius: 24px;
    }

    .cas-hero__copy {
        padding: 0 18px 22px;
    }

    .cas-hero__title {
        font-size: 30px;
    }

    .cas-hero__text {
        font-size: 14.5px;
    }

    .cas-hero__actions .cas-btn {
        flex: 1 1 auto;
    }

    .cas-perks {
        margin-top: -4px;
    }

    .cas-perk {
        gap: 12px;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .cas-perk__art {
        width: 46px;
        height: 46px;
    }

    .cas-perk__title {
        font-size: 15px;
    }

    .cas-perk__text {
        font-size: 13px;
    }

    .cas-section-head {
        margin-bottom: 10px;
    }

    .cas-section-head h2 {
        font-size: 20px;
    }

    .cas-section-head p {
        display: none;
    }

    .cas-games__grid {
        gap: 10px;
    }

    .cas-gcard {
        border-radius: 20px;
    }

    .cas-gcard__art {
        height: 138px;
    }

    .cas-gcard__art > * {
        zoom: 0.64;
    }

    .cas-gcard__art > .cas-art-crash,
    .cas-gcard__art > .cas-art-dice {
        zoom: 1;
    }

    .cas-art-crash__rocket { width: 58px; height: 58px; }
    .cas-art-crash__mult { top: 12px; left: 12px; font-size: 22px; }
    .cas-art-dice__die--a { top: 12px; left: calc(50% - 64px); width: 60px; }
    .cas-art-dice__die--b { top: 22px; left: calc(50% + 2px); width: 50px; }
    .cas-art-dice__track { bottom: 20px; height: 9px; }
    .cas-art-dice__roll { font-size: 11px; padding: 3px 7px; bottom: calc(100% + 8px); }
    .cas-art-dice__handle { width: 15px; height: 20px; }
    .cas-art-roulette__result { right: -30px; bottom: -6px; }

    .cas-gcard__body {
        gap: 4px;
        padding: 11px 12px 13px;
    }

    .cas-gcard__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .cas-gcard__head h3 {
        font-size: 15px;
    }

    .cas-gcard__rtp {
        font-size: 10.5px;
        padding: 2px 7px;
    }

    .cas-gcard__text,
    .cas-gcard__cta {
        display: none;
    }

    .cas-feed__head,
    .cas-feed__row {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
        padding: 0 14px;
    }

    .cas-feed__head span:nth-child(2),
    .cas-feed__head span:nth-child(3),
    .cas-feed__player,
    .cas-feed__bet {
        display: none;
    }
}
