body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: radial-gradient(circle at top, #0f111a, #050608);
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: #1b1f2f;
    border-radius: 12px;
    padding: 30px;
    width: 400px;
    box-shadow: 0 0 25px rgba(0, 255, 128, 0.5);
    text-align: center;
    animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(0, 255, 128, 0.3); }
    100% { box-shadow: 0 0 35px rgba(0, 255, 128, 0.8); }
}

h1 {
    margin-bottom: 5px;
    font-size: 26px;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
    from { text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88; }
    to { text-shadow: 0 0 20px #00ffaa, 0 0 40px #00ffaa; }
}

.subtitle {
    margin-bottom: 20px;
    color: #aaa;
    font-size: 14px;
}

.input-section {
    margin-bottom: 20px;
}

input[type="text"] {
    width: 80%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #00ff88;
    background: #12141f;
    color: #f0f0f0;
    font-size: 16px;
    text-align: center;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.4);
    transition: all 0.3s ease-in-out;
}

input[type="text"]:focus {
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.8);
}

button {
    padding: 12px 24px;
    background: #00ff88;
    border: none;
    color: #0f111a;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    margin-top: 10px;
    box-shadow: 0 0 15px #00ff88, 0 0 25px #00ff88;
}

button:hover {
    background: #00cc66;
    box-shadow: 0 0 25px #00ffaa, 0 0 40px #00ffaa;
    transform: scale(1.05);
}

.output-section {
    margin-top: 15px;
}

textarea {
    width: 100%;
    height: 80px;
    resize: none;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #00ff88;
    background: #12141f;
    color: #00ff88;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 255, 128, 0.4);
}

#status {
    font-size: 14px;
    margin-top: 5px;
    color: #00ffaa;
    text-shadow: 0 0 10px #00ffaa;
    animation: blink 1.2s infinite alternate;
}

@keyframes blink {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

button.loading {
    position: relative;
    color: #0f111a;
    background: #00cc66;
    box-shadow: 0 0 30px #00ffaa, 0 0 50px #00ffaa;
}

button.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    margin-top: -12px;
    border: 3px solid #0f111a;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}