body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #f4f7fb;
    /* animated gradient background */
    background: linear-gradient(270deg, #0f1724, #1f2a44, #5b2f7e, #ff6fa3);
    background-size: 800% 800%;
    animation: bgShift 12s ease infinite;
    -webkit-font-smoothing: antialiased;
}

/* subtle animated gradient */
@keyframes bgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#Chatbot-Output {
    width: min(980px, 95%);
    margin: 3rem auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    box-shadow: 0 10px 30px rgba(2,6,23,0.6);
    backdrop-filter: blur(8px);
}

/* headline with gradient text */
#Chat-Headline {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    margin: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #ffffff, #ffd86b, #ff7ab6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* responsive grid for input + submit */
#Grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    max-width: 780px;
}

/* input styling */
#input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    color: inherit;
    outline: none;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2);
    transition: box-shadow 0.18s ease, transform 0.12s ease, border-color 0.12s ease;
    font-size: 1rem;
    box-sizing: border-box;
}

#input:focus {
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    transform: translateY(-2px);
}

/* button styling */
#submit {
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, #7f5af0, #ff7ab6);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.12s ease;
    box-shadow: 0 8px 30px rgba(127,90,240,0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

#submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(127,90,240,0.32);
}

#submit:active {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* small screens: stack input and button */

/* small UI polish */
#Chatbot-Output * {
    transition: all 0.12s ease;
}

#Portfolio {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
}

