.advent-box {
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    height: 16rem;
}


.white-overlay {
    position: absolute;
    inset: 0;
    background-color: white !important;
    opacity: 0.8 !important;
    z-index: 0;
}

.expired {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}



.advent-box .content {
    transform: rotateY(180deg);
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
    position: relative;
    z-index: 20;
}


.advent-box .locked {
    transform: rotateY(0deg);
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.advent-box.unlocked .locked {
    transform: rotateY(-180deg);
}

.advent-box.unlocked .content {
    transform: rotateY(0deg);
}