@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #111827;
    --accent-color: #3b82f6;
    --bg-light: #f8fafc;
}

body {
    background: #f8faff;
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    min-height: 100vh;
}

.app-shell {
    max-width: 1120px;
}

.cardx {
    border: 1px solid rgba(0, 0, 0, .04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
    border-radius: 20px;
    background: #fff;
    transition: all 0.2s;
}

.cardx:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}

.btn-soft {
    background: #f1f5f9;
    border: 1px solid rgba(0, 0, 0, .04);
    border-radius: 12px;
    color: #475569;
}

.btn-soft:hover {
    background: #e2e8f0;
}

.small-muted {
    color: #64748b;
    font-size: .85rem;
}

.mono {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, .06);
    background: #f8fafc;
}

.sticky-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.tap {
    cursor: pointer;
    transition: opacity 0.2s;
}

.tap:hover {
    opacity: 0.8;
}

.danger-border {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-card-anim {
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-soft-danger:hover {
    background: #fee2e2;
    color: #ef4444;
}