* {
    box-sizing: border-box;
}

body {
    background-color: #f9f7fe;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: #f70776;
}

a:hover {
    text-decoration: underline;
    color: #e95280;
}

.container {
    margin: 10px auto;
    max-width: 600px;
    padding: 0 15px;
}

header {
    margin: 120px auto;
}

h1 {
    text-align: center;
    font-weight: 800;
    font-size: 36px;
    color: #e95280;
}

form {
    padding: 30px;
    background-color: white;
    box-shadow: 0px 20px 60px rgba(65,50,100,0.08);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.input-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.submit-button {
    margin-left: 10px;
    background: #ff487e;
    color: #fff; /* Improved contrast */
    border: none;
    width: 150px;
    font-size: 16px;
    border-radius: 50px;
    padding: 14px 24px;
    cursor: pointer; /* Better UX */
}

.submit-button:hover {
    background: #e95280;
    color: #fff;
    box-shadow: 0 4px 16px rgba(247,7,118,0.15);
    transition: background 0.2s, box-shadow 0.2s;
}

.instruction {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e95280;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9f7fe;
    color: #333;
}

.instruction:focus {
    border-color: #f70776;
    box-shadow: 0 0 0 2px rgba(247,7,118,0.1);
}

.poem strong{
    color:#e95280;
}

.poem {
    font-size: 16px;
    background-color: white;
    padding: 20px;
    line-height: 2;
    border-left: 3px solid #f70776;
    box-shadow: 0px 20px 60px rgba(65,50,100,0.08);
}

footer {
    text-align: center;
    font-size: 13px;
    margin: 30px;
}

.hint {
    font-size: 13px;
    color: #888;
    margin: 0;
    margin-top: 8px;
    text-align: left;
    padding-left: 8px;
    font-style: italic;
}
