body {
    font-family: 'Comic Sans MS', 'Segoe UI', Tahoma, sans-serif;
    background-color: #ffe6f2;
    text-align: center;
    margin: 0;
    padding: 15px;
    color: #4a4a4a;
}

.nav-bar { margin-bottom: 15px; }
.btn-back {
    background-color: #ffccdd; color: #db2777; padding: 10px 20px;
    text-decoration: none; border-radius: 20px; font-weight: bold;
    border: 3px solid #ff99bb; display: inline-block;
}
.btn-back:hover { background-color: #db2777; color: white; }

h1 { color: #db2777; font-size: 2rem; margin: 10px 0; }

.container { max-width: 800px; margin: 0 auto; }

.display-area {
    background-color: #ffffff; border: 5px dashed #ffb3cc;
    border-radius: 25px; padding: 20px; margin-bottom: 25px;
    min-height: 180px; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    box-shadow: 0px 5px 15px rgba(219, 39, 119, 0.1);
}

.display-letter { font-size: 50px; color: #db2777; margin: 0; font-weight: bold; }
.display-emoji { font-size: 70px; margin: 10px 0; }
.display-word { font-size: 30px; color: #ff9933; margin: 0; font-weight: bold; }

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.card {
    background-color: #ffffff; border: 4px solid #ffccdd; border-radius: 15px;
    width: 55px; height: 55px; display: flex; align-items: center;
    justify-content: center; font-size: 26px; font-weight: bold;
    color: #db2777; cursor: pointer; box-shadow: 0px 4px 6px rgba(0,0,0,0.05);
    user-select: none; transition: 0.2s;
}
.card:hover { transform: scale(1.1) translateY(-5px); background-color: #ffebf0; }
.card:nth-child(even) { color: #ff9933; border-color: #ffe6cc; }
.card:nth-child(even):hover { background-color: #fff5e6; }