body {
    background: radial-gradient(circle, #f0e6d2, #dccfbe);
    font-family: 'Merriweather', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

#app {
    text-align: center;
    background: #fffaf0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.05);
    width: 90%;
    max-width: 500px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #8B4513;
    margin-bottom: 20px;
}

#fortune-cookie-container {
    margin-bottom: 30px;
}

#fortune-cookie-img {
    width: 200px;
    cursor: pointer;
    transition: transform 0.2s;
}

#fortune-cookie-img.shake {
    animation: shake 0.5s;
}

#fortune-display-wrapper {
    background: #fff;
    border: 1px dashed #ccc;
    padding: 20px;
    min-height: 100px;
    margin: 0 auto 30px;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fortune-display {
    font-size: 1.2em;
    font-style: italic;
    color: #555;
}

#open-cookie {
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    background-color: #DAA520;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.5);
    transition: all 0.3s ease;
}

#open-cookie:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.7);
}


@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}