body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
    perspective: 3000px;
    overflow-x: hidden;
    padding: 50px 0 0 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.game-container {
    max-width: 1200px;
    min-height: 800px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    perspective: 2000px;
    transform-style: preserve-3d;
    transform: rotateX(20deg);
    padding: 40px;
    border: 15px solid #ff5100;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: linear-gradient(45deg, #ff8b00, transparent);
    transform: translateZ(-100px);
    filter: blur(30px);
    z-index: -1;
}


@keyframes showCard {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card {
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 4px solid rgba(255, 139, 0, 0.5);
    border-radius: 15px;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 10px rgba(255, 139, 0, 0.2);
}

.card:hover {
    transform: translateZ(20px) rotateX(10deg);
}

.card.flipped {
    transform: rotateY(180deg) translateZ(10px);
}

.card-front,
.card-back {

    .destination-image {
        width: 95%;
        height: 95%;
        object-fit: cover;
    }

    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 8px solid;
    border-color: #ffd700 #ff5100 #ff5100 #ffd700;
    box-shadow: inset 0 0 20px rgba(255, 139, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-front {
    background: linear-gradient(45deg, #ff8b00, #ffd700);
    transform: rotateY(180deg) translateZ(20px);
}

.card-back {
    background: rgba(255, 255, 255, 0.9);
    transform: translateZ(20px);
}

.destination-image {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 8px;
    transform: translateZ(10px);
}

.stats {
    text-align: center;
    margin: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat-box {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 139, 0, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateZ(30px);
}

.stat-icon {
    font-size: 28px;
    margin-right: 15px;
}

.stat-info {
    display: flex;
    align-items: baseline;
}

.stat-label {
    font-size: 20px;
    color: #ff8b00;
    margin-right: 10px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #ff5100;
}

.stat-total {
    font-size: 24px;
    color: rgba(255, 139, 0, 0.6);
    margin-left: 5px;
}