.lottowrap {
    position: relative;
    z-index: 1;
}

.generator-wrapper {
    border-width: 5px;
    border-radius: 10px 10px 0 10px;
    background: #097b4a;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 35px;
    padding: 20px 15px;
    box-shadow: 0 0 10px 3px #40f7a7 inset;
    position: relative;
}

#slot-trigger {
    cursor: pointer;
    height: 100px;
    right: -38px;
    bottom: 0;
    position: absolute;
    width: 37px;
}

.slot-trigger-hint {
    position: absolute;
    top: 60px;
    right: -210px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    animation: hintAnim 1s infinite alternate;
}

.slot-trigger-hint:before {
    content: "";
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    left: -8px;
    width: 15px;
    height: 15px;
    border: solid rgba(0, 0, 0, 0.8);
    border-width: 0 10px 10px 0;
    transform: rotate(135deg);
}

@keyframes hintAnim {
    from{
        transform: translateX(0);
    }to{
        transform: translateX(20px);
    }
}

/* #slot-trigger div{
    position: absolute;
    top: 0;
} */
.arm {
    position: absolute;
    background: linear-gradient(to right, #787878 0%, #939393 47%, #cacaca 87%, #e6e6e6 100%);
    border-radius: 0 0 4px 4px;
    box-shadow: inset 0 2px 5px rgb(0 0 0 / 80%);
    height: 50%;
    left: 14px;
    top: -18px;
    width: 6px;
    z-index: 3;
    overflow: visible !important;
}

.knob {
    position: absolute;
    background: radial-gradient(ellipse at center, #ff6363 0%, #cf0404 100%);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 40%);
    height: 16px;
    left: -6px;
    top: -15px;
    width: 18px;
    z-index: 4;
}

.arm-shadow {
    position: absolute;
    background: #000;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    bottom: 66px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 40%);
    height: 6px;
    left: 13px;
    top: auto;
    width: 8px;
    z-index: 2;
}

.ring1 {
    position: absolute;
    background: linear-gradient(to bottom, #282828 0%, #959595 14%, #d1d1d1 37%, #bababa 49%, #959595 67%, #212121 100%);
    border-radius: 5px;
    -moz-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: inset 0 2px 3px rgb(0 0 0 / 80%);
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 80%);
    height: 100%;
    left: 0;
    width: 12px;
    z-index: 2;
}

.ring1 .shadow {
    background: linear-gradient(to bottom, rgba(149, 149, 149, 0.2) 0%, rgba(13, 13, 13, 0.18) 46%, rgba(1, 1, 1, 0.18) 50%, rgba(10, 10, 10, 0.18) 53%, rgba(78, 78, 78, 0.17) 76%, rgba(56, 56, 56, 0.16) 87%, rgba(27, 27, 27, 0.15) 100%);
    border-radius: 5px;
    height: 50%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 10px;
}

.ring2 {
    position: absolute;
    background: linear-gradient(to bottom, #282828 0%, #959595 14%, #d1d1d1 37%, #bababa 49%, #959595 67%, #212121 100%);
    border-radius: 5px;
    -moz-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: inset 0 2px 3px rgb(0 0 0 / 80%);
    box-shadow: inset 0 2px 3px rgb(0 0 0 / 80%);
    height: 80%;
    left: 8px;
    overflow: hidden;
    top: 10%;
    width: 15px;
    z-index: 1;
}

.ring2 .shadow {
    background: linear-gradient(to bottom, rgba(149, 149, 149, 0.15) 0%, rgba(13, 13, 13, 0.15) 46%, rgba(1, 1, 1, 0.15) 50%, rgba(10, 10, 10, 0.15) 53%, rgba(78, 78, 78, 0.15) 76%, rgba(56, 56, 56, 0.15) 87%, rgba(27, 27, 27, 0.15) 100%);
    border-radius: 5px;
    height: 50%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 10px;
    z-index: 1;
}

/* .generator-wrapper:after {
    position: absolute;
    content: "";
    top: calc(-1 * 5px);
    left: calc(-1 * 5px);
    z-index: -1;
    width: calc(100% + 5px * 2);
    height: calc(100% + 5px * 2);
    background: linear-gradient(60deg,
            hsl(93, 65%, 46%),
            hsl(125, 77%, 51%),
            hsl(142, 72%, 42%),
            hsl(100, 98%, 48%),
            hsl(149, 100%, 51%),
            hsl(144, 51%, 44%),
            hsl(166, 65%, 42%),
            hsl(100, 74%, 40%));
    background-size: 300% 300%;
    background-position: 0 50%;
    border-radius: calc(2 * 5px);
    animation: moveGradient 4s infinite;
} */

@keyframes moveGradient {
    50% {
        background-position: 100% 50%;
    }
}

.generator-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    color: #fff;
}

.generator {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* margin-bottom: 20px; */
}

.generator-number {
    width: 70px;
    height: 70px;
    border-radius: 50px;
    box-shadow: 0 0 10px 3px #6ed841;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 40px;
    font-weight: 500;
    margin: 0 15px;
    color: #000;
    animation: glow 1s infinite alternate;
    background-color: #fff;
}

.generator-btn {
    text-align: center;
    margin-top: 25px;
}

.generator-btn button {
    padding: 7px 20px;
    font-size: 30px;
    border-radius: 5px;
    background-color: #6ed841;
    border: none;
    text-transform: uppercase;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px 3px #6ed841;
        transform: scale(1);
    }

    to {
        box-shadow: 0 0 0 3px #6ed841;
        transform: scale(1.1);
    }
}

@media only screen and (max-width:576px) {
    .generator-wrapper {
        width: 80%;
    }

    .generator-title {
        font-size: 25px;
    }

    .generator-number {
        width: 50px;
        height: 45px;
        font-size: 25px;
        border-radius: 5px;
    }
    .slot-trigger-hint{
        display: none;
    }
}