body {
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    color: #333;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

p {
    color: #666;
    line-height: 1.5;
}

button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    margin-top: 1rem;
}

button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.result-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #2ecc71;
    border-radius: 4px;
    text-align: left;
}

.hidden {
    display: none;
}

.bold {
    font-weight: bold;
    color: #2ecc71;
    margin: 0 0 0.5rem 0;
}

/* Styling for the new input field section */
.input-section {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input {
    padding: 0.8rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #3498db;
}

#greetBtn {
    background: #2ecc71;
    margin-top: 0;
}

#greetBtn:hover {
    background: #27ae60;
}
