:root {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --accent: #38bdf8;
    --border: #334155;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    text-align: center;
}

h1 { margin-bottom: 0.5rem; color: var(--accent); }
p { color: #94a3b8; margin-top: 0; }

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 3rem;
    margin: 2rem 0;
    background: var(--card);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--accent);
    background: #1e293b80;
}

.upload-area input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.icon { font-size: 3rem; margin-bottom: 1rem; }

.sub-text {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Result Area */
.hidden { display: none; }
.preview-container img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: transform 0.1s;
}

.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); color: #000; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }