body {
    min-height: 100vh;
    min-width: 100vw;
    background: url("assets/background.jpg") center/cover no-repeat;
    color: white;
    position: relative;
    font-family: "Segoe UI", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: inherit; 
    filter: blur(12px) brightness(0.7);  
    transform: scale(1.1); 
    z-index: -1; 
}

h1 {
    text-align: center;
    font-weight: 700;
    font-size: 70px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

p {
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    margin: 15px 0;
}

.actions {
    text-align: center;
    margin-top: 20px;
}

.actions button {
    padding: 12px 24px;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.actions button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff6a00, #ee0979);
}

.grid-container {
    display: grid;
    justify-content: center;
    gap: 16px;
    grid-template-columns: repeat(5, 140px);
    grid-template-rows: repeat(2, calc(140px / 2 * 3));
    grid-auto-flow: dense;
    margin-top: 20px;
}

.card {
    height: calc(140px / 2 * 3);
    width: 140px;
    border-radius: 12px;
    background-color: #ffffff;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.card.flip {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-front {
    transform: rotateY(0deg);
}

.card-back {
    transform: rotateY(180deg);
}
