
body {
    font-family: 'Georgia', serif;
    background-color: white;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
    border: 20px solid #f2e6d9;
    box-sizing: border-box;
}
h1 {
    margin-top: 1rem;
    color: #a67c52;
}
.game-board {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    grid-gap: 10px;
    justify-content: center;
    margin: 2rem auto;
}
.card {
    width: 100px;
    height: 100px;
    background-color: #fff5ee;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
    perspective: 1000px;
}
.card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    position: relative;
}
.card.flipped .card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    backface-visibility: hidden;
}
.card-front {
    background-color: #ffeedd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.card-back {
    transform: rotateY(180deg);
}
.footer {
    margin-top: 2rem;
    color: #a67c52;
    font-size: 0.9rem;
}
