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;
    min-height: 100vh;
}

.container {
    background: #1b1f2f;
    border-radius: 12px;
    padding: 30px;
    width: 50%;
    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: 28px;
    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;
}

.drag-drop-zone {
    border: 2px dashed #00ff88;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #12141f;
    box-shadow: 0 0 10px #00ff88 inset;
    text-align: center;
    display: inline-block;
    width: 50%;
}

.drag-drop-zone.hover {
    background: #191c2b;
    box-shadow: 0 0 20px #00ffaa inset;
}

.drag-drop-zone p {
    margin: 0;
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88;
    font-size: 14px;
}

.drag-drop-zone input[type="file"] {
    display: none;
}

.file-list {
    text-align: left;
    margin-bottom: 20px;
    color: #00ffaa;
    font-size: 13px;
}

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: 20px;
}

canvas {
    max-width: 100%;
    border: 2px solid #00ff88;
    border-radius: 8px;
    box-shadow: 0 0 15px #00ff88;
    margin-bottom: 10px;
}

a#downloadLink1 {
    display: inline-block;
    padding: 10px 20px;
    background: #00ff88;
    color: #0f111a;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 0 15px #00ff88, 0 0 25px #00ff88;
    transition: 0.3s;
}

a#downloadLink1:hover {
    background: #00cc66;
    box-shadow: 0 0 25px #00ffaa, 0 0 40px #00ffaa;
    transform: scale(1.05);
}
a#downloadLink {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #00ff88;
    color: #0f111a;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 0 15px #00ff88, 0 0 25px #00ff88;
    transition: 0.3s;
}

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

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

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

img.thumb{
    width: 90px;
}

div.thumb{
    display: inline-block;
}

img#resultCanvas{
    width: 100%;
}