﻿
body, html {
    /*    height: 100%;*/
    background-color: #1a1f23;
}

body {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    color: #fff;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    /*    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;*/
}

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }

.flexbkg {
/*    background-image: url(../../images/spinBoard/background.jpg);*/
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1500px;
    width: 100%
}

@media only screen and (max-width:1024px) {
    .flexbkg {
        background-position: center 0px;
        background-size: 800px
    }
}

@media only screen and (max-width:380px) {
    .flexbkg {
        background-position: center -20px;
        background-size: 800px
    }
}

@media only screen and (max-width:360px) {
    .flexbkg {
        background-position: center -35px;
        background-size: 800px
    }
}

section {
    padding-top: 2rem;
    padding-bottom: 2rem
}

.cover-container {
    max-width: 1200px;
   /* background-image: url(../../images/spinBoard/stage.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 500px;*/
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important
}

@media only screen and (max-width:1024px) {
    .cover-container {
        max-width: 100%;
        background-position: center bottom;
        padding-left: 0 !important;
        padding-right: 0 !important;
        background-size: 400px
    }
}
/* Keyframes for the up and down movement */
@keyframes moveUpDown1 {
    0% {
        top: 40%; /* Starting position */
    }

    50% {
        top: 42%; /* Move up */
    }

    100% {
        top: 40%; /* Move back to the original position */
    }
}

@keyframes moveUpDown2 {
    0% {
        top: 10%; /* Starting position */
    }

    50% {
        top: 12%; /* Move up */
    }

    100% {
        top: 10%; /* Move back to the original position */
    }
}

.sec-header {
    padding: 0
}

.branding {
    margin-top: -320px;
    max-width: 450px
}
    .branding img {
        width: 100%
    }

@media only screen and (max-width:1024px) {
    .branding {
        max-width: 220px;
        margin-top: -210px;
    }
}

.signboard {
    max-width: 640px;
    margin-top: -100px;
}

    .signboard img {
        width: 100%
    }

@media only screen and (max-width:1024px) {
    .signboard {
        max-width: 460px;
    }
}

@media only screen and (max-width:380px) {
    .signboard {
        max-width: 460px;
        margin-top: -110px;
    }
}

.side {
    content: ""; /* Required */
    background-image: url(../../images/spinBoard/side2.png);
    background-repeat: no-repeat;
    background-size: contain; /* Optional, makes sure image fits */
    position: absolute;
    width: 400px;
    height: 400px;
    margin-top: -280px;
    left: 120%;
    pointer-events: none; /* Optional, lets clicks pass through */
    z-index: 10; /* Optional, make sure it appears above */
    animation: moveUpDown2 2s infinite ease-in-out;
}

.wheelbkg {
    width: 680px;
    height: 680px;
    margin: 0 auto;
/*    background-image: url(../../images/spinBoard/imgwheelbkg.png);
    background-position: center center;
    background-repeat: no-repeat;*/
    position: relative;
    /*background-size: 100%;*/
    margin-top: -160px;
    margin-bottom: 0px;
}
    .wheelbkg::before {
        content: ""; /* Required */
        background-image: url(../../images/spinBoard/side1.png);
        background-repeat: no-repeat;
        background-size: contain; /* Optional, makes sure image fits */
        position: absolute;
        width: 550px;
        height: 550px;
        top: 40%;
        left: -60%;
        pointer-events: none; /* Optional, lets clicks pass through */
        z-index: 10; /* Optional, make sure it appears above */
        animation: moveUpDown1 2s infinite ease-in-out;
    }

    .wheelbkg::after {
        content: ""; /* Required */
        background-image: url(../../images/spinBoard/hammer.png);
        background-repeat: no-repeat;
        background-size: contain; /* Optional, makes sure image fits */
        position: absolute;
        width: 500px;
        height: 500px;
        top: 20%;
        left: 95%;
        pointer-events: none; /* Optional, lets clicks pass through */
        z-index: 10; /* Optional, make sure it appears above */
        transform: rotate(45deg);
    }

@media only screen and (max-width:1024px) {
    .side {
        width: 100px;
        height: 100px;
        margin-top: -80px;
    }

    .wheelbkg {
        width: 350px;
        height: 410px;
        margin: 60px auto 0px auto;
        background-size: 440px;
        margin-top: -90px;
    }
        .wheelbkg::before {
            width: 200px;
            height: 200px;
        }

        .wheelbkg::after {
            width: 300px;
            height: 300px;
        }
}


#canvas {
    margin-top: 82px
}

@media only screen and (max-width:1024px) {
    #canvas {
        margin-top: 85px;
        width: 350px !important;
        height: 350px !important;
        position: absolute;
        left: 50%;
        margin-left: -175px;
        top: 0;
        zoom: 0.9
    }
}

