.rewards_button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #000000cb;
    padding: 15px;
    border-radius: 10px;
    color: white;
    text-align: center;
    z-index: 3;
    width: 350px;
    cursor: pointer;
}

.rewards_button:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.rewards_button p {
    font-size: 14px;
    /* font-weight: bold; */
    margin-bottom: 0;
    text-align: left;
}

.rewards_button .explore_button {
    display: inline-block;
    margin-top: 10px;
    margin-left: 10px; /* Add spacing between text and button */
    padding: 8px 15px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.rewards_button .explore_button:hover {
    background-color: #f0f0f0;
}

.rewards_button .rewards_icons img {
    width: 230px;
    transition: transform 0.3s ease;
    max-width: 300px;
}

.rewards_button .rewards_icons {
    position: absolute;
    top: 45%;
    left: 65%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Styles for Trade with Crystara button */
.trade_button {
    display: none;
    position: absolute;
    bottom: 320px;
    right: 5%;
    background-color: #ff06066b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    z-index: 4;
    cursor: pointer;
    text-decoration: none;
    border: solid 2px #ff3200;
}

.trade_button:hover {
    background-color: #333;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .rewards_button {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 90%;
        bottom: 150px;
        right: 5%;
        /*padding: 40px 2px 40px 20px;*/
    }

    .rewards_button p {
        flex: 1; /* Allow the text to take available space */
        font-size: 14px; /* Adjust font size for smaller screens */
        margin-right: 10px; /* Add spacing to the right */
    }

    .rewards_button .rewards_icons {
        flex: 0; /* Prevent icons from stretching */
        margin-top: 0; /* Remove top margin */
    }
    .rewards_button .rewards_icons img {
        width: 200px;
        transition: transform 0.3s ease;
        max-width: 300px;
    }

    .trade_button {
        display: block; /* Show button in mobile view */
        width: 90%;
        text-align: center;
    }
}




