@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');

body {
    font-family: 'Mochiy Pop One', sans-serif;
    text-align: center;
    background-color: #fff0f5; /* Light pink background */
    background-image: url('https://www.transparenttextures.com/patterns/food.png'); /* Food pattern */
    color: #5c3a21; /* Brownish text color */
    margin: 0;
    padding: 20px;
}

h1, h2 {
    color: #ff6347; /* Tomato color for headers */
    text-shadow: 2px 2px 4px #ffffff;
}

#game-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 3px solid #ffb6c1; /* Light pink border */
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative; /* For timer positioning */
}

.timer-container {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 1.5em;
    font-weight: bold;
    color: #ff6347;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 15px;
    border-radius: 15px;
    display: none; /* Initially hidden */
}

.display-area {
    padding: 20px;
    margin-bottom: 20px;
    border: 2px dashed #ffb6c1;
    border-radius: 15px;
    background-color: #fffaf0; /* Floral white */
}

#ingredients {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

#ingredients button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid #ffd700; /* Gold border */
    border-radius: 15px;
    background-color: #fffacd; /* Lemon chiffon */
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#ingredients button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.ingredient-emoji {
    font-size: 40px; /* Larger emoji */
    margin-bottom: 5px;
}

#info-area, #shop-area {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#score, #hint-card-count, #level {
    font-weight: bold;
    color: #ff4500; /* OrangeRed */
    font-size: 1.2em;
}

button {
    padding: 12px 25px;
    font-family: 'Mochiy Pop One', sans-serif;
    font-size: 18px;
    cursor: pointer;
    border-radius: 30px;
    border: none;
    background-color: #ff69b4; /* Hot pink */
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s, transform 0.2s;
}

button:hover {
    background-color: #ff1493; /* Deep pink */
    transform: translateY(-2px);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}