.inner.cover {
    max-width: 1200px;
    margin: 0 auto;
    overflow:visible
}

@media only screen and (max-width:1024px) {
    .inner.cover {
        max-width: 100%;
        width: 100%;
        position: relative
    }
}

.cover .btn-lg {
    padding: 0.75rem 1.25rem;
    font-weight: 700
}

.wheelpointer {
    width: 42px;
    position: absolute;
    top: 60px;
    left: 50%;
    margin-left: -21px
}

    .wheelpointer img {
        width: 100%
    }

@media only screen and (max-width:1024px) {
    .wheelpointer {
        width: 30px;
        top: 60px;
        margin-left: -15px;
        z-index: 90
    }
}

.spinbrand {
    width: 90px;
    height: 90px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -45px;
    margin-top: -45px
}

    .spinbrand img {
        width: 100%
    }

@media only screen and (max-width:1024px) {
    .spinbrand {
        width: 70px;
        height: 70px;
        margin-left: -35px;
        margin-top: -35px;
        z-index: 90
    }
}

#spinbutton {
    width: 438px;
    height: 196px;
    position: absolute;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    left: 50%;
    margin-left: -219px;
    bottom: -120px
}

@media only screen and (max-width:1024px) {
    #spinbutton {
        width: 400px;
        height: 158px;
        margin-left: -200px;
        bottom: -80px;
    }
}
#spinbutton.active {
    background-image: url(../../images/spinBoard/spin-active.png)
}

#spinbutton.disabled {
    background-image: url(../../images/spinBoard/spin-active.png)
}

#warning-message {
    display: none;
    min-height: 100%;
    min-height: 100vh;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    background: #8c37da
}

    #warning-message p {
        text-align: center
    }

.customsg {
    width: 100%;
    display: block;
    padding-left: 15%;
    padding-right: 15%
}

[data-icon]:before {
    font-size: 2.5rem
}

.alert {
    padding: 0.75rem 1.25rem 0.75rem 0.25rem
}

.customalert {
    background: #ffe500;
    border: 0px solid #333;
    color: #333;
    font-weight: 600;
    -webkit-box-shadow: 0 14px 28px rgba(0,0,0,0.25),0 10px 10px rgba(0,0,0,0.22);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25),0 10px 10px rgba(0,0,0,0.22)
}

.holder {
    position: relative
}

.clmbtn {
    right: auto !important;
    top: auto !important;
    position: relative !important;
    background-color: #df2347;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 4px solid #a11527;
    color: #fff;
    padding: 7px 14px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 6px;
    text-transform: uppercase
}

.modal-dialog {
    min-height: calc(100vh - 60px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: auto
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 420px
    }
}

@media (max-width:768px) {
    .modal-dialog {
        min-height: calc(100vh - 20px)
    }
}

.modal-body {
    color: #fff;
    padding-top: 10px;
    padding-bottom: 0
}

    .modal-body p {
        font-size: 18px;
        margin-bottom: 5px
    }

    .modal-body img {
        width: unset;
        max-width: 100%;
        height: auto;
    }

    .modal-body .lead {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px
    }

.modal-backdrop.show {
    opacity: 0.76
}

.modal-header {
    border-bottom: 0;
    text-align: center;
    padding: 5px 16px;
    position: relative
}

    .modal-header .imgreward {
        width: 140px;
        height: 140px;
        position: absolute;
        left: 50%;
        top: -140px;
        margin-left: -70px
    }

.modal-content {
    background-color: #1a1f23;
    border: 2px solid #1a1f23;
    border-radius: 8px
}

.modal-footer {
    border-top: 0
}

    .modal-footer .btn-primary, .modal-footer .btn-primary:active, .modal-footer .btn-primary:focus {
        color: #000 !important;
        font-weight: 700;
        font-size: 18px;
        background-color: #ffdd02 !important;
        border-color: #ffdd02 !important;
        -webkit-box-shadow: none;
        box-shadow: none
    }

        .modal-footer .btn-primary:hover {
            background-color: #ceb303;
            border-color: #ceb303
        }

.form-group {
    margin-bottom: 0
}

.close {
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5
}

    .close:focus, .close:hover {
        color: #fff;
        opacity: 1
    }

.modelone {
    position: absolute;
    left: -165px;
    top: 110px;
    width: 200px
}

    .modelone img {
        width: 100%
    }

@media only screen and (max-width:1024px) {
    .modelone {
        zoom: 0.6;
        z-index: 90;
        left: -30px;
        top: 210px
    }
}

.modeltwo {
    position: absolute;
    right: -110px;
    top: 70px;
    width: 120px
}

    .modeltwo img {
        width: 100%
    }

@media only screen and (max-width:1024px) {
    .modeltwo {
        zoom: 0.6;
        z-index: 90;
        right: 30px;
        top: 180px
    }
}

