body {
    font-family: 'Rubik', sans-serif;
    background-color: #040404;
    text-align: center;
    padding: 50px;
}

/* Apumies Antero -otsikon tyyli */
h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5em;
    letter-spacing: 0.5px;
    margin-bottom: 0.3em;
    color: #000000;

}

.container {
    max-width: 700px;
    margin: auto;
    padding: 30px;
    background-color: rgb(88, 195, 79);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

input[type="text"] {
    width: 70%;
    padding: 12px;
    font-size: 16px;
}

button {
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
}

.response-box {
    margin-top: 30px;
    text-align: left;
    background-color: #eef8ee;
    padding: 20px;
    border-radius: 10px;
}

.intro {
    font-style: newsreader;
    color: #000000;
    margin-top: 0;
    margin-bottom: 1.2em;
}

.antero-hahmo {
    max-width: 350px;
    margin: 0 auto 10px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.formatted-answer {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background-color: #fdfbfb;
    padding: 1em;
    border-radius: 0.5em;
    font-family: 'newsreader', sans-serif;
    color: #020000;
    max-width: 100%;
}

.response-box pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: inherit;
}

#loading {
    font-style: newsreader;
    color: #fafcfb;
    text-align: center;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Uusi yhdistetty footer-CTA */
.antero-footer-cta {
    background-color: #111;
    color: #fff;
    padding: 1.2em 1.5em;
    margin-top: 3em; /* isompi väli vihreään laatikkoon */
    text-align: center;
    border: 2px solid #58c34f;
    border-radius: 10px;
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.antero-footer-cta p {
    margin: 0.6em 0;
    line-height: 1.6em;
}

/* Lisätty erillinen mainosteksti tyylillä */
.antero-footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1em;
}

/* Painikenappien asettelu */
.cta-row {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
    margin-top: 1.2em;
}

.cta-button {
    background-color: #58c34f;
    color: #000;
    padding: 0.6em 1.2em;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #58c34f;
}
