:root {
    --bg: #0b1021;
    --card: #0f172a;
    --accent: #e11d48;
    --muted: #94a3b8;
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(225, 29, 72, 0.15), transparent 25%),
                radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.18), transparent 22%),
                radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.12), transparent 24%),
                var(--bg);
}

.glass-card {
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.image-frame {
    min-height: 320px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(120deg, rgba(226, 232, 240, 0.04), rgba(148, 163, 184, 0.08));
    border: 1px dashed rgba(226, 232, 240, 0.35);
    transition: border 0.2s ease, background 0.2s ease;
}

.img-display {
    display: none;
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.pill {
    background: rgba(226, 232, 240, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(225, 29, 72, 0.35);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.65; }
    60% { transform: scale(1.08); opacity: 0; }
    100% { transform: scale(1.12); opacity: 0; }
}
