/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-svjxotb63m] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-svjxotb63m] {
    flex: 1;
}

.sidebar[b-svjxotb63m] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-svjxotb63m] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-svjxotb63m]  a, .top-row[b-svjxotb63m]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-svjxotb63m]  a:hover, .top-row[b-svjxotb63m]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-svjxotb63m]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-svjxotb63m] {
        justify-content: space-between;
    }

    .top-row[b-svjxotb63m]  a, .top-row[b-svjxotb63m]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-svjxotb63m] {
        flex-direction: row;
    }

    .sidebar[b-svjxotb63m] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-svjxotb63m] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-svjxotb63m]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-svjxotb63m], article[b-svjxotb63m] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-svjxotb63m] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-svjxotb63m] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-cu0hp0s0hk],
.components-reconnect-repeated-attempt-visible[b-cu0hp0s0hk],
.components-reconnect-failed-visible[b-cu0hp0s0hk],
.components-pause-visible[b-cu0hp0s0hk],
.components-resume-failed-visible[b-cu0hp0s0hk],
.components-rejoining-animation[b-cu0hp0s0hk] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-retrying[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-failed[b-cu0hp0s0hk],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-cu0hp0s0hk] {
    display: block;
}


#components-reconnect-modal[b-cu0hp0s0hk] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-cu0hp0s0hk 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-cu0hp0s0hk 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-cu0hp0s0hk 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-cu0hp0s0hk]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-cu0hp0s0hk 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-cu0hp0s0hk {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-cu0hp0s0hk {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-cu0hp0s0hk {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-cu0hp0s0hk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-cu0hp0s0hk] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-cu0hp0s0hk] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-cu0hp0s0hk] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-cu0hp0s0hk] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-cu0hp0s0hk] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-cu0hp0s0hk] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-cu0hp0s0hk 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-cu0hp0s0hk] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-cu0hp0s0hk {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.slot-machine[b-6euvlmolnb] {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.reel[b-6euvlmolnb] {
    width: 320px;
    height: 160px;
    overflow: hidden;
    border: 4px solid gold;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    position: relative;
}

.reel-inner.fast-spin[b-6euvlmolnb] {
    transition: transform 8s linear;
}

.reel-inner.slow-spin[b-6euvlmolnb] {
    transition: transform 4s cubic-bezier(0.15, 0.85, 0.25, 1);
}

.reel-item[b-6euvlmolnb] {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 8px gold;
}

.reel.flash[b-6euvlmolnb] {
    animation: flash-b-6euvlmolnb 0.4s ease-out;
}

@keyframes flash-b-6euvlmolnb {
    0% {
        box-shadow: 0 0 20px gold;
    }

    50% {
        box-shadow: 0 0 60px gold;
    }

    100% {
        box-shadow: 0 0 20px gold;
    }
}

.slot-wrapper[b-6euvlmolnb] {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.slot-area[b-6euvlmolnb] {
    max-width: 980px; /* constrain content width and center on large screens */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 16px; /* prevent touching screen edges */
}

.slot-machine-container[b-6euvlmolnb] {
    width: 100%;
    display: flex;
    justify-content: center;
}

.spin-btn-container[b-6euvlmolnb] {
    position: absolute;
    bottom: -180px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 9999;
}

.spin-btn[b-6euvlmolnb] {
    pointer-events: auto;
}




    .spin-btn img[b-6euvlmolnb] {
        width: 200px;
        height: auto;
        display: block;
        user-select: none;
        pointer-events: none;
    }

    .spin-btn:hover[b-6euvlmolnb] {
        transform: scale(1.05);
    }

    .spin-btn:active[b-6euvlmolnb] {
        transform: scale(0.92);
        filter: brightness(0.85);
    }

    .spin-btn.clicked[b-6euvlmolnb] {
        animation: bounce 0.25s ease-out;
    }

.streaks .reel-item[b-6euvlmolnb] {
    filter: blur(4px) brightness(1.4);
}


.spin-btn-container[b-6euvlmolnb] {
    background: transparent !important;
    opacity:1;
    transition: opacity 0.4s ease, transform 0.25s ease;
}

.spin-btn-container.invisible[b-6euvlmolnb] {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

.spin-btn[b-6euvlmolnb] {
    background: transparent !important;
}

    .spin-btn img[b-6euvlmolnb] {
        display: block;
    }


.reel-inner.spin-fast[b-6euvlmolnb] {
    animation: spin-fast-b-6euvlmolnb 8s linear forwards;
}

.reel-inner.spin-slow[b-6euvlmolnb] {
    animation: spin-slow-b-6euvlmolnb 4s ease-out forwards;
}

.reel-inner.jiggle[b-6euvlmolnb] {
    animation: jiggle-b-6euvlmolnb 0.35s ease-out forwards;
}

@keyframes jiggle-b-6euvlmolnb {
    0% {
        transform: translateY(var(--final-pos));
    }

    40% {
        transform: translateY(calc(var(--final-pos) - 12px));
    }

    70% {
        transform: translateY(calc(var(--final-pos) + 6px));
    }

    100% {
        transform: translateY(var(--final-pos));
    }
}

@keyframes spin-fast-b-6euvlmolnb {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-24000px);
    }
}


@keyframes spin-slow-b-6euvlmolnb {
    0% {
        transform: translateY(var(--fast-end));
    }

    100% {
        transform: translateY(var(--final-pos));
    }
}




.reels-hidden[b-6euvlmolnb] {
    opacity: 0;
    pointer-events: none;
    /* don't collapse height to avoid layout jump; only fade */
    transition: opacity 0.9s ease-out;
}

.welcome[b-6euvlmolnb]{
    margin-top:40px;
    margin-bottom:40px;

}


.loser-screen[b-6euvlmolnb] {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.9s ease, max-height 0.45s ease;
    text-align: center;
}

    .loser-screen.visible[b-6euvlmolnb] {
        opacity: 1;
        max-height: 900px;
    }


.loser-img[b-6euvlmolnb] {
    width: 600px;
    height: auto;
    margin-bottom: 20px;
    margin-left:auto;
    margin-right:auto;
}

.imgcontainer[b-6euvlmolnb]{
    display:flex;
    max-width:20vw;
    margin-left:auto;
    margin-right:auto;
    margin-top:10px;
}

.imgclass[b-6euvlmolnb] {
    z-index:1000;
    width: 100%;
}

.retry-btn[b-6euvlmolnb] {
    padding: 12px 24px;
    font-size: 20px;
    border-radius: 8px;
    background: gold;
    border: none;
    cursor: pointer;
}


.reels-hidden[b-6euvlmolnb] {
    opacity: 0;
    pointer-events: none;
}

.loser-screen[b-6euvlmolnb] {
    opacity: 0;
    pointer-events: none; 
    max-height: 0;
    overflow: hidden;
}

    .loser-screen.visible[b-6euvlmolnb] {
        opacity: 1;
        pointer-events: auto;
        max-height: 900px;
    }


@media (max-width: 900px) {

    .imgcontainer[b-6euvlmolnb] {
        max-width: 90vw;        
    }

}

/* Responsive slot machine scaling */
@media (max-width: 900px) {
    .slot-area[b-6euvlmolnb] {
        display: flex;
        flex-direction: column;
        align-items: center;
        transform-origin: top center;
        /* scale down slightly on medium phones */
        transform: scale(0.75);
        margin-top: 10px;
    }

    .reel[b-6euvlmolnb] {
        width: 200px;
        height: 100px;
    }

    .reel-item[b-6euvlmolnb] {
        height: 110px;
        font-size: 18px;
    }

    .spin-btn img[b-6euvlmolnb] {
        width: 150px;
    }

    .spin-btn-container[b-6euvlmolnb] {
        bottom: -120px;
    }

    .loser-img[b-6euvlmolnb] {
        width: 90vw;
        max-width: 420px;
    }
}

@media (max-width: 480px) {
    /* make the whole slot area much smaller on small phones */
    .slot-area[b-6euvlmolnb] {
        transform: scale(0.60);
        margin-top: 6px;
    }

    .slot-wrapper[b-6euvlmolnb] {
        margin-bottom: 18px; /* ensure space under reels for button */
    }

    .reel[b-6euvlmolnb] {
        width: 160px;
        height: 80px;
    }

    .reel-item[b-6euvlmolnb] {
        height: 80px;
        font-size: 14px;
    }

    .spin-btn img[b-6euvlmolnb] {
        width: 120px;
    }

    /* place spin button under reels instead of absolute to avoid overlap */
    .spin-btn-container[b-6euvlmolnb] {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 6px;
        z-index: 9999;
        pointer-events: auto;
        display: flex;
        justify-content: center; /* center the button horizontally */
        width: 100%;
        align-self: center;
    }

    .spin-btn[b-6euvlmolnb] {
        display: block;
        margin: 0 auto;
    }

    .adcontainer[b-6euvlmolnb]{
        margin-left:auto;
        margin-right:auto;
        width:90vw;
        display:flex;
    }

    .adclass[b-6euvlmolnb]{
        object-fit:fill;
    }
}

/* Ad container: default behavior (desktop) */
.adcontainer[b-6euvlmolnb] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 12px 12px;
}

.adclass[b-6euvlmolnb] {
    width: 100%;
    max-width: 980px; /* desktop max width */
    margin: 0 auto;
}

@media (max-width: 900px) {
    /* On mobile fill available horizontal space */
    .adcontainer[b-6euvlmolnb] {
        width: 100%;
        padding: 8px;
    }

    .adclass[b-6euvlmolnb] {
        max-width: none;
        width: 100%;
    }
}

@media (min-width: 901px) {
    /* Center ad container in the viewport vertically and horizontally on desktop */
    .adcontainer[b-6euvlmolnb] {
        min-height: 200px; /* give some vertical presence */
        justify-content: center;
    }

    .adclass[b-6euvlmolnb] {
        max-width: 720px; /* narrower centered ad on desktop */
    }
}
