/* The famous Fishman Donut Background pattern (Hollow Circles) */
body {
    font-family: 'Nunito', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #1a567b; /* Deep Cyan/Blue */
    background-image: 
        radial-gradient(circle at center, transparent 12%, #d83b4e 14%, #d83b4e 25%, transparent 27%), 
        radial-gradient(circle at center, transparent 12%, #d83b4e 14%, #d83b4e 25%, transparent 27%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
}

/* The main game card */
.game-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    max-width: 500px;
    width: 90%;
    margin: 20px 0;
}

h1 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a567b;
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Inputs and Buttons */
input {
    padding: 12px 15px;
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #1a567b;
}

button {
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    background-color: #1a567b;
    color: white;
    border: none;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.1s;
    margin: 5px;
}

button:hover { background-color: #13405b; }
button:active { transform: scale(0.95); }

#skip-btn { background-color: #757575; }
#skip-btn:hover { background-color: #5c5c5c; }

#share-btn { background-color: #d83b4e; }
#share-btn:hover { background-color: #b92b3c; }

#message {
    font-weight: 700;
    font-size: 1.2rem;
    height: 24px; 
    margin: 20px 0;
}

p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

/* Detach the suggestion form from the game card */
/* Detach the suggestion form into its own bubble */
.suggestion-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    max-width: 500px;
    width: 90%;
    text-align: center;
    margin-top: 10px; /* Space between the two bubbles */
    margin-bottom: 20px; 
    box-sizing: border-box;
}

/* --- ANIMATION CLASSES --- */
.pop-anim { animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }
@keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.shake-anim { animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(4px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
    40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
    .game-container {
        padding: 20px;
        width: 95%;
    }
    h1 { font-size: 1.8rem; }
    #emoji-display { font-size: 3rem !important; }
    input, button {
        width: 100% !important;
        margin: 5px 0 !important;
        box-sizing: border-box;
    }
    #submit-form input { width: 100% !important; }
}
