body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #000000;
	/*background-image: url('images/bg.png');*/
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/bg.png");
    background-size: cover;
}

.container {
    display: grid;
    gap: 1vw;
    justify-content: center;
    align-items: center;
    padding: 1vw;
}

.card {
    width: 20vw;
    height: 30vw;
    max-width: 140px;
    max-height: 210px;
    /*background-color: #fff;
    border-radius: 10px;*/
    overflow: hidden;
    cursor: pointer;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-front {
   /* background-color: #fff;*/
    transform: rotateY(180deg);
}

.card-back {
   /* background-color: #2e3a87;*/
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info {
    margin-top: 20px;
    text-align: center;
	font-family: "Aldrich", sans-serif;
	font-weight: 400;
    font-style: normal;
	color: #FFF;
}

.mnsj {
    margin-top: 20px;
    text-align: center;
	font-family: "Aldrich", sans-serif;
	font-weight: 400;
    font-style: normal;
	text-transform: uppercase;
	color: #FF6400;
}

.timer, .intent-count, .countdown {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.button {
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    background-color: #FF6400;
    color: #fff;
    border: none;
    border-radius: 5px;
    margin: 10px;
	font-family: "Aldrich", sans-serif;
	font-weight: 400;
    font-style: normal;
}

.level-buttons {
    margin-bottom: 20px;
}

/* Popup Window Styling */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
	font-family: "Aldrich", sans-serif;
	font-weight: 400;
    font-style: normal;
}
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 80vw;
    width: 100%;
	font-family: "Aldrich", sans-serif;
	font-weight: 400;
    font-style: normal;
}



.popup-content h2 {
    margin-top: 0;
}

.popup-content p {
    margin: 15px 0;
}

/* Prize Card Styling */
#prize-cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.prize-card {
    width: 140px;
    height: 150px;
    background-image: url('images/prize.jpg');
    background-size: cover;
    cursor: pointer;
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
	transform: rotateY(0deg);
}

@media(min-width:768px) {
    .popup-content {
        max-width: 30vw;
    }
    .prize-card {
        width: 140px;
        height: 210px;
    }
}
.prize-card.revealed {
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    color: blue;
    font-weight: bold;
    background-color: #fff;
    transform: rotateY(180deg);
}

.prize-card.disabled {
    pointer-events: none;
    opacity: 0.6;
}
