body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f0f0f0;
    color: #333;
}
.container {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}
h1, h2 { text-align: center; }
.fact {
    font-size: 1.3rem;
    margin: 20px 0;
    background: #fff8c4;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}
.fact-text {
    margin-bottom: 5px;
}
.source {
    font-size: 0.9rem;
    color: #555;
}
.source a {
    color: #007BFF;
    text-decoration: none;
}
.source a:hover {
    text-decoration: underline;
}
form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
input, button {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}
button {
    background: #007BFF;
    color: white;
    cursor: pointer;
}
button:hover {
    background: #0056b3;
}
.result {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}
.share {
    text-align: center;
    margin: 20px 0;
}
.share a {
    margin: 0 5px;
    text-decoration: none;
    font-size: 1.2rem;
}
.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}
@media (max-width: 600px) {
    .fact { font-size: 1.1rem; }
    input, button { width: 100%; }
}
