

body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at 20% 30%, #0ea5e9, transparent 60%),
                radial-gradient(circle at 80% 70%, #6366f1, transparent 60%),
                #020617;
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed; 
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle, rgba(56,189,248,0.12), transparent 60%);
    animation: floatBg 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes floatBg {
    0% { transform: translate(0,0); }
    50% { transform: translate(-10%, -10%); }
    100% { transform: translate(0,0); }
}


.container {
    position: relative;
    z-index: 1;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 30px rgba(56,189,248,0.15);
}

input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-bottom: 15px;
}

button {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    background: #38bdf8;
    border: none;
    border-radius: 8px;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

button:disabled {
    background: gray;
}

.result {
    margin-top: 20px;
}

a {
    color: #38bdf8;
}

.loading {
    margin-top: 10px;
    font-size: 14px;
}

.error {
    color: #f87171;
    margin-top: 10px;
}

.post-result {
    margin-top: 10px;
}

.post-result p {
    margin: 8px 0;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-secondary {
    padding: 8px 12px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #5a6268;
}



h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f8fdff;
}

@media (min-width: 600px) {
    h2 {
        font-size: 2rem;
    }
}