body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(120deg, #e0eafc, #cfdef3);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-align: center;
    width: 430px;
    max-width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.container:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.cell {
    background: #383737;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.cell.flipped {
    background-color: #555;
    transform: scale(1.1);
}

.cell.matched {
    background-color: #4caf50;
    color: white;
    cursor: default;
}

.cell:hover {
    background: #333;
    transform: scale(1.05);
}

.choice {
    background: #383737;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 1.2em;
    padding: 10px 20px;
    margin-top: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.choice:hover {
    background: #333;
    transform: scale(1.05);
}

.result {
    margin-top: 20px;
}

#result-message {
    font-size: 1.5em;
    color: #444;
    margin-bottom: 20px;
}

.copyright {
    color: black;
    margin-top: 20px;
}

.link {
    color: black;
    text-decoration: none;
}

.link:hover {
    color: #444;
    text-decoration: underline;
}
