:root {
    --radius: 15px;
}

.game-box-container {
    min-width: 95%;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    position: relative;
}

.game-box {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    margin-top: 10px;
    width: 100%;
}

.game-box img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    /* border-top-left-radius: var(--radius); */
    /* border-top-right-radius: var(--radius); */
    object-position: center center;
}

.game-box .game-box-text {
    padding-bottom: 36px;
    padding-top: 1rem;
    padding-left: 1rem;
    color: #fff;
    font-weight: 700;
}

.game-play-button {
    position: absolute;
    bottom: 20px;
    right: -9px;
    width: 55px;
    height: 30px;
    background-color: #024771;
    box-shadow: 10;
    color: #fff;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.movie-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 1.1vh;
    background-color: #efefef;
    padding: 1.5% 1.2%;
}



.card-text,
.view-gmae {
    display: inline-block;
    margin: 0;
    text-align: center;
    padding: 5px;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.coin-container {
    position: relative;
    margin: 0 10px !important;
}


.coin-container .coin-container-box {
    position: absolute;
    top: 0;
    right: 1%;
    width: auto;
    background: #00a776;
    color: #efefef;
    padding: 4px 10px;
    box-shadow: 1px 3px 14px -7px rgba(87, 87, 87, 0.60);
    border: #c5c5c5 solid 1px;
    border-radius: 10px;
    display: flex;
    z-index: 9999;
    color: #000000;
    text-decoration: none;
}

.coin-container .coin_image {
    position: relative;
    height: 20px;
    width: 20px;
}

.coin-container .fa-plus {
    color: #024f22;
    font-weight: bold;
}

header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(171, 171, 171, 0.1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-icon {
    background: #F5EA14;
    border: #EC8C17 solid 1px;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.profile-icon a {
    padding: 5px;
    border-radius: 50%;
    display: flex;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    color: #ec4c17;
    text-decoration: none;
}

.coin-container .coin-container-box:hover {
    text-decoration: none;
    background-color: #00694a;
}



@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modelAnimationUp {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.modelAnimationDown {
    animation: slideOutDown 0.5s ease-out;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.shake {
    animation: shake 0.8s ease-in-out 1s;
    animation-iteration-count: 1;
}

.paymentHistory {
    max-height: 500px;
    overflow-y: auto;
}

.paymentHistory thead {
    position: sticky;
    top: 0;
    background-color: #F02941;
    z-index: 1;
}

.paymentHistory::-webkit-scrollbar {
    width: 5px;
}

.paymentHistory::-webkit-scrollbar-thumb {
    background-color: #F02941;
    border-radius: 10px;
}

.paymentHistory::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.single-game-box-status {
    position: absolute;
    top: 1rem;
    right: 0;
    background: #F02941;
    padding: 5px;
    color: #f1f1f1;
    font-weight: 700;
    font-size: 12px;
}




.coin-container i {
    font-size: x-large;
    color: #F02941;
}

.coin-container .coin {
    display: flex;
    justify-content: center;
    margin: auto;
    flex-direction: column;
}

.coin-container .coin p {
    display: flex;
    justify-content: center;
    margin: auto;
    color: #014b71;
    font-size: 3rem;
}

.coin-container .coin img {
    height: 150px;
    width: fit-content;
    margin: auto;
}

.coin-container .buttons button {
    border-radius: 10px;
    color: #f1f1f1;
    font-size: 14px;
}

.coin-container .buttons button:nth-child(1) {
    background: #0c7a78;
}

.coin-container .buttons button:nth-child(2) {
    background: #7a3a0c;
}





/*  */
.coin-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    max-width: 250px;
    margin: 20px auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.coin-input-container button {
    background-color: #4CAF50;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coin-input-container button:hover {
    background-color: #45a049;
    transform: scale(1.1);
}

.coin-input-container input {
    text-align: center;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    width: 80px;
    background-color: #fff;
    transition: border-color 0.3s;
}

.coin-input-container input:focus {
    border-color: #4CAF50;
    outline: none;
}

.paynow-coin {
    background-color: #ff6f00;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
    transition: background-color 0.3s, transform 0.2s;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
    display: flex;
}

.paynow-coin:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

.cancelBtn {
    background-color: #ddd;
    color: #333;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
    justify-content: center;
    align-items: center;
}

.cancelBtn:hover {
    background-color: #ccc;
    transform: scale(1.03);
}


.custom_button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-size: 1rem;
    width: 60%;
    height: fit-content;
    margin: auto auto 1rem auto;
    border-radius: 10px;
    box-shadow: 0px 5px 0px 0px #242020;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    background: var(--bg-color, #024771);
}

.pay-now{
    background: #024771;
}
