body{
    background: linear-gradient(135deg, #dbb9fc 0%, #f7ebff 100%);
    font-family: 'Poppins', sans-serif;
    color: #2f273b;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.container{
    width: min(90%, 560px);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(70, 34, 104, 0.16);
    padding: 32px;
    backdrop-filter: blur(10px);
}

header{
    text-align: center;
    margin-bottom: 24px;
}

h1{
    text-align: center;
    color: #2d233b;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    margin: 0;
}

main{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

form{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}

input[type="text"]{
    border: 2px solid #e0c7f8;
    border-radius: 999px;
    padding: 14px 18px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus{
    border-color: #8f4ae0;
    box-shadow: 0 0 0 3px rgba(143, 74, 224, 0.18);
}

.submit-button{
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #8f4ae0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    width: 60%;
    margin: 0 auto;
    box-shadow: 0 8px 18px rgba(143, 74, 224, 0.24);
}

.submit-button:hover{
    transform: translateY(-2px);
    background-color: #7a36c9;
}

.poem-container{
    background: #f7ecff;
    border: 1px solid #e8d2fb;
    border-radius: 16px;
    padding: 20px;
    min-height: 10px;
    color: #4b474f;
}

.hidden{
    display: none;
}

footer{
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #5d4f6d;
    line-height: 1.7;
}

footer{
    color: #090909;
    text-decoration: none;
    font-weight: 600;
}