:root {
    --bs-modal-margin: 1rem;
    --bs-modal-width: 500px;
}

.dailyLogin {
    display: none;
    position: absolute;
    transition: transform .3s ease-out;
    transform: translateX(100%);
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2);
    width: auto;
    margin: var(--bs-modal-margin);
    pointer-events: none;
    z-index: 10;
}

@media (min-width: 576px) {
    .dailyLogin {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: auto;
    }
}

.modal-content {
    display: flex;
    justify-content: center;
    margin: 0.4rem;
    position: relative;
    flex-direction: column;
    transform: translateX(50vw) translateY(50vh);
    width: 500px;
    height: 600px;
    color: rgb(255, 255, 255);
    pointer-events: auto;
    /*background-color: rgb(255, 255, 255);*/
    /*background-image: url("Img/rewordsFonts.png");*/
    background-clip: padding-box;
    outline: 0;
}
.backdrop-image {
position: absolute;
    width: 500px;
    height: 600px;
}

.text_container {
    text-align: center !important;
    /*padding-bottom: .5rem !important;*/
    padding-top: 4rem !important;
    margin-bottom: 5px !important;
}

.text_header {
    position: relative;
    font-size: 25px;
    font-weight: bold;
    color:white;
    font-family: system-ui;
}

.reward_container {
    padding-right: .5rem !important;
    padding-left: .5rem !important;
    padding-bottom: 1rem !important;
}

.day_container {
    text-align: center;
    margin-bottom: .5rem;
    margin-top: .5rem;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
}

.day_rewards_container {
    flex: 0.2 0 5%;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 8px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.day_rewards_container:hover {
    transform: translateY(-2px);
}

.day_rewards_container.selected {
    transform: scale(1.05);
}

.frameImg {
    width: 120px;
    height: 100%;
    vertical-align: middle;
}

.frameImg7 {
    width: 380px;
    height: 100%;
    vertical-align: middle;
}

.text_rewards {
    position: absolute;
    display: flex;
    width: 115px;
    color: white;
    font-size: 25px;
    font-family: system-ui;
    bottom: 5px;
    justify-content: center;
}
.text_rewards7 {
    position: absolute;
    display: flex;
    width: 330px;
    height: 100px;
    color: white;
    font-size: 35px;
    font-family: system-ui;
    /*bottom: 10px;*/
    justify-content: flex-end;
    align-items: center;
}


.img-inside-container {
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0px;
    right: 0px;
    position: absolute;
}

.ticketImg {
    position: relative;
    width: 100px;
    vertical-align: middle;
    bottom: 30px;
}
.ticketImg3 {
    position: relative;
    width: 110px;
    vertical-align: middle;
    bottom: 30px;
}

.ticketImg7 {
    position: relative;
    width: 120px;
    vertical-align: middle;
    bottom: 0;
}

.text-day-number {
    position: absolute;
    width: 120px;
    display: flex;
    justify-content: center;
    font-family: system-ui;
    font-size: 25px;
    color: white;
    top: 5px;
}
.text-day-number7 {
    position: absolute;
    width: 90px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui;
    font-size: 30px;
    color: white;
    /*top: 15px;*/
}

.button_container_footer {
    position: absolute;
    width: 100%;
    bottom: -2.4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.motion_button {
    width: 50%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.motion_button b {
    font-family: system-ui;
    font-size: 20px;
    position: relative;
    bottom: 2px;
}
.buttonClaim {
    color: rgb(255, 255, 255);
    background: rgb(139, 0, 240);
    width: 100%;
    border-radius: 15px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: block;
    cursor: pointer;
    height: 45px;
}


/*.claimed {*/
/*    opacity: 0.7;*/
/*    pointer-events: none;*/
/*}*/

.claimed {
    position: relative;
    /*opacity: 0.7;*/
    pointer-events: none;

}

.claimed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background-color: rgb(0 0 0 / 70%);
    background-image: url(checkmark.png);
    background-repeat: no-repeat;
    background-position-x: 30px;
    background-position-y: 50px;
    background-size: 70px;

}
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.selected {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7) !important;
    border-radius: 30px;
}
.modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.dailyLogin.show {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Flying ticket animation */
@keyframes flyTicket {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) rotate(360deg);
        opacity: 0;
    }
}

@keyframes fly {
    from {
        left: var(--start-x);
        top: var(--start-y);
    }
    to {
        left: var(--end-x);
        top: var(--end-y);
    }
}

.flying-ticket {
    position: fixed;
    z-index: 11;
    pointer-events: none;
    animation: flyTicket 1s ease-out forwards;
}

.flying-ticket {
    width: 32px;
    height: 32px;
    background-image: url('Img/ticket.png'); /* Замените на ваше изображение */
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    animation: fly var(--duration) linear;
    animation-fill-mode: forwards; /* Удерживает конечное положение */
    opacity: 0.8; /* При желании */
}

.close-button {
    color: rgb(255, 255, 255);
    background: rgb(139, 0, 240);
    width: 100%;
    border-radius: 15px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: none;
    cursor: pointer;
    height: 45px;
}