.tooltip-inner {
    color: #000;
    background-color: #ffdd02
}

.bs-tooltip-auto[x-placement^=top] .arrow:before, .bs-tooltip-top .arrow:before {
    border-top-color: #ffdd02
}

.howtoplay {
    padding-top: 0;
}

    .howtoplay .infoframe {
        padding: 10px 1rem;
        border: 2px solid #ffe46f;
        border-radius: 8px;
        background: rgb(6, 19, 18);
        background: -webkit-gradient(linear, left bottom, left top, from(rgb(6, 19, 18)), color-stop(50%, rgb(14, 39, 35)), to(rgba(14, 39, 35, 0.76)));
        background: linear-gradient(0deg, rgb(6, 19, 18) 0%, rgb(14, 39, 35) 50%, rgba(14, 39, 35, 0.76) 100%);
    }

    .howtoplay h2 {
        font-size: 42px;
        font-weight: 700;
    }

    .howtoplay h4 {
        color: #ffe46f;
        font-weight: 700;
    }

    .howtoplay img {
        max-width: 120px;
    }

    .howtoplay p {
        opacity: 0.85;
        margin-top: 10px;
    }


@media only screen and (min-width: 1200px) {
    .howtoplay .infoframe {
        margin: 0 1rem;
    }
}

@media only screen and (max-width: 576px) {
    .howtoplay {
        padding-top: 2rem;
    }

        .howtoplay .infoframe {
            margin-bottom: 1rem;
            padding: 0;
        }

        .howtoplay h2 {
            font-size: 36px;
        }

        .howtoplay img {
            max-width: 100px;
            margin-top: 20px;
        }
}

.livetrans{
/*    margin-top: 10px;*/
}

.livetrans .scrollframe {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-x: auto;
    white-space: nowrap
}

.livetrans .table-container {
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    width: 100%;
    max-width: 500px
}

    .livetrans .table-container table {
        margin-bottom: 0
    }

    .livetrans .table-container td, .livetrans .table-container th {
        text-align: left;
        font-size:16px;
    }

    .livetrans .table-container thead {
        background-color: #ffe500
    }

        .livetrans .table-container thead th {
            color: #000;
            background-color: #ffe500
        }

    .livetrans .table-container tbody td, .livetrans .table-container tbody th {
        background-color: #0e0e0e;
        font-size: 16px;
        border-color: #1e1e1e
    }

    .livetrans .table-container tbody td {
        color: #ffe500;
        font-weight: bold
    }

/*@media only screen and (max-width:1024px) {
    .livetrans .table-container {
        margin-right: 0;
        margin-left: 0 !important;
        min-width: 250px
    }
}*/

.livetrans .table-container + .table-container {
    margin-left: 10px
}

@media only screen and (max-width:1024px) {
    .livetrans .extended {
        min-width: 300px
    }
}

@media only screen and (min-width:768px) {
    .livetrans {
        margin-bottom: 20px
    }
}

.footer {
    padding-top: 5rem
}

    .footer .socials {
        /*display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;*/
        max-width: 500px;
        margin-bottom: 24px;
    }

        .footer .socials a {
            opacity: 0.5
        }

            .footer .socials a img {
                width: 42px
            }

    .footer .copyrights {
        opacity: 0.4;
        font-size: 12px
    }

@media only screen and (max-width:767px) {
    .footer {
        padding-top: 3rem
    }

        .footer .socials {
            padding-left: 1rem;
            padding-right: 1rem;
            max-width: 340px
        }

            .footer .socials a img {
                width: 42px
            }
}

.text-message {
    margin: 0 auto 0px auto;
    text-align: center;
    color: #ffdd02;
    font-size: 14px;
    padding-top: 220px
}

    .text-message h1 {
        font-size: 24px;
        text-transform: uppercase;
        width: 300px;
        margin: 0 auto
    }

.credit {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #333;
    background: #ffdd02;
    width: 200px;
    padding: 10px 0;
    -webkit-box-shadow: 0 9px 18px rgba(0,0,0,0.3),0 5px 6px rgba(0,0,0,0.22);
    -ms-box-shadow: 0 9px 18px rgba(0,0,0,0.3),0 5px 6px rgba(0,0,0,0.22);
    -o-box-shadow: 0 9px 18px rgba(0,0,0,0.3),0 5px 6px rgba(0,0,0,0.22);
    box-shadow: 0 9px 18px rgba(0,0,0,0.3),0 5px 6px rgba(0,0,0,0.22);
    border-radius: 4px;
    text-transform: uppercase
}

#spinCredit {
    font-weight: bold
}

#warning-message {
    display: none
}

.wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

    .wrapper .reward-container {
        position: absolute;
        display: flex;
        flex-direction: column;
        max-width: 350px;
    }

    .wrapper .closebtn {
        position: absolute;
        top: 22%;
        right: 35%;
        display: inline-block;
    }

    .wrapper .reward-container .imgreward, .imgclaim {
        margin-top: 20px;
        margin-bottom: 20px;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
    }

    .wrapper .reward-container .imgclaim {
        max-width: 100%;
        max-height: 100%;
        zoom: 0.8
    }

    .wrapper .reward-container h2 {
        color: #ffe46f
    }


#closeprize {
    position: absolute;
    top: 15%;
    right: 25%;
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 5px;
    background-image: url(../../images/spinBoard/close-w.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

@media only screen and (max-width:1024px) {
    #prize{
        zoom: 0.7
    }

    #closeprize {
        position: absolute;
        top: 5%;
        right: 20px;
        width: 35px;
        height: 35px;
        border: 2px solid white;
        border-radius: 5px;
        background-image: url(../../images/spinBoard/close-w.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100%;
    }
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.8);
    z-index: 100;
}

.hide {
    display: none;
}

.error-message, .error-message2 {
    color: #e94f58;
}

.prizenote {
    color: #e94f58;
    font-size: 20px;
}

.token-text {
    color: #ffe500;
    font-size: 2em;
    font-weight:bold;
    margin-top: 200px;
}
@media only screen and (max-width:1024px) {
    .token-text {
        margin-top: 100px;
    }
}

.egg-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
    transform: var(--transform-base, none) rotate(0deg);
}

@media only screen and (max-width:1024px) {
    .egg-container {
        position: relative;
        width: 120px;
        height: 120px;
    }
}

.egg-intact, .egg-smashed {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image scales properly */
/*    object-position: bottom;*/
    transition: opacity 0.5s ease-in-out;
    user-select: none; /* Prevent text/image selection */
    pointer-events: none; /* Prevent interaction like drag */
    -webkit-user-drag: none; /* Disable dragging in Safari */
    transform: scale(1);
}

.egg-smashed {
    opacity: 0;
    transform: scale(1.2);
}

/* Custom Hammer Cursor */
.hammer-cursor {
    z-index: 300;
    position: absolute;
    width: 50px; /* Adjust size */
    height: 50px;
    background-image: url('/images/spinBoard/hammer.png'); /* Hammer Image */
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none; /* Allows clicking through the hammer */
    animation: hammer-hit 0.3s infinite alternate; /* Infinite hitting animation */
    display: none; /* Initially hidden */
}

/* Hammer hitting animation */
@keyframes hammer-hit {
    0% {
        transform: rotate(-20deg) translateY(0);
    }

    100% {
        transform: rotate(10deg) translateY(5px);
    }
}

.egg-view {
    display: flex;
    justify-content: center;
    align-items: center;
/*    gap: 10px;  Space between eggs */
}

.egg-container p {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    margin: 0;
    color: #ffffff; /* Pure white text */
    font-size: 1em;
    font-weight: bold;
    text-shadow: 1px 1px 0 #d4af37, /* gold bottom-left shadow (3D) */
    2px 2px 0 #b8860b, /* deeper gold for more depth */
    0 0 5px #ffd700, /* soft glow */
    0 0 10px #ffcc00, /* brighter outer glow */
    0 0 20px #ffaa00; /* intense gold glow */
}

.congratz-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    margin: 0;
    color: #ffffff; /* Pure white text */
    font-size: clamp(32px, 8vw, 60px);
    font-weight: bold;
}

@media only screen and (max-width:1024px) {
    .congratz-text {

    }
}

.tnc-title {
    margin: 20px 0px;
    justify-content: center;
    font-size: 30px;
}

.tnc-container {
    margin-top: 5px;
    /*border-width: 1px;
    border-style:solid;*/
    height: 300px;
    overflow: auto;
    padding: 15px;
    display: flex;
    justify-content: center; /* horizontal centering */
    text-align: center;
}

.tnc-content {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px !important;
    line-height: 1.6;
    letter-spacing: 0.3px;
    color: white; /* dark grey for readability */
    text-align: justify; /* optional: aligns text for a more formal look */
}

.tnc-footer{
    justify-content:center
}

.tnc-default-btn{
    font-weight:700;
}

@media (max-width:576px) {
    .tnc-title {
        font-size: 24px;
    }

    .tnc-content {
        font-size: 14px !important;
    }
}

.shake {
    animation: shake 2s ease-in-out;
}

@keyframes shake {
    0% {
        transform: var(--transform-base) rotate(0deg);
    }

    20% {
        transform: var(--transform-base) rotate(-10deg);
    }

    40% {
        transform: var(--transform-base) rotate(10deg);
    }

    60% {
        transform: var(--transform-base) rotate(-6deg);
    }

    80% {
        transform: var(--transform-base) rotate(6deg);
    }

    100% {
        transform: var(--transform-base) rotate(0deg);
    }
